Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1781 - 1790 of 3,251 for creates (0.13 seconds)

  1. src/main/java/jcifs/context/SingletonContext.java

                    log.error("Failed to create singleton JCIFS context", e);
                }
            }
            return INSTANCE;
        }
    
        /**
         * This static method registers the SMB URL protocol handler which is
         * required to use SMB URLs with the <code>java.net.URL</code> class. If this
         * method is not called before attempting to create an SMB URL with the
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  2. 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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2K bytes
    - Click Count (0)
  3. 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")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        // lockD -> lockA
        lockD.lock();
        lockA.lock();
        lockA.unlock();
        lockD.unlock();
    
        // lockA -> lockD should warn but otherwise succeed because lockD was
        // created by a factory with the WARN policy.
        lockA.lock();
        lockD.lock();
      }
    
      public void testReentrantLock_tryLock() throws Exception {
        LockingThread thread = new LockingThread(lockA);
        thread.start();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 16.2K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

        return new Enums();
      }
    
      @Override
      public Multiset<AnEnum> create(Object... elements) {
        AnEnum[] array = new AnEnum[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (AnEnum) e;
        }
        return create(array);
      }
    
      protected abstract Multiset<AnEnum> create(AnEnum[] elements);
    
      @Override
      public AnEnum[] createArray(int length) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts

        }
    }
    
    testing {
        suites {
            create("archTest", JvmTestSuite::class) {
                project.jvmCompile {
                    addCompilationFrom(sources)
                }
    
                dependencies {
                    implementation(project.dependencies.create(project))
                    notForAccessorGeneration {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 18:51:33 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

    /**
     * Tests for the MsrpcGetMembersInAlias class.
     */
    class MsrpcGetMembersInAliasTest {
    
        private SamrAliasHandle aliasHandle;
        private LsarSidArray sids;
    
        @BeforeEach
        void setUp() {
            // Create mock objects for the constructor parameters
            aliasHandle = mock(SamrAliasHandle.class);
            sids = mock(LsarSidArray.class);
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/request-forms-and-files.md

    /// info
    
    To receive uploaded files and/or form data, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. internal/config/certs_test.go

    		privateKey, err := createTempFile(t, "private.key", testCase.privateKey)
    		if err != nil {
    			t.Fatalf("Test %d: failed to create tmp private key file: %v", i, err)
    		}
    		certificate, err := createTempFile(t, "public.crt", testCase.certificate)
    		if err != nil {
    			os.Remove(privateKey)
    			t.Fatalf("Test %d: failed to create tmp certificate file: %v", i, err)
    		}
    
    		if testCase.password != "" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/beans/ConstructorDesc.java

         */
        Class<?> getValueClassOfMap(int index);
    
        /**
         * Returns an instance created by invoking the constructor.
         *
         * @param <T>
         *            The type of the Bean to be created
         * @param args
         *            The arguments for the constructor
         * @return An instance created by invoking the constructor
         */
        <T> T newInstance(Object... args);
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top