- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 3,823 for int8 (2.63 sec)
-
android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java
@Benchmark int factorial(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += BigIntegerMath.factorial(factorials[j]).intValue(); } return tmp; } @Benchmark int binomial(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & 0xffff; tmp += BigIntegerMath.binomial(factorials[j], binomials[j]).intValue();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
} } /** * Reads the contents of the file channel into a byte buffer. * * @param channel * The file channel. Must not be {@literal null}. * @param buffer * The byte buffer. Must not be {@literal null}. * @return The number of bytes read. */ public static int read(final FileChannel channel, final ByteBuffer buffer) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
} } /** * * {@inheritDoc} * * @see jcifs.internal.SMBSigningDigest#verify(byte[], int, int, int, jcifs.internal.CommonServerMessageBlock) */ @Override public boolean verify(final byte[] data, final int offset, final int l, final int extraPad, final CommonServerMessageBlock m) { final ServerMessageBlock msg = (ServerMessageBlock) m;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
this.multiset = multiset; this.keys = keys; } @Override public int[] call() { int iterations = 100000; int nKeys = keys.size(); int[] deltas = new int[nKeys]; Operation[] operations = Operation.values(); for (int i = 0; i < iterations; i++) { int keyIndex = random.nextInt(nKeys); String key = keys.get(keyIndex);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 22:42:14 UTC 2025 - 5.7K bytes - Viewed (0) -
src/bytes/buffer_test.go
var buf Buffer s := "" for i := 0; i < 50; i++ { wlen := rand.Intn(len(testString)) if i%2 == 0 { s = fillString(t, "TestMixedReadsAndWrites (1)", &buf, s, 1, testString[0:wlen]) } else { s = fillBytes(t, "TestMixedReadsAndWrites (1)", &buf, s, 1, testBytes[0:wlen]) } rlen := rand.Intn(len(testString)) fub := make([]byte, rlen) n, _ := buf.Read(fub) s = s[n:] }Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
*/ public class SmbRandomAccessFile implements DataOutput, DataInput { private static final int WRITE_OPTIONS = 0x0842; private final SmbFile file; private long fp; private int openFlags, access = 0; private final int readSize; private final int writeSize; private int ch; private int options = 0; private final byte[] tmp = new byte[8];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
* current hashtable size. */ static int newCapacity(int mask) { return ((mask < 32) ? 4 : 2) * (mask + 1); } /** Returns the hash prefix given the current mask. */ static int getHashPrefix(int value, int mask) { return value & ~mask; } /** Returns the index, or 0 if the entry is "null". */ static int getNext(int entry, int mask) { return entry & mask; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
@Override Striped<Lock> get(int stripes) { return new Striped.LargeLazyStriped<>(stripes, LOCK_SUPPLIER); } }; abstract Striped<Lock> get(int stripes); } private Striped<Lock> striped; private int[] stripes; private List<Integer> bulkGetSet; @BeforeExperiment void setUp() { this.striped = impl.get(numStripes); stripes = new int[numStripes];Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
@Override Striped<Lock> get(int stripes) { return new Striped.LargeLazyStriped<>(stripes, LOCK_SUPPLIER); } }; abstract Striped<Lock> get(int stripes); } private Striped<Lock> striped; private int[] stripes; private List<Integer> bulkGetSet; @BeforeExperiment void setUp() { this.striped = impl.get(numStripes); stripes = new int[numStripes];Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
} @Override public void write(String str, int off, int len) { checkPositionIndexes(off, off + len, str.length()); } @Override public Writer append(@Nullable CharSequence csq) { return this; } @Override public Writer append(@Nullable CharSequence csq, int start, int end) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 29 13:56:24 UTC 2025 - 11.9K bytes - Viewed (0)