- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 32 for ringbuffer (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
@Generates ShortBuffer generateShortBuffer() { return ShortBuffer.allocate(generateInt()); } @Generates IntBuffer generateIntBuffer() { return IntBuffer.allocate(generateInt()); } @Generates LongBuffer generateLongBuffer() { return LongBuffer.allocate(generateInt()); } @Generates FloatBuffer generateFloatBuffer() { return FloatBuffer.allocate(generateInt());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt
val b0 = B0_FLAG_FIN or opcode sinkBuffer.writeByte(b0) var b1 = length if (isClient) { b1 = b1 or B1_FLAG_MASK sinkBuffer.writeByte(b1) random.nextBytes(maskKey!!) sinkBuffer.write(maskKey) if (length > 0) { val payloadStart = sinkBuffer.size sinkBuffer.write(payload) sinkBuffer.readAndWriteUnsafe(maskCursor!!)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
void testBufferBoundaryConditions() { // Minimum size buffer byte[] minBuffer = new byte[4]; int written = echoRequest.writeBytesWireFormat(minBuffer, 0); assertEquals(4, written); assertEquals(4, SMBUtil.readInt2(minBuffer, 0)); // Large buffer byte[] largeBuffer = new byte[10000];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/LineBufferTest.java
} } private static List<String> bufferHelper(String input, int chunk) throws IOException { List<String> lines = new ArrayList<>(); LineBuffer lineBuf = new LineBuffer() { @Override protected void handleLine(String line, String end) { lines.add(line + end); } }; char[] chars = input.toCharArray();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
// Given byte[] minBuffer = new byte[EXPECTED_SIZE]; SrvCopychunk chunk = new SrvCopychunk(1, 2, 3); // When int bytesWritten = chunk.encode(minBuffer, 0); // Then assertEquals(EXPECTED_SIZE, bytesWritten); assertEquals(1L, SMBUtil.readInt8(minBuffer, 0)); assertEquals(2L, SMBUtil.readInt8(minBuffer, 8));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
@Test @DisplayName("Test appendCol helper method") void testAppendCol() { StringBuffer sb = new StringBuffer(); // Test with short string ace.appendCol(sb, "test", 10); assertEquals("test ", sb.toString()); // Test with exact width string sb = new StringBuffer(); ace.appendCol(sb, "exact", 5); assertEquals("exact", sb.toString());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
* fragments but currently it does not. */ @Override public String toString() { final int count, i; final String str; final StringBuffer sb = new StringBuffer(); sb.append(isAllow() ? "Allow " : "Deny "); appendCol(sb, sid.toDisplayString(), 25); sb.append(" 0x").append(Hexdump.toHexString(access, 8)).append(' ');Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
* @return The resolved string. */ public static String resolve(final String value) { if (value == null) { return null; } final StringBuffer tunedText = new StringBuffer(value.length()); final Pattern pattern = Pattern.compile("(\\$\\{([\\w\\.]+)\\})"); final Matcher matcher = pattern.matcher(value); while (matcher.find()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
* @return the content with highlighted queries */ protected String replaceHighlightQueries(final String cache, final String[] queries) { final StringBuffer buf = new StringBuffer(cache.length() + 100); final StringBuffer segBuf = new StringBuffer(1000); final Pattern p = Pattern.compile("<[^>]+>"); final Matcher m = p.matcher(cache); final String[] regexQueries = new String[queries.length];Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0)