Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 6,271 for _return (0.14 sec)

  1. cmd/erasure-server-pool-rebalance_gen.go

    		return
    	}
    	// write "id"
    	err = en.Append(0xa2, 0x69, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.ID)
    	if err != nil {
    		err = msgp.WrapError(err, "ID")
    		return
    	}
    	// write "pf"
    	err = en.Append(0xa2, 0x70, 0x66)
    	if err != nil {
    		return
    	}
    	err = en.WriteFloat64(z.PercentFreeGoal)
    	if err != nil {
    		err = msgp.WrapError(err, "PercentFreeGoal")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableRangeSet.java

      public ImmutableSet<Range<C>> asRanges() {
        if (ranges.isEmpty()) {
          return ImmutableSet.of();
        }
        return new RegularImmutableSortedSet<>(ranges, Range.<C>rangeLexOrdering());
      }
    
      @Override
      public ImmutableSet<Range<C>> asDescendingSetOfRanges() {
        if (ranges.isEmpty()) {
          return ImmutableSet.of();
        }
        return new RegularImmutableSortedSet<>(ranges.reverse(), Range.<C>rangeLexOrdering().reverse());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Callables.java

      private Callables() {}
    
      /** Creates a {@code Callable} which immediately returns a preset value each time it is called. */
      public static <T extends @Nullable Object> Callable<T> returning(@ParametricNullness T value) {
        return () -> value;
      }
    
      /**
       * Creates an {@link AsyncCallable} from a {@link Callable}.
       *
       * <p>The {@link AsyncCallable} returns the {@link ListenableFuture} resulting from {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. cmd/xl-storage-free-version.go

    				freeEntry.DeleteMarker.MetaSys[k] = v
    			}
    		}
    		return freeEntry, true
    	}
    	return xlMetaV2Version{}, false
    }
    
    // FreeVersion returns true if j represents a free-version, false otherwise.
    func (j xlMetaV2DeleteMarker) FreeVersion() bool {
    	_, ok := j.MetaSys[ReservedMetadataPrefixLower+freeVersion]
    	return ok
    }
    
    // FreeVersion returns true if j represents a free-version, false otherwise.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. internal/config/config.go

    // Get - returns the value of a key, if not found returns empty.
    func (kvs KVS) Get(key string) string {
    	v, ok := kvs.Lookup(key)
    	if ok {
    		return v
    	}
    	return ""
    }
    
    // Delete - deletes the key if present from the KV list.
    func (kvs *KVS) Delete(key string) {
    	for i, kv := range *kvs {
    		if kv.Key == key {
    			*kvs = append((*kvs)[:i], (*kvs)[i+1:]...)
    			return
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Address.kt

     */
    class Address(
      uriHost: String,
      uriPort: Int,
      /** Returns the service that will be used to resolve IP addresses for hostnames. */
      @get:JvmName("dns") val dns: Dns,
      /** Returns the socket factory for new connections. */
      @get:JvmName("socketFactory") val socketFactory: SocketFactory,
      /** Returns the SSL socket factory, or null if this is not an HTTPS address. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. cmd/bucket-versioning.go

    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	return vc.PrefixEnabled(prefix)
    }
    
    // Suspended suspended versioning?
    func (sys *BucketVersioningSys) Suspended(bucket string) bool {
    	vc, err := sys.Get(bucket)
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	return vc.Suspended()
    }
    
    // PrefixSuspended returns true if the given prefix matches an excluded prefix
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/ClassPath.java

            LocationInfo that = (LocationInfo) obj;
            return home.equals(that.home) && classloader.equals(that.classloader);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return home.hashCode();
        }
    
        @Override
        public String toString() {
          return home.toString();
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            return false;
          }
          if ((i > 2) && (compareElements(getGrandparentIndex(i), i) > 0)) {
            return false;
          }
          return true;
        }
    
        // These would be static if inner classes could have static members.
    
        private int getLeftChildIndex(int i) {
          return i * 2 + 1;
        }
    
        private int getRightChildIndex(int i) {
          return i * 2 + 2;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

         * @return the command (human) name
         */
        String commandName();
    
        /**
         * Returns the logger to be used during the parsing process.
         *
         * @return the logger instance
         */
        @Nonnull
        Logger logger();
    
        /**
         * Returns the factory for creating message builders.
         *
         * @return the message builder factory
         */
        @Nonnull
        MessageBuilderFactory messageBuilderFactory();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top