- Sort Score
- Num 10 results
- Language All
Results 1661 - 1670 of 7,303 for recur2 (0.05 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
} /** * Used by tests that require a map, but don't care whether it's populated or not. * * @return a new map instance. */ protected Map<K, V> makeEitherMap() { try { return makePopulatedMap(); } catch (UnsupportedOperationException e) { return makeEmptyMap(); } } @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt
FakePlan(nextPlanId++).also { plans += it } override fun isCanceled() = canceled override fun plan(): FakePlan { // Return deferred plans preferentially. These don't require addPlan(). if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst() as FakePlan if (nextPlanIndex >= plans.size && autoGeneratePlans) addPlan() require(nextPlanIndex < plans.size) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 6.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
assertEquals( "computeIfPresent(present, function) should return new value", v3(), getMap() .computeIfPresent( k0(), (k, v) -> { assertEquals(k0(), k); assertEquals(v0(), v); return v3(); })); expectReplacement(entry(k0(), v3())); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 6.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
return false; } @Override public boolean isDone() { return true; } @Override public boolean isCancelled() { return true; // BAD!! } @Override public String get() { return "foo"; // BAD!! }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
@Override @ParametricNullness public K getKey() { return delegate().getKey(); } @Override @ParametricNullness public V getValue() { return delegate().getValue(); } @Override @ParametricNullness @CanIgnoreReturnValue public V setValue(@ParametricNullness V value) { return delegate().setValue(value); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.3K bytes - Click Count (0) -
internal/logger/target/console/console.go
func (c *Target) Validate() error { return nil } // Endpoint returns the backend endpoint func (c *Target) Endpoint() string { return "" } func (c *Target) String() string { return "console" } // Send log message 'e' to console func (c *Target) Send(e any) error { entry, ok := e.(log.Entry) if !ok { return fmt.Errorf("Uexpected log entry structure %#v", e) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/math/LinearTransformation.java
} @Override public boolean isVertical() { return false; } @Override public boolean isHorizontal() { return slope == 0.0; } @Override public double slope() { return slope; } @Override public double transform(double x) { return x * slope + yIntercept; } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 9.7K bytes - Click Count (0) -
internal/bucket/replication/replication.go
} } sort.Slice(rules, func(i, j int) bool { return rules[i].Priority > rules[j].Priority && rules[i].Destination.String() == rules[j].Destination.String() }) return rules } // GetDestination returns destination bucket and storage class. func (c Config) GetDestination() Destination { if len(c.Rules) > 0 { return c.Rules[0].Destination } return Destination{} }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
* * @return the dialectIndex */ public int getDialectIndex() { return this.dialectIndex; } /** * Returns the server capabilities negotiated during the SMB handshake. * * @return the negotiated capabilities */ public int getNegotiatedCapabilities() { return this.capabilities; } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java
* This method returns the concrete FessUserBean class instead of the generic type. * * @return an optional containing the current user bean, or empty if not logged in */ @Override protected OptionalThing<FessUserBean> getUserBean() { // to return as concrete class return fessLoginAssist.getSavedUserBean(); } /**Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 15K bytes - Click Count (0)