- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 419 for negate (0.06 seconds)
-
tensorflow/c/c_api_experimental.cc
TF_ShapeAndType& shape = shape_list->items[index]; DCHECK(shape.dims == nullptr) << "Shape at " << index << " is already set!"; DCHECK(num_dims >= 0) << "Number of dimensions cannot be negative!"; shape.num_dims = num_dims; shape.dims = new int64_t[num_dims]; memcpy(shape.dims, dims, sizeof(int64_t) * num_dims); } void TF_ShapeAndTypeListSetUnknownShape(TF_ShapeAndTypeList* shape_list,
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 29.4K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
assertEquals(0, request.threshold()); } @Test public void testThresholdWithNegative() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); // Negative threshold should be accepted (though may not make sense) request.threshold(-1); assertEquals(-1, request.threshold()); } @Test public void testThresholdWithLargeValue() {Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Mon Nov 24 03:10:07 GMT 2025 - 20.5K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
try { robotsTxt = robotsTxtHelper.parse(in); } finally { CloseableUtil.closeQuietly(in); } // Negative crawl-delay should be converted to 0 assertNotNull(robotsTxt); assertEquals(0, robotsTxt.getCrawlDelay("TestBot")); } public void testParse_floatingPointCrawlDelay() {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 20.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
assertEquals("smb://dfs-server/dfs-share" + l.getUNCPath().replace('\\', '/'), l.getDfsPath()); assertEquals("dfs-share", l.getShare()); // Path consumed negative -> coerced to 0 when(dr.getPathConsumed()).thenReturn(-1); String unc2 = l.handleDFSReferral(dr, null); assertTrue(unc2.contains("dfs/path") || unc2.contains("dfs\\path")); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
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()
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0) -
cmd/object-api-listobjects_test.go
// Testing on empty bucket, that is, bucket without any objects in it (14). {"empty-bucket", "", "", "", 0, ListObjectsInfo{}, nil, true}, // Setting maxKeys to negative value (15-16). {"empty-bucket", "", "", "", -1, ListObjectsInfo{}, nil, true}, {"empty-bucket", "", "", "", 1, ListObjectsInfo{}, nil, true}, // Setting maxKeys to a very large value (17).
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 76.1K bytes - Click Count (0) -
docs/pt/docs/advanced/settings.md
//// /// tip | Dica Se você quer algo rápido para copiar e colar, não use este exemplo, use o último abaixo. /// Então, quando você cria uma instância dessa classe `Settings` (neste caso, no objeto `settings`), o Pydantic vai ler as variáveis de ambiente sem diferenciar maiúsculas de minúsculas; assim, uma variável em maiúsculas `APP_NAME` ainda será lida para o atributo `app_name`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13K bytes - Click Count (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 {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (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.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:35 GMT 2025 - 27.8K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.19.md
- The `DefaultIngressClass` feature is now GA. The `--feature-gate` parameter will be removed in 1.20. ([#91957](https://github.com/kubernetes/kubernetes/pull/91957), [@cmluciano](https://github.com/cmluciano)) [SIG API Machinery, Apps, Network and Testing]
Created: Fri Dec 26 09:05:12 GMT 2025 - Last Modified: Wed Jan 05 05:42:32 GMT 2022 - 489.7K bytes - Click Count (0)