Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1181 - 1190 of 2,198 for created (0.08 sec)

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

     * <p>We encourage you to return {@code ListenableFuture} from your methods so that your users can
     * take advantage of the {@linkplain Futures utilities built atop the class}. The way that you will
     * create {@code ListenableFuture} instances depends on how you currently create {@code Future}
     * instances:
     *
     * <ul>
     *   <li>If you receive them from an {@code java.util.concurrent.ExecutorService}, convert that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. cmd/erasure-heal_test.go

    		if err != nil {
    			t.Fatalf("Test %d: failed to create ErasureStorage: %v", i, err)
    		}
    		data := make([]byte, test.size)
    		if _, err = io.ReadFull(rand.Reader, data); err != nil {
    			t.Fatalf("Test %d: failed to create random test data: %v", i, err)
    		}
    		buffer := make([]byte, test.blocksize, 2*test.blocksize)
    		writers := make([]io.Writer, len(disks))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/logic/AccessContextLogic.java

        // ===================================================================================
        //                                                                      Create Context
        //                                                                      ==============
        public AccessContext create(final AccessContextResource resource, final UserTypeSupplier userTypeSupplier,
                final UserBeanSupplier userBeanSupplier, final AppTypeSupplier appTypeSupplier) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt

        if (this.delegate == null && socketAdapterFactory.matchesSocket(sslSocket)) {
          this.delegate = socketAdapterFactory.create(sslSocket)
        }
    
        return delegate
      }
    
      interface Factory {
        fun matchesSocket(sslSocket: SSLSocket): Boolean
    
        fun create(sslSocket: SSLSocket): SocketAdapter
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. cmd/metacache-bucket_test.go

    			BaseDir:      pathNames[i%paths],
    			Prefix:       "",
    			FilterPrefix: "",
    			Marker:       "",
    			Limit:        0,
    			AskDisks:     "strict",
    			Recursive:    false,
    			Separator:    slashSeparator,
    			Create:       true,
    		})
    	}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bm.findCache(listPathOptions{
    			ID:           mustGetUUID(),
    			Bucket:       "",
    			BaseDir:      pathNames[i%paths],
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 25 23:29:45 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  6. tests/test_security_api_key_cookie_optional.py

        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        if current_user is None:
            return {"msg": "Create an account first"}
        else:
            return current_user
    
    
    def test_security_api_key():
        client = TestClient(app, cookies={"key": "secret"})
        response = client.get("/users/me")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. tests/test_security_api_key_query_optional.py

        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: Optional[User] = Depends(get_current_user)):
        if current_user is None:
            return {"msg": "Create an account first"}
        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_api_key():
        response = client.get("/users/me?key=secret")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/UrlModelSource.java

    /**
     * Wraps an ordinary {@link URL} as a model source.
     *
     *
     * @deprecated instead use {@link UrlSource}
     */
    @Deprecated
    public class UrlModelSource extends UrlSource implements ModelSource {
        /**
         * Creates a new model source backed by the specified URL.
         *
         * @param pomUrl The POM file, must not be {@code null}.
         */
        public UrlModelSource(URL pomUrl) {
            super(pomUrl);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_sql_databases/test_tutorial002.py

            warnings.simplefilter("always")
            # No heroes before creating
            response = client.get("heroes/")
            assert response.status_code == 200, response.text
            assert response.json() == []
    
            # Create a hero
            response = client.post(
                "/heroes/",
                json={
                    "id": 9000,
                    "name": "Dead Pond",
                    "age": 30,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/jar/JarFileUtil.java

         *
         * @param file
         *            ファイルパス。{@literal null}であってはいけません
         * @return 指定されたJarファイルを読み取るための<code>JarFile</code>
         */
        public static JarFile create(final String file) {
            assertArgumentNotNull("file", file);
    
            try {
                return new JarFile(file);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top