Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 2,346 for result (0.08 seconds)

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

        super.setUp();
        timeLimiter = new FakeTimeLimiter();
      }
    
      public void testCallWithTimeout_propagatesReturnValue() throws Exception {
        String result =
            timeLimiter.callWithTimeout(Callables.returning(RETURN_VALUE), DELAY_MS, MILLISECONDS);
    
        assertThat(result).isEqualTo(RETURN_VALUE);
      }
    
      public void testCallWithTimeout_wrapsCheckedException() throws Exception {
        Exception exception = new SampleCheckedException();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/SortedIterables.java

      public static <E extends @Nullable Object> Comparator<? super E> comparator(
          SortedSet<E> sortedSet) {
        Comparator<? super E> result = sortedSet.comparator();
        if (result == null) {
          result = (Comparator<? super E>) Ordering.natural();
        }
        return result;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FailedPlan.kt

     */
    internal class FailedPlan(
      e: Throwable,
    ) : RoutePlanner.Plan {
      val result = RoutePlanner.ConnectResult(plan = this, throwable = e)
    
      override val isReady = false
    
      override fun connectTcp() = result
    
      override fun connectTlsEtc() = result
    
      override fun handleSuccess() = error("unexpected call")
    
      override fun cancel() = error("unexpected cancel")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

      public @Nullable V get(@Nullable Object key) {
        Object result =
            RegularImmutableMap.get(keyHashTable, alternatingKeysAndValues, size, keyOffset, key);
        /*
         * We can't simply cast the result of `RegularImmutableMap.get` to V because of a bug in our
         * nullness checker (resulting from https://github.com/jspecify/checker-framework/issues/8).
         */
        if (result == null) {
          return null;
        } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. clause/clause_test.go

    			buildNames = append(buildNames, c.Name())
    			buildNamesMap[c.Name()] = true
    		}
    
    		stmt.AddClause(c)
    	}
    
    	stmt.Build(buildNames...)
    
    	if strings.TrimSpace(stmt.SQL.String()) != result {
    		t.Errorf("SQL expects %v got %v", result, stmt.SQL.String())
    	}
    
    	if !reflect.DeepEqual(stmt.Vars, vars) {
    		t.Errorf("Vars expects %+v got %v", stmt.Vars, vars)
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jun 02 02:50:38 GMT 2020
    - 1012 bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeDeriver.java

                ArtifactType result = currentType;
                if (jar.getId().equals(currentType.getId())) {
                    result = processor;
                } else if (classpathJar.getId().equals(currentType.getId())) {
                    result = classpathProcessor;
                } else if (modularJar.getId().equals(currentType.getId())) {
                    result = modularProcessor;
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

                    return false;
                }
    
                final Map<String, Object> result = parseJson(response.getContentAsString());
                final Boolean found = (Boolean) result.get("found");
                if (found == null || !found) {
                    return false;
                }
    
                final Map<String, Object> source = getMapValue(result, "_source");
                if (source == null) {
                    return false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            pathField.set(trans2GetDfsReferral, filename);
    
            // When
            String result = trans2GetDfsReferral.toString();
    
            // Then
            assertNotNull(result);
            assertTrue(result.contains("Trans2GetDfsReferral"));
            assertTrue(result.contains("maxReferralLevel=0x3"));
            assertTrue(result.contains("filename=" + filename));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

            } else {
              call.eventListener.dnsStart(call, socketHost)
    
              val result = address.dns.lookup(socketHost)
              if (result.isEmpty()) {
                throw UnknownHostException("${address.dns} returned no addresses for $socketHost")
              }
    
              call.eventListener.dnsEnd(call, socketHost, result)
              result
            }
    
          // Try each address for best behavior in mixed IPv4/IPv6 environments.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 7.3K bytes
    - Click Count (2)
  10. android/guava/src/com/google/common/math/LongMath.java

             * results can exceed 2^63.
             */
            long result = times2ToThe32Mod(aHi * bHi /* < 2^62 */, m); // < m < 2^63
            result += aHi * bLo; // aHi * bLo < 2^63, result < 2^64
            if (result < 0) {
              result = UnsignedLongs.remainder(result, m);
            }
            // result < 2^63 again
            result += aLo * bHi; // aLo * bHi < 2^63, result < 2^64
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 09 23:01:02 GMT 2026
    - 46.8K bytes
    - Click Count (0)
Back to Top