Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 488 for reading_ (0.09 sec)

  1. src/archive/zip/register.go

    // simultaneously, but each returned writer will be used only by
    // one goroutine at a time.
    type Compressor func(w io.Writer) (io.WriteCloser, error)
    
    // A Decompressor returns a new decompressing reader, reading from r.
    // The [io.ReadCloser]'s Close method must be used to release associated resources.
    // The Decompressor itself must be safe to invoke from multiple goroutines
    // simultaneously, but each returned reader will be used only by
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        }
    
        for (i in 0 until answerCount) {
          skipName(buf) // name
    
          val type = buf.readShort().toInt() and 0xffff
          buf.readShort() // class
          @Suppress("UNUSED_VARIABLE")
          val ttl = buf.readInt().toLong() and 0xffffffffL // ttl
          val length = buf.readShort().toInt() and 0xffff
    
          if (type == TYPE_A || type == TYPE_AAAA) {
            val bytes = ByteArray(length)
            buf.read(bytes)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/RandomAccessFileTest.java

            byte[] offBuf = new byte[cnt];
            int pos = 0;
            while ( pos < cnt ) {
                int r = is.read(offBuf, pos, offBuf.length - pos);
                if ( r < 0 ) {
                    fail("EOF while reading");
                }
                pos += r;
            }
    
            for ( int i = 0; i < offBuf.length; i++ ) {
                if ( offBuf[ i ] != 0 ) {
                    fail("Not zero @ " + i);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  4. cmd/bitrot.go

    	if algo != HighwayHash256S {
    		h := algo.New()
    		if n, err := io.Copy(h, r); err != nil || n != wantSize {
    			// Premature failure in reading the object, file is corrupt.
    			return errFileCorrupt
    		}
    		if !bytes.Equal(h.Sum(nil), want) {
    			return errFileCorrupt
    		}
    		return nil
    	}
    
    	h := algo.New()
    	hashBuf := make([]byte, h.Size())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameQueryResponse.java

                return 0;
            }
            boolean groupName = ( ( src[ srcIndex ] & 0x80 ) == 0x80 ) ? true : false;
            int nodeType = ( src[ srcIndex ] & 0x60 ) >> 5;
            srcIndex += 2;
            int address = readInt4(src, srcIndex);
            if ( address != 0 ) {
                this.addrEntry[ this.addrIndex ] = new NbtAddress(this.recordName, address, groupName, nodeType);
            }
            else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  6. api/go1.19.txt

    pkg go/doc/comment, type DocLink struct, Name string #51082
    pkg go/doc/comment, type DocLink struct, Recv string #51082
    pkg go/doc/comment, type DocLink struct, Text []Text #51082
    pkg go/doc/comment, type Heading struct #51082
    pkg go/doc/comment, type Heading struct, Text []Text #51082
    pkg go/doc/comment, type Italic string #51082
    pkg go/doc/comment, type Link struct #51082
    pkg go/doc/comment, type Link struct, Auto bool #51082
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacSignature.java

            try {
                PacDataInputStream bufferStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
                this.type = bufferStream.readInt();
                switch ( this.type ) {
                case KERB_CHECKSUM_HMAC_MD5:
                    this.checksum = new byte[16];
                    break;
                case HMAC_SHA1_96_AES128:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  8. cmd/tier.go

    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	randInterval := func() time.Duration {
    		return time.Duration(r.Float64() * 5 * float64(time.Second))
    	}
    
    	// To avoid all MinIO nodes reading the tier config object at the same
    	// time.
    	t := time.NewTimer(tierCfgRefresh + randInterval())
    	defer t.Stop()
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-t.C:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. cmd/mrf_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "Versions")
    				return
    			}
    		case "SetIndex":
    			z.SetIndex, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "SetIndex")
    				return
    			}
    		case "PoolIndex":
    			z.PoolIndex, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "PoolIndex")
    				return
    			}
    		case "Queued":
    			z.Queued, err = dc.ReadTime()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/mips.s

    	//	{
    	//		outcode(int($1), &$2, 0, &nullgen);
    	//	}
    	NOP	F2
    
    	//	LNOP ',' rreg // asm doesn't support the leading comma.
    	//	{
    	//		outcode(int($1), &nullgen, 0, &$3);
    	//	}
    	NOP	R2
    
    	//	LNOP ',' freg // asm doesn't support the leading comma.
    	//	{
    	//		outcode(int($1), &nullgen, 0, &$3);
    	//	}
    	NOP	F2
    
    	//	LNOP imm
    	//	{
    	//		outcode(int($1), &$2, 0, &nullgen);
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top