Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,217 for differ (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

         * readAndXWireFormat without reading the non-existent header.
         */
    
        @Override
        int decode(final byte[] buffer, int bufferIndex) {
            final int start = headerStart = bufferIndex;
    
            bufferIndex += readHeaderWireFormat(buffer, bufferIndex);
            bufferIndex += readAndXWireFormat(buffer, bufferIndex);
    
            length = bufferIndex - start;
            return length;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    		t.Fatal(err)
    	}
    	if hdr.Name != longName {
    		t.Fatal("Couldn't recover long name")
    	}
    }
    
    func TestValidTypeflagWithPAXHeader(t *testing.T) {
    	var buffer bytes.Buffer
    	tw := NewWriter(&buffer)
    
    	fileName := strings.Repeat("ab", 100)
    
    	hdr := &Header{
    		Name:     fileName,
    		Size:     4,
    		Typeflag: 0,
    	}
    	if err := tw.WriteHeader(hdr); err != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt

        random.nextBytes(buf)
        assertRoundTrip(buf.toByteString())
      }
    
      private fun assertRoundTrip(data: ByteString) {
        val encodeBuffer = Buffer()
        encode(data, encodeBuffer)
        assertThat(encodedLength(data).toLong()).isEqualTo(encodeBuffer.size)
        val decodeBuffer = Buffer()
        decode(encodeBuffer, encodeBuffer.size, decodeBuffer)
        assertEquals(data, decodeBuffer.readByteString())
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformationResponse.java

            return 0;
        }
    
        @Override
        int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            buffer.putInt(0); // nextEntryOffset (0 = last entry)
            buffer.putInt(FileNotifyInformation.FILE_ACTION_MODIFIED);
            buffer.putInt(fileNameBytes3.length);
            buffer.put(fileNameBytes3);
    
            // Return only the used portion of the buffer
            byte[] result = new byte[buffer.position()];
            buffer.rewind();
            buffer.get(result);
            return result;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

                final int lLow = SMBUtil.readInt4(buffer, bufferIndex + 16);
    
                this.lengthInBytes = lHigh << 32 | lLow;
                return 20;
            }
            this.pid = SMBUtil.readInt2(buffer, bufferIndex);
            this.byteOffset = SMBUtil.readInt4(buffer, bufferIndex + 2);
            this.lengthInBytes = SMBUtil.readInt4(buffer, bufferIndex + 6);
            return 10;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Response.java

        /**
         * Verifies the signature of this response.
         *
         * @param buffer the buffer containing the signature data
         * @param i the starting index in the buffer
         * @param size the size of the signature data
         * @return whether signature verification is successful
         */
        boolean verifySignature(byte[] buffer, int i, int size);
    
        /**
         * Checks if signature verification failed.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            SMBUtil.writeInt4(2, buffer, notifyOffset + 4); // Action (REMOVED)
            SMBUtil.writeInt4(10, buffer, notifyOffset + 8);
            System.arraycopy("file2".getBytes("UnicodeLittleUnmarked"), 0, buffer, notifyOffset + 12, 10);
    
            // Third notification at offset 164 (120 + 44)
            notifyOffset = 164;
            SMBUtil.writeInt4(0, buffer, notifyOffset); // NextEntryOffset (last)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Java8Compatibility.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.nio.Buffer;
    
    /**
     * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See
     * https://github.com/google/guava/issues/3990
     */
    @J2ktIncompatible
    @GwtIncompatible
    final class Java8Compatibility {
      static void clear(Buffer b) {
        b.clear();
      }
    
      static void flip(Buffer b) {
        b.flip();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. cmd/object-multipart-handlers.go

    			partEncryptionKey := objectEncryptionKey.DerivePartKey(uint32(partID))
    			in := io.Reader(hashReader)
    			if size > encryptBufferThreshold {
    				// The encryption reads in blocks of 64KB.
    				// We add a buffer on bigger files to reduce the number of syscalls upstream.
    				in = bufio.NewReaderSize(hashReader, encryptBufferSize)
    			}
    
    			var nonce [12]byte
    			tmp := sha256.Sum256(fmt.Append(nil, uploadID, partID))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top