Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 928 for Upsert (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Range;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/BufferCacheImplTest.java

            for (int i = 0; i < b.length; i++) {
                b[i] = (byte) (i + 1);
            }
    
            // Act: release should zero immediately to avoid leaks
            impl.releaseBuffer(b);
    
            // Assert: original array is zeroed in-place
            for (byte value : b) {
                assertEquals(0, value, "Released buffer must be zeroed");
            }
    
            // Next get should return the same instance from cache
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

          if (recurrence) {
            "run again after ${formatDuration(executeNanoTime - now)}"
          } else {
            "scheduled after ${formatDuration(executeNanoTime - now)}"
          }
        }
    
        // Insert in chronological order. Always compare deltas because nanoTime() is permitted to wrap.
        var insertAt = futureTasks.indexOfFirst { it.nextExecuteNanoTime - now > delayNanos }
        if (insertAt == -1) insertAt = futureTasks.size
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.Executors.newFixedThreadPool;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Stopwatch;
    import com.google.common.collect.Range;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.concurrent.Callable;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionQuery.java

        public String xgetLocationBase() {
            final StringBuilder sb = new StringBuilder();
            ConditionQuery query = this;
            while (true) {
                if (query.isBaseQuery()) {
                    sb.insert(0, CQ_PROPERTY + ".");
                    break;
                } else {
                    final String foreignPropertyName = query.xgetForeignPropertyName();
                    if (foreignPropertyName == null) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 21.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionQuery.java

        public String xgetLocationBase() {
            final StringBuilder sb = new StringBuilder();
            ConditionQuery query = this;
            while (true) {
                if (query.isBaseQuery()) {
                    sb.insert(0, CQ_PROPERTY + ".");
                    break;
                } else {
                    final String foreignPropertyName = query.xgetForeignPropertyName();
                    if (foreignPropertyName == null) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 21.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            SmbFileHandleImpl fh = mock(SmbFileHandleImpl.class);
            doReturn(fh).when(raf).ensureOpen();
    
            // Act
            raf.open();
    
            // Assert: open() ensures handle and closes it via try-with-resources
            verify(raf, times(1)).ensureOpen();
            verify(fh, times(1)).close();
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  8. architecture/standards/0008-use-nullaway.md

    Prefer rearranging the code to avoid the error, unless there is a provable performance penalty or a significant loss of code readability.
    Use `Objects.requireNonNull` statement or `Preconditions` rather than `assert` or `@SuppressWarning` annotation to suppress if possible.
    
    For gradual adoption, enable checks project-by-project.
    Do not rely on `@NullMarked` annotations.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 10:24:40 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

    import java.lang.reflect.Type;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Objects;
    import java.util.concurrent.ConcurrentMap;
    import junit.framework.Assert;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A test utility that verifies that your methods and constructors throw {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/TreeRangeMap.java

              throw new IllegalArgumentException(
                  "Cannot insert range " + range + " into an empty subRangeMap");
            }
    
            @Override
            public void putCoalescing(Range<Comparable<?>> range, Object value) {
              checkNotNull(range);
              throw new IllegalArgumentException(
                  "Cannot insert range " + range + " into an empty subRangeMap");
            }
    
            @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 26.5K bytes
    - Click Count (0)
Back to Top