Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 1,385 for Create (0.67 sec)

  1. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

            short level = 1;
    
            // Create an instance of the class under test
            MsrpcQueryInformationPolicy policy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);
    
            // Verify that the super constructor was called with the correct arguments
            // Note: Mockito cannot directly verify super constructor calls.
            // We assume if the object is created, the super constructor was called.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. docs/en/docs/reference/security/index.md

    But you still need to define what is the dependable, the callable that you pass as a parameter to `Depends()` or `Security()`.
    
    There are multiple tools that you can use to create those dependables, and they get integrated into OpenAPI so they are shown in the automatic docs UI, they can be used by automatically generated clients and SDKs, etc.
    
    You can import them from `fastapi.security`:
    
    ```python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiBaseFormFilterFactory.java

        public KuromojiBaseFormFilterFactory(IndexSettings indexSettings, Environment environment, String name, Settings settings) {
            super(indexSettings, name, settings);
        }
    
        @Override
        public TokenStream create(TokenStream tokenStream) {
            return new JapaneseBaseFormFilter(tokenStream);
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/response-change-status-code.md

    ## Use case { #use-case }
    
    For example, imagine that you want to return an HTTP status code of "OK" `200` by default.
    
    But if the data didn't exist, you want to create it, and return an HTTP status code of "CREATED" `201`.
    
    But you still want to be able to filter and convert the data you return with a `response_model`.
    
    For those cases, you can use a `Response` parameter.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            WitnessRpcClient mockRpc = mock(WitnessRpcClient.class);
            lenient().when(mockRpc.register(any(WitnessRegisterRequest.class))).thenReturn(mockResponse);
    
            // Create a test witness client that uses our mock RPC client
            TestWitnessClient client = new TestWitnessClient(witnessServer, mockContext, mockRpc);
    
            TestNotificationListener listener = new TestNotificationListener();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. ci/official/utilities/setup.sh

      if [[ -s "$FROM_ENV" ]]; then
        echo '==TFCI==: NOTE: Loading the following env parameters, which were'
        echo 'already set in the shell environment. If you want to disable this'
        echo 'behavior, create a new shell.'
        cat "$FROM_ENV"
        source "$FROM_ENV"
        rm "$FROM_ENV"
      fi
      set +u
    fi
    
    # If building installer wheels, set the required environment variables that are
    # read by setup.py.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jan 09 18:37:25 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            // Act - Write
            int writeLength = nodeStatusRequest.writeWireFormat(buffer, 0);
    
            // Assert write
            assertTrue(writeLength > 0);
    
            // Create new request to read
            NodeStatusRequest readRequest = new NodeStatusRequest(mockConfig, new Name(mockConfig));
    
            // Act - Read
            int readLength = readRequest.readWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. docs/site-replication/run-ssec-object-replication-with-compression.sh

    echo "done"
    
    # Enable compression for site minio1
    ./mc admin config set minio1 compression enable=on extensions=".txt" --insecure
    ./mc admin config set minio1 compression allow_encryption=off --insecure
    
    # Create bucket in source cluster
    echo "Create bucket in source MinIO instance"
    ./mc mb minio1/test-bucket --insecure
    
    # Load objects to source site
    echo "Loading objects to source MinIO instance"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/bigger-applications.md

    But it's still part of the same **FastAPI** application/web API (it's part of the same "Python Package").
    
    You can create the *path operations* for that module using `APIRouter`.
    
    ### Import `APIRouter` { #import-apirouter }
    
    You import it and create an "instance" the same way you would with the class `FastAPI`:
    
    ```Python hl_lines="1  3" title="app/routers/users.py"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiReadingFormFilterFactory.java

            super(indexSettings, name, settings);
            useRomaji = settings.getAsBoolean("use_romaji", false);
        }
    
        @Override
        public TokenStream create(TokenStream tokenStream) {
            return new JapaneseReadingFormFilter(tokenStream, useRomaji);
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top