Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 163 for inserting (0.06 seconds)

  1. docs/en/docs/advanced/custom-response.md

    In this case, you can return the file path directly from your *path operation* function.
    
    ## Custom response class { #custom-response-class }
    
    You can create your own custom response class, inheriting from `Response` and using it.
    
    For example, let's say that you want to use [`orjson`](https://github.com/ijl/orjson) with some settings.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/RegularImmutableMap.java

      /**
       * Maximum allowed length of a hash table bucket before falling back to a j.u.HashMap based
       * implementation. Experimentally determined.
       */
      static final int MAX_HASH_BUCKET_LENGTH = 8;
    
      // entries in insertion order
      @VisibleForTesting final transient Entry<K, V>[] entries;
      // array of linked lists of entries
      private final transient @Nullable ImmutableMapEntry<K, V> @Nullable [] table;
      // 'and' with an int to get a table index
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  3. apache-maven/src/assembly/maven/bin/mvn.cmd

    :baseDirNotFound
    if "_%EXEC_DIR:~-1%"=="_\" set "EXEC_DIR=%EXEC_DIR:~0,-1%"
    set "MAVEN_PROJECTBASEDIR=%EXEC_DIR%"
    cd /d "%EXEC_DIR%"
    
    :endDetectBaseDir
    
    rem Initialize JVM_CONFIG_MAVEN_OPTS to empty to avoid inheriting from environment
    set JVM_CONFIG_MAVEN_OPTS=
    
    if not exist "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadJvmConfig
    
    rem Use Java source-launch mode (JDK 11+) to parse jvm.config
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 10.7K bytes
    - Click Count (3)
  4. src/test/java/jcifs/netbios/LmhostsTest.java

            // Invalid entries should not be found or may have incorrect parsing
            // Note: The actual Lmhosts parser may accept "192.168.1" and parse it differently
            // than expected, so we're not asserting null for HOST1
        }
    
        @Test
        void testPopulateWithLongHostname() throws Exception {
            // Create a temporary lmhosts file with long hostname
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         * </p>
         * <p>
         * <strong>Effect on Module and Target Version:</strong>
         * When a target path is explicitly specified, the values of {@link #module()} and {@link #targetVersion()}
         * are not used for inferring the output path (they are still used as compiler options however).
         * This means that for scripts and resources, the files below the path specified by {@link #directory()}
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        // It would be nice to be able to return a real concurrent
        // collection like ConcurrentLinkedQueue, so that e.g. concurrent
        // iteration would work, but that would not be GWT-compatible.
        // We are not "just" inheriting from ArrayList here as this doesn't work for J2kt.
        return new AbstractList<T>() {
          final ArrayList<T> data = new ArrayList<>();
    
          @Override
          public int size() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A series of tests that support asserting that collections cannot be modified, either through
     * direct or indirect means.
     *
     * @author Robert Konigsberg
     */
    @GwtCompatible
    @NullMarked
    public class UnmodifiableCollectionTests {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  8. cmd/signature-v4-utils_test.go

    			t.Errorf("Test %d: Expected the result to `%v`, but instead got `%v`", i+1, testCase.expectedResult, actualResult)
    		}
    	}
    }
    
    // TestIsValidRegion - Tests validate the comparison logic for asserting whether the region from http request is valid.
    func TestIsValidRegion(t *testing.T) {
    	testCases := []struct {
    		inputReqRegion  string
    		inputConfRegion string
    
    		expectedResult bool
    	}{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  9. fastapi/security/oauth2.py

        as a dependency. All other OAuth2 classes inherit from it and customize it for
        each OAuth2 flow.
    
        You normally would not create a new class inheriting from it but use one of the
        existing subclasses, and maybe compose them if you want to support multiple flows.
    
        Read more about it in the
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  10. cmd/bucket-policy-handlers_test.go

    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusBadRequest,
    		},
    	}
    
    	// Iterating over the test cases, calling the function under test and asserting the response.
    	for i, testCase := range testCases {
    		// obtain the put bucket policy request body.
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.9K bytes
    - Click Count (0)
Back to Top