- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for doGet2 (0.15 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java
} private static boolean doGet(Properties userProperties, String key, boolean def) { return doGet(userProperties != null ? userProperties.get(key) : null, def); } private static boolean doGet(Map<String, ?> userProperties, String key, boolean def) { return doGet(userProperties != null ? userProperties.get(key) : null, def); } private static boolean doGet(Object val, boolean def) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jan 09 13:04:57 UTC 2024 - 2.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
try (final ResponseData responseData = storageClient.doGet("storage://fess/none")) { fail(); } catch (ChildUrlsException e) { String[] values = e.getChildUrlList().stream().map(d -> d.getUrl()).sorted().toArray(n -> new String[n]); assertEquals(0, values.length); } try (final ResponseData responseData = storageClient.doGet("")) { fail();
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.5K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/stacks.go
go func() { // func2 var c chan int c <- 0 }() go func() { // func3 var c chan int <-c }() done1 := make(chan bool) go func() { // func4 <-done1 }() done2 := make(chan bool) go func() { // func5 done2 <- true }() c1 := make(chan int) c2 := make(chan int) go func() { // func6 select { case <-c1: case <-c2: } }() var mu sync.Mutex mu.Lock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java
* * <p>The returned {@link BuildableExpectedRequest} can be used to modify the behaviour or expectations. */ public BuildableExpectedRequest get(String path) { return doGet(path); } private ExpectMethod doGet(String path) { return new ExpectMethod("GET", normalizePath(path), timeout, lock); } /** * Expect a PUT request to the given path, discard the request body */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 21.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
String path = file.getAbsolutePath(); if (!path.startsWith("/")) { path = "/" + path.replace('\\', '/'); } try { fsClient.doGet("file://" + path); fail(); } catch (final ChildUrlsException e) { final Set<RequestData> urlSet = e.getChildUrlList();
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java
initParamMap = params; } @Override public ResponseData execute(final RequestData request) { return switch (request.getMethod()) { case GET -> doGet(request.getUrl()); case HEAD -> doHead(request.getUrl()); case POST -> doPost(request.getUrl()); default -> throw new CrawlerSystemException(request.getMethod() + " method is not supported.");
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java
final CrawlerWebServer server = new CrawlerWebServer(7070); server.start(); final String url = "http://localhost:7070/"; try { final ResponseData responseData = httpClient.doGet(url); assertEquals(200, responseData.getHttpStatusCode()); } finally { server.stop(); } } public void test_parseLastModified() {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu May 09 09:28:25 UTC 2024 - 8.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
auth.setPassword(password); params.put(FtpClient.FTP_AUTHENTICATIONS_PROPERTY, new FtpAuthentication[] { auth }); ftpClient.setInitParameterMap(params); ftpClient.doGet("ftp://localhost:" + FTP_PORT + "/"); fail(); } catch (final ChildUrlsException e) { final Set<RequestData> urlSet = e.getChildUrlList(); assertEquals(5, urlSet.size());
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 16.3K bytes - Viewed (0) -
src/net/pipe.go
cn2 := make(chan int) done1 := make(chan struct{}) done2 := make(chan struct{}) p1 := &pipe{ rdRx: cb1, rdTx: cn1, wrTx: cb2, wrRx: cn2, localDone: done1, remoteDone: done2, readDeadline: makePipeDeadline(), writeDeadline: makePipeDeadline(), } p2 := &pipe{ rdRx: cb2, rdTx: cn2, wrTx: cb1, wrRx: cn1, localDone: done2, remoteDone: done1, readDeadline: makePipeDeadline(),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 5.4K bytes - Viewed (0) -
test/stress/runstress.go
) var ( v = flag.Bool("v", false, "verbose") doMaps = flag.Bool("maps", true, "stress maps") doExec = flag.Bool("exec", true, "stress exec") doChan = flag.Bool("chan", true, "stress channels") doNet = flag.Bool("net", true, "stress networking") doParseGo = flag.Bool("parsego", true, "stress parsing Go (generates garbage)") ) func Println(a ...interface{}) { if *v { log.Println(a...) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:21:35 UTC 2024 - 3.6K bytes - Viewed (0)