- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 365 for positive (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
int result = response.writeBytesWireFormat(buffer, 0); assertEquals(0, result); } @Test @DisplayName("Should return 0 regardless of buffer position") void testWriteBytesWireFormatDifferentPosition() { byte[] buffer = new byte[1024]; int result = response.writeBytesWireFormat(buffer, 100); assertEquals(0, result); }
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) -
cmd/erasure-server-pool-decom.go
} } if len(specifiedPools) == len(rememberedPools) { for k, pi := range rememberedPools { pos, ok := specifiedPools[k] if ok && pos != pi.position { update = true // pool order is changing, its okay to allow it. } } } if !update {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 42.2K bytes - Click Count (1) -
src/main/java/jcifs/smb1/util/MD4.java
* <p> * Transforms context based on 512 bits from input block starting * from the offset'th byte. * * @param block input sub-array. * @param offset starting position of sub-array. */ private void transform(final byte[] block, int offset) { // encodes 64 bytes from input block into an array of 16 32-bit // entities. Use A as a temp var.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
inline fun <reified T> inAnyOrder(items: List<T>): Matcher<Iterable<T>> = inAnyOrder(items.toTypedArray()) /** * Matcher checking each item is present exactly once in a given iterable, but an any position, * and that there are no unexpected items. */ private fun <T> inAnyOrder(items: Array<out T>): Matcher<Iterable<T>> = Matchers.containsInAnyOrder(*items)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 19 11:30:48 GMT 2026 - 18.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
@Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "size"), level = DeprecationLevel.ERROR, ) fun size(): Int = size /** Returns the field at `position`. */ fun name(index: Int): String = commonName(index) /** Returns the value at `index`. */ fun value(index: Int): String = commonValue(index)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 11.6K bytes - Click Count (0) -
docs/fr/docs/tutorial/request-files.md
- `write(data)` : écrit `data` (`str` ou `bytes`) dans le fichier. - `read(size)` : lit `size` (`int`) octets/caractères du fichier. - `seek(offset)` : se déplace à la position d'octet `offset` (`int`) dans le fichier. - Par ex., `await myfile.seek(0)` irait au début du fichier. - C'est particulièrement utile si vous exécutez `await myfile.read()` une fois puis devez relire le contenu.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 8.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/TopKSelector.java
* k) worst case. */ private void trim() { int left = 0; int right = 2 * k - 1; int minThresholdPosition = 0; // The leftmost position at which the greatest of the k lower elements // -- the new value of threshold -- might be found. int iterations = 0; int maxIterations = IntMath.log2(right - left, RoundingMode.CEILING) * 3;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
byte[] data = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 }; System.arraycopy(data, 0, ctx, 0x20, data.length); // Update base to point to the context area int offsetFieldPos = base.length - 8; // position of CreateContextsOffset SMBUtil.writeInt4(contextStartOffsetFromHeader, base, offsetFieldPos); SMBUtil.writeInt4(ctx.length, base, offsetFieldPos + 4);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
int written = request.writeBytesWireFormat(buffer, offset); assertEquals(24, written); assertEquals(24, SMBUtil.readInt2(buffer, offset)); // Verify file ID at correct position byte[] copiedFileId = new byte[16]; System.arraycopy(buffer, offset + 8, copiedFileId, 0, 16); assertArrayEquals(testFileId, copiedFileId); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
byte[] buf = new byte[bodyLen]; SMBUtil.writeInt2(9, buf, 0); // structureSize buf[2] = (byte) errorContextCount; // ErrorContextCount // one reserved byte at position 3 SMBUtil.writeInt4(bc, buf, 4); // ByteCount if (bc > 0 && errorData != null) { System.arraycopy(errorData, 0, buf, 8, bc); } return buf; } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0)