Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 1,014 for dass (0.02 seconds)

  1. cmd/update-notifier_test.go

    func TestPrepareUpdateMessage(t *testing.T) {
    	testCases := []struct {
    		older time.Duration
    		dlURL string
    
    		expectedSubStr string
    	}{
    		// Testcase index 0
    		{72 * time.Hour, "my_download_url", "3 days before the latest release"},
    		{3 * time.Hour, "https://my_download_url_is_huge/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "3 hours before the latest release"},
    		{-72 * time.Hour, "another_update_url", ""},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertThat(spec.valueStrength).isNull();
        assertThat(spec.writeExpirationTimeUnit).isEqualTo(DAYS);
        assertThat(spec.writeExpirationDuration).isEqualTo(10L);
        assertThat(spec.accessExpirationTimeUnit).isNull();
        assertCacheBuilderEquivalence(
            CacheBuilder.newBuilder().expireAfterWrite(10L, DAYS), CacheBuilder.from(spec));
      }
    
      public void testParse_writeExpirationHours() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/resources/forbidden/snakeyaml-signatures.txt

    @defaultMessage Pass SafeConstructor to Yaml
    org.yaml.snakeyaml.Yaml#<init>()
    org.yaml.snakeyaml.Yaml#<init>(org.yaml.snakeyaml.DumperOptions)
    org.yaml.snakeyaml.Yaml#<init>(org.yaml.snakeyaml.LoaderOptions)
    org.yaml.snakeyaml.Yaml#<init>(org.yaml.snakeyaml.representer.Representer)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 392 bytes
    - Click Count (0)
  4. .github/workflows/lock.yml

    concurrency:
      group: lock
    
    jobs:
      action:
        runs-on: ubuntu-latest
        steps:
          - uses: dessant/lock-threads@v3
            with:
              github-token: ${{ github.token }}
              issue-inactive-days: '365'
              exclude-any-issue-labels: 'do-not-close'
              issue-lock-reason: 'resolved'
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jan 30 03:27:43 GMT 2022
    - 447 bytes
    - Click Count (0)
  5. internal/mountinfo/mountinfo_linux_test.go

    // Helpers for tests.
    
    // Check if two `mountInfo` are equal.
    func mountPointsEqual(a, b mountInfo) bool {
    	if a.Device != b.Device || a.Path != b.Path || a.FSType != b.FSType || !slicesEqual(a.Options, b.Options) || a.Pass != b.Pass || a.Freq != b.Freq {
    		return false
    	}
    	return true
    }
    
    // Checks if two string slices are equal.
    func slicesEqual(a, b []string) bool {
    	if len(a) != len(b) {
    		return false
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  6. docs/fr/docs/advanced/testing-websockets.md

    # Tester les WebSockets { #testing-websockets }
    
    Vous pouvez utiliser le même `TestClient` pour tester les WebSockets.
    
    Pour cela, vous utilisez `TestClient` dans une instruction `with`, en vous connectant au WebSocket :
    
    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note | Remarque
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 473 bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/extra-models.md

        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### Unpacking a `dict` { #unpacking-a-dict }
    
    If we take a `dict` like `user_dict` and pass it to a function (or class) with `**user_dict`, Python will "unpack" it. It will pass the keys and values of the `user_dict` directly as key-value arguments.
    
    So, continuing with the `user_dict` from above, writing:
    
    ```Python
    UserInDB(**user_dict)
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  8. cmd/object-api-deleteobject_test.go

    		if err != nil && !isErrObjectNotFound(err) {
    			t.Log(oi)
    			t.Errorf("Test %d: %s:  Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err)
    			continue
    		}
    
    		result, err := obj.ListObjects(context.Background(), testCase.bucketName, "", "", "", 1000)
    		if err != nil {
    			t.Errorf("Test %d: %s:  Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error())
    			continue
    		}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 29 01:40:52 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  9. docs_src/extra_models/tutorial002_py310.py

    app = FastAPI()
    
    
    class UserBase(BaseModel):
        username: str
        email: EmailStr
        full_name: str | None = None
    
    
    class UserIn(UserBase):
        password: str
    
    
    class UserOut(UserBase):
        pass
    
    
    class UserInDB(UserBase):
        hashed_password: str
    
    
    def fake_password_hasher(raw_password: str):
        return "supersecret" + raw_password
    
    
    def fake_save_user(user_in: UserIn):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 798 bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    http::@/www.example.com
    http:a:@www.example.com  s:http u:a pass: h:www.example.com p:/
    http:/a:@www.example.com  s:http u:a pass: h:www.example.com p:/
    http://a:@www.example.com  s:http u:a pass: h:www.example.com p:/
    http://******@****.***  s:http u:www. h:pple.com p:/
    http:@:www.example.com
    http:/@:www.example.com
    http://@:www.example.com
    http://:@www.example.com  s:http pass: h:www.example.com p:/
    
    #Others
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 14.3K bytes
    - Click Count (0)
Back to Top