Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 818 for max (0.67 seconds)

  1. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            assertEquals(Long.valueOf(0L), emptyEvent.getVersionNo());
    
            // Test negative version
            event.setVersionNo(-1L);
            assertEquals(Long.valueOf(-1L), event.getVersionNo());
    
            // Test max version
            event.setVersionNo(Long.MAX_VALUE);
            assertEquals(Long.valueOf(Long.MAX_VALUE), event.getVersionNo());
        }
    
        // Test toSource method
        @Test
        public void test_toSource() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        // Should we pepper more of these calls throughout the above? Where?
        CacheTesting.checkValidState(cache);
      }
    
      /**
       * Tests that when a single entry exceeds the segment's max weight, the new entry is immediately
       * evicted and nothing else.
       */
      public void testEviction_maxWeight_entryTooBig() {
        CountingRemovalListener<Integer, Integer> removalListener = countingRemovalListener();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/Striped64.java

            wasUncontended = true; // Continue after rehash
            else if (a.cas(v = a.value, fn(v, x))) break;
            else if (n >= NCPU || cells != as) collide = false; // At max size or stale
            else if (!collide) collide = true;
            else if (busy == 0 && casBusy()) {
              try {
                if (cells == as) { // Expand table unless stale
                  Cell[] rs = new Cell[n << 1];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. internal/store/queuestore_test.go

    func TestQueueStoreLimit(t *testing.T) {
    	defer func() {
    		if err := tearDownQueueStore(); err != nil {
    			t.Fatal("Failed to tear down store ", err)
    		}
    	}()
    	// The max limit is set to 5.
    	store, err := setUpQueueStore(queueDir, 5)
    	if err != nil {
    		t.Fatal("Failed to create a queue store ", err)
    	}
    	for range 5 {
    		if _, err := store.Put(testItem); err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertEquals(DialectVersion.SMB202, config.getMinimumVersion());
            assertEquals(DialectVersion.SMB311, config.getMaximumVersion());
        }
    
        @Test
        @DisplayName("Test initProtocolVersions with min >= max")
        void testInitProtocolVersionsWithMinGreaterThanMax() {
            config.initProtocolVersions("SMB311", "SMB202");
    
            assertEquals(DialectVersion.SMB311, config.getMinimumVersion());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

      }
    
      /** Returns a -1 if unable to parse */
      private static int tryParseDecimal(String string, int start, int end) {
        int decimal = 0;
        int max = Integer.MAX_VALUE / 10; // for int overflow detection
        for (int i = start; i < end; i++) {
          if (decimal > max) {
            return -1;
          }
          decimal *= 10;
          int digit = Character.digit(string.charAt(i), 10);
          if (digit < 0) {
            return -1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  7. internal/config/storageclass/storage-class.go

    		if err != nil {
    			return cfg, err
    		}
    		if inlineBlock > 128*humanize.KiByte {
    			configLogOnceIf(context.Background(), fmt.Errorf("inline block value bigger than recommended max of 128KiB -> %s, performance may degrade for PUT please benchmark the changes", inlineBlockStr), inlineBlockStr)
    		}
    		cfg.inlineBlock = int64(inlineBlock)
    	} else {
    		cfg.inlineBlock = 128 * humanize.KiByte
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

      private fun trailersAndCache(protocol: Protocol) {
        enableProtocol(protocol)
    
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("h1", "v1")
            .addHeader("Cache-Control: max-age=30")
            .body(protocol, "Hello")
            .trailers(headersOf("t1", "v2"))
            .build(),
        )
    
        val call1 = client.newCall(Request(server.url("/")))
        call1.execute().use { response ->
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 18.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            public static final String LANG_FIELD_NAME = "langFieldName";
            /** Parallel processing key. */
            public static final String PARALLEL_PROCESSING = "parallel";
            /** Max content length key. */
            public static final String MAX_CONTENT_LENGTH = "maxContentLength";
    
            private DefaultKeys() {
            }
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                // Set empty target name buffer
                Type2Message.writeUShort(truncatedMessage, 12, 0); // length
                Type2Message.writeUShort(truncatedMessage, 14, 0); // max length
                Type2Message.writeULong(truncatedMessage, 16, 48); // offset (past the end)
                // Set flags
                Type2Message.writeULong(truncatedMessage, 20, Type2Message.NTLMSSP_NEGOTIATE_UNICODE);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 38.9K bytes
    - Click Count (0)
Back to Top