Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 929 for flen (0.03 sec)

  1. internal/bucket/object/lock/lock.go

    func ParseObjectLockRetentionHeaders(h http.Header) (rmode RetMode, r RetentionDate, err error) {
    	retMode := h.Get(AmzObjectLockMode)
    	dateStr := h.Get(AmzObjectLockRetainUntilDate)
    	if len(retMode) == 0 || len(dateStr) == 0 {
    		return rmode, r, ErrObjectLockInvalidHeaders
    	}
    
    	rmode = parseRetMode(retMode)
    	if !rmode.Valid() {
    		return rmode, r, ErrUnknownWORMModeDirective
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

          cbuf: CharArray,
          off: Int,
          len: Int,
        ): Int {
          if (closed) throw IOException("Stream closed")
    
          val finalDelegate =
            delegate ?: InputStreamReader(
              source.inputStream(),
              source.readBomAsCharset(charset),
            ).also {
              delegate = it
            }
          return finalDelegate.read(cbuf, off, len)
        }
    
        @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/Kerb5Context.java

        }
    
    
        @Override
        public byte[] initSecContext ( byte[] token, int off, int len ) throws SmbException {
            try {
                return this.gssContext.initSecContext(token, off, len);
            }
            catch ( GSSException e ) {
                throw new SmbAuthException("GSSAPI mechanism failed", e);
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
  4. doc/go_spec.html

    a2 := [2]byte(s)         // a2[0] == s[0]
    a4 := [4]byte(s)         // panics: len([4]byte) > len(s)
    
    s0 := (*[0]byte)(s)      // s0 != nil
    s1 := (*[1]byte)(s[1:])  // &s1[0] == &s[1]
    s2 := (*[2]byte)(s)      // &s2[0] == &s[0]
    s4 := (*[4]byte)(s)      // panics: len([4]byte) > len(s)
    
    var t []string
    t0 := [0]string(t)       // ok for nil slice t
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/podcgroupns_test.go

    	}}
    	podUIDNetns, err := n.FindNetnsForPods(map[types.UID]*corev1.Pod{
    		pod.UID: pod,
    	})
    	if err != nil {
    		panic(err)
    	}
    	defer podUIDNetns.Close()
    
    	if len(podUIDNetns) == 0 {
    		t.Fatal("expected to find pod netns")
    	}
    
    	expectedUID := "863b91d4-4b68-4efa-917f-4b560e3e86aa"
    	if podUIDNetns[expectedUID] == (WorkloadInfo{}) {
    		t.Fatal("expected to find pod netns under pod uid")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            bufferIndex += 4; // skip idFileSystem
    
            this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/slice.go

    	return &Slice{
    		tokens: tokens,
    		base:   base,
    		line:   line,
    		pos:    -1, // Next will advance to zero.
    	}
    }
    
    func (s *Slice) Next() ScanToken {
    	s.pos++
    	if s.pos >= len(s.tokens) {
    		return scanner.EOF
    	}
    	return s.tokens[s.pos].ScanToken
    }
    
    func (s *Slice) Text() string {
    	return s.tokens[s.pos].text
    }
    
    func (s *Slice) File() string {
    	return s.base.Filename()
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jun 29 22:49:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. cmd/handler-utils.go

    func extractMetadataFromMime(ctx context.Context, v textproto.MIMEHeader, m map[string]string) error {
    	if v == nil {
    		bugLogIf(ctx, errInvalidArgument)
    		return errInvalidArgument
    	}
    
    	nv := make(textproto.MIMEHeader, len(v))
    	for k, kv := range v {
    		// Canonicalize all headers, to remove any duplicates.
    		nv[http.CanonicalHeaderKey(k)] = kv
    	}
    
    	// Save all supported headers.
    	for _, supportedHeader := range supportedHeaders {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. cmd/tier.go

    		return err
    	}
    	return checkWarmBackend(ctx, d)
    }
    
    // Empty returns if tier targets are empty
    func (config *TierConfigMgr) Empty() bool {
    	if config == nil {
    		return true
    	}
    	return len(config.ListTiers()) == 0
    }
    
    // TierType returns the type of tier
    func (config *TierConfigMgr) TierType(name string) string {
    	config.RLock()
    	defer config.RUnlock()
    
    	cfg, ok := config.Tiers[name]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            buf.dec_ndr_short(); /* max transmit frag size */
            buf.dec_ndr_short(); /* max receive frag size */
            buf.dec_ndr_long();  /* assoc. group */
            int n = buf.dec_ndr_short(); /* secondary addr len */
            buf.advance(n); /* secondary addr */
            buf.align(4);
            buf.dec_ndr_small(); /* num results */
            buf.align(4);
            result = buf.dec_ndr_short();
            buf.dec_ndr_short();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
Back to top