Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2791 - 2800 of 3,913 for getT (0.04 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

        @State(Scope.Benchmark)
        public static class AdditionState {
            List<Path> poms;
    
            @Setup(Level.Iteration)
            public void setUp() throws IOException {
                Path userHome = Paths.get(System.getProperty("user.home"));
                poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven"))
                        .filter(p -> p.getFileName().toString().endsWith(".pom"))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

        }
    
        @Override
        @Nonnull
        public Type require(String id) {
            nonNull(id, "id");
            return usedTypes.computeIfAbsent(id, i -> {
                Type type = types.get(id);
                if (type == null) {
                    // Copy data as the ArtifactHandler is not immutable, but Type should be.
                    ArtifactHandler handler = manager.getArtifactHandler(id);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. schema/index.go

    				if field.Name == name {
    					return &index
    				}
    			}
    		}
    	}
    
    	return nil
    }
    
    func parseFieldIndexes(field *Field) (indexes []Index, err error) {
    	for _, value := range strings.Split(field.Tag.Get("gorm"), ";") {
    		if value != "" {
    			v := strings.Split(value, ":")
    			k := strings.TrimSpace(strings.ToUpper(v[0]))
    			if k == "INDEX" || k == "UNIQUEINDEX" {
    				var (
    					name       string
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_form_models/test_tutorial002_pv1_an_p39.py

                },
            ]
        }
    
    
    # TODO: remove when deprecating Pydantic v1
    @needs_pydanticv1
    @needs_py39
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_files/test_tutorial001.py

        assert response.status_code == 200, response.text
        assert response.json() == {"filename": "test.txt"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_files/test_tutorial001_an.py

        assert response.status_code == 200, response.text
        assert response.json() == {"filename": "test.txt"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py

    @pytest.fixture(name="app")
    def get_app():
        from docs_src.websockets.tutorial002_an_py39 import app
    
        return app
    
    
    @needs_py39
    def test_main(app: FastAPI):
        client = TestClient(app)
        response = client.get("/")
        assert response.status_code == 200, response.text
        assert b"<!DOCTYPE html>" in response.content
    
    
    @needs_py39
    def test_websocket_with_cookie(app: FastAPI):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. docs/tls/kubernetes/README.md

    below.
    
    Then type
    
    ```sh
    kubectl create secret generic tls-ssl-minio --from-file=path/to/private.key --from-file=path/to/public.crt
    ```
    
    Cross check if the secret is created successfully using
    
    ```sh
    kubectl get secrets
    ```
    
    You should see a secret named `tls-ssl-minio`.
    
    ## 3. Update deployment yaml file
    
    Whether you are planning to use Kubernetes StatefulSet or Kubernetes Deployment, the steps remain the same.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 3K bytes
    - Viewed (0)
  9. istioctl/pkg/util/formatting/formatter.go

    }
    
    func colorSuffix(colorize bool) string {
    	if !colorize {
    		return ""
    	}
    	return "\033[0m"
    }
    
    func IstioctlColorDefault(writer io.Writer) bool {
    	if strings.EqualFold(termEnvVar.Get(), "dumb") {
    		return false
    	}
    
    	file, ok := writer.(*os.File)
    	if ok {
    		if !isatty.IsTerminal(file.Fd()) {
    			return false
    		}
    	}
    
    	return true
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 11 02:41:45 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

          Request(
            url = url,
            headers = headers,
          )
        assertThat(request.url).isEqualTo(url)
        assertThat(request.headers).isEqualTo(headers)
        assertThat(request.method).isEqualTo("GET")
        assertThat(request.body).isNull()
        assertThat(request.tags).isEmpty()
      }
    
      @Test
      fun constructorNoMethod() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top