- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 747 for negative (0.09 sec)
-
src/bufio/bufio_test.go
t.Fatalf("ReadRune(0x%x) got 0x%x,%d not 0x%x,%d (err=%s)", r1, nr, nbytes, r1, size, err) } } } func TestWriteInvalidRune(t *testing.T) { // Invalid runes, including negative ones, should be written as the // replacement character. for _, r := range []rune{-1, utf8.MaxRune + 1} { var buf strings.Builder w := NewWriter(&buf) w.WriteRune(r) w.Flush()
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Feb 07 01:08:54 UTC 2025 - 51.6K bytes - Viewed (0) -
src/bufio/scan_test.go
} p[c-1] = '\n' *r -= negativeEOFReader(c) return c, nil } return -1, io.EOF } // Test that the scanner doesn't panic and returns ErrBadReadCount // on a reader that returns a negative count of bytes read (issue 38053). func TestNegativeEOFReader(t *testing.T) { r := negativeEOFReader(10) scanner := NewScanner(&r) c := 0 for scanner.Scan() { c++ if c > 1 {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
cmd/signature-v4-parser_test.go
"X-Amz-SignedHeaders", "", "X-Amz-Signature", "", }, expectedPreSignValues: preSignValues{}, expectedErrCode: ErrMalformedExpires, }, // Test case - 6. // Test case with negative X-Amz-Expires header. { inputQueryKeyVals: []string{ // valid "X-Amz-Algorithm" header. "X-Amz-Algorithm", signV4Algorithm, // valid "X-Amz-Credential" header.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:35 UTC 2025 - 27.8K bytes - Viewed (0) -
internal/s3select/jstream/decoder.go
case '0', '1', '2', '3', '4', '5', '6', '7', '8', '9': i, err := d.number() return i, Number, err case '-': if c = d.next(); c < '0' || c > '9' { return nil, Unknown, d.mkError(ErrSyntax, "in negative numeric literal") } n, err := d.number() if err != nil { return nil, Unknown, err } return -n, Number, nil case 'f': if d.remaining() < 4 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.4K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt
1F17F ; valid ; ; NV8 # 5.2 NEGATIVE SQUARED LATIN CAPITAL LETTER P 1F180..1F189 ; valid ; ; NV8 # 6.0 NEGATIVE SQUARED LATIN CAPITAL LETTER Q..NEGATIVE SQUARED LATIN CAPITAL LETTER Z
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Feb 10 11:25:47 UTC 2024 - 854.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
* number of keys without rehashing. * * @param expectedKeys the expected number of distinct keys * @throws IllegalArgumentException if {@code expectedKeys} is negative */ public static <K extends @Nullable Object, V extends @Nullable Object> LinkedListMultimap<K, V> create(int expectedKeys) { return new LinkedListMultimap<>(expectedKeys); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 27K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
} connection.flush() cancelStreamIfNecessary() } } companion object { internal const val EMIT_BUFFER_SIZE = 16384L } /** [delta] will be negative if a settings frame initial window is smaller than the last. */ fun addBytesToWriteWindow(delta: Long) { writeBytesMaximum += delta if (delta > 0L) { notifyAll() } }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 22.4K bytes - Viewed (0) -
src/bytes/bytes_test.go
} } } const maxInt = int(^uint(0) >> 1) runTestCases("", []testCase{ 0: {"--", -2147483647, "negative"}, 1: {"", maxInt, ""}, 2: {"-", 10, ""}, 3: {"gopher", 0, ""}, 4: {"-", -1, "negative"}, 5: {"--", -102, "negative"}, 6: {string(make([]byte, 255)), int((^uint(0))/255 + 1), "overflow"}, }) const is64Bit = 1<<(^uintptr(0)>>63)/2 != 0
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Dec 23 23:54:14 UTC 2025 - 62.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
value %= divisor } case lex.LSH: p.next() shift := p.factor() if int64(shift) < 0 { p.errorf("negative left shift count") } return value << shift case lex.RSH: p.next() shift := p.term() if int64(shift) < 0 { p.errorf("negative right shift count") } if int64(value) < 0 { p.errorf("right shift of value with high bit set") }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Nov 12 03:59:40 UTC 2025 - 37.3K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
val bytes = "020132".decodeHex() assertThat(Adapters.INTEGER_AS_LONG.toDer(50L)).isEqualTo(bytes) assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(50L) } @Test fun `decode negative integer`() { val bytes = "02019c".decodeHex() assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(-100L) assertThat(Adapters.INTEGER_AS_LONG.toDer(-100L)).isEqualTo(bytes) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0)