Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for new224 (0.07 sec)

  1. src/cmd/internal/testdir/testdir_test.go

    					}
    				} else if wantError {
    					t.Fatal("unexpected success")
    				}
    			})
    		}
    	}
    }
    
    func shardMatch(name string) bool {
    	if *shards <= 1 {
    		return true
    	}
    	h := fnv.New32()
    	io.WriteString(h, name)
    	return int(h.Sum32()%uint32(*shards)) == *shard
    }
    
    func goFiles(t *testing.T, dir string) []string {
    	f, err := os.Open(filepath.Join(testenv.GOROOT(t), "test", dir))
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
Back to top