Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2691 - 2700 of 3,913 for getE (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

    @GwtCompatible
    public enum MapFeature implements Feature<Map> {
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code containsKey(null)},
       * {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}.
       */
      ALLOWS_NULL_KEY_QUERIES,
      ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES),
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

     *         SomeClass.logger.removeHandler(handler);
     *       }
     *     });
     *   }
     *
     *   public void test() {
     *     SomeClass.foo();
     *     LogRecord firstRecord = handler.getStoredLogRecords().get(0);
     *     assertEquals("some message", firstRecord.getMessage());
     *   }
     * </pre>
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 20:53:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/DefaultArtifactTransformationManager.java

        public DefaultArtifactTransformationManager(Map<String, ArtifactTransformation> artifactTransformations) {
            this.artifactTransformations = Stream.of("release", "latest", "snapshot")
                    .map(artifactTransformations::get)
                    .filter(Objects::nonNull)
                    .collect(Collectors.toList());
        }
    
        public void transformForResolve(Artifact artifact, RepositoryRequest request)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java

            // Value taken from p2
            // ----------------------------------------------------------------------
    
            assertEquals("mailing-list", p4.getMailingLists().get(0).getName());
    
            // ----------------------------------------------------------------------
            // Value taken from p1
            // ----------------------------------------------------------------------
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java

                throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException {
            Resource resource = inputData.getResource();
    
            String content = expectedContent.get(resource.getName());
    
            if (content != null) {
                resource.setContentLength(content.length());
                resource.setLastModified(System.currentTimeMillis());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. tests/test_regex_deprecated_body.py

                        "type": "value_error.str.regex",
                    }
                ]
            }
        )
    
    
    @needs_py310
    def test_openapi_schema():
        client = get_client()
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        # insert_assert(response.json())
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. tests/test_request_body_parameters_media_type.py

        included: typing.List[Product] = Body(default=[], media_type=media_type),
    ):
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    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: Fri Jul 07 17:12:13 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. internal/logger/message/audit/entry.go

    	reqHeader := make(map[string]string, len(r.Header))
    	for k, v := range r.Header {
    		reqHeader[k] = strings.Join(v, ",")
    	}
    	entry.ReqHeader = reqHeader
    
    	wh := w.Header()
    	entry.RequestID = wh.Get(xhttp.AmzRequestID)
    	respHeader := make(map[string]string, len(wh))
    	for k, v := range wh {
    		respHeader[k] = strings.Join(v, ",")
    	}
    	entry.RespHeader = respHeader
    
    	if etag := respHeader[xhttp.ETag]; etag != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py

        assert response.status_code == 200, response.text
        assert response.json() == expected_response
    
    
    @needs_py310
    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 Apr 19 00:11:40 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. cni/pkg/plugin/sidecar_iptables_linux.go

    	cfg.OutboundPortsInclude = rdrct.includeOutboundPorts
    	cfg.OutboundIPRangesExclude = rdrct.excludeIPCidrs
    	cfg.KubeVirtInterfaces = rdrct.kubevirtInterfaces
    	cfg.DryRun = dependencies.DryRunFilePath.Get() != ""
    	cfg.RedirectDNS = rdrct.dnsRedirect
    	cfg.CaptureAllDNS = rdrct.dnsRedirect
    	cfg.DropInvalid = rdrct.invalidDrop
    	cfg.DualStack = rdrct.dualStack
    
    	netNs, err := getNs(netns)
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Jun 29 01:24:47 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top