- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 454 for positive (0.04 seconds)
-
src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java
* * @return the allocationSize */ public final long getAllocationSize() { return this.allocationSize; } /** * Get the end of file position * * @return the endOfFile */ public final long getEndOfFile() { return this.endOfFile; } /** * Get the file ID * * @return the fileIdCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
src/bytes/reader.go
abs = r.i + offset case io.SeekEnd: abs = int64(len(r.s)) + offset default: return 0, errors.New("bytes.Reader.Seek: invalid whence") } if abs < 0 { return 0, errors.New("bytes.Reader.Seek: negative position") } r.i = abs return abs, nil } // WriteTo implements the [io.WriterTo] interface. func (r *Reader) WriteTo(w io.Writer) (n int64, err error) { r.prevRune = -1 if r.i >= int64(len(r.s)) {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jul 16 18:17:37 GMT 2024 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
assertEquals(0, dst[i]); } // Verify encoded data at offset ByteBuffer bb = ByteBuffer.wrap(dst).order(ByteOrder.LITTLE_ENDIAN); bb.position(offset); assertEquals(maxReferralLevel, bb.getShort()); } @Test @DisplayName("Should encode empty path correctly") void testEncodeEmptyPath() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
// This means bytes 20-27 will be zero (8 bytes written by writeInt8) for (int i = 20; i < 28; i++) { assertEquals(0, buffer[i], "Padding byte at position " + i + " should be 0"); } // The byte at position 28 should be unchanged assertEquals((byte) 0xFF, buffer[28], "Byte after padding should be unchanged"); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
// Then assertEquals(stringBytes.length, terminationPos, "Should find termination at correct position"); } @Test @DisplayName("findUNITermination should throw exception when termination not found") void testFindUNITerminationNotFound() { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
* * @return the allocationSize */ public final long getAllocationSize() { return this.allocationSize; } /** * Gets the end of file position. * * @return the endOfFile */ public final long getEndOfFile() { return this.endOfFile; } /** * {@inheritDoc} *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
assertEquals((byte) 0x00, dst[2]); // no FID assertEquals((byte) 0x00, dst[3]); } @Test @DisplayName("writeSetupWireFormat with offset should write at correct position") void testWriteSetupWireFormatWithOffset() { // Arrange transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName); byte[] dst = new byte[20]; int dstIndex = 5;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedSetMultimap.java
* * <p><b>Warning:</b> As in all {@link SetMultimap}s, do not modify either a key <i>or a value</i> * of a {@code SortedSetMultimap} in a way that affects its {@link Object#equals} behavior (or its * position in the order of the values). Undefined behavior and bugs will result. * * <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#multimap">{@code Multimap}</a>. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
return (++i == items.length) ? 0 : i; } /** * Inserts element at current put position, advances, and signals. Call only when occupying * monitor. */ private void insert(E x) { items[putIndex] = x; putIndex = inc(putIndex); ++count; } /** * Extracts element at current take position, advances, and signals. Call only when occupying * monitor. */ private E extract() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 22.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
testConstructorParameter(ctor, nullIndex); } } /** * Verifies that {@code method} produces a {@link NullPointerException} or {@link * UnsupportedOperationException} when the parameter in position {@code paramIndex} is null. If * this parameter is marked nullable, this method does nothing. * * @param instance the instance to invoke {@code method} on, or null if {@code method} is static */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 25.4K bytes - Click Count (0)