Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5171 - 5180 of 7,014 for _return (0.06 sec)

  1. docs_src/dependencies/tutorial008b_an.py

        if item_id not in data:
            raise HTTPException(status_code=404, detail="Item not found")
        item = data[item_id]
        if item["owner"] != username:
            raise OwnerError(username)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 26 20:37:34 UTC 2023
    - 785 bytes
    - Viewed (0)
  2. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

        protected fun createStories(interopTests: Array<String>): List<Any> {
          if (interopTests.isEmpty()) return listOf<Any>(Story.MISSING)
    
          val result = mutableListOf<Any>()
          for (interopTestName in interopTests) {
            val stories = HpackJsonUtil.readStories(interopTestName)
            result.addAll(stories)
          }
          return result
        }
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java

      public static <K, V> ConcurrentMapTestSuiteBuilder<K, V> using(TestMapGenerator<K, V> generator) {
        ConcurrentMapTestSuiteBuilder<K, V> result = new ConcurrentMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      static final List<? extends Class<? extends AbstractTester>> TESTERS =
          asList(
              ConcurrentMapPutIfAbsentTester.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

        chain: Array<out X509Certificate>,
        authType: String,
        host: String,
      ): List<Certificate> {
        if (host in insecureHosts) return listOf()
        try {
          val method =
            checkServerTrustedMethod
              ?: throw CertificateException("Failed to call checkServerTrusted")
          return method.invoke(delegate, chain, authType, host) as List<Certificate>
        } catch (e: InvocationTargetException) {
          throw e.targetException
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java

      public static <K, V> ConcurrentMapTestSuiteBuilder<K, V> using(TestMapGenerator<K, V> generator) {
        ConcurrentMapTestSuiteBuilder<K, V> result = new ConcurrentMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      static final List<? extends Class<? extends AbstractTester>> TESTERS =
          asList(
              ConcurrentMapPutIfAbsentTester.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

          Executor executor) {
        return AbstractCatchingFuture.create(input, exceptionType, fallback, executor);
      }
    
      public static <V extends @Nullable Object> ListenableFuture<V> catchingAsync(
          ListenableFuture<? extends V> input,
          Class<Throwable> exceptionType,
          AsyncFunction<? super Throwable, ? extends V> fallback,
          Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 24 17:45:05 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/DuplicateProjectException.java

        }
    
        /**
         * Gets the POM files of the projects that collided.
         *
         * @return The POM files of the projects that collided, indexed by their g:a:v, never {@code null}.
         */
        public Map<String, List<File>> getCollisions() {
            return collisions;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java

        }
    
        /**
         * Gets the character sequence of this settings source.
         *
         * @return The underlying character stream, never {@code null}.
         * @deprecated instead use {@link #getContent()}
         */
        @Deprecated
        public String getSettings() {
            return getContent();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        assertSetIsUnmodifiable(
            multiset.entrySet(),
            new Multiset.Entry<E>() {
              @Override
              public int getCount() {
                return 1;
              }
    
              @Override
              public E getElement() {
                return sampleElement;
              }
            });
        assertCollectionsAreEquivalent(multiset, copy);
      }
    
      /**
       * Verifies that a multimap is immutable.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/MoreFilesFileTraverserTest.java

      private Path newDir(String name) throws IOException {
        Path dir = rootDir.resolve(name);
        Files.createDirectory(dir);
        return dir;
      }
    
      @CanIgnoreReturnValue
      private Path newFile(String name) throws IOException {
        Path file = rootDir.resolve(name);
        MoreFiles.touch(file);
        return file;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 09 19:30:52 UTC 2018
    - 3.8K bytes
    - Viewed (0)
Back to top