- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 144 for 1024 (0.02 sec)
-
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.9K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Platform.java
private Platform() {} /** Returns a thread-local 1024-char array. */ static char[] charBufferFromThreadLocal() { // requireNonNull accommodates Android's @RecentlyNullable annotation on ThreadLocal.get return requireNonNull(DEST_TL.get()); } /** * A thread-local destination buffer to keep us from creating new buffers. The starting size is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 1.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt
val relay = edit(file, upstream, metadata, 1024) val source = relay.newSource() val sourceBuffer = Buffer() assertThat(source!!.read(sourceBuffer, 5)).isEqualTo(5) assertThat(sourceBuffer.readUtf8()).isEqualTo("abcde") assertThat(source.read(sourceBuffer, 1024)).isEqualTo(8) assertThat(sourceBuffer.readUtf8()).isEqualTo("fghijklm") assertThat(source.read(sourceBuffer, 1024)).isEqualTo(-1)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 8.1K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer_benchmark_test.go
) func BenchmarkRingBuffer_Sync(b *testing.B) { rb := New(1024) data := []byte(strings.Repeat("a", 512)) buf := make([]byte, 512) b.ResetTimer() for i := 0; i < b.N; i++ { rb.Write(data) rb.Read(buf) } } func BenchmarkRingBuffer_AsyncRead(b *testing.B) { // Pretty useless benchmark, but it's here for completeness. rb := New(1024) data := []byte(strings.Repeat("a", 512)) buf := make([]byte, 512)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
+ "]"; assertEquals(expected, escapeAsString(e, TEST_STRING)); } public void testGrowBuffer() { // need to grow past an initial 1024 byte buffer StringBuilder input = new StringBuilder(); StringBuilder expected = new StringBuilder(); for (int i = 256; i < 1024; i++) { input.append((char) i); expected.append("[" + i + "]"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
+ "]"; assertEquals(expected, escapeAsString(e, TEST_STRING)); } public void testGrowBuffer() { // need to grow past an initial 1024 byte buffer StringBuilder input = new StringBuilder(); StringBuilder expected = new StringBuilder(); for (int i = 256; i < 1024; i++) { input.append((char) i); expected.append("[" + i + "]"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 5.9K bytes - Viewed (0) -
internal/ringbuffer/README.md
[![wikipedia](Circular_Buffer_Animation.gif)](https://github.com/smallnest/ringbuffer) # Usage ```go package main import ( "fmt" "github.com/smallnest/ringbuffer" ) func main() { rb := ringbuffer.New(1024) // write rb.Write([]byte("abcd")) fmt.Println(rb.Length()) fmt.Println(rb.Free()) // read buf := make([]byte, 4) rb.Read(buf) fmt.Println(string(buf)) } ```
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/assemblies/files/service.bat
if "%unit%" == "G" goto giga rem no unit found, must be bytes; consider the whole value set conv=%value% rem convert to KB set /a conv=%conv% / 1024 :kilo rem convert to MB set /a conv=%conv% / 1024 goto mega :giga rem convert to MB set /a conv=%conv% * 1024 :mega set "%~2=%conv%" goto:eof
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
val builder = OkHttpClient.Builder() assertFailsWith<IllegalArgumentException> { builder.minWebSocketMessageToCompress(-1024) }.also { expected -> assertThat(expected.message) .isEqualTo("minWebSocketMessageToCompress must be positive: -1024") } } companion object { private val DEFAULT_PROXY_SELECTOR = ProxySelector.getDefault()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 13.2K bytes - Viewed (0)