Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 669 for 1900 (0.02 sec)

  1. src/bufio/bufio_test.go

    	var w0 writeCountingDiscard
    	b0 := NewWriterSize(&w0, 1234)
    	b0.WriteString(strings.Repeat("x", 1000))
    	if w0 != 0 {
    		t.Fatalf("write 1000 'x's: got %d writes, want 0", w0)
    	}
    	b0.WriteString(strings.Repeat("x", 200))
    	if w0 != 0 {
    		t.Fatalf("write 1200 'x's: got %d writes, want 0", w0)
    	}
    	io.Copy(b0, onlyReader{strings.NewReader(strings.Repeat("x", 30))})
    	if w0 != 0 {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                thread.join();
            }
    
            // Verify all entries were added
            assertEquals(1000, entry.getChildren().size());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        sink.putChar((char) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testString() {
        Random random = new Random();
        for (int i = 0; i < 100; i++) {
          byte[] bytes = new byte[64];
          random.nextBytes(bytes);
          String s = new String(bytes, UTF_16LE); // so all random strings are valid
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/searchlist/DeleteForm.java

        public DeleteForm() {
            // Default constructor with explicit documentation
        }
    
        /**
         * The search query used to find the document.
         * Optional field with maximum length of 1000 characters.
         */
        @Size(max = 1000)
        public String q;
    
        /**
         * The document ID of the document to delete.
         * Required field for identifying the specific document.
         */
        @Required
        public String docId;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                String nonceHex = bytesToHex(nonce);
                nonceSet.add(nonceHex);
            }
    
            // Verify that secure nonces provide excellent diversity
            // With 100 nonces and 16 random bytes, we should have all unique nonces
            assertEquals(100, nonceSet.size(), "Secure nonces should all be unique");
        }
    
        @Test
        @DisplayName("Should reject null message in encryptMessage")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/reqheader/CreateForm.java

         */
        @Required
        @Size(max = 100)
        public String name;
    
        /**
         * The value of the request header.
         */
        @Required
        @Size(max = 1000)
        public String value;
    
        /**
         * The web configuration ID associated with this request header.
         */
        @Required
        @Size(max = 1000)
        public String webConfigId;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

            CacheBuilder.newBuilder().expireAfterAccess(1000, MILLISECONDS).ticker(fakeTicker).build();
    
        cache.put(0, 10);
        cache.put(2, 30);
    
        fakeTicker.advance(999, MILLISECONDS);
        assertEquals(Integer.valueOf(30), cache.getIfPresent(2));
        fakeTicker.advance(1, MILLISECONDS);
        assertEquals(Integer.valueOf(30), cache.getIfPresent(2));
        fakeTicker.advance(1000, MILLISECONDS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

            assertEquals("1,000", FessFunctions.formatNumber(1000, "###,###"));
            assertEquals("1,000,000", FessFunctions.formatNumber(1000000, "###,###"));
        }
    
        public void test_formatFileSize() {
            assertEquals("0", FessFunctions.formatFileSize(0));
            assertEquals("1000", FessFunctions.formatFileSize(1000));
            assertEquals("976.6K", FessFunctions.formatFileSize(1000000));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top