- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 61 for CONSTRAINT (0.05 sec)
-
src/test/java/jcifs/internal/AllocInfoTest.java
assertEquals(Long.MAX_VALUE, free); // Note: In real implementation, free > capacity might be invalid, // but interface doesn't enforce this constraint } @Test @DisplayName("Should handle typical file system sizes") void shouldHandleTypicalFileSystemSizes() { // Test common file system sizes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
cache.put(2, 20); cache.put(3, 30); cache.put(4, 40); cache.put(5, 50); assertEquals(null, cache.getIfPresent(10)); // Order required to remove dependence on access order / write order constraint. assertEquals(Integer.valueOf(20), cache.getIfPresent(2)); assertEquals(Integer.valueOf(30), cache.getIfPresent(3)); assertEquals(Integer.valueOf(40), cache.getIfPresent(4));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
* {@code ClassCastException} for any elements {@code e1} and {@code e2} in the multiset. If the * user attempts to add an element to the multiset that violates this constraint (for example, the * user attempts to add a string element to a set whose elements are integers), the {@code * add(Object)} call will throw a {@code ClassCastException}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.8K bytes - Viewed (0) -
api/go1.16.txt
pkg go/build/constraint, type AndExpr struct, Y Expr pkg go/build/constraint, type Expr interface, Eval(func(string) bool) bool pkg go/build/constraint, type Expr interface, String() string pkg go/build/constraint, type Expr interface, unexported methods pkg go/build/constraint, type NotExpr struct pkg go/build/constraint, type NotExpr struct, X Expr pkg go/build/constraint, type OrExpr struct
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Dec 02 16:30:41 UTC 2022 - 479.2K bytes - Viewed (0) -
src/cmd/api/main_test.go
n := typ.NumMethods() list := make([]string, n) for i := range list { list[i] = typ.Method(i).Name() } slices.Sort(list) return list } // sortedEmbeddeds returns constraint types embedded in an // interface. It does not include embedded interface types or methods. func (w *Walker) sortedEmbeddeds(typ *types.Interface) []string { n := typ.NumEmbeddeds() list := make([]string, 0, n)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Feb 20 03:25:33 UTC 2025 - 31.4K bytes - Viewed (0) -
doc/go_spec.html
</p> <pre> [P any] [S interface{ ~[]byte|string }] [S ~[]E, E any] [P Constraint[int]] [_ any] </pre> <p> Just as each ordinary function parameter has a parameter type, each type parameter has a corresponding (meta-)type which is called its <a href="#Type_constraints"><i>type constraint</i></a>. </p> <p> A parsing ambiguity arises when the type parameter list for a generic type
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue May 06 19:12:15 UTC 2025 - 286.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
/** * Parses the specified version constraint specification, for example "1.0" or "[1.0,2.0)". * <p> * Shortcut for {@code getService(VersionParser.class).parseVersionConstraint(...)}. * * @param versionConstraint the version string to parse * @return the version constraint parsed from the given string
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 36.5K bytes - Viewed (0) -
src/builtin/builtin.go
// (booleans, numbers, strings, pointers, channels, arrays of comparable types, // structs whose fields are all comparable types). // The comparable interface may only be used as a type parameter constraint, // not as the type of a variable. type comparable interface{ comparable } // iota is a predeclared identifier representing the untyped integer ordinal
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Dec 30 23:59:23 UTC 2024 - 12.8K bytes - Viewed (0) -
src/cmd/cgo/doc.go
environment variable when running the go tool: set it to 1 to enable the use of cgo, and to 0 to disable it. The go tool will set the build constraint "cgo" if cgo is enabled. The special import "C" implies the "cgo" build constraint, as though the file also said "//go:build cgo". Therefore, if cgo is disabled, files that import "C" will not be built by the go tool. (For more about build constraints
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Dec 11 23:57:34 UTC 2024 - 44K bytes - Viewed (0) -
cmd/auth-handler.go
payload, err := io.ReadAll(io.LimitReader(r.Body, maxLocationConstraintSize)) if err != nil { authZLogIf(ctx, err, logger.ErrorKind) return ErrMalformedXML } // Populate payload to extract location constraint. r.Body = io.NopCloser(bytes.NewReader(payload)) region, s3Err = parseLocationConstraint(r) if s3Err != ErrNone { return s3Err } // Populate payload again to handle it in HTTP handler.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0)