Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for testLib (0.37 sec)

  1. src/cmd/go/go_test.go

    	if !*testWork {
    		defer removeAll(testTmpDir)
    	}
    
    	testGOCACHE, _ = cache.DefaultDir()
    	if testenv.HasGoBuild() {
    		testBin = filepath.Join(testTmpDir, "testbin")
    		if err := os.Mkdir(testBin, 0777); err != nil {
    			log.Fatal(err)
    		}
    		testGo = filepath.Join(testBin, "go"+exeSuffix)
    		gotool, err := testenv.GoTool()
    		if err != nil {
    			fmt.Fprintln(os.Stderr, "locating go tool: ", err)
    			os.Exit(2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. cmd/import-boss/main.go

    		// Discard packages which represent the <pkg>.test result.  They don't seem
    		// to hold any interesting source info.
    		if strings.HasSuffix(pkg.PkgPath, ".test") {
    			klog.V(3).Infof("ignoring testbin pkg: %q", pkg.PkgPath)
    			continue
    		}
    
    		// Packages which end in "_test" have tests which use the special "_test"
    		// package suffix.  Packages which have test files must be tests.  Don't
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. src/cmd/dist/test.go

    	// this list.
    	registerStdTestSpecially := map[string]bool{
    		// testdir can run normally as part of "go test std cmd", but because
    		// it's a very large test, we register is specially as several shards to
    		// enable better load balancing on sharded builders. Ideally the build
    		// system would know how to shard any large test package.
    		"cmd/internal/testdir": true,
    	}
    
    	// Fast path to avoid the ~1 second of `go list std cmd` when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          BigInteger halfEven = BigIntegerMath.sqrt(x, HALF_EVEN);
          // Now figure out what rounding mode we should behave like (it depends if FLOOR was
          // odd/even).
          boolean floorWasOdd = BigIntegerMath.sqrt(x, FLOOR).testBit(0);
          assertEquals(BigIntegerMath.sqrt(x, floorWasOdd ? HALF_UP : HALF_DOWN), halfEven);
        }
      }
    
      @GwtIncompatible // TODO
      @AndroidIncompatible // slow
      public void testDivNonZero() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:58:33 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. src/encoding/base32/base32_test.go

    		case CorruptInputError:
    			testEqual(t, "Corruption in %q at offset %v, want %v", tc.input, int(err), tc.offset)
    		default:
    			t.Error("Decoder failed to detect corruption in", tc)
    		}
    	}
    }
    
    func TestBig(t *testing.T) {
    	n := 3*1000 + 1
    	raw := make([]byte, n)
    	const alpha = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
    	for i := 0; i < n; i++ {
    		raw[i] = alpha[i%len(alpha)]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 16:25:54 UTC 2024
    - 26K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/ops.mlir

      return %0 : tensor<1x80x1x!quant.uniform<i16:f32, 0.0066055487841367722:0>>
    }
    
    // CHECK-LABEL: testSin
    func.func @testSin(tensor<? x f32>) -> tensor<? x f32> {
    ^bb0(%arg0: tensor<? x f32>):
      // CHECK: "tfl.sin"(%arg0)
      %0 = "tfl.sin"(%arg0): (tensor<? x f32>) -> tensor<? x f32>
      func.return %0 : tensor<? x f32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  7. src/net/url/url_test.go

    	u1 := new(URL)
    	err = json.Unmarshal(js, u1)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if u1.String() != u.String() {
    		t.Errorf("json decoded to: %s\nwant: %s\n", u1, u)
    	}
    }
    
    func TestGob(t *testing.T) {
    	u, err := Parse("https://www.google.com/x?y=z")
    	if err != nil {
    		t.Fatal(err)
    	}
    	var w bytes.Buffer
    	err = gob.NewEncoder(&w).Encode(u)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  8. src/crypto/x509/x509_test.go

    	}
    
    	if !slices.EqualFunc(cert.Policies, expectPolicies, OID.Equal) {
    		t.Errorf("cert.Policies = %v, want: %v", cert.Policies, expectPolicies)
    	}
    }
    
    func TestGob(t *testing.T) {
    	// Test that gob does not reject Certificate.
    	// See go.dev/issue/65633.
    	cert := new(Certificate)
    	err := gob.NewEncoder(io.Discard).Encode(cert)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
Back to top