Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 3,507 for Int (0.01 sec)

  1. 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)
  2. src/test/java/jcifs/internal/NotifyResponseTest.java

            private 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)
  3. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsWebAuthenticationBhv.java

            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<WebAuthenticationCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<WebAuthentication> list) {
            return batchInsert(list, null, null);
        }
    
        public int[] batchInsert(List<WebAuthentication> list, RequestOptionCall<BulkRequestBuilder> call) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/WinErrorTest.java

    @ExtendWith(MockitoExtension.class)
    class WinErrorTest {
    
        // Helper to lookup a message by code using the production arrays
        private static Optional<String> lookupMessage(int code) {
            int[] codes = WinError.WINERR_CODES;
            String[] msgs = WinError.WINERR_MESSAGES;
            for (int i = 0; i < codes.length; i++) {
                if (codes[i] == code) {
                    return Optional.of(msgs[i]);
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-rebalance.go

    			ok = 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)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Test thread safety - multiple threads accessing the same response
            final int THREAD_COUNT = 10;
            Thread[] threads = new Thread[THREAD_COUNT];
            final boolean[] success = new boolean[THREAD_COUNT];
    
            for (int i = 0; i < THREAD_COUNT; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

        public void test_calculatePageInfo_page0() {
            QueryResponseList qrList;
    
            qrList = new QueryResponseList(null, 0, 20, 0) {
                @Override
                public int size() {
                    return 0;
                }
            };
            qrList.calculatePageInfo();
            assertEquals(20, qrList.getPageSize());
            assertEquals(1, qrList.getCurrentPageNumber());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 39.7K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/smb1/util/MD4.java

        }
    
        // The basic MD4 atomic functions.
    
        private int FF(final int a, final int b, final int c, final int d, final int x, final int s) {
            final int t = a + (b & c | ~b & d) + x;
            return t << s | t >>> 32 - s;
        }
    
        private int GG(final int a, final int b, final int c, final int d, final int x, final int s) {
            final int t = a + (b & (c | d) | c & d) + x + 0x5A827999;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                buffer[12] = (byte) 0xFF;
                buffer[13] = 0x01;
                buffer[14] = 0x1F;
                buffer[15] = 0x00;
    
                // When
                int bytesRead = (int) invokeMethod(response, "readBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0);
    
                // Then
                assertEquals(16, bytesRead, "Should read 16 bytes");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top