- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 730 for golang (0.19 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt
byteCount: Long, ): Long { while (left == 0) { source.skip(padding.toLong()) padding = 0 if (flags and FLAG_END_HEADERS != 0) return -1L readContinuationHeader() // TODO: test case for empty continuation header? } val read = source.read(sink, minOf(byteCount, left.toLong())) if (read == -1L) return -1L left -= read.toInt() return read
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 19.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/LongConversionUtilTest.java
* */ public class LongConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToLong() throws Exception { assertEquals(new Long("1000"), LongConversionUtil.toLong("1,000")); } /** * @throws Exception */ public void testToPrimitiveLong() throws Exception { assertEquals(1000, LongConversionUtil.toPrimitiveLong("1,000")); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsJobLogBhv.java
try { final RESULT result = entityType.newInstance(); result.setEndTime(DfTypeUtil.toLong(source.get("endTime"))); result.setJobName(DfTypeUtil.toString(source.get("jobName"))); result.setJobStatus(DfTypeUtil.toString(source.get("jobStatus"))); result.setLastUpdated(DfTypeUtil.toLong(source.get("lastUpdated"))); result.setScriptData(DfTypeUtil.toString(source.get("scriptData")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-ResponseBodyCommon.kt
return Buffer() .write(this) .asResponseBody(contentType, size.toLong()) } internal fun ByteString.commonToResponseBody(contentType: MediaType?): ResponseBody { return Buffer() .write(this) .asResponseBody(contentType, size.toLong()) } internal fun BufferedSource.commonAsResponseBody( contentType: MediaType?, contentLength: Long, ): ResponseBody =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
.isEqualTo(Settings.DEFAULT_INITIAL_WINDOW_SIZE.toLong()) assertThat(connection.writeBytesMaximum) .isEqualTo(Settings.DEFAULT_INITIAL_WINDOW_SIZE.toLong()) assertThat(stream1.writeBytesTotal) .isEqualTo(Settings.DEFAULT_INITIAL_WINDOW_SIZE.toLong()) assertThat(stream1.writeBytesMaximum) .isEqualTo(Settings.DEFAULT_INITIAL_WINDOW_SIZE.toLong())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 75.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsFileConfigBhv.java
result.setConfigParameter(DfTypeUtil.toString(source.get("configParameter"))); result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy"))); result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime"))); result.setDepth(DfTypeUtil.toInteger(source.get("depth"))); result.setDescription(DfTypeUtil.toString(source.get("description")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.8K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats
} # Note: this is excluded on the full code base, since any submitted code must # have passed Google's internal style guidelines. @test "Check formatting for C++ files" { skip "clang-format doesn't match internal clang-format checker" echo "clang-format is recommended. Here are the suggested changes:" echo "=============================" grep -e '\.h$' -e '\.cc$' $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Sep 18 14:52:45 UTC 2023 - 3.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CacheControl.kt
*/ fun maxAge( maxAge: Int, timeUnit: TimeUnit, ) = apply { require(maxAge >= 0) { "maxAge < 0: $maxAge" } val maxAgeSecondsLong = timeUnit.toSeconds(maxAge.toLong()) this.maxAgeSeconds = maxAgeSecondsLong.commonClampToInt() } /** * Accept cached responses that have exceeded their freshness lifetime by up to `maxStale`. If
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 10K bytes - Viewed (0) -
configure.py
"""Set CLANG_CUDA_COMPILER_PATH.""" # Upon clang 19 drop the check for 16 default_clang_path = '/usr/lib/llvm-18/bin/clang' if not os.path.exists(default_clang_path): default_clang_path = '/usr/lib/llvm-17/bin/clang' if not os.path.exists(default_clang_path): default_clang_path = '/usr/lib/llvm-16/bin/clang' if not os.path.exists(default_clang_path):
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 02 22:16:02 UTC 2024 - 48.2K bytes - Viewed (0) -
ci/devinfra/docker/windows/Dockerfile
ENV BAZEL_LLVM "C:\tools\LLVM" # These variables may be useful, but so far haven't been. Keeping for posterity. # ENV CLANG_COMPILER_PATH "C:\tools\llvm\bin\clang.exe" # ENV CC "C:\tools\llvm\bin\clang.exe" # ENV BAZEL_COMPILER "C:\tools\llvm\bin\clang.exe" ENV BAZEL_SH "C:\tools\msys64\usr\bin\bash.exe" ENV BAZEL_VS "C:\Program Files\Microsoft Visual Studio\2022\BuildTools"
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Aug 20 13:57:04 UTC 2024 - 7.3K bytes - Viewed (0)