Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 378 for Klinger (0.18 sec)

  1. tests/test_tutorial/test_extending_openapi/test_tutorial001.py

        assert response.json() == {
            "openapi": "3.1.0",
            "info": {
                "title": "Custom title",
                "summary": "This is a very custom OpenAPI schema",
                "description": "Here's a longer description of the custom **OpenAPI** schema",
                "version": "2.5.0",
                "x-logo": {
                    "url": "https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png"
                },
            },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Internal.java

        "Java7ApiChecker",
      })
      @IgnoreJRERequirement
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
        }
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jan 11 14:30:06 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Internal.java

        "Java7ApiChecker",
      })
      @IgnoreJRERequirement
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 11 14:30:06 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ComputationException.java

    import javax.annotation.CheckForNull;
    
    /**
     * Wraps an exception that occurred during a computation.
     *
     * @author Bob Lee
     * @since 2.0
     * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was
     *     thrown by {@link MapMaker} computing maps. When support for computing maps was removed from
     *     {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 04 13:28:27 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

      env->SetNowSeconds(3);
      int value = 0;
      EXPECT_TRUE(cache.Lookup(key, &value));
      EXPECT_EQ(value, 42);
      // 2 seconds after the most recent insertion, the entry is no longer valid.
      env->SetNowSeconds(4);
      EXPECT_FALSE(cache.Lookup(key, &value));
      // Re-insert the entry.
      cache.Insert(key, 43);
      EXPECT_TRUE(cache.Lookup(key, &value));
      EXPECT_EQ(value, 43);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ConsumingQueueIterator.java

      ConsumingQueueIterator(Queue<T> queue) {
        this.queue = checkNotNull(queue);
      }
    
      @Override
      @CheckForNull
      protected T computeNext() {
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (queue.isEmpty()) {
          return endOfData();
        }
        return queue.remove();
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Jan 21 14:48:03 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMapKeySet.java

      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible // serialization
      @GwtIncompatible // serialization
      Object writeReplace() {
        return super.writeReplace();
      }
    
      // No longer used for new writes, but kept so that old data can still be read.
      @GwtIncompatible // serialization
      @J2ktIncompatible
      @SuppressWarnings("unused")
      private static class KeySetSerializedForm<K> implements Serializable {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileHandleImpl.java

            if ( !isValid() ) {
                throw new SmbException("Descriptor is no longer valid");
            }
            return this.fid;
        }
    
    
        public byte[] getFileId () throws SmbException {
            if ( !isValid() ) {
                throw new SmbException("Descriptor is no longer valid");
            }
            return this.fileId;
        }
    
    
        /**
         * @return the initialSize
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

     * it returns is "s". For values in [-499..499] this returns "  0 µs".
     *
     * The returned string attempts to be column-aligned to 6 characters. For negative and large values
     * the returned string may be longer.
     */
    fun formatDuration(ns: Long): String {
      val s =
        when {
          ns <= -999_500_000 -> "${(ns - 500_000_000) / 1_000_000_000} s "
          ns <= -999_500 -> "${(ns - 500_000) / 1_000_000} ms"
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

            // We've chosen a connection to evict. Confirm it's still okay to be evicted, then close it.
            toEvict.withLock {
              if (toEvict.calls.isNotEmpty()) return 0L // No longer idle.
              if (toEvict.idleAtNs != toEvictIdleAtNs) return 0L // No longer oldest.
              toEvict.noNewExchanges = true
              connections.remove(toEvict)
            }
            addressStates[toEvict.route.address]?.scheduleOpener()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
Back to top