- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 1,236 for Golang (0.04 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
try { toLong() } catch (_: NumberFormatException) { defaultValue } /** * Returns this as a non-negative integer, or 0 if it is negative, or [Int.MAX_VALUE] if it is too * large, or [defaultValue] if it cannot be parsed. */ internal fun String?.toNonNegativeInt(defaultValue: Int): Int { try { val value = this?.toLong() ?: return defaultValue return when {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 10.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
}; private static final int LEAST = (int) 0L; private static final int GREATEST = (int) 0xffffffffL; public void testCheckedCast() { for (long value : UNSIGNED_INTS) { assertThat(UnsignedInts.toLong(UnsignedInts.checkedCast(value))).isEqualTo(value); } assertCastFails(1L << 32); assertCastFails(-1L); assertCastFails(Long.MAX_VALUE); assertCastFails(Long.MIN_VALUE); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.5K bytes - Click Count (0) -
.idea/misc.xml
<item index="14" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" /> <item index="15" class="java.lang.String" itemvalue="org.jspecify.annotations.Nullable" /> <item index="16" class="java.lang.String" itemvalue="android.annotation.Nullable" /> <item index="17" class="java.lang.String" itemvalue="org.springframework.lang.Nullable" />
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Feb 16 19:01:50 GMT 2026 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
assertTrue("Constructor should be protected", java.lang.reflect.Modifier.isProtected(constructors[0].getModifiers())); // 2. All public methods should be static java.lang.reflect.Method[] methods = ThreadDumpUtil.class.getDeclaredMethods(); for (java.lang.reflect.Method method : methods) { if (java.lang.reflect.Modifier.isPublic(method.getModifiers()) && !method.isSynthetic()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/RequestHeaderDbm.java
"createdBy"); setupEpg(_epgMap, et -> ((RequestHeader) et).getCreatedTime(), (et, vl) -> ((RequestHeader) et).setCreatedTime(DfTypeUtil.toLong(vl)), "createdTime"); setupEpg(_epgMap, et -> ((RequestHeader) et).getName(), (et, vl) -> ((RequestHeader) et).setName(DfTypeUtil.toString(vl)), "name");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 10.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
val responseBodySize = 8 * 1024 * 1024 // 8 MiB. server.enqueue( MockResponse() .setBody(Buffer().write(ByteArray(responseBodySize))) .throttleBody((64 * 1024).toLong(), 125, TimeUnit.MILLISECONDS), ) // 500 Kbps server.start() val call = client.newCall( Request .Builder() .url(server.url("/")) .build(),Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 6.4K bytes - Click Count (0) -
build-tools-internal/src/main/resources/forbidden/http-signatures.txt
org.apache.http.nio.entity.NStringEntity#<init>(java.lang.String) org.apache.http.nio.entity.NStringEntity#<init>(java.lang.String,java.lang.String) @defaultMessage Use non-deprecated constructors org.apache.http.nio.entity.NFileEntity#<init>(java.io.File,java.lang.String) org.apache.http.nio.entity.NFileEntity#<init>(java.io.File,java.lang.String,boolean) org.apache.http.entity.FileEntity#<init>(java.io.File,java.lang.String)
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/AccessTokenDbm.java
setupEpg(_epgMap, et -> ((AccessToken) et).getCreatedTime(), (et, vl) -> ((AccessToken) et).setCreatedTime(DfTypeUtil.toLong(vl)), "createdTime"); setupEpg(_epgMap, et -> ((AccessToken) et).getExpiredTime(), (et, vl) -> ((AccessToken) et).setExpiredTime(DfTypeUtil.toLong(vl)), "expiredTime");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 11.3K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Inject.java
* under the License. */ package org.apache.maven.api.di; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsBadWordBhv.java
try { final RESULT result = entityType.newInstance(); result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy"))); result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime"))); result.setSuggestWord(DfTypeUtil.toString(source.get("suggestWord"))); result.setTargetLabel(DfTypeUtil.toString(source.get("targetLabel")));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 9.5K bytes - Click Count (0)