Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 765 for Sets (0.03 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

         */
        fun commonName(cn: String) =
          apply {
            this.commonName = cn
          }
    
        /** Sets the certificate's organizational unit (OU). If unset this field will be omitted. */
        fun organizationalUnit(ou: String) =
          apply {
            this.organizationalUnit = ou
          }
    
        /** Sets this certificate's serial number. If unset the serial number will be 1. */
        fun serialNumber(serialNumber: BigInteger) =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Sets;
    import com.google.common.reflect.AbstractInvocationHandler;
    import com.google.common.reflect.Invokable;
    import com.google.common.reflect.Parameter;
    import com.google.common.reflect.TypeToken;
    import java.io.Serializable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. cni/pkg/install/binaries.go

    import (
    	"os"
    	"path/filepath"
    
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // Copies/mirrors any files present in a single source dir to N number of target dirs
    // and returns a set of the filenames copied.
    func copyBinaries(srcDir string, targetDirs []string) (sets.String, error) {
    	copiedFilenames := sets.String{}
    	srcFiles, err := os.ReadDir(srcDir)
    	if err != nil {
    		return copiedFilenames, err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/podcgroupns.go

    		can extract a pod uid from it.
    		if we can, open the netns, and save a map of uid->netns-fd
    	*/
    
    	podUIDNetns := make(PodToNetns)
    	netnsObserved := sets.New[uint64]()
    
    	entries, err := fs.ReadDir(p.proc, ".")
    	if err != nil {
    		return nil, err
    	}
    
    	desiredUIDs := sets.New(maps.Keys(pods)...)
    	for _, entry := range entries {
    		// we can't break here because we need to close all the netns we opened
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SetsFilterHashSetTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Sets.newHashSet;
    
    import com.google.common.base.Predicate;
    import com.google.common.collect.FilteredCollectionsTestUtil.AbstractFilteredSetTest;
    import java.util.Set;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertBasicInvariants(striped);
        }
      }
    
      private static void assertBasicInvariants(Striped<?> striped) {
        Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks.
        // this gets the stripes with #getAt(index)
        for (int i = 0; i < striped.size(); i++) {
          Object object = striped.getAt(i);
          assertNotNull(object);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertBasicInvariants(striped);
        }
      }
    
      private static void assertBasicInvariants(Striped<?> striped) {
        Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks.
        // this gets the stripes with #getAt(index)
        for (int i = 0; i < striped.size(); i++) {
          Object object = striped.getAt(i);
          assertNotNull(object);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

    import static com.google.common.graph.Graphs.checkPositive;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.Sets;
    import com.google.common.collect.UnmodifiableIterator;
    import com.google.common.math.IntMath;
    import java.util.AbstractSet;
    import java.util.Collections;
    import java.util.Map;
    import java.util.Set;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.collect.Sets.newHashSet;
    import static com.google.common.collect.Sets.newTreeSet;
    import static com.google.common.collect.testing.SampleElements.Strings.AFTER_LAST;
    import static com.google.common.collect.testing.SampleElements.Strings.AFTER_LAST_2;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. istioctl/pkg/precheck/precheck.go

    			}
    			msgs.Add(msg.NewUnsupportedGatewayAPIVersion(r, has, gvk.KubernetesGateway.Version))
    		}
    	}
    	return msgs, nil
    }
    
    func extractCRDVersions(r *crd.CustomResourceDefinition) sets.String {
    	res := sets.New[string]()
    	for _, v := range r.Spec.Versions {
    		if v.Served {
    			res.Insert(v.Name)
    		}
    	}
    	return res
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top