Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 732 for Want (0.04 sec)

  1. cmd/erasure-coding.go

    				failOnErr(err)
    				_, err = hash.Write(data)
    				failOnErr(err)
    				got[conf] = map[ErasureAlgo]uint64{algo: hash.Sum64()}
    			}
    
    			if a, b := want[conf], got[conf]; !reflect.DeepEqual(a, b) {
    				fmt.Fprintf(os.Stderr, "%v: error on self-test [d:%d,p:%d]: want %#v, got %#v\n", algo, conf[0], conf[1], a, b)
    				ok = false
    				continue
    			}
    			// Delete first shard and reconstruct...
    			first := encoded[0]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. fastapi/security/open_id_connect_url.py

                    is not available, instead of erroring out, the dependency result will
                    be `None`.
    
                    This is useful when you want to have optional authentication.
    
                    It is also useful when you want to have authentication that can be
                    provided in one of multiple optional ways (for example, with OpenID
                    Connect or in a cookie).
                    """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/bufio/scan_test.go

    	scanner := NewScanner(&r)
    	c := 0
    	for scanner.Scan() {
    		c++
    		if c > 1 {
    			t.Error("read too many lines")
    			break
    		}
    	}
    	if got, want := scanner.Err(), ErrBadReadCount; got != want {
    		t.Errorf("scanner.Err: got %v, want %v", got, want)
    	}
    }
    
    // largeReader returns an invalid count that is larger than the number
    // of bytes requested.
    type largeReader struct{}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LongAdderTest.java

      /**
       * No-op null-pointer test for {@link LongAdder} to override the {@link PackageSanityTests}
       * version, which checks package-private methods that we don't want to have to annotate as {@code
       * Nullable} because we don't want diffs from jsr166e.
       */
      public void testNulls() {}
    
      public void testOverflows() {
        LongAdder longAdder = new LongAdder();
        longAdder.add(Long.MAX_VALUE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 04:11:29 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/request-form-models.md

    ```
    
    ///
    
    /// note
    
    This is supported since FastAPI version `0.113.0`. 🤓
    
    ///
    
    ## Pydantic Models for Forms
    
    You just need to declare a **Pydantic model** with the fields you want to receive as **form fields**, and then declare the parameter as `Form`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="9-11  15"
    {!> ../../docs_src/request_form_models/tutorial001_an_py39.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy

                            "type": "other.Type",
                            "member": "Method other.Type.someMethod",
                            "changes": ["Method has been removed"],
                            "acceptation": "I really want to do this"
                        }
                    ]
                }
            """])
    
            then:
            changes.acceptedChanges.size() == 2
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java

     * is only meant as a utility for developers that want to employ the settings builder outside of the Maven build system,
     * Maven plugins should always acquire settings builder instances via dependency injection. Developers might want to
     * subclass this factory to provide custom implementations for some of the components used by the settings builder.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/line_test.go

    		err := tryParse(t, func() {
    			parser.Parse()
    		})
    
    		switch {
    		case err == nil:
    			t.Errorf("#%d: %q: want error %q; have none", i, test.input, test.error)
    		case !strings.Contains(err.Error(), test.error):
    			t.Errorf("#%d: %q: want error %q; have %q", i, test.input, test.error, err)
    		}
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. test-site/conf/application.conf

    # Default to Routes in the root package (and `conf/routes`)
    # application.router=my.application.Routes
    
    # Database configuration
    # ~~~~~
    # You can declare as many datasources as you want.
    # By convention, the default datasource is named `default`
    #
    # db.default.driver=org.h2.Driver
    # db.default.url="jdbc:h2:mem:play"
    # db.default.user=sa
    # db.default.password=""
    #
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

    // It would be cool if there was a hook that I could use to set up a test environment.
    // I want to set up a local/remote repositories for testing but I don't want to have
    // to change them when I change the layout of the repositories. So I want to generate
    // the structure I want to test by using the artifact handler manager which dictates
    // the layout used for a particular artifact type.
    
    /**
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top