Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 197 for getPost (0.22 sec)

  1. internal/grid/debug.go

    }
    
    // SetupTestGrid creates a new grid for testing purposes.
    // Select the number of hosts to create.
    // Call (TestGrid).Cleanup() when done.
    func SetupTestGrid(n int) (*TestGrid, error) {
    	hosts, listeners, err := getHosts(n)
    	if err != nil {
    		return nil, err
    	}
    	dialer := &net.Dialer{
    		Timeout: 5 * time.Second,
    	}
    	var res TestGrid
    	res.Hosts = hosts
    	ready := make(chan struct{})
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/witness/MockWitnessService.java

        }
    
        /**
         * Get the port the service is listening on
         *
         * @return the service port
         * @throws IOException if port cannot be determined
         */
        public int getPort() throws IOException {
            if (serverSocket == null) {
                throw new IOException("Service not started");
            }
            return serverSocket.getLocalPort();
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java

            logger.info("Started {}", IMAGE_NAME);
    
            String bucketName = "fess";
            Integer mappedPort = gcsServer.getFirstMappedPort();
            String endpoint = String.format("http://%s:%s", gcsServer.getHost(), mappedPort);
            logger.info("endpoint: {}", endpoint);
    
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class)//
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java

        }
        assertEquals(
            "A List's hashCode() should be computed from those of its elements.",
            expectedHashCode,
            getList().hashCode());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on
       * unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        }
    
        @Override
        public E getFirst() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.getFirst();
        }
    
        @Override
        public E getLast() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.getLast();
        }
    
        @Override
        public @Nullable E peekFirst() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.peekFirst();
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. docs_src/custom_request_and_route/tutorial001_py310.py

    from fastapi.routing import APIRoute
    
    
    class GzipRequest(Request):
        async def body(self) -> bytes:
            if not hasattr(self, "_body"):
                body = await super().body()
                if "gzip" in self.headers.getlist("Content-Encoding"):
                    body = gzip.decompress(body)
                self._body = body
            return self._body
    
    
    class GzipRoute(APIRoute):
        def get_route_handler(self) -> Callable:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 976 bytes
    - Viewed (0)
  7. docs_src/custom_request_and_route/tutorial001_py39.py

    from fastapi.routing import APIRoute
    
    
    class GzipRequest(Request):
        async def body(self) -> bytes:
            if not hasattr(self, "_body"):
                body = await super().body()
                if "gzip" in self.headers.getlist("Content-Encoding"):
                    body = gzip.decompress(body)
                self._body = body
            return self._body
    
    
    class GzipRoute(APIRoute):
        def get_route_handler(self) -> Callable:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 967 bytes
    - Viewed (0)
  8. docs_src/custom_request_and_route/tutorial001_an_py310.py

    from fastapi.routing import APIRoute
    
    
    class GzipRequest(Request):
        async def body(self) -> bytes:
            if not hasattr(self, "_body"):
                body = await super().body()
                if "gzip" in self.headers.getlist("Content-Encoding"):
                    body = gzip.decompress(body)
                self._body = body
            return self._body
    
    
    class GzipRoute(APIRoute):
        def get_route_handler(self) -> Callable:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 1015 bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

                RepositorySystemSession session)
                throws PluginResolutionException {
            return resolveInternal(plugin, pluginArtifact, dependencyFilter, repositories, session)
                    .getRoot();
        }
    
        private DependencyResult resolveInternal(
                Plugin plugin,
                Artifact pluginArtifact,
                DependencyFilter dependencyFilter,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 15:32:43 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/HostSpecifier.java

        // IPv6 literals.
        HostAndPort parsedHost = HostAndPort.fromString(specifier);
        Preconditions.checkArgument(!parsedHost.hasPort());
        String host = parsedHost.getHost();
    
        // Try to interpret the specifier as an IP address. Note we build
        // the address rather than using the .is* methods because we want to
        // use InetAddresses.toUriString to convert the result to a string in
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top