- Sort Score
- Result 10 results
- Languages All
Results 881 - 890 of 2,937 for rint (0.02 sec)
- 
				
				src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java} /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; // Read total allocation units. this.alloc = SMBUtil.readInt8(buffer, bufferIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/ConfigTest.javaassertEquals(123, Config.getInt(testProperties, "test.int", 0)); assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456)); assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789)); } @Test @DisplayName("Should get integer property") void testGetInt() { assertEquals(123, Config.getInt(testProperties, "test.int")); Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb1/smb1/DosErrorTest.java} @Test @DisplayName("Mocked consumer receives correct NTSTATUS value") void testConsumerInteraction() { final int dosErr = 0x00010001; final int expectedNt = 0xc0000002; interface NtStatusConsumer { void consume(int ntStatus); } NtStatusConsumer mock = mock(NtStatusConsumer.class); findNtStatus(dosErr).ifPresent(mock::consume);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0)
- 
				
				cmd/erasure-server-pool-rebalance.gook = true } } if ok { return z.rebalMeta.save(ctx, z.serverPools[0]) } return nil } func (z *erasureServerPools) findIndex(index int) int { if z.rebalMeta == nil { return 0 } for i := range len(z.rebalMeta.PoolStats) { if i == index { return index } } return -1 }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Sep 04 20:47:24 UTC 2025 - 28.9K bytes - Viewed (0)
- 
				
				android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.javaRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.2K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java// Encode first byte[] buffer = new byte[256]; int encodedSize = context.encode(buffer, 0); // Create new context for decoding CompressionNegotiateContext decodedContext = new CompressionNegotiateContext(); int decodedSize = decodedContext.decode(buffer, 0, encodedSize); assertEquals(encodedSize, decodedSize);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java*/ private void mockResponse(int code, String message, Map<String, List<String>> headers, InputStream errorStream) throws IOException { mockResponse(this.mockConnection, code, message, headers, errorStream); } /** * Helper method to mock the response of a specific HttpURLConnection instance. */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0)
- 
				
				android/guava/src/com/google/common/base/CharMatcher.java} @Override public int indexIn(CharSequence sequence) { return (sequence.length() == 0) ? -1 : 0; } @Override public int indexIn(CharSequence sequence, int start) { int length = sequence.length(); checkPositionIndex(start, length); return (start == length) ? -1 : start; } @Override public int lastIndexIn(CharSequence sequence) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 53.9K bytes - Viewed (0)
- 
				
				guava-tests/test/com/google/common/cache/PopulatedCachesTest.java// we use integers as keys; make sure the range covers some values that ARE cached by // Integer.valueOf(int), and some that are not cached. (127 is the highest cached value.) static final int WARMUP_MIN = 120; static final int WARMUP_MAX = 135; static final int WARMUP_SIZE = WARMUP_MAX - WARMUP_MIN; public void testSize_populated() { for (LoadingCache<Object, Object> cache : caches()) { Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 15.1K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/internal/NotifyResponseTest.javaprivate long mid; private int command; private int uid; private boolean extendedSecurity; private long sessionId; private boolean retainPayload; private byte[] rawPayload; // Response interface fields private boolean received = false; private int grantedCredits = 0; private int errorCode = 0; private boolean verifyFailed = false;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0)