Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 7,815 for expect2 (0.34 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. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_proto_test.go

    	}
    	for _, testCase := range table {
    		var inputQ Quantity
    		expectQ := MustParse(testCase.expect)
    		inputByteArray, _ := testCase.input.Marshal()
    		inputQ.Unmarshal(inputByteArray)
    		if inputQ.Cmp(expectQ) != 0 {
    			t.Errorf("Expected: %v, Actual: %v", inputQ, expectQ)
    		}
    	}
    	// Test when i is {0,0}
    	table2 := []struct {
    		input  Quantity
    		expect *inf.Dec
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 25 07:12:11 UTC 2017
    - 3.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/test/testdata/fp_test.go

    	expect64(t, s+":c", c, expected)
    	expect64(t, s+":d", d, expected)
    	expect64(t, s+":e", e, expected)
    	expect64(t, s+":f", f, expected)
    	expect64(t, s+":g", g, expected)
    }
    
    func expectAll32(t *testing.T, s string, expected, a, b, c, d, e, f, g, h, i float32) {
    	expect32(t, s+":a", a, expected)
    	expect32(t, s+":b", b, expected)
    	expect32(t, s+":c", c, expected)
    	expect32(t, s+":d", d, expected)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 35K bytes
    - Viewed (0)
  7. fuzzing/fuzzingserver-update-expected.sh

    cd "$SCRIPT_DIR"
    
    if [ ! -f target/fuzzingserver-actual.txt ]; then
      echo "File not found. Did you run the Autobahn test script?"
      exit 1
    fi
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Mar 26 02:01:32 UTC 2019
    - 275 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/compress/flate/testdata/huffman-zero.dyn.expect

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 17 bytes
    - Viewed (0)
Back to top