Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for isObject (0.11 sec)

  1. cmd/metacache-entries.go

    // isDir returns if the entry is representing a prefix directory.
    func (e metaCacheEntry) isDir() bool {
    	return len(e.metadata) == 0 && strings.HasSuffix(e.name, slashSeparator)
    }
    
    // isObject returns if the entry is representing an object.
    func (e metaCacheEntry) isObject() bool {
    	return len(e.metadata) > 0
    }
    
    // isObjectDir returns if the entry is representing an object/
    func (e metaCacheEntry) isObjectDir() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  2. cmd/metacache-stream.go

    	if !next.hasPrefix(prefix) {
    		return metaCacheEntriesSorted{}, io.EOF
    	}
    
    	if r.current.name != "" {
    		if (inclDeleted || !r.current.isLatestDeletemarker()) && r.current.hasPrefix(prefix) && (inclDirs || r.current.isObject()) {
    			res = append(res, r.current)
    		}
    		r.current.name = ""
    		r.current.metadata = nil
    	}
    
    	for n < 0 || len(res) < n {
    		if more, err := r.mr.ReadBool(); !more {
    			switch err {
    			case nil:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    				continue
    			}
    			if !strings.HasPrefix(entry.name, o.Prefix) {
    				continue
    			}
    			if !o.Recursive && !entry.isInDir(o.Prefix, o.Separator) {
    				continue
    			}
    			if !o.InclDeleted && entry.isObject() && entry.isLatestDeletemarker() && !entry.isObjectDir() {
    				continue
    			}
    			if o.Lifecycle != nil || o.Replication.Config != nil {
    				if skipped := triggerExpiryAndRepl(ctx, *o, entry); skipped == true {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-decom.go

    					return true
    				default:
    					return false
    				}
    			}
    
    			var versionsFound int
    			if err = set.listObjectsToDecommission(ctx, bi, func(entry metaCacheEntry) {
    				if !entry.isObject() {
    					return
    				}
    
    				fivs, err := entry.fileInfoVersions(bi.Name)
    				if err != nil {
    					return
    				}
    
    				// We need a reversed order for decommissioning,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/KerberosTest.java

            /**
             * 
             */
            private static final long serialVersionUID = -4979600496889213143L;
    
    
            public RefreshableKerb5Authenticator ( Subject subject, String domain, String username, String password ) {
                super(subject, domain, username, password);
            }
    
    
            @Override
            public void refresh () throws CIFSException {
                try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          }
    
        fun build(): HeldCertificate {
          // Subject keys & identity.
          val subjectKeyPair = keyPair ?: generateKeyPair()
          val subjectPublicKeyInfo =
            CertificateAdapters.subjectPublicKeyInfo.fromDer(
              subjectKeyPair.public.encoded.toByteString(),
            )
          val subject: List<List<AttributeTypeAndValue>> = subject()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/Kerb5Authenticator.java

                throw new SmbException("Context setup failed", e);
            }
        }
    
    
        /**
         * @param subject
         *            the subject to set
         */
        protected void setSubject ( Subject subject ) {
            this.subject = subject;
        }
    
    
        @Override
        public void refresh () throws CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/flowcontrol/v1beta3/generated.proto

      // `type` indicates whether this priority level is subject to
      // limitation on request execution.  A value of `"Exempt"` means
      // that requests of this priority level are not subject to a limit
      // (and thus are never queued) and do not detract from the
      // capacity made available to other priority levels.  A value of
      // `"Limited"` means that (a) requests of this priority level
      // _are_ subject to limits and (b) some of the server's limited
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. internal/event/target/nats.go

    		if target.args.Streaming.Async {
    			_, err = target.stanConn.PublishAsync(target.args.Subject, data, nil)
    		} else {
    			err = target.stanConn.Publish(target.args.Subject, data)
    		}
    	} else {
    		if target.jstream != nil {
    			_, err = target.jstream.Publish(target.args.Subject, data)
    		} else {
    			err = target.natsConn.Publish(target.args.Subject, data)
    		}
    	}
    	return err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto

      // `type` indicates whether this priority level is subject to
      // limitation on request execution.  A value of `"Exempt"` means
      // that requests of this priority level are not subject to a limit
      // (and thus are never queued) and do not detract from the
      // capacity made available to other priority levels.  A value of
      // `"Limited"` means that (a) requests of this priority level
      // _are_ subject to limits and (b) some of the server's limited
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top