Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,489 for expect2 (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/core-configuration/kotlin-dsl/src/test/resources/org/gradle/kotlin/dsl/accessors/tasks/PrintAccessors-expected-output.txt

    Paul Merlin <******@****.***> 1690890212 +0200
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  9. pkg/kubelet/status/status_manager_test.go

    			if tc.updateFn != nil {
    				tc.updateFn(copied)
    			}
    			expected := copied.DeepCopy()
    
    			syncer.TerminatePod(copied)
    			status := expectPodStatus(t, syncer, tc.pod.DeepCopy())
    			if tc.expectFn != nil {
    				tc.expectFn(t, status)
    				return
    			}
    			if !reflect.DeepEqual(expected.Status, status) {
    				diff := cmp.Diff(expected.Status, status)
    				if len(diff) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    		} else {
    			uss.t.Errorf("%s last=%v got SeatDemand average of %v but expected %v", uss.name, last, got, expected)
    		}
    		if got, expected := float64NaNTo0(subjectResults.Deviation), float64NaNTo0(checkResults.Deviation); float64close(got, expected) {
    			uss.t.Logf("%s last=%v got SeatDemand standard deviation of %v and expected %v", uss.name, last, got, expected)
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
Back to top