- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,435 for constant (0.09 sec)
-
src/cmd/asm/internal/asm/expr_test.go
{"3>>-4", "negative right shift count"}, {"3>>(1<<63)", "negative right shift count"}, {"(1<<63)>>2", "right shift of value with high bit set"}, {"(1<<62)>>2", ""}, {`'\x80'`, "illegal UTF-8 encoding for character constant"}, {"(23*4", "missing closing paren"}, {")23*4", "unexpected ) evaluating expression"}, {"18446744073709551616", "value out of range"}, } func TestBadExpr(t *testing.T) { for i, test := range badExprTests {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/base/CaseFormat.java
UPPER_CAMEL(CharMatcher.inRange('A', 'Z'), "") { @Override String normalizeWord(String word) { return firstCharOnlyToUpper(word); } }, /** Java and C++ constant naming convention, e.g., "UPPER_UNDERSCORE". */ UPPER_UNDERSCORE(CharMatcher.is('_'), "_") { @Override String normalizeWord(String word) { return Ascii.toUpperCase(word); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 15 22:14:00 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
// Happy path: values() returns all constants in declaration order @Test @DisplayName("values() returns all declared constants in order") void valuesContainsAllInOrder() { RequestParam[] values = RequestParam.values(); assertNotNull(values, "values() must not return null"); assertEquals(4, values.length, "There must be exactly 4 constants"); assertArrayEquals(
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
void testNullProtocolId() { // Protocol ID is a constant in transform header, not settable // This test is not applicable - the protocol ID is always TRANSFORM_PROTOCOL_ID assertTrue(true); } @Test @DisplayName("Should handle invalid protocol ID length") void testInvalidProtocolIdLength() { // Protocol ID is a constant in transform header, not settable
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
if p.have(scanner.Float) { if prefix != '$' { p.errorf("floating-point constant must be an immediate") } a.Type = obj.TYPE_FCONST a.Val = p.floatExpr() // fmt.Printf("FCONST %s\n", obj.Dconv(&emptyProg, 0, a)) p.expectOperandEnd() return } if p.have(scanner.String) { if prefix != '$' { p.errorf("string constant must be an immediate") return }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 14 15:13:11 UTC 2025 - 37.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/pseudo_test.go
{"DATA", "0", "expect two operands for DATA"}, {"DATA", "(0), 1", "expect /size for DATA argument"}, {"DATA", "@B(SB)/4,0", "expected '(', found B"}, // Issue 23580. {"DATA", "·A(SB)/4,0", "DATA value must be an immediate constant or address"}, {"DATA", "·B(SB)/4,$0", ""}, {"DATA", "·C(SB)/5,$0", "bad int size for DATA argument: 5"}, {"DATA", "·D(SB)/5,$0.0", "bad float size for DATA argument: 5"},
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
verify(tree).send(eq(request), isNull()); } @ParameterizedTest(name = "send with single param: {0}") @EnumSource(RequestParam.class) @DisplayName("send handles each RequestParam enum constant") void send_eachRequestParam_isAccepted(RequestParam param) throws Exception { // Arrange: stub per-call return to ensure interaction with the exact enum
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/cmd/cgo/doc.go
constant. It can do this by reading object files. If cgo has decided that t1 is a type, v2 and v3 are variables or functions, and i4, i5 are integer constants, u6 is an unsigned integer constant, and f7 and f8 are float constants, and s9 and s10 are string constants, it generates: <preamble> __typeof__(t1) *__cgo__1; __typeof__(v2) *__cgo__2; __typeof__(v3) *__cgo__3; __typeof__(i4) *__cgo__4;
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Dec 11 23:57:34 UTC 2024 - 44K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
} } assertEquals("Should have exactly one serialVersionUID", 1, serialVersionUIDCount); assertTrue("Should have many label constants", labelConstantCount > 100); } /** * Test that label constant values match their field names */ public void test_labelConstantValueMatchesName() throws Exception { Field[] fields = FessLabels.class.getDeclaredFields();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
return bytes; } @Override boolean equalsSameBits(HashCode that) { // We don't use MessageDigest.isEqual() here because its contract does not guarantee // constant-time evaluation (no short-circuiting). if (this.bytes.length != that.getBytesInternal().length) { return false; } boolean areEqual = true;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.6K bytes - Viewed (0)