Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 158 for empty (0.24 sec)

  1. cmd/data-usage-cache.go

    	ReplicaCount uint64 `msg:"ReplicaCount,omitempty"`
    }
    
    // empty returns true if the replicationAllStats is empty (contains no entries).
    func (r *replicationAllStats) empty() bool {
    	if r == nil {
    		return true
    	}
    	if r.ReplicaSize != 0 || r.ReplicaCount != 0 {
    		return false
    	}
    	for _, v := range r.Targets {
    		if !v.Empty() {
    			return false
    		}
    	}
    	return true
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  2. cmd/ftp-server-driver.go

    		return &minioFileInfo{
    			p:     SlashSeparator,
    			isDir: true,
    		}, nil
    	}
    
    	bucket, object := path2BucketObject(objPath)
    	if bucket == "" {
    		return nil, errors.New("bucket name cannot be empty")
    	}
    
    	clnt, err := driver.getMinIOClient(ctx)
    	if err != nil {
    		return nil, err
    	}
    
    	if object == "" {
    		ok, err := clnt.BucketExists(context.Background(), bucket)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    	if oi.ReplicationStatus == replication.Completed && oi.VersionPurgeStatus.Empty() && !roi.ExistingObjResync.mustResync() {
    		return
    	}
    
    	if roi.DeleteMarker || !roi.VersionPurgeStatus.Empty() {
    		versionID := ""
    		dmVersionID := ""
    		if roi.VersionPurgeStatus.Empty() {
    			dmVersionID = roi.VersionID
    		} else {
    			versionID = roi.VersionID
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  4. maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

            return null;
        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type) {
            return Optional.empty();
        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type, String name) {
            return Optional.empty();
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            return List.of();
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableList.java

        if (isEmpty()) {
          return (UnmodifiableListIterator<E>) EMPTY_ITR;
        } else {
          return new Itr<E>(this, index);
        }
      }
    
      /** A singleton implementation of iterator() for the empty ImmutableList. */
      private static final UnmodifiableListIterator<Object> EMPTY_ITR =
          new Itr<Object>(RegularImmutableList.EMPTY, 0);
    
      static class Itr<E> extends AbstractIndexedListIterator<E> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtFirAnalysisSession.kt

                buildSet {
                    // Add an empty scope to the shadowed set to give GlobalSearchScope.union something
                    // to work with if there are no extension tools.
                    // If there are extension tools, any empty scopes, whether from shadowedSearchScope
                    // on the extension tools or from this add() call, will be ignored.
                    add(GlobalSearchScope.EMPTY_SCOPE)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 18 10:43:08 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  7. cmd/sts-handlers.go

    		if err != nil {
    			writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err)
    			return
    		}
    
    		// Version in policy must not be empty
    		if sessionPolicy.Version == "" {
    			writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, fmt.Errorf("Version cannot be empty expecting '2012-10-17'"))
    			return
    		}
    	}
    
    	duration, err := openid.GetDefaultExpiration(r.Form.Get(stsDurationSeconds))
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  8. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals("foo", Iterators.getOnlyElement(iterator, "bar"));
      }
    
      public void testGetOnlyElement_withDefault_empty() {
        Iterator<String> iterator = Iterators.emptyIterator();
        assertEquals("bar", Iterators.getOnlyElement(iterator, "bar"));
      }
    
      public void testGetOnlyElement_withDefault_empty_null() {
        Iterator<String> iterator = Iterators.emptyIterator();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(File.class, new File(""))
              .put(ByteSource.class, ByteSource.empty())
              .put(CharSource.class, CharSource.empty())
              .put(ByteSink.class, NullByteSink.INSTANCE)
              .put(CharSink.class, NullByteSink.INSTANCE.asCharSink(Charsets.UTF_8))
              // All collections are immutable empty. So safe for any type parameter.
              .put(Iterator.class, ImmutableSet.of().iterator())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  10. .github/workflows/iam-integrations.yaml

            env:
              DEX_LDAP_SERVER: "openldap:389"
              DEX_ISSUER: "http://127.0.0.1:5557/dex"
              DEX_WEB_HTTP: "0.0.0.0:5557"
    
        strategy:
          # When ldap, etcd or openid vars are empty below, those external servers
          # are turned off - i.e. if ldap="", then ldap server is not enabled for
          # the tests.
          matrix:
            go-version: [1.21.x]
            ldap: ["", "localhost:389"]
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top