- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for fromMap (0.21 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/NormalizingExcludeFactory.java
List<ModuleIdExclude> moduleIdExcludes = UnionOf.MODULEID.fromMap(byType); List<ModuleIdSetExclude> moduleIdSetsExcludes = UnionOf.MODULEID_SET.fromMap(byType); List<GroupExclude> groupExcludes = UnionOf.GROUP.fromMap(byType); List<GroupSetExclude> groupSetExcludes = UnionOf.GROUP_SET.fromMap(byType); List<ModuleExclude> moduleExcludes = UnionOf.MODULE.fromMap(byType);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 17.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
new EqualsTester() .addEqualityGroup( function, Functions.forMap(map, 42), SerializableTester.reserialize(function)) .addEqualityGroup(Functions.forMap(map)) .addEqualityGroup(Functions.forMap(map, null)) .addEqualityGroup(Functions.forMap(map, 43)) .testEquals(); } @J2ktIncompatible @GwtIncompatible // SerializableTester
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 16K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
Map<K, V> map) { return new FunctionForMapNoDefault<>(map); } /** * Returns a function which performs a map lookup with a default value. The function created by * this method returns {@code defaultValue} for all inputs that do not belong to the map's key * set. See also {@link #forMap(Map)}, which throws an exception in this case. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 14.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Functions.java
Map<K, V> map) { return new FunctionForMapNoDefault<>(map); } /** * Returns a function which performs a map lookup with a default value. The function created by * this method returns {@code defaultValue} for all inputs that do not belong to the map's key * set. See also {@link #forMap(Map)}, which throws an exception in this case. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 14.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td
// DivNoNan and MulNonNan op patterns. //===----------------------------------------------------------------------===// class BinaryNoNanPat<Op FromOp, Op ToOp> : Pat<(FromOp $l, $r), (TF_SelectV2Op (TF_EqualOp $r, (TF_ConstOp:$zero (GetScalarOfType<0> $r)), /*incompatible_shape_error*/ConstBoolAttrTrue),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 24.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td
// Check that two values can be broadcasted together def AreBroadcastCompatible : Constraint<CPred<"AreBroadcastCompatible($0, $1)">, "types must be broadcastable">; class DirectBinaryPat<Op FromOp, Op ToOp> : Pat<(FromOp AnyTensor:$l, AnyTensor:$r), (ToOp $l, $r, (BinBroadcastDimensions $l, $r))>; foreach fromToBinPair = [[TF_AddV2Op, CHLO_BroadcastAddOp], [TF_Atan2Op, CHLO_BroadcastAtan2Op],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 34.8K bytes - Viewed (0) -
src/net/net_fake.go
n, _, err = ffd.queue.recvfrom(ffd.readDeadline.Load(), p, true, func(from sockaddr) error { fromSA, err := from.sockaddr(syscall.AF_INET) if err != nil { return err } if fromSA == nil { return os.NewSyscallError("readFromInet4", syscall.EINVAL) } *sa = *(fromSA.(*syscall.SockaddrInet4)) return nil }) return n, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 19:24:21 UTC 2024 - 26.4K bytes - Viewed (0) -
operator/pkg/compare/compare.go
oom := make(map[string]*object.K8sObject) for name, obj := range iom { isRenamed := false for fromPat, toPat := range rnm { fromRe, err := buildResourceRegexp(strings.TrimSpace(fromPat)) if err != nil { return nil, fmt.Errorf("error building the regexp from "+ "rename-from string: %v, error: %v", fromPat, err) } if fromRe.MatchString(name) { fromList := strings.Split(name, ":")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git.go
// Either way, try a local stat before falling back to network I/O. if !didStatLocal { if info, err := r.statLocal(ctx, rev, hash); err == nil { tag, fromTag := strings.CutPrefix(ref, "refs/tags/") if fromTag && !slices.Contains(info.Tags, tag) { // The local repo includes the commit hash we want, but it is missing // the corresponding tag. Add that tag and try again.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 22:10:38 UTC 2024 - 27.4K bytes - Viewed (0) -
pilot/pkg/model/jwks_resolver.go
InlineString: jwtPubKey, }, }, } } // FakeJwks is a fake jwks, generated by following code /* fakeJwksRSAKey, _ := rsa.GenerateKey(rand.Reader, 2048) key, _ := jwk.FromRaw(fakeJwksRSAKey) rsaKey, _ := key.(jwk.RSAPrivateKey) res, _ := json.Marshal(rsaKey) fmt.Printf("{\"keys\":[ %s]}\n", string(res)) */ // it should be static across different instances and versions.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 09:47:21 UTC 2024 - 20.3K bytes - Viewed (0)