Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 248 for 30000 (0.01 sec)

  1. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertNotNull(weakRef.get());
        }
      }
    
      public void testMaximalWeakStripedLock() {
        Striped<Lock> stripedLock = Striped.lazyWeakLock(Integer.MAX_VALUE);
        for (int i = 0; i < 10000; i++) {
          stripedLock.get(new Object()).lock();
          // nothing special (e.g. an exception) happens
        }
      }
    
      public void testBulkGetReturnsSorted() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. cmd/streaming-v4-unsigned.go

    			}
    			break
    		}
    
    		// Manually deserialize the size since AWS specified
    		// the chunk size to be of variable width. In particular,
    		// a size of 16 is encoded as `10` while a size of 64 KB
    		// is `10000`.
    		switch {
    		case b >= '0' && b <= '9':
    			size = size<<4 | int(b-'0')
    		case b >= 'a' && b <= 'f':
    			size = size<<4 | int(b-('a'-10))
    		case b >= 'A' && b <= 'F':
    			size = size<<4 | int(b-('A'-10))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 03 14:55:52 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/EmptyIteratorTest.java

        void testPerformanceCharacteristics() {
            // When - create many instances quickly
            long startTime = System.currentTimeMillis();
    
            for (int i = 0; i < 10000; i++) {
                EmptyIterator iterator = new EmptyIterator();
                iterator.hasNext();
                iterator.next();
                iterator.remove();
                assertDoesNotThrow(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/AllocInfoTest.java

            @Test
            @DisplayName("Should handle multiple invocations")
            void shouldHandleMultipleInvocations() {
                // Given
                when(mockAllocInfo.getCapacity()).thenReturn(1000L, 2000L, 3000L);
                when(mockAllocInfo.getFree()).thenReturn(500L, 1000L, 1500L);
    
                // When & Then
                assertEquals(1000L, mockAllocInfo.getCapacity());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

         */
        protected IntervalController intervalController;
    
        /**
         * Set of robots.txt URLs that have been processed.
         */
        protected Set<String> robotsTxtUrlSet = new LruHashSet<>(10000);
    
        /**
         * Thread-local storage for sitemaps.
         */
        protected ThreadLocal<String[]> sitemapsLocal = new ThreadLocal<>();
    
        /** The number of threads used by the crawler */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            @Test
            @DisplayName("Should handle very long messages")
            void testVeryLongMessage() {
                StringBuilder longMessage = new StringBuilder();
                for (int i = 0; i < 10000; i++) {
                    longMessage.append("x");
                }
                String message = longMessage.toString();
    
                TransportException exception = new TransportException(message);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

        }
    
        /**
         * Test name with very long string
         */
        public void test_name_veryLongString() {
            StringBuilder longName = new StringBuilder();
            for (int i = 0; i < 10000; i++) {
                longName.append("verylongname");
            }
            String longNameStr = longName.toString();
    
            testTransformer.setName(longNameStr);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

            @DisplayName("Should encode masked overflow value correctly")
            void testEncodeMaskedValue() throws NdrException {
                // Given: NdrShort with overflow value that gets masked
                int inputValue = 300; // 300 & 0xFF = 44
                NdrShort ndrShort = new NdrShort(inputValue);
    
                // When: Encoding the value
                ndrShort.encode(mockBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. cmd/server-rlimit.go

    	sysMaxThreads, err := sys.GetMaxThreads()
    	if err == nil {
    		minioMaxThreads := (sysMaxThreads * 90) / 100
    		// Only set max threads if it is greater than the default one
    		if minioMaxThreads > 10000 {
    			debug.SetMaxThreads(minioMaxThreads)
    		}
    	}
    
    	var maxLimit uint64
    
    	// Set open files limit to maximum.
    	if _, maxLimit, err = sys.GetMaxOpenFileLimit(); err != nil {
    		return err
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jul 02 15:09:36 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                assertEquals(4, written);
                assertEquals(4, SMBUtil.readInt2(minBuffer, 0));
    
                // Large buffer
                byte[] largeBuffer = new byte[10000];
                written = echoRequest.writeBytesWireFormat(largeBuffer, 5000);
                assertEquals(4, written);
                assertEquals(4, SMBUtil.readInt2(largeBuffer, 5000));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top