- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 6,570 for expect2 (0.21 sec)
-
src/go/parser/parser.go
} } p.error(pos, msg) } func (p *parser) expect(tok token.Token) token.Pos { pos := p.pos if p.tok != tok { p.errorExpected(pos, "'"+tok.String()+"'") } p.next() // make progress return pos } // expect2 is like expect, but it returns an invalid position // if the expected token is not found. func (p *parser) expect2(tok token.Token) (pos token.Pos) { if p.tok == tok { pos = p.pos
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0) -
pkg/kubelet/kubeletconfig/util/files/files_test.go
if c.fn != nil { errs := c.fn(fs, dir, c) if len(errs) > 0 { for _, err := range errs { utiltest.ExpectError(t, err, c.err) } // skip checking expected files if we expected errors // (usually means we didn't create file) return } c.expect(t, fs, dir) return } // just check expected files, and compare errors from c.expect to c.err
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 07 11:36:13 UTC 2022 - 11.7K bytes - Viewed (0) -
platforms/software/plugins-version-catalog/src/integTest/resources/org/gradle/catalog/expected2.toml
Tom Tresansky <******@****.***> 1697219015 -0400
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 16 12:28:14 UTC 2023 - 257 bytes - Viewed (0) -
tests/sql_builder_test.go
expected = updatedAtRe.ReplaceAllString(expected, `"updated_at"=?`) // ignore RETURNING "id" (only in PostgreSQL) returningRe := regexp.MustCompile(`(?i)RETURNING "id"`) actually = returningRe.ReplaceAllString(actually, ``) expected = returningRe.ReplaceAllString(expected, ``) actually = strings.TrimSpace(actually) expected = strings.TrimSpace(expected)
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 16.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java
} /** * Expects the given request to be made. Releases the request as soon as it is received. */ public void expect(String expectedCall) { addNonBlockingHandler(Collections.singleton(doGet(expectedCall))); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 21.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy
} /** * Expects one GET request, which fails with a 500 status code */ void expectGetBroken(String path) { expect(path, false, ['GET'], broken()) } /** * Expects one GET request, which fails with a 401 status code. */ void expectGetUnauthorized(String path) { expect(path, false, ['GET'], unauthorized()) } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 32.3K bytes - Viewed (0) -
cni/test/testdata/expected/minikube_cni.conflist.expected
Ben Leggett <******@****.***> 1716316321 -0400
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 875 bytes - Viewed (0) -
pkg/kubelet/util/manager/watch_based_manager_test.go
if !exists { if tc.expects[i].expectCount != 0 { t.Errorf("reference to %v/%v from %v should exists", expect.ns, expect.name, expect.referencedFrom) } } else if item.refMap[expect.referencedFrom] != expect.expectCount { t.Errorf("expects %v but got %v", expect.expectCount, item.refMap[expect.referencedFrom]) } } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 09 10:05:43 UTC 2023 - 17.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_invalid.mlir
func.func @empty_graph() { "tf_executor.graph" () ({ // expected-error@-1 {{'tf_executor.graph' op region #0 ('body') failed to verify constraint: region with 1 blocks}} }) : () -> () func.return } // ----- // Check that an empty graph is invalid (it needs a region). func.func @empty_graph() { "tf_executor.graph" () ({ // expected-error@-1 {{'tf_executor.graph' op expects a non-empty block}} ^entry: }) : () -> ()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 19 01:12:10 UTC 2023 - 28.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/fifo_list_test.go
verifyOrder(t, arrival, visited) } func verifyOrder(t *testing.T, expected, actual []*request) { if len(expected) != len(actual) { t.Fatalf("Expected slice length: %d, but got: %d", len(expected), len(actual)) } for i := range expected { if expected[i] != actual[i] { t.Errorf("Dequeue order mismatch, expected request: (%p), but got: (%p)", expected[i], actual[i]) } } } func walkAll(l fifo) []*request {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 28 08:48:40 UTC 2022 - 7.8K bytes - Viewed (0)