feat(ppclock): 命令层/传输层/CLI/本地模板渲染,90 测试全绿

This commit is contained in:
agent committed 2026-07-24 10:57:25 +00:00
1 parent 6f5b0c60be
commit 2b01e5f589
60 files changed
+16869

No files matched your search

+461
View File
@@ -0,0 +1,461 @@
package c8;
public final class f extends kotlin.coroutines.jvm.internal.SuspendLambda implements a7.e {
public long c;
public Object d;
public java.util.Iterator e;
public byte[] f;
public byte[] g;
public Object h;
public int i;
public int j;
public int k;
public int l;
public int m;
public int n;
public boolean o;
public int p;
public final synthetic c8.g q;
public final synthetic Object r;
public final synthetic g8.d s;
public final synthetic a7.a t;
public f(c8.g p1, Object p2, g8.d p3, a7.a p4, kotlin.coroutines.Continuation p5)
{
this.q = p1;
this.r = p2;
this.s = p3;
this.t = p4;
super(2, p5);
return;
}
public final kotlin.coroutines.Continuation create(Object p7, kotlin.coroutines.Continuation p8)
{
return new c8.f(this.q, this.r, this.s, this.t, p8);
}
public final Object invoke(Object p1, Object p2)
{
return ((c8.f) this.create(((kotlinx.coroutines.CoroutineScope) p1), ((kotlin.coroutines.Continuation) p2))).invokeSuspend(p6.a0.a);
}
public final Object invokeSuspend(Object p34)
{
try {
java.util.List v7_11;
int v8_4;
int v10;
int v5_0;
byte[] v21_1;
java.util.List v7_13;
byte[] v12_11;
int v9_1;
String v3_9;
int v9_0;
int v15_2;
int v20_5;
byte[] v21_0;
byte[] v11_10;
kotlinx.coroutines.flow.MutableStateFlow v23_0;
p6.g v13_10;
StringBuilder v2_0;
int v6_17;
int v8_3;
byte[] v11_4;
String v22_1;
p6.g v13_11;
int v15_0;
int v20_2;
int v24_4;
byte[] v12_15;
int v14_4;
byte[] v11_8;
int v34_2;
int v15_6;
int v6_19;
int v6_15;
int v14_2;
byte[] v11_6;
int v5_1;
Throwable v0_0 = this.q;
StringBuilder v2_1 = v0_0.j;
v3_9 = v0_0.h;
String v4_5 = v0_0.b;
v5_0 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED();
java.util.List v7_12 = p6.a0.a;
switch (this.p) {
case 0:
int v8_10;
q6.y.Y(p34);
v9_0 = System.currentTimeMillis();
v0_0.l("\u5f00\u59cbEPD\u901a\u9053\u56fe\u7247\u4e0a\u4f20");
int v6_28 = this.s.b;
if (v6_28 == 0) {
v8_10 = 0;
} else {
v8_10 = v6_28.d;
}
int v6_0;
if (v6_28 == 0) {
v6_0 = 0;
} else {
v6_0 = v6_28.e;
}
p6.g v13_0;
byte[] v12_0 = this.r;
kotlin.jvm.internal.s.f(v12_0, "bitmap");
if (v8_10 == 0) {
v13_0 = a.b.h(v12_0, 0);
} else {
v13_0 = a.b.i(v12_0, 0);
}
int v8_0;
if (v6_0 != 0) {
v8_0 = 0;
} else {
if (v8_10 == 0) {
v8_0 = a.b.h(v12_0, 1);
} else {
v8_0 = a.b.i(v12_0, 1);
}
}
int v6_4;
if (v8_0 == 0) {
v6_4 = k3.t.K(new p6.g(v13_0, Boolean.FALSE));
} else {
v6_4 = q6.n.Y(new p6.g[] {new p6.g(v13_0, Boolean.FALSE), new p6.g(v8_0, Boolean.TRUE)}));
}
v11_4 = v6_4;
int v6_8 = v11_4.iterator();
v8_3 = 0;
while (v6_8.hasNext()) {
v8_3 += ((byte[]) ((p6.g) v6_8.next()).c).length;
}
v3_9.setValue(kotlin.coroutines.jvm.internal.Boxing.boxBoolean(1));
v2_1.setValue(kotlin.coroutines.jvm.internal.Boxing.boxInt(0));
byte[] v12_4 = new byte[2];
v12_4 = {-128, 0};
this.d = v11_4;
this.c = v9_0;
this.i = v8_3;
this.j = 0;
this.p = 1;
if (v4_5.sendEpdBytes(v12_4, this) != v5_0) {
v6_15 = 0;
p6.g v13_1 = new byte[2];
v13_1 = {0, 0};
this.d = v11_4;
this.c = v9_0;
this.i = v8_3;
this.j = v6_15;
this.p = 2;
if (v4_5.sendEpdBytes(v13_1, this) != v5_0) {
p6.g v13_2 = new byte[3];
v13_2 = {2, 0, 0};
this.d = v11_4;
this.c = v9_0;
this.i = v8_3;
this.j = v6_15;
this.p = 3;
if (v4_5.sendEpdBytes(v13_2, this) != v5_0) {
v12_11 = v11_4.iterator();
if (!v12_11.hasNext()) {
v15_0 = v2_1;
v2_0 = v5_0;
v21_0 = v7_12;
int v34_1 = v11_4;
v5_0 = v3_9;
String v3_0 = new byte[2];
v3_0 = {1, 1};
this.d = kotlin.coroutines.jvm.internal.SpillingKt.nullOutSpilledVariable(v34_1);
this.e = 0;
this.f = 0;
this.g = 0;
this.h = 0;
this.c = v9_0;
this.i = v8_3;
this.j = v6_15;
this.p = 5;
if (v4_5.sendEpdBytes(v3_0, this) != v2_0) {
v11_6 = v34_1;
this.d = kotlin.coroutines.jvm.internal.SpillingKt.nullOutSpilledVariable(v11_6);
this.c = v9_0;
this.i = v8_3;
this.j = v6_15;
this.p = 6;
if (v4_5.sendCommand("24494d4728302c3029", this) != v2_0) {
this.d = kotlin.coroutines.jvm.internal.SpillingKt.nullOutSpilledVariable(v11_6);
this.c = v9_0;
this.i = v8_3;
this.j = v6_15;
this.p = 7;
if (v4_5.sendCommand("e2", this) != v2_0) {
v15_0.setValue(kotlin.coroutines.jvm.internal.Boxing.boxInt(100));
StringBuilder v2_8 = w7.w.j((((float) (System.currentTimeMillis() - v9_0)) / 1148846080));
String v3_8 = new StringBuilder();
v3_8.append("\u4e0a\u4f20\u5b8c\u6210\uff0c\u8017\u65f6");
v3_8.append(v2_8);
v3_8.append("s");
v0_0.l(v3_8.toString());
this.t.invoke();
v5_0.setValue(kotlin.coroutines.jvm.internal.Boxing.boxBoolean(0));
return v21_0;
} else {
return v2_0;
}
} else {
return v2_0;
}
} else {
return v2_0;
}
} else {
int v15_1;
p6.g v13_5 = ((p6.g) v12_11.next());
int v14_1 = ((byte[]) v13_5.c);
p6.g v13_8 = ((Boolean) v13_5.d).booleanValue();
if (v13_8 != null) {
v15_1 = 0;
} else {
v15_1 = -1;
}
int v20_0;
if (v13_8 != null) {
v20_0 = "BWR";
} else {
v20_0 = "BW";
}
v21_1 = v7_12;
v34_2 = v11_4;
java.util.List v7_6 = v20_0;
byte[] v11_7 = v14_1.length;
int v20_1 = v12_11;
byte[] v12_14 = new StringBuilder();
String v22_0 = v13_8;
v12_14.append("\u53d1\u9001");
v12_14.append(v7_6);
v12_14.append(" ");
v12_14.append(v11_7);
v12_14.append("B");
v0_0.l(v12_14.toString());
v12_15 = v15_1;
v13_10 = v20_1;
v11_8 = v22_0;
v20_2 = 0;
v22_1 = v3_9;
v15_2 = 240;
v7_11 = v6_15;
v6_17 = v14_1;
v14_2 = 0;
if (v14_2 >= v6_17.length) {
int v16 = 3;
v11_4 = v34_2;
v6_15 = v7_11;
v12_11 = v13_10;
v7_12 = v21_1;
v3_9 = v22_1;
} else {
v23_0 = v2_1;
StringBuilder v2_13 = q6.n.k0(v6_17, v14_2, Math.min((v14_2 + v15_2), v6_17.length));
int v24_0 = v2_13;
String v3_14 = new byte[(v2_13.length + 4)];
v3_14[0] = 3;
v3_14[1] = ((byte) v12_15);
v3_14[2] = ((byte) (v14_2 >> 8));
v3_14[3] = ((byte) (v14_2 & 255));
q6.n.g0(v24_0, v3_14, 4, 0, 0, 12);
StringBuilder v2_20 = v24_0;
int v24_1 = v5_0;
v5_0 = (v20_2 + 1);
byte[] v25_1 = v3_14;
String v3_15 = v2_20.length;
int v20_3 = v4_5;
String v4_3 = new StringBuilder();
int v26_1 = v15_2;
v4_3.append("\u7b2c");
v4_3.append(v5_0);
v4_3.append("\u5757 \u00b7 ");
v4_3.append(v3_15);
v4_3.append("B \u00b7 \u504f\u79fb");
v4_3.append(v14_2);
v0_0.l(v4_3.toString());
this.d = kotlin.coroutines.jvm.internal.SpillingKt.nullOutSpilledVariable(v34_2);
this.e = v13_10;
this.f = v6_17;
this.g = v2_20;
this.h = kotlin.coroutines.jvm.internal.SpillingKt.nullOutSpilledVariable(v25_1);
this.c = v9_0;
this.i = v8_3;
this.j = v7_11;
this.o = v11_8;
this.k = v12_15;
String v3_20 = v26_1;
this.l = v3_20;
this.m = v14_2;
this.n = v5_0;
this.p = 4;
v4_5 = v20_3;
v15_6 = v4_5.sendEpdBytes(v25_1, this);
v2_0 = v24_1;
if (v15_6 != v2_0) {
v20_5 = v3_20;
v3_9 = v2_20;
v14_4 = v13_10;
v13_11 = v14_2;
v24_4 = v5_0;
v5_1 = v6_17;
v6_19 = v34_2;
v8_4 = v7_11;
v7_13 = v12_15;
v9_1 = v8_3;
v10 = v11_8;
v11_10 = v9_0;
while (!((Boolean) v15_6).booleanValue()) {
try {
v0_0.l("\u53d1\u9001\u5931\u8d25\uff0c\u5df2\u4e2d\u6b62");
v23_0.setValue(kotlin.coroutines.jvm.internal.Boxing.boxInt(0));
StringBuilder v2_22 = v22_1;
try {
v2_22.setValue(kotlin.coroutines.jvm.internal.Boxing.boxBoolean(0));
v2_22.setValue(kotlin.coroutines.jvm.internal.Boxing.boxBoolean(0));
return v21_1;
} catch (Throwable v0_5) {
v5_0 = v2_22;
}
} catch (Throwable v0_5) {
v2_22 = v22_1;
}
v2_22.setValue(kotlin.coroutines.jvm.internal.Boxing.boxBoolean(0));
v2_22.setValue(kotlin.coroutines.jvm.internal.Boxing.boxBoolean(0));
return v21_1;
}
int v34_3 = v5_1;
int v5_2 = v22_1;
int v15_10 = v23_0;
p6.g v13_12 = (v13_11 + v20_5);
String v3_22 = (v3_9.length + v8_4);
v15_10.setValue(kotlin.coroutines.jvm.internal.Boxing.boxInt(((v3_22 * 100) / v9_1)));
v6_17 = v34_3;
v34_2 = v6_19;
v14_2 = v13_12;
v13_10 = v14_4;
v22_1 = v5_2;
v8_3 = v9_1;
v5_0 = v2_0;
v2_1 = v15_10;
v15_2 = v20_5;
v20_2 = v24_4;
v7_11 = v3_22;
v12_15 = v7_13;
v11_8 = v10;
v9_0 = v11_10;
} else {
return v2_0;
}
}
}
} else {
v2_0 = v5_0;
return v2_0;
}
} else {
}
} else {
}
case 1:
v6_15 = this.j;
v8_3 = this.i;
v9_0 = this.c;
v11_4 = ((java.util.List) this.d);
q6.y.Y(p34);
break;
case 2:
v6_15 = this.j;
v8_3 = this.i;
v9_0 = this.c;
v11_4 = ((java.util.List) this.d);
q6.y.Y(p34);
break;
case 3:
v6_15 = this.j;
v8_3 = this.i;
v9_0 = this.c;
v11_4 = ((java.util.List) this.d);
q6.y.Y(p34);
break;
case 4:
v13_11 = this.m;
int v14_3 = this.l;
int v15_7 = this.k;
v10 = this.o;
v8_4 = this.j;
v9_1 = this.i;
v11_10 = this.c;
int v20_6 = this.n;
byte[] v21_2 = this.g;
String v22_2 = this.f;
kotlinx.coroutines.flow.MutableStateFlow v23_1 = this.e;
v6_19 = ((java.util.List) this.d);
q6.y.Y(p34);
v24_4 = v20_6;
int v19 = 1;
v20_5 = v14_3;
v14_4 = v23_1;
v23_0 = v2_1;
v2_0 = v5_0;
v5_1 = v22_2;
v22_1 = v3_9;
v3_9 = v21_2;
v21_1 = v7_12;
v7_13 = v15_7;
v15_6 = p34;
break;
case 5:
v6_15 = this.j;
v8_3 = this.i;
v9_0 = this.c;
v11_6 = ((java.util.List) this.d);
q6.y.Y(p34);
v15_0 = v2_1;
v2_0 = v5_0;
v21_0 = v7_12;
v5_0 = v3_9;
break;
case 6:
v6_15 = this.j;
v8_3 = this.i;
v9_0 = this.c;
v11_6 = ((java.util.List) this.d);
q6.y.Y(p34);
v15_0 = v2_1;
v2_0 = v5_0;
v21_0 = v7_12;
v5_0 = v3_9;
break;
case 7:
String v4_0 = this.c;
q6.y.Y(p34);
v15_0 = v2_1;
v9_0 = v4_0;
v21_0 = v7_12;
v5_0 = v3_9;
v15_0.setValue(kotlin.coroutines.jvm.internal.Boxing.boxInt(100));
v2_8 = w7.w.j((((float) (System.currentTimeMillis() - v9_0)) / 1148846080));
v3_8 = new StringBuilder();
v3_8.append("\u4e0a\u4f20\u5b8c\u6210\uff0c\u8017\u65f6");
v3_8.append(v2_8);
v3_8.append("s");
v0_0.l(v3_8.toString());
this.t.invoke();
v5_0.setValue(kotlin.coroutines.jvm.internal.Boxing.boxBoolean(0));
return v21_0;
default:
throw new IllegalStateException("call to \'resume\' before \'invoke\' with coroutine");
}
} catch (Throwable v0_5) {
v5_0 = v3_9;
}
v5_0.setValue(kotlin.coroutines.jvm.internal.Boxing.boxBoolean(0));
throw v0_5;
}
}