Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for pryce (0.09 sec)

  1. tests/hooks_test.go

    	// will set all product's price to last product's price + 10
    	for idx, value := range []int64{410, 410, 410} {
    		if products[idx].Price != value {
    			t.Errorf("invalid price for product #%v, expects: %v, got %v", idx, value, products[idx].Price)
    		}
    	}
    
    	products2 := []Product3{
    		{Name: "Product-1", Price: 100},
    		{Name: "Product-2", Price: 200},
    		{Name: "Product-3", Price: 300},
    	}
    
    	DB.Create(&products2)
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 18 01:20:29 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    		// Second, in the Windows process listing during go test,
    		// the test shows up as test.test.exe, not pkgname.test.exe.
    		// That second one is a drawback, but it seems a small
    		// price to pay for the test running at all.
    		// If maintaining the list of bad words is too onerous,
    		// we could just do this always on Windows.
    		for _, bad := range windowsBadWords {
    			if strings.Contains(testBinary, bad) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/check.go

    	// seen for that name, anywhere in the import graph. It is used for
    	// disambiguating package names in error messages.
    	//
    	// pkgPathMap is allocated lazily, so that we don't pay the price of building
    	// it on the happy path. seenPkgMap tracks the packages that we've already
    	// walked.
    	pkgPathMap map[string]map[string]bool
    	seenPkgMap map[*Package]bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top