Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 2,346 for result (0.05 seconds)

  1. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

        BigInteger result;
        do {
          result = randomNonNegativeBigInteger(numBits);
        } while (result.signum() == 0);
        return result;
      }
    
      /**
       * Generates a number in [0, 2^numBits) with an exponential distribution. The floor of the log2 of
       * the result is chosen uniformly at random in [0, numBits), and then the result is chosen in that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/testing/CollectorTester.java

        for (CollectStrategy scheme : CollectStrategy.values()) {
          A finalAccum = scheme.result(collector, inputs);
          if (collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)) {
            @SuppressWarnings("unchecked") // `R` and `A` match for an `IDENTITY_FINISH`
            R result = (R) finalAccum;
            assertEquivalent(expectedResult, result);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu May 15 21:47:56 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ComparisonChain.java

              return classify(Boolean.compare(left, right));
            }
    
            ComparisonChain classify(int result) {
              return (result < 0) ? LESS : (result > 0) ? GREATER : ACTIVE;
            }
    
            @Override
            public int result() {
              return 0;
            }
          };
    
      private static final ComparisonChain LESS = new InactiveComparisonChain(-1);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt

          other.proxy == proxy &&
          other.socketAddress == socketAddress
    
      override fun hashCode(): Int {
        var result = 17
        result = 31 * result + address.hashCode()
        result = 31 * result + proxy.hashCode()
        result = 31 * result + socketAddress.hashCode()
        return result
      }
    
      /**
       * Returns a string with the URL hostname, socket IP address, and socket port, like one of these:
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

        }
    
        // Test execute() method with successful processing
        @Test
        public void test_execute_success() {
            String result = updateLabelJob.execute();
            assertNotNull(result);
            assertTrue(result.contains("3 documents")); // 3 documents processed
            assertFalse(result.contains("exception"));
        }
    
        // Test execute() method with query builder
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            assertEquals(user, chain3.lastUpdatedUser);
        }
    
        // Test changePassword with no chains
        @Test
        public void test_changePassword_noChains() {
            boolean result = authenticationManager.changePassword("testuser", "newpass");
            assertTrue(result); // Returns true when no chains present
        }
    
        // Test changePassword with single chain success
        @Test
        public void test_changePassword_singleChain_success() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractSortedMultiset.java

        Iterator<Entry<E>> entryIterator = entryIterator();
        if (entryIterator.hasNext()) {
          Entry<E> result = entryIterator.next();
          result = Multisets.immutableEntry(result.getElement(), result.getCount());
          entryIterator.remove();
          return result;
        }
        return null;
      }
    
      @Override
      public @Nullable Entry<E> pollLastEntry() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

        }
    
        @Test
        public void testSetSettingsIndexName() {
            // Test setting index name with lowercase conversion
            SuggestSettingsBuilder result = builder.setSettingsIndexName("TEST_INDEX");
            assertEquals(builder, result); // Test method chaining
            assertEquals("test_index", builder.settingsIndexName);
    
            // Test setting index name with mixed case
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  9. cmd/storage-rest_test.go

    		// file not found error.
    		{"foo", "yourobject", 0, nil, true},
    	}
    
    	result := make([]byte, 100)
    	for i, testCase := range testCases {
    		result = result[testCase.offset:3]
    		_, err := storage.ReadFile(t.Context(), testCase.volumeName, testCase.objectName, testCase.offset, result, nil)
    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  10. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/jarhell/TestingConventionsTasksIT.java

            BuildResult result = runner.build();
            assertTaskSuccessful(result, ":valid_setup_no_base:testingConventions");
        }
    
        public void testValidSetupWithBaseClass() {
            GradleRunner runner = getGradleRunner().withArguments("clean", ":valid_setup_with_base:testingConventions", "-i", "-s");
            BuildResult result = runner.build();
            assertTaskSuccessful(result, ":valid_setup_with_base:testingConventions");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5.2K bytes
    - Click Count (0)
Back to Top