Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 4,314 for getA (0.02 seconds)

  1. internal/config/lambda/parse.go

    		}
    
    		webhookArgs := target.WebhookArgs{
    			Enable:     enabled,
    			Endpoint:   *url,
    			Transport:  transport,
    			AuthToken:  env.Get(authEnv, kv.Get(target.WebhookAuthToken)),
    			ClientCert: env.Get(clientCertEnv, kv.Get(target.WebhookClientCert)),
    			ClientKey:  env.Get(clientKeyEnv, kv.Get(target.WebhookClientKey)),
    		}
    		if err = webhookArgs.Validate(); err != nil {
    			return nil, err
    		}
    		webhookTargets[k] = webhookArgs
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

              }
            };
    
        cache.put(0, 10);
    
        assertThat(cache.get(0, loader)).isEqualTo(10);
        assertThat(cache.get(20, loader)).isEqualTo(1);
        assertThat(cache.get(34, loader)).isEqualTo(2);
    
        cache.invalidate(0);
        assertThat(cache.get(0, loader)).isEqualTo(3);
    
        cache.put(0, 10);
        cache.invalidateAll();
        assertThat(cache.get(0, loader)).isEqualTo(4);
      }
    
      @Test
      public void sizeConstraint() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        client =
          client
            .newBuilder()
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
        get(urlWithIpAddress(server, "/"))
        val request1 = server.takeRequest()
        assertThat(request1.headers["Cookie"]).isNull()
        get(urlWithIpAddress(server, "/"))
        val request2 = server.takeRequest()
        assertThat(request2.headers["Cookie"]).isEqualTo("a=android; b=banana")
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

         *
         * 1. The client thread begins to block on a get() call to a future.
         * 2. The client thread is interrupted sometime before the result would be
         *   available.
         * 3. We expect the client's get() to throw an InterruptedException.
         * 4. We expect the client thread's interrupt state to be false.
         * 5. The client thread again makes a blocking call to get().
         * 6. Now the result becomes available.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/SmbResourceException.java

            this.availableResources = -1;
            this.requestedResources = -1;
        }
    
        /**
         * Gets the resource type
         *
         * @return the resource type
         */
        public ResourceType getResourceType() {
            return resourceType;
        }
    
        /**
         * Gets available resources
         *
         * @return available resources or -1 if unknown
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. tests/test_invalid_path_param.py

            class Item(BaseModel):
                title: str
    
            @app.get("/items/{id}")
            def read_items(id: list[Item]):
                pass  # pragma: no cover
    
    
    def test_invalid_tuple():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/{id}")
            def read_items(id: tuple[Item, Item]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/HashBiMapTest.java

          assertEquals(2 * i + 1, (int) bimap.get(2 * i));
        }
        for (int i = 0; i < N; i++) {
          assertEquals(2 * i, (int) inverse.get(2 * i + 1));
        }
        for (int i = 0; i < N; i++) {
          int oldValue = bimap.get(2 * i);
          assertEquals(2 * i + 1, (int) bimap.put(2 * i, oldValue - 2));
        }
        for (int i = 0; i < N; i++) {
          assertEquals(2 * i - 1, (int) bimap.get(2 * i));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  8. internal/config/drive/drive.go

    		MaxTimeout: 30 * time.Second,
    	}
    	if err = config.CheckValidKeys(config.DriveSubSys, kvs, DefaultKVS); err != nil {
    		return cfg, err
    	}
    
    	// if not set. Get default value from environment
    	d := env.Get(EnvMaxDriveTimeout, env.Get(EnvMaxDriveTimeoutLegacy, env.Get(EnvMaxDiskTimeoutLegacy, kvs.GetWithDefault(MaxTimeout, DefaultKVS))))
    	if d == "" {
    		cfg.MaxTimeout = 30 * time.Second
    	} else {
    		dur, _ := time.ParseDuration(d)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 14:51:43 GMT 2024
    - 3K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_authentication_error_status_code/test_tutorial001.py

    
    def test_get_me(client: TestClient):
        response = client.get("/me", headers={"Authorization": "Bearer secrettoken"})
        assert response.status_code == 200
        assert response.json() == {
            "message": "You are authenticated",
            "token": "secrettoken",
        }
    
    
    def test_get_me_no_credentials(client: TestClient):
        response = client.get("/me")
        assert response.status_code == 403
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  10. tests/test_json_type.py

        return items
    
    
    @app.get("/query-json-list")
    def query_json_list(items: Annotated[Json[list[str]], Query()]) -> list[str]:
        return items
    
    
    @app.get("/header-json-list")
    def header_json_list(x_items: Annotated[Json[list[str]], Header()]) -> list[str]:
        return x_items
    
    
    @app.get("/cookie-json-list")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:41:43 GMT 2026
    - 1.7K bytes
    - Click Count (0)
Back to Top