Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 390 for 1090 (0.04 sec)

  1. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(10, 20);
        assertEquals(Integer.valueOf(20), cache.getIfPresent(10));
    
        fakeTicker.advance(1000, MILLISECONDS);
        assertEquals(null, cache.getIfPresent(10));
      }
    
      public void testExpireAfterWriteAndAccess() {
        final Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
                .expireAfterWrite(1000, MILLISECONDS)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

          webSocket.close(1000, reason)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("reason.size() > 123: $reason")
        }
        webSocket.close(1000, null)
        serverListener.assertClosing(1000, "")
        server.close(1000, null)
        clientListener.assertClosing(1000, "")
        clientListener.assertClosed(1000, "")
        serverListener.assertClosed(1000, "")
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            long _15_gigabytes = 15L * 1000L * 1000L * 1000L;
            assertEquals("15 GB", format.format(_15_gigabytes));
    
            long _1000_gigabytes = 1000L * 1000L * 1000L * 1000L;
            assertEquals("1000 GB", format.format(_1000_gigabytes));
        }
    
        @Test
        void testSizeWithSelectedScaleUnit() {
            FileSizeFormat format = new FileSizeFormat();
    
            long _0_bytes = 0L;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. cmd/httprange_test.go

    		}
    		if rs != nil {
    			t.Errorf("Case %d: Got non-nil rs though err != nil: %v", i, rs)
    		}
    	}
    
    	invalidRangeSpecs := []string{
    		"bytes=5-3",
    		"bytes=10-10",
    		"bytes=10-",
    		"bytes=100-",
    		"bytes=-0",
    	}
    	for i, irs := range invalidRangeSpecs {
    		var err1, err2 error
    		var rs *HTTPRangeSpec
    		var o, l int64
    		rs, err1 = parseRequestRangeSpec(irs)
    		if err1 == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 05 16:56:21 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

        private static final String BEGIN_KEY = "begin";
    
        protected Logger statsLogger = null;
    
        protected String loggerName = "fess.log.crawler.stats";
    
        protected long maxCacheSize = 1000;
    
        protected long cacheExpireAfterWrite = 10 * 60 * 1000L;
    
        protected LoadingCache<String, StatsObject> statsCache;
    
        @PostConstruct
        public void init() {
            statsLogger = LogManager.getLogger(loggerName);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    							{Offset: 0e10, Length: 1e10 - 100},
    							{Offset: 1e10, Length: 1e10 - 100},
    							{Offset: 2e10, Length: 1e10 - 100},
    							{Offset: 3e10, Length: 1e10 - 100},
    							{Offset: 4e10, Length: 1e10 - 100},
    							{Offset: 5e10, Length: 1e10 - 100},
    						},
    					}, nil},
    					testReadFrom{fileOps{
    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            searchLog.setQueryTime(queryResponseList.getQueryTime());
            searchLog.setSearchWord(StringUtils.abbreviate(query, 1000));
            searchLog.setRequestedAt(requestedTime);
            searchLog.setSearchQuery(StringUtils.abbreviate(queryResponseList.getSearchQuery(), 1000));
            searchLog.setQueryOffset(pageStart);
            searchLog.setQueryPageSize(pageSize);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        server.webSocket!!.close(1000, "Hello!")
        client.processNextFrame()
        client.listener.assertClosing(1000, "Hello!")
        assertThat(client.webSocket!!.close(1000, "Bye!")).isTrue()
        client.webSocket!!.finishReader()
        taskFaker.runTasks()
        client.listener.assertClosed(1000, "Hello!")
        server.processNextFrame()
        server.listener.assertClosing(1000, "Bye!")
        server.webSocket!!.finishReader()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/route_test.go

    			domains:  []string{"example.com", "example.com:8080", "[fd00:10:96::7fc7]", "[fd00:10:96::7fc7]:8080"},
    			expected: "example.com, [fd00:10:96::7fc7]",
    		},
    		{
    			desc:     "test with more domains",
    			domains:  []string{"example.com", "example.com:8080", "www.example.com", "www.example.com:8080", "[fd00:10:96::7fc7]", "[fd00:10:96::7fc7]:8080"},
    			expected: "example.com, www.example.com + 1 more...",
    		},
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

        @Size(max = 1000)
        public String ldapAdminSecurityPrincipal;
    
        @Size(max = 1000)
        public String ldapAdminSecurityCredentials;
    
        @Size(max = 1000)
        public String ldapBaseDn;
    
        @Size(max = 1000)
        public String ldapAccountFilter;
    
        @Size(max = 1000)
        public String ldapGroupFilter;
    
        @Size(max = 100)
        public String ldapMemberofAttribute;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top