Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 380 for nbuf (0.07 sec)

  1. internal/config/identity/openid/jwks.go

    			return nil, errMalformedJWKRSAKey
    		}
    
    		// decode exponent
    		ebuf, err := base64.RawURLEncoding.DecodeString(key.E)
    		if err != nil {
    			return nil, errMalformedJWKRSAKey
    		}
    
    		nbuf, err := base64.RawURLEncoding.DecodeString(key.N)
    		if err != nil {
    			return nil, errMalformedJWKRSAKey
    		}
    
    		var n, e big.Int
    		n.SetBytes(nbuf)
    		e.SetBytes(ebuf)
    
    		return &rsa.PublicKey{
    			E: int(e.Int64()),
    			N: &n,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 02 23:02:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. cmd/os_unix.go

    	defer syscall.Close(fd)
    
    	bufp := direntPool.Get().(*[]byte)
    	defer direntPool.Put(bufp)
    	buf := *bufp
    
    	boff := 0 // starting read position in buf
    	nbuf := 0 // end valid data in buf
    
    	for {
    		if boff >= nbuf {
    			boff = 0
    			stop := globalOSMetrics.time(osMetricReadDirent)
    			nbuf, err = syscall.ReadDirent(fd, buf)
    			stop()
    			if err != nil {
    				if isSysErrNotDir(err) {
    					return nil
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. internal/s3select/jstream/scanner.go

    func (s *scanner) cur() byte { return s.buf[s.ipos] }
    
    // read next byte
    func (s *scanner) next() byte {
    	if s.pos >= atomic.LoadInt64(&s.end) {
    		return nullByte
    	}
    	s.ipos++
    
    	if s.ipos > s.ifill { // internal buffer is exhausted
    		s.ifill = <-s.fillReady
    
    		s.buf[0] = s.buf[len(s.buf)-1] // copy current last item to guarantee lookback
    		copy(s.buf[1:], s.nbuf[:])     // copy contents of pre-filled next buffer
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. docs/debugging/inspect/export.go

    	hdrVer, buf, e := msgp.ReadUintBytes(buf)
    	if e != nil {
    		return 0, buf, e
    	}
    	metaVer, buf, e := msgp.ReadUintBytes(buf)
    	if e != nil {
    		return 0, buf, e
    	}
    	if hdrVer > xlHeaderVersion {
    		return 0, buf, fmt.Errorf("decodeXLHeaders: Unknown xl header version %d", metaVer)
    	}
    	if metaVer > xlMetaVersion {
    		return 0, buf, fmt.Errorf("decodeXLHeaders: Unknown xl meta version %d", metaVer)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  5. docs/debugging/xl-meta/main.go

    	if err != nil {
    		return x, buf, err
    	}
    	x.metaVer, buf, err = msgp.ReadUintBytes(buf)
    	if err != nil {
    		return x, buf, err
    	}
    	if x.headerVer > xlHeaderVersion {
    		return x, buf, fmt.Errorf("decodeXLHeaders: Unknown xl header version %d", x.headerVer)
    	}
    	if x.metaVer > xlMetaVersion {
    		return x, buf, fmt.Errorf("decodeXLHeaders: Unknown xl meta version %d", x.metaVer)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2.go

    	}
    }
    
    func decodeXLHeaders(buf []byte) (versions int, headerV, metaV uint8, b []byte, err error) {
    	hdrVer, buf, err := msgp.ReadUint8Bytes(buf)
    	if err != nil {
    		return 0, 0, 0, buf, err
    	}
    	metaVer, buf, err := msgp.ReadUint8Bytes(buf)
    	if err != nil {
    		return 0, 0, 0, buf, err
    	}
    	if hdrVer > xlHeaderVersion {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                }
    
                doReceiveFragment(stub, isDirect);
                buf.reset();
                buf.setIndex(8);
                buf.setLength(buf.dec_ndr_short());
    
                if (securityProvider != null)
                    securityProvider.unwrap(buf);
    
                buf.setIndex(0);
    
                msg.decode_header(buf);
    
                off = 24;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            synchronized (BUF) {
                System.arraycopy( sbuf, 0, BUF, 0, 4 + HEADER_LENGTH );
                int size = Encdec.dec_uint16be( BUF, 2 ) & 0xFFFF;
                if (size < (HEADER_LENGTH + 1) || (4 + size) > rcv_buf_size ) {
                    throw new IOException( "Invalid payload size: " + size );
                }
                int errorCode = Encdec.dec_uint32le( BUF, 9 ) & 0xFFFFFFFF;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/CharStreams.java

          }
        }
    
        checkNotNull(from);
        checkNotNull(to);
        long total = 0;
        CharBuffer buf = createBuffer();
        while (from.read(buf) != -1) {
          Java8Compatibility.flip(buf);
          to.append(buf);
          total += buf.remaining();
          Java8Compatibility.clear(buf);
        }
        return total;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcHandle.java

        }
    
    
        /**
         * @param fbuf
         * @throws DcerpcException
         */
        private void setupReceivedFragment ( NdrBuffer fbuf ) throws DcerpcException {
            fbuf.reset();
            fbuf.setIndex(8);
            fbuf.setLength(fbuf.dec_ndr_short());
    
            if ( this.securityProvider != null ) {
                this.securityProvider.unwrap(fbuf);
            }
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
Back to top