Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 859 for 0bytes (0.03 sec)

  1. src/main/java/jcifs/util/ByteEncodable.java

    /**
     * Interface for objects that can be encoded to byte arrays.
     * Provides standardized method for converting objects to their binary representation.
     *
     * @author mbechler
     */
    public class ByteEncodable implements Encodable {
    
        private final byte[] bytes;
        private final int off;
        private final int len;
    
        /**
         * Constructs a ByteEncodable object wrapping a byte array segment.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

            // Padding to align data to 8-byte boundary
            dstIndex += 4;
    
            // Write durable handle V2 request data (32 bytes total)
            // MS-SMB2 2.2.13.2.4 structure:
            SMBUtil.writeInt4((int) getTimeoutFor100Ns(), dst, dstIndex); // Timeout (4 bytes in 100-ns intervals)
            dstIndex += 4;
    
            SMBUtil.writeInt4(flags, dst, dstIndex); // Flags (4 bytes)
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                andxCommand = (byte) 0xFF;
                andx = null;
    
                dst[start + ANDX_COMMAND_OFFSET] = (byte) 0xFF;
                dst[start + ANDX_RESERVED_OFFSET] = (byte) 0x00;
                //            dst[start + ANDX_OFFSET_OFFSET] = (byte)0x00;
                //            dst[start + ANDX_OFFSET_OFFSET + 1] = (byte)0x00;
                dst[start + ANDX_OFFSET_OFFSET] = (byte) 0xde;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            byte[] src = new byte[10];
            int srcIndex = 0;
    
            // Simulate groupName = false, nodeType = 0
            src[srcIndex] = (byte) 0x00;
            src[srcIndex + 1] = (byte) 0x00;
    
            // Simulate address = 0.0.0.0
            src[srcIndex + 2] = (byte) 0x00;
            src[srcIndex + 3] = (byte) 0x00;
            src[srcIndex + 4] = (byte) 0x00;
            src[srcIndex + 5] = (byte) 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. cmd/streaming-v4-unsigned.go

    	for input.Scan() {
    		line := strings.TrimSpace(input.Text())
    		if line == "" {
    			continue
    		}
    		// Find first separator.
    		idx := strings.IndexByte(line, trailerKVSeparator[0])
    		if idx <= 0 || idx >= len(line) {
    			if cr.debug {
    				fmt.Printf("Could not find separator, got %q\n", line)
    			}
    			return errMalformedEncoding
    		}
    		key := strings.ToLower(line[:idx])
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 03 14:55:52 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/ByteSinkTest.java

      }
    
      public void testWriteFrom_inputStream() throws IOException {
        ByteArrayInputStream in = new ByteArrayInputStream(bytes);
        sink.writeFrom(in);
    
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
        assertArrayEquals(bytes, sink.getBytes());
      }
    
      public void testWriteFromStream_doesNotCloseThatStream() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteSinkTest.java

      }
    
      public void testWriteFrom_inputStream() throws IOException {
        ByteArrayInputStream in = new ByteArrayInputStream(bytes);
        sink.writeFrom(in);
    
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
        assertArrayEquals(bytes, sink.getBytes());
      }
    
      public void testWriteFromStream_doesNotCloseThatStream() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-rebalance_gen.go

    // MarshalMsg implements msgp.Marshaler
    func (z rebalanceMetrics) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 0
    	_ = z
    	o = append(o, 0x80)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *rebalanceMetrics) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. src/bufio/bufio.go

    func (b *Reader) readErr() error {
    	err := b.err
    	b.err = nil
    	return err
    }
    
    // Peek returns the next n bytes without advancing the reader. The bytes stop
    // being valid at the next read call. If necessary, Peek will read more bytes
    // into the buffer in order to make n bytes available. If Peek returns fewer
    // than n bytes, it also returns an error explaining why the read is short.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. lib/time/mkzip.go

    // a reproducible generator that does not depend on which version of the
    // external zip tool is used or the ordering of file names in a directory
    // or the current time.
    package main
    
    import (
    	"archive/zip"
    	"bytes"
    	"flag"
    	"fmt"
    	"hash/crc32"
    	"io/fs"
    	"log"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n")
    	os.Exit(2)
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top