- Sort Score
- Result 10 results
- Languages All
Results 2571 - 2580 of 5,158 for sering (0.11 sec)
-
android/guava/src/com/google/common/collect/CollectPreconditions.java
} } @CanIgnoreReturnValue static int checkNonnegative(int value, String name) { if (value < 0) { throw new IllegalArgumentException(name + " cannot be negative but was: " + value); } return value; } @CanIgnoreReturnValue static long checkNonnegative(long value, String name) { if (value < 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.1K bytes - Viewed (0) -
README.md
--------- This program downloads a URL and prints its contents as a string. [Full source][get_example]. ```java OkHttpClient client = new OkHttpClient(); String run(String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string(); } } ``` Post to a Server
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
@Test @DisplayName("Multiple server names should be handled correctly") void testDifferentServerNames() { // Test with different server names String[] serverNames = { "server1", "domain.local", "192.168.1.100", "FILESERVER" }; for (String serverName : serverNames) { MsrpcDfsRootEnum enumInstance = new MsrpcDfsRootEnum(serverName); assertEquals(serverName, enumInstance.dfs_name);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt
*/ HTTP_3("h3"), ; /** * Returns the string used to identify this protocol for ALPN, like "http/1.1", "spdy/3.1" or * "h2". * * See also [IANA tls-extensiontype-values][iana]. * * [iana]: https://www.iana.org/assignments/tls-extensiontype-values */ override fun toString(): String = protocol companion object { /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jun 23 18:58:57 UTC 2025 - 4.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt
"EEE MMM d yyyy HH:mm:ss z", ) private val BROWSER_COMPATIBLE_DATE_FORMATS = arrayOfNulls<DateFormat>(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size) /** Returns the date for this string, or null if the value couldn't be parsed. */ fun String.toHttpDateOrNull(): Date? { if (isEmpty()) return null val position = ParsePosition(0) var result = STANDARD_DATE_FORMAT.get().parse(this, position) if (position.index == length) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java
final FessConfig fessConfig = ComponentUtil.getFessConfig(); final Term term = fuzzyQuery.getTerm(); final String field = getSearchField(context.getDefaultField(), term.field()); if (Constants.DEFAULT_FIELD.equals(field)) { final String text = term.text(); context.addFieldLog(field, text); context.addHighlightedQuery(text);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 5.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* Collections.unmodifiableList}'s iterator: * * {@snippet : * List<String> expectedElements = * Arrays.asList("a", "b", "c", "d", "e"); * List<String> actualElements = * Collections.unmodifiableList( * Arrays.asList("a", "b", "c", "d", "e")); * IteratorTester<String> iteratorTester = * new IteratorTester<String>( * 6, * IteratorFeature.UNMODIFIABLE, * expectedElements,Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceException.java
* Creates a resource exception * * @param message the error message * @param errorCode the SMB error code * @param resourceType the type of resource */ public SmbResourceException(String message, int errorCode, ResourceType resourceType) { super(message, errorCode, Severity.TRANSIENT, Category.RESOURCE); this.resourceType = resourceType; this.availableResources = -1;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 5.6K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
// Test stream reading functionality Path testFile = tempDir.resolve("test.txt"); String content = "test content"; Files.writeString(testFile, content); Source source = Sources.fromPath(testFile); try (InputStream inputStream = source.openStream()) { String readContent = new String(inputStream.readAllBytes()); assertEquals(content, readContent); } }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 5.2K bytes - Viewed (0) -
soft_delete.go
if v, ok := f.TagSettings["ZEROVALUE"]; ok { if _, err := now.Parse(v); err == nil { return sql.NullString{String: v, Valid: true} } } return sql.NullString{Valid: false} } type SoftDeleteQueryClause struct { ZeroValue sql.NullString Field *schema.Field } func (sd SoftDeleteQueryClause) Name() string { return "" } func (sd SoftDeleteQueryClause) Build(clause.Builder) { }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Feb 01 06:40:55 UTC 2023 - 4.5K bytes - Viewed (1)