Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 2,283 for else (0.05 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

                requestBody.writeTo(bufferedRequestBody)
              } else {
                // Write the request body if the "Expect: 100-continue" expectation was met.
                val bufferedRequestBody = exchange.createRequestBody(request, false).buffer()
                requestBody.writeTo(bufferedRequestBody)
                bufferedRequestBody.close()
              }
            } else {
              exchange.noRequestBody()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

            throw AssertionError()
          }
          val file = File(baseDirectory.toString() + path)
          if (file.isDirectory) {
            serveDirectory(stream, file.listFiles()!!)
          } else if (file.exists()) {
            serveFile(stream, file)
          } else {
            send404(stream, path)
          }
        } catch (e: IOException) {
          Platform.get().log("Failure serving Http2Stream: " + e.message, Platform.INFO, null)
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

            return set.headSet(lastInclusive, true);
          } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) {
            return set.tailSet(firstExclusive, false);
          } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) {
            return set.subSet(firstExclusive, false, lastExclusive, false);
          } else if (from == Bound.EXCLUSIVE && to == Bound.INCLUSIVE) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

            if (d > 0) {
                // Length 11+ chars
                format = "%d d %02d:%02d h";
            } else if (h > 0) {
                // Length 7 chars
                format = "%2$02d:%3$02d h";
            } else if (m > 0) {
                // Length 9 chars
                format = "%3$02d:%4$02d min";
            } else {
                // Length 7-8 chars
                format = "%4$d.%5$03d s";
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

              } else if (socketMode == Channel) {
                socketFactory(ChannelSocketFactory())
              }
            }
            .build()
    
        server.enqueue(MockResponse(body = "abc"))
    
        @Suppress("HttpUrlsUsage")
        val url =
          if (socketMode is TlsInstance) {
            "https://$hostname:${server.port}/get"
          } else {
            "http://$hostname:${server.port}/get"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/CurlRequest.java

                            } else {
                                return con.getInputStream();
                            }
                        } else if ("head".equalsIgnoreCase(con.getRequestMethod())) {
                            return new ByteArrayInputStream(new byte[0]);
                        } else {
                            if (GZIP.equals(con.getContentEncoding())) {
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                    }
                    sitemapUrl = null;
                } else if (LOC_ELEMENT.equals(qName)) {
                    if (buf != null) {
                        sitemapUrl.setLoc(buf.toString().trim());
                        buf = null;
                    }
                } else if (LASTMOD_ELEMENT.equals(qName)) {
                    if (buf != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

            // Handles both un-configured and none selected.
            null, "" -> null
            else -> protocol
          }
        } else {
          super.getSelectedProtocol(sslSocket)
        }
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            String format = "0.#";
            if (value < 1024) {
                format = "0";
            } else if (value < 1024L * 1024L) {
                target /= 1024;
                unit = "K";
            } else if (value < 1024L * 1024L * 1024L) {
                target /= 1024;
                target /= 1024;
                unit = "M";
            } else if (value < 1024L * 1024L * 1024L * 1024L) {
                target /= 1024;
                target /= 1024;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. chainable_api.go

    				tx.Statement.Table = results[1]
    			} else {
    				tx.Statement.Table = results[2]
    			}
    		}
    	} else if tables := strings.Split(name, "."); len(tables) == 2 {
    		tx.Statement.TableExpr = &clause.Expr{SQL: tx.Statement.Quote(name)}
    		tx.Statement.Table = tables[1]
    	} else if name != "" {
    		tx.Statement.TableExpr = &clause.Expr{SQL: tx.Statement.Quote(name)}
    		tx.Statement.Table = name
    	} else {
    		tx.Statement.TableExpr = nil
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top