Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 750 for 1000 (0.1 sec)

  1. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      }
    
      public void testZeros100() {
        // Test 100 byte array of 0x00.
        byte[] zeros = new byte[100];
        assertCrc(0x07cb9ff6, zeros);
      }
    
      public void testFull() {
        // Test 32 byte array of 0xFF.
        byte[] fulls = new byte[32];
        Arrays.fill(fulls, (byte) 0xFF);
        assertCrc(0x62a8ab43, fulls);
      }
    
      public void testFull100() {
        // Test 100 byte array of 0xFF.
        byte[] fulls = new byte[100];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                if (i > 0)
                    sb.append(",");
                sb.append("\"field").append(i).append("\"");
            }
    
            String[] result = KuromojiCSVUtil.parse(sb.toString());
            assertEquals(1000, result.length);
            // Quoted values keep their quotes
            for (int i = 0; i < 999; i++) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            // Test with large input
            StringBuilder largeInput = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                largeInput.append("key").append(i).append("=value").append(i).append("\n");
            }
    
            Map<String, String> result = ParameterUtil.parse(largeInput.toString());
            assertEquals(1000, result.size());
            assertEquals("value500", result.get("key500"));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            } else {
                this.limitPercentage = Integer.parseInt(limitPercentage);
            }
    
            if (this.limitPercentage > 100) {
                this.limitPercentage = 100;
            } else if (this.limitPercentage < 1) {
                this.limitPercentage = 1;
            }
        }
    
        /**
         * Sets the limit number.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

        }
    
        public void test_exceptionWithLongMessage() {
            // Test with very long message
            int statusCode = 413;
            StringBuilder longMessage = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longMessage.append("Very long error message content. ");
            }
            String message = longMessage.toString();
    
            WebApiException exception = new WebApiException(statusCode, message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. cmd/metrics-v3-cache.go

    	if ioStats.WriteIOs > 0 {
    		m.writesAwait = float64(ioStats.WriteTicks) / float64(ioStats.WriteIOs)
    	}
    
    	// TotalTicks is in milliseconds
    	m.percUtil = float64(ioStats.TotalTicks) * 100 / (durationSecs * 1000)
    
    	return
    }
    
    func newDriveMetricsCache() *cachevalue.Cache[storageMetrics] {
    	var (
    		// prevDriveIOStats is used to calculate "per second"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            final Extractor extractor = getExtractor(responseData);
            final String mimeType = responseData.getMimeType();
            final StringBuilder contentMetaBuf = new StringBuilder(1000);
            final Map<String, Object> dataMap = new HashMap<>();
            final Map<String, Object> metaDataMap = new HashMap<>();
            String content;
            try (final InputStream in = responseData.getResponseBody()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                final StringBuilder buf = new StringBuilder(100);
                return ".*" + appendFileterPath(buf, escape(v)) + ".*";
            }
            if (s.startsWith(REGEXP_IGNORE_CASE)) {
                final String v = s.substring(REGEXP_IGNORE_CASE.length());
                final StringBuilder buf = new StringBuilder(100);
                buf.append("(?i)");
                return appendFileterPath(buf, unescape(v));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top