Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 6,241 for IF (0.08 sec)

  1. cmd/net.go

    		return false, err
    	}
    
    	if host2 == "" {
    		// If empty host means it is localhost
    		addr2Local = true
    	} else if addr2Local, err = isLocalHost(host2, port2, port2); err != nil {
    		// Host not empty, check if it is local
    		return false, err
    	}
    
    	// If both of addresses point to the same machine, check if
    	// have the same port
    	if addr1Local && addr2Local {
    		if port1 == port2 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. cmd/bucket-stats_gen_test.go

    	v := BucketReplicationStat{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 30 08:00:59 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  3. cmd/metrics-v2_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "HistogramBucketLabel")
    				return
    			}
    		case "Histogram":
    			var zb0004 uint32
    			zb0004, bts, err = msgp.ReadMapHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Histogram")
    				return
    			}
    			if z.Histogram == nil {
    				z.Histogram = make(map[string]uint64, zb0004)
    			} else if len(z.Histogram) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    Item lastItem = get(i);
    
                    if (lastItem.isNull()) {
                        if (i == size() - 1 || get(i + 1).getType() == STRING_ITEM) {
                            remove(i);
                        } else if (get(i + 1).getType() == LIST_ITEM) {
                            Item item = ((ListItem) get(i + 1)).get(0);
                            if (item.getType() == COMBINATION_ITEM || item.getType() == STRING_ITEM) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. helm-releases/minio-5.0.7.tgz

    exist, skipping purge." fi fi # Create the bucket if it does not exist and set objectlocking if enabled (NOTE: versioning will be not changed if OBJECTLOCKING is set because it enables versioning to the Buckets created) if ! checkBucketExists $BUCKET ; then if [ ! -z $OBJECTLOCKING ] ; then if [ $OBJECTLOCKING = true ] ; then echo "Creating bucket with OBJECTLOCKING '$BUCKET'" ${MC} mb --with-lock myminio/$BUCKET elif [ $OBJECTLOCKING = false ] ; then echo "Creating bucket '$BUCKET'" ${MC} mb myminio/$BUCKET...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 13 10:37:23 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        private boolean verifyIndex(int i) {
          if ((getLeftChildIndex(i) < size) && (compareElements(i, getLeftChildIndex(i)) > 0)) {
            return false;
          }
          if ((getRightChildIndex(i) < size) && (compareElements(i, getRightChildIndex(i)) > 0)) {
            return false;
          }
          if ((i > 0) && (compareElements(i, getParentIndex(i)) > 0)) {
            return false;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. helm-releases/minio-3.5.8.tgz

    Helm 2.9 and 2.10 does not support it, so we need to implement this if-else logic. Also, we can not use a single if because lazy evaluation is not an option */}} {{- if .Values.global }} {{- if .Values.global.imagePullSecrets }} imagePullSecrets: {{- range .Values.global.imagePullSecrets }} - name: {{ . }} {{- end }} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets }} {{- end -}} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Feb 27 06:44:38 UTC 2022
    - 17.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            }
    
            /*
             * Check to see if the entire transaction has been
             * read. If so call the read methods.
             */
    
            if ( !this.parametersDone && ( this.parameterDisplacement + this.parameterCount ) == this.totalParameterCount ) {
                this.parametersDone = true;
            }
    
            if ( !this.dataDone && ( this.dataDisplacement + this.dataCount ) == this.totalDataCount ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 9.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

      }
    
      /**
       * Returns an immutable map containing the same entries as {@code map}. If {@code map} somehow
       * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose
       * comparator is not <i>consistent with equals</i>), the results of this method are undefined.
       *
       * <p><b>Note:</b> Despite what the method name suggests, if {@code map} is an {@code
       * ImmutableClassToInstanceMap}, no copy will actually be performed.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. internal/dsync/drwmutex.go

    		select {
    		case refreshResult := <-ch:
    			if refreshResult.offline {
    				continue
    			}
    			if refreshResult.refreshed {
    				lockRefreshed++
    			} else {
    				lockNotFound++
    			}
    			if lockRefreshed >= quorum || lockNotFound > len(restClnts)-quorum {
    				done = true
    			}
    		case <-ctx.Done():
    			// Refreshing is canceled
    			return false, ctx.Err()
    		}
    		if done {
    			break
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top