Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 655 for 1003 (0.04 seconds)

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/TermsReduceBenchmark.java

                result.setShardIndex(i);
                result.from(0);
                result.size(0);
                result.topDocs(
                    new TopDocsAndMaxScore(
                        new TopDocs(new TotalHits(1000, TotalHits.Relation.GREATER_THAN_OR_EQUAL_TO), new ScoreDoc[0]),
                        Float.NaN
                    ),
                    new DocValueFormat[] { DocValueFormat.RAW }
                );
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 15:45:38 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  2. src/main/webapp/js/admin/plugins/form-validator/sweden.js

    ===0?"female":"male";d.trigger("genderDerived",[i]),b.ssnGender=i;var j=[31,28,31,30,31,30,31,31,30,31,30,31];if((e%400===0||e%4===0&&e%100!==0)&&(j[1]=29),f<1||f>12||g<1||g>j[f-1])return!1;c=c.substring(2,c.length);for(var k="",l=0;l<c.length;l++)k+=((l+1)%2+1)*c.substring(l,l+1);var m=0;for(l=0;l<k.length;l++)m+=parseInt(k.substring(l,l+1),10);return m%10===0},errorMessage:"",errorMessageKey:"badSecurityNumber"}),a.formUtils.addValidator({name:"swecounty",validatorFunction:function(b){return b...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 6.4K bytes
    - Click Count (1)
  3. 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];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

         * (GB, MB, kB) and using the patterns <code>#0.0</code> for numbers between 1 and 10
         * and <code>###0</code> for numbers between 10 and 1000+ by default.
         *
         * @see <a href="https://en.wikipedia.org/wiki/Metric_prefix">https://en.wikipedia.org/wiki/Metric_prefix</a>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

       * response is ready.
       */
      @Test
      fun dispatchBlocksWaitingForEnqueue() {
        Thread {
          try {
            Thread.sleep(1000)
          } catch (ignored: InterruptedException) {
          }
          server.enqueue(
            MockResponse
              .Builder()
              .body("enqueued in the background")
              .build(),
          )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Aug 03 22:38:00 GMT 2025
    - 28K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

            public FailoverState(String channelId) {
                this.channelId = channelId;
                this.failureTime = System.currentTimeMillis();
                this.retryCount = 0;
                this.nextRetryTime = failureTime + 1000; // Initial 1 second delay
            }
    
            /**
             * Get channel ID
             *
             * @return channel identifier
             */
            public String getChannelId() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

        }
    
        @Test
        public void test_longMessage() {
            // Test with very long message
            StringBuilder longMessage = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longMessage.append("Long SSO error message part ").append(i).append(" ");
            }
            String message = longMessage.toString();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            mockConfig = mock(Configuration.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockConfig.getLeaseTimeout()).thenReturn(30000);
            when(mockConfig.getMaxLeases()).thenReturn(1000);
            when(mockConfig.getLeaseBreakTimeout()).thenReturn(60);
            leaseManager = new LeaseManager(mockContext);
        }
    
        @AfterEach
        void tearDown() {
            if (leaseManager != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                w.write(payload, payload.length, out);
    
                // Give the writer thread time to process and set exception
                w.wait(100);
            }
    
            // Wait a bit more to ensure exception is captured
            Thread.sleep(100);
    
            // Act + Assert: checkException should throw the SmbException captured by the thread
            assertThrows(SmbException.class, w::checkException);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  10. 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"));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
Back to Top