- Sort Score
- Result 10 results
- Languages All
Results 1281 - 1290 of 1,633 for Results (0.05 sec)
-
android/guava/src/com/google/common/cache/LongAdder.java
public void decrement() { add(-1L); } /** * Returns the current sum. The returned value is NOT an atomic snapshot; invocation in * the absence of concurrent updates returns an accurate result, but concurrent updates that occur * while the sum is being calculated might not be incorporated. * * @return the sum */ @Override public long sum() { long sum = base; Cell[] as = cells;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashMultimap.java
* Multimaps#synchronizedSetMultimap}. * * <p><b>Warning:</b> Do not modify either a key <i>or a value</i> of a {@code HashMultimap} in a * way that affects its {@link Object#equals} behavior. Undefined behavior and bugs will result. * * @author Jared Levy * @since 2.0 */ @GwtCompatible(serializable = true, emulated = true) @ElementTypesAreNonnullByDefault public final class HashMultimap<K extends @Nullable Object, V extends @Nullable Object>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 10:02:49 UTC 2024 - 6.1K bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status.go
if clientConfig.GetGenericXdsConfigs() != nil { configs = clientConfig.GetGenericXdsConfigs() return configs } // FIXME: currently removing the deprecated code below may result in functions not working // if there is a mismatch of versions between istiod and istioctl // nolint: staticcheck for _, config := range clientConfig.GetXdsConfig() { var typeURL string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 21 22:47:20 UTC 2024 - 6.5K bytes - Viewed (0) -
tests/transaction_test.go
ctx, cancelFunc := context.WithCancel(ctx) cancelFunc() user := *GetUser("cancel_transaction", Config{}) DB.Create(&user) err := DB.WithContext(ctx).Transaction(func(tx *gorm.DB) error { var result User tx.First(&result, user.ID) return nil }) if err == nil { t.Fatalf("Transaction should get error when using cancelled context") } } func TestTransactionWithBlock(t *testing.T) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Sep 14 12:58:29 UTC 2024 - 12.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java
* from the plugin configuration or from other components. * </p> * <p> * Fields can also be annotated with the {@link Resolution} annotation to be injected * with the dependency collection or resolution result for the project. * </p> * * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Inherited public @interface Mojo { /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 29 18:21:40 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
interface Callback { fun onEvent( id: String?, type: String?, data: String, ) fun onRetryChange(timeMs: Long) } /** * Process the next event. This will result in a single call to [Callback.onEvent] *unless* the * data section was empty. Any number of calls to [Callback.onRetryChange] may occur while * processing an event. * * @return false when EOF is reached */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
dummy ^= sb.toString().length(); } return dummy; } /** * Similar to the above, but keeps a boolean flag rather than checking for the string accumulated * so far being empty. As a result, it does not have the above-mentioned bug. */ @Benchmark int booleanIfFirst(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { StringBuilder sb = new StringBuilder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
final boolean[] called = new boolean[1]; f.addCallback( new FutureCallback<String>() { @Override public void onSuccess(String result) { called[0] = true; } @Override public void onFailure(Throwable t) {} }, directExecutor()); assertThat(called[0]).isTrue(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 5.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java
* * @throws NullPointerException if passed in buffer is {@code null}. */ void update(@Nonnull ByteBuffer input); /** * Returns the algorithm end result as string, never {@code null}. After invoking this method, this instance should * be discarded and not reused. For new checksum calculation you have to get new instance. */ @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 6.4K bytes - Viewed (0) -
src/bytes/buffer_test.go
t.Errorf("%s: string(buf.Bytes()) == %q, s == %q", testname, string(bytes), s) } } // Fill buf through n writes of string fus. // The initial contents of buf corresponds to the string s; // the result is the final contents of buf returned as a string. func fillString(t *testing.T, testname string, buf *Buffer, s string, n int, fus string) string { check(t, testname+" (fill 1)", buf, s) for ; n > 0; n-- {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 18.6K bytes - Viewed (0)