MCPcopy Create free account
hub / github.com/LFYSec/MScan / binaryMixedType

Method binaryMixedType

src/test/resources/world/AllInOne.java:37–54  ·  view source on GitHub ↗
(byte b, short s, boolean bb, char c, int i,
                         float f, long l)

Source from the content-addressed store, hash-verified

35 }
36
37 void binaryMixedType(byte b, short s, boolean bb, char c, int i,
38 float f, long l) {
39 int[] a = new int[10];
40 // arithmetic
41 a[0] = b + i;
42 // bitwise
43 a[0] = b & i;
44 // compare
45
46 // condition
47 if (b > s) {
48 a[0] = b;
49 }
50 // shift
51 a[0] = s >> s;
52 l = l >> s;
53 a[0] = (int) l;
54 }
55
56 void unary(int a[], int x) {
57 if (a.length != 1) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected