- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 614 for sata (0.05 sec)
-
OneLineLogFormat.kt
ronoField.MINUTE_OF_HOUR L25:import java.time.temporal.ChronoField.NANO_OF_SECOND L26:import java.time.temporal.ChronoField.SECOND_OF_MINUTE L27:import java.util.logging.Formatter L28:import java.util.logging.LogRecord L29: L30:/** L31: * Is Java8 Data and Time really this bad, or is writing this on a plane from just javadocs a bad L32: * idea? L33: * L34: * Why so much construction? L35: */ L36:class OneLineLogFormat : Formatter() { L37: private val d = L38: DateTimeFormatterBuilder() L39: ...github.com/square/okhttp/okcurl/src/main/kotlin...Fri Apr 05 03:30:42 UTC 2024 2.1K bytes -
PublicSuffixListGenerator.kt
fun String.toRule(): ByteString? { L106: if (trim { it <= ' ' }.isEmpty() || startsWith("//")) return null L107: if (contains(WILDCARD_CHAR)) { L108: assertWildcardRule(this) L109: } L110: return encodeUtf8() L111: } L112: L113: data class ImportResults( L114: val sortedRules: SortedSet<ByteString>, L115: val sortedExceptionRules: SortedSet<ByteString>, L116: val totalRuleBytes: Int, L117: val totalExceptionRuleBytes: Int, L118: ) { L119: fun writeOut(sink: BufferedSink)...github.com/square/okhttp/okhttp/src/test/java/o...Thu Apr 18 01:24:38 UTC 2024 6K bytes -
AndroidPlatform.kt
class exploits knowledge of Android implementation details. This class is potentially L126: * much faster to initialize than [BasicTrustRootIndex] because it doesn't need to load and L127: * index trusted CA certificates. L128: */ L129: internal data class CustomTrustRootIndex( L130: private val trustManager: X509TrustManager, L131: private val findByIssuerAndSignatureMethod: Method, L132: ) : TrustRootIndex { L133: override fun findByIssuerAndSignature(cert: X509Certificate): X509Certificate?...github.com/square/okhttp/okhttp/src/main/kotlin...Mon Jan 08 01:13:22 UTC 2024 6.2K bytes -
calls.md
but it gets tricky in practice. L4: L5:## [Requests](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-request/) L6: L7:Each HTTP request contains a URL, a method (like `GET` or `POST`), and a list of headers. Requests may also contain a body: a data stream of a specific content type. L8: L9:## [Responses](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-response/) L10: L11:The response answers the request with a code (like 200 for success or 404 for not found), headers, and its own optional...github.com/square/okhttp/docs/features/calls.mdSun Feb 06 02:19:09 UTC 2022 3.9K bytes -
BiMap.java
{@link Map} interface. L106: */ L107: @Override L108: Set<V> values(); L109: L110: /** L111: * Returns the inverse view of this bimap, which maps each of this bimap's values to its L112: * associated key. The two bimaps are backed by the same data; any changes to one will appear in L113: * the other. L114: * L115: * <p><b>Note:</b>There is no guaranteed correspondence between the iteration order of a bimap and L116: * that of its inverse. L117: * L118: * @return the inverse view...github.com/google/guava/guava/src/com/google/co...Sat Jun 17 14:40:53 UTC 2023 4.3K bytes -
Crawler.java
@Option(name = "-f", aliases = "--fileConfigIds", metaVar = "fileConfigIds", usage = "File Config IDs") L125: public String fileConfigIds; L126: L127: @Option(name = "-d", aliases = "--dataConfigIds", metaVar = "dataConfigIds", usage = "Data Config IDs") L128: public String dataConfigIds; L129: L130: @Option(name = "-p", aliases = "--properties", metaVar = "properties", usage = "Properties File") L131: public String propertiesPath; L132: L133: @Option(name =...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 24K bytes -
AdminDesignAction.java
op.include("designFile", "designFileName")); L349: }); L350: }); L351: } L352: L353: private HtmlResponse asEditHtml(final EditForm form) { L354: return asHtml(path_AdminDesign_AdminDesignEditJsp).renderWith(data -> { L355: data.register("displayFileName", getJspFile(form.fileName, "view").getAbsolutePath()); L356: }); L357: } L358: L359: public static String decodeJsp(final String value) { L360: return value.replaceAll("<%(?![@-])([\\s\\S]*?)%>",...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 16.1K bytes -
TypeResolver.java
mappings.put(var, arg); L436: } L437: } L438: L439: // This is needed when resolving types against a context with wildcards L440: // For example: L441: // class Holder<T> { L442: // void set(T data) {...} L443: // } L444: // Holder<List<?>> should *not* resolve the set() method to set(List<?> data). L445: // Instead, it should create a capture of the wildcard so that set() rejects any List<T>. L446: private static class WildcardCapturer { L447: L448: static final WildcardCapturer INSTANCE...github.com/google/guava/android/guava/src/com/g...Mon Oct 10 19:45:10 UTC 2022 24.2K bytes -
InterceptorTest.kt
server.enqueue( L782: MockResponse.Builder() L783: .body("abc") L784: .throttleBody(1, 1, TimeUnit.SECONDS) L785: .build(), L786: ) L787: val data = ByteArray(2 * 1024 * 1024) // 2 MiB. L788: val request1 = L789: Request.Builder() L790: .url(server.url("/")) L791: .post(data.toRequestBody("text/plain".toMediaType())) L792: .build() L793: val call = client.newCall(request1) L794: assertFailsWith<SocketTimeoutException> { L795: call.execute()...github.com/square/okhttp/okhttp/src/test/java/o...Sun Jan 14 10:20:09 UTC 2024 27.8K bytes -
CacheAction.java
return redirect(ErrorAction.class); L70: } L71: L72: final StreamResponse response = asStream(DocumentUtil.getValue(doc, fessConfig.getIndexFieldDocId(), String.class)) L73: .contentType("text/html; charset=UTF-8").data(content.getBytes(Constants.CHARSET_UTF_8)); L74: response.headerContentDispositionInline(); // TODO will be fixed in lastaflute L75: return response; L76: } L77: L78:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.4K bytes