- Sort Score
- Num 10 results
- Language All
Results 1341 - 1350 of 4,666 for inT (0.03 seconds)
-
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
ExecutorService executor = Executors.newFixedThreadPool(threadCount); // When for (int t = 0; t < threadCount; t++) { final int threadId = t; executor.submit(() -> { try { for (int i = 0; i < noncesPerThread; i++) { byte[] nonce = encryptionContext.generateNonce(); String nonceHex = bytesToHex(nonce);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/EvictingQueue.java
* @since 15.0 */ @GwtCompatible public final class EvictingQueue<E> extends ForwardingQueue<E> implements Serializable { private final Queue<E> delegate; @VisibleForTesting final int maxSize; private EvictingQueue(int maxSize) { checkArgument(maxSize >= 0, "maxSize (%s) must >= 0", maxSize); this.delegate = new ArrayDeque<>(maxSize); this.maxSize = maxSize; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
SmbFileHandleImpl openUnshared(final int flags, final int access, final int sharing, final int attrs, final int options) throws CIFSException { return openUnshared(getUncPath(), flags, access, sharing, attrs, options); } SmbFileHandleImpl openUnshared(final String uncPath, final int flags, final int access, final int sharing, final int attrs, final int options) throws CIFSException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/BytesTest.java
public void testConcat_overflow_negative() { int dim1 = 1 << 16; int dim2 = 1 << 15; assertThat(dim1 * dim2).isLessThan(0); testConcatOverflow(dim1, dim2); } @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~ public void testConcat_overflow_nonNegative() { int dim1 = 1 << 16; int dim2 = 1 << 16; assertThat(dim1 * dim2).isAtLeast(0);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 17.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
buf[bufLen++] = getChar(h); int x0 = buf[bufLen - 1] & 0xff; int x1 = buf[bufLen - 2] & 0xff; int x2 = buf[bufLen - 3] & 0xff; int x3 = buf[bufLen / 2] & 0xff; buf[((x0 << 16) + (x1 << 8) + x2) % bufLen] ^= x3; buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256; } assertEquals(0x7a1d67c50ec7e167L, h); } private static long remix(long h) { h ^= h >>> 41;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
} @Test void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException { // Arrange int access = 0x01; int errorCode = 0xC0000022; // Example error code (STATUS_ACCESS_DENIED) // Simulate RPC error doAnswer(invocation -> { MsrpcSamrOpenDomain rpc = invocation.getArgument(0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
void testAvFlagsIntConstructor() { // Test with a positive integer int flags = 0x12345678; AvFlags avFlags = new AvFlags(flags); assertNotNull(avFlags, "AvFlags object should not be null"); assertEquals(flags, avFlags.getFlags(), "Flags should match the input integer"); // Test with zero int zeroFlags = 0; AvFlags zeroAvFlags = new AvFlags(zeroFlags);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
} @Test void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException { // Arrange String server = "testServer"; int access = 123; int errorCode = 12345; doAnswer(invocation -> { MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0); rpc.retval = errorCode; // Simulate RPC error return null;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMapEntrySet.java
this.entries = entries; } @Override ImmutableMap<K, V> map() { return map; } @Override @GwtIncompatible // not used in GWT int copyIntoArray(@Nullable Object[] dst, int offset) { return entries.copyIntoArray(dst, offset); } @Override public UnmodifiableIterator<Entry<K, V>> iterator() { return entries.iterator(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 4.3K bytes - Click Count (0) -
tests/update_test.go
sort.Slice(result.Pets, func(i, j int) bool { return result.Pets[i].ID < result.Pets[j].ID }) sort.Slice(result.Team, func(i, j int) bool { return result.Team[i].ID < result.Team[j].ID }) sort.Slice(result.Friends, func(i, j int) bool { return result.Friends[i].ID < result.Friends[j].ID }) sort.Slice(result2.Pets, func(i, j int) bool { return result2.Pets[i].ID < result2.Pets[j].ID })
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 30.4K bytes - Click Count (0)