- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 798 for sets (0.02 sec)
-
docs/debugging/reorder-disks/main.go
var f format err = json.Unmarshal(formatJSON, &f) if err != nil { return format{}, err } return f, nil } func getDiskLocation(f format) (string, error) { for i, set := range f.XL.Sets { for j, disk := range set { if disk == f.XL.This { return fmt.Sprintf("%d-%d", i, j), nil } } } return "", errors.New("format.json is corrupted") } func main() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java
public final class SetsFilterSortedSetTest extends AbstractFilteredSortedSetTest<SortedSet<Integer>> { @Override SortedSet<Integer> createUnfiltered(Iterable<Integer> contents) { final TreeSet<Integer> result = Sets.newTreeSet(contents); // we have to make the result not Navigable return new ForwardingSortedSet<Integer>() { @Override protected SortedSet<Integer> delegate() { return result; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 16 21:55:55 UTC 2022 - 1.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestListGenerator.java
*/ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; import java.util.List; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates sets, containing sample elements, to be tested. * * @author Kevin Bourrillion */ @GwtCompatible @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.1K bytes - Viewed (0) -
cmd/object-api-interface.go
ReplicationSourceRetentionTimestamp time.Time // set if MinIOSourceObjectRetentionTimestamp received DeletePrefix bool // set true to enforce a prefix deletion, only application for DeleteObject API, DeletePrefixObject bool // set true when object's erasure set is resolvable by object name (using getHashedSetIndex)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 21:57:20 UTC 2024 - 17.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Authenticator.kt
* should give up. * * When reactive authentication is requested by an origin web server, the response code is 401 * and the implementation should respond with a new request that sets the "Authorization" header. * * ```java * if (response.request().header("Authorization") != null) { * return null; // Give up, we've already failed to authenticate. * } *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
* * @return A <code>String</code> containing the supplied domain. */ public String getSuppliedDomain () { return this.suppliedDomain; } /** * Sets the supplied authentication domain for this message. * * @param suppliedDomain * The supplied domain for this message. */ public void setSuppliedDomain ( String suppliedDomain ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Sep 02 12:55:08 UTC 2018 - 7.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
@Override public Set<E> edgesConnecting(N nodeU, N nodeV) { Set<E> outEdgesU = outEdges(nodeU); Set<E> inEdgesV = inEdges(nodeV); return nodePairInvalidatableSet( outEdgesU.size() <= inEdgesV.size() ? unmodifiableSet(Sets.filter(outEdgesU, connectedPredicate(nodeU, nodeV))) : unmodifiableSet(Sets.filter(inEdgesV, connectedPredicate(nodeV, nodeU))), nodeU, nodeV); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 13 18:17:09 UTC 2024 - 10.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractNetwork.java
@Override public Set<E> edgesConnecting(N nodeU, N nodeV) { Set<E> outEdgesU = outEdges(nodeU); Set<E> inEdgesV = inEdges(nodeV); return nodePairInvalidatableSet( outEdgesU.size() <= inEdgesV.size() ? unmodifiableSet(Sets.filter(outEdgesU, connectedPredicate(nodeU, nodeV))) : unmodifiableSet(Sets.filter(inEdgesV, connectedPredicate(nodeV, nodeU))), nodeU, nodeV); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 13 18:17:09 UTC 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route.go
return fmt.Sprintf("%s + %d more...", ret, len(withoutPort)-maximum) } return strings.Join(withoutPort, ", ") } func unexpandDomains(domains []string) []string { unique := sets.New(domains...) shouldDelete := sets.New[string]() for _, h := range domains { stripFull := strings.TrimSuffix(h, ".svc.cluster.local") if unique.Contains(stripFull) && stripFull != h { shouldDelete.Insert(h) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 08 20:44:50 UTC 2024 - 7.2K bytes - Viewed (0) -
cmd/global-heal.go
ss.HealPriority = "high" status.HealDisks = append(status.HealDisks, disk.Endpoint) } } sortDisks(ss.Disks) status.Sets = append(status.Sets, ss) } sort.Slice(status.Sets, func(i, j int) bool { return status.Sets[i].ID < status.Sets[j].ID }) backendInfo := o.BackendInfo() status.SCParity = make(map[string]int) status.SCParity[storageclass.STANDARD] = backendInfo.StandardSCParity
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 16.3K bytes - Viewed (0)