Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1731 - 1740 of 1,812 for testLog (0.06 sec)

  1. guava/src/com/google/common/collect/ImmutableMap.java

         */
        public ImmutableMap<K, V> buildKeepingLast() {
          return build(false);
        }
    
        @VisibleForTesting // only for testing JDK backed implementation
        ImmutableMap<K, V> buildJdkBacked() {
          checkState(
              valueComparator == null, "buildJdkBacked is only for testing; can't use valueComparator");
          switch (size) {
            case 0:
              return of();
            case 1:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

        rateLimiter.setRate(permitsPerSecond);
        return rateLimiter;
      }
    
      /**
       * The underlying timer; used both to measure elapsed time and sleep as necessary. A separate
       * object to facilitate testing.
       */
      private final SleepingStopwatch stopwatch;
    
      // Can't be initialized in the constructor because mocks don't call the constructor.
      @CheckForNull private volatile Object mutexDoNotUseDirectly;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.RequestBody.Companion.gzip
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.logging.HttpLoggingInterceptor.Level
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    import okio.BufferedSink
    import okio.ByteString.Companion.decodeBase64
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.Assumptions
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        checkState(oneBased > 0, "negative index");
        return (oneBased & EVEN_POWERS_OF_TWO) > (oneBased & ODD_POWERS_OF_TWO);
      }
    
      /**
       * Returns {@code true} if the MinMax heap structure holds. This is only used in testing.
       *
       * <p>TODO(kevinb): move to the test class?
       */
      @VisibleForTesting
      boolean isIntact() {
        for (int i = 1; i < size; i++) {
          if (!heapForIndex(i).verifyIndex(i)) {
            return false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.16.md

          - [Instrumentation](#instrumentation)
          - [Network](#network)
          - [Node](#node)
          - [Scheduling](#scheduling)
          - [Storage](#storage-1)
        - [Testing](#testing)
          - [Windows](#windows)
        - [Dependencies](#dependencies-7)
          - [Changed](#changed-7)
          - [Unchanged](#unchanged)
          - [Removed](#removed-7)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Feb 11 10:00:57 UTC 2021
    - 345.2K bytes
    - Viewed (0)
  6. doc/godebug.md

    are reported by the command:
    
    {{raw `
    	go list -f '{{.DefaultGODEBUG}}' my/main/package
    `}}
    
    Only differences from the base Go toolchain defaults are reported.
    
    When testing a package, `//go:debug` lines in the `*_test.go`
    files are treated as directives for the test's main package.
    In any other context, `//go:debug` lines are ignored by the toolchain;
    `go` `vet` reports such lines as misplaced.
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/NullPointerTester.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Maps;
    import com.google.common.primitives.Primitives;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import com.google.common.truth.IterableSubject;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.Serializable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  9. docs/en/docs/alternatives.md

    And after searching for a long time for a similar framework and testing many different alternatives, APIStar was the best option available.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. fastapi/dependencies/utils.py

        "pip install python-multipart\n"
    )
    
    
    def ensure_multipart_is_installed() -> None:
        try:
            from python_multipart import __version__
    
            # Import an attribute that can be mocked/deleted in testing
            assert __version__ > "0.0.12"
        except (ImportError, AssertionError):
            try:
                # __version__ is available in both multiparts, and can be mocked
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top