Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 6,799 for _return (0.14 sec)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

      @CheckForNull
      protected final String pendingToString() {
        @RetainedLocalRef ImmutableCollection<? extends Future<?>> localFutures = futures;
        if (localFutures != null) {
          return "futures=" + localFutures;
        }
        return super.pendingToString();
      }
    
      /**
       * Must be called at the end of each subclass's constructor. This method performs the "real"
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        CacheBuilderFactory factory = cacheFactory();
        return Iterables.transform(
            factory.buildAllPermutations(),
            new Function<CacheBuilder<Object, Object>, LoadingCache<Object, Object>>() {
              @Override
              public LoadingCache<Object, Object> apply(CacheBuilder<Object, Object> builder) {
                return builder.recordStats().build(identityLoader());
              }
            });
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. tests/migrate_test.go

    	if err != nil {
    		err = fmt.Errorf("ColumnTypes err:%v", err)
    		return
    	}
    
    	for _, c := range columnTypes {
    		if c.Name() == columnName {
    			foundColumn = c
    			break
    		}
    	}
    	return
    }
    
    func TestInvalidCachedPlanSimpleProtocol(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" {
    		return
    	}
    
    	db, err := gorm.Open(postgres.Open(postgresDSN), &gorm.Config{})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  4. src/main/config/openapi/openapi-user.yaml

      /popular-words:
        get:
          tags:
            - popularword
          summary: List popular words
          description: Returns available labels
          operationId: listPopularWords
          parameters:
            - name: seed
              in: query
              description: Random seed to return popular words
              required: false
              schema:
                type: string
                example: 123
            - name: label
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/custom-request-and-route.md

    Next, we create a custom subclass of `fastapi.routing.APIRoute` that will make use of the `GzipRequest`.
    
    This time, it will overwrite the method `APIRoute.get_route_handler()`.
    
    This method returns a function. And that function is what will receive a request and return a response.
    
    Here we use it to create a `GzipRequest` from the original request.
    
    {* ../../docs_src/custom_request_and_route/tutorial001.py hl[18:26] *}
    
    /// note | "Technical Details"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

              .serialNumber(i.toLong())
              .build(),
          )
        }
        return result
      }
    
      private fun list(vararg heldCertificates: HeldCertificate): List<Certificate> {
        val result: MutableList<Certificate> = ArrayList()
        for (heldCertificate in heldCertificates) {
          result.add(heldCertificate.certificate)
        }
        return result
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          if (result == null) {
            return Outcome.SUCCESS;
          } else if ((Boolean) result) {
            return Outcome.SUCCESS;
          } else {
            return Outcome.FAILURE;
          }
        } catch (InvocationTargetException targetException) {
          Throwable actualException = targetException.getTargetException();
          if (actualException instanceof InterruptedException) {
            return Outcome.INTERRUPT;
          } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

            val contentType = networkResponse.header("Content-Type")
            responseBuilder.body(RealResponseBody(contentType, -1L, gzipSource.buffer()))
          }
        }
    
        return responseBuilder.build()
      }
    
      /** Returns a 'Cookie' HTTP request header with all cookies, like `a=b; c=d`. */
      private fun cookieHeader(cookies: List<Cookie>): String =
        buildString {
          cookies.forEachIndexed { index, cookie ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

        assertEmpty(getMultiset());
      }
    
      /**
       * Returns {@link Method} instances for the read tests that assume multisets support duplicates so
       * that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getElementSetDuplicateInitializingMethods() {
        return asList(
            getMethod(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/Striped64.java

        } catch (Exception e) {
          throw new Error(e);
        }
      }
    
      /**
       * Returns a sun.misc.Unsafe. Suitable for use in a 3rd party package. Replace with a simple call
       * to Unsafe.getUnsafe when integrating into a jdk.
       *
       * @return a sun.misc.Unsafe
       */
      private static Unsafe getUnsafe() {
        try {
          return Unsafe.getUnsafe();
        } catch (SecurityException tryReflectionInstead) {
        }
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top