Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for testLogs (0.25 sec)

  1. src/cmd/go/internal/modfetch/codehost/git_test.go

    	}
    	testenv.MustHaveExecPath(t, vcsName)
    	if runtime.GOOS == "android" && strings.HasSuffix(testenv.Builder(), "-corellium") {
    		testenv.SkipFlaky(t, 59940)
    	}
    	return NewRepo(ctx, vcsName, remote)
    }
    
    func TestTags(t *testing.T) {
    	t.Parallel()
    
    	type tagsTest struct {
    		repo   string
    		prefix string
    		tags   []Tag
    	}
    
    	runTest := func(tt tagsTest) func(*testing.T) {
    		return func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle.go

    	}
    	var rules []Rule
    	for _, rule := range lc.Rules {
    		if rule.Status == Disabled {
    			continue
    		}
    		if !strings.HasPrefix(obj.Name, rule.GetPrefix()) {
    			continue
    		}
    		if !rule.Filter.TestTags(obj.UserTags) {
    			continue
    		}
    		if !obj.DeleteMarker && !rule.Filter.BySize(obj.Size) {
    			continue
    		}
    		rules = append(rules, rule)
    	}
    	return rules
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. tests/sql_builder_test.go

    	if err := row.Scan(&age); err != nil {
    		t.Fatalf("Failed to scan age, got %v", err)
    	}
    
    	if age != 20 {
    		t.Errorf("Scan with Row, age expects: %v, got %v", user2.Age, age)
    	}
    }
    
    func TestRows(t *testing.T) {
    	user1 := User{Name: "RowsUser1", Age: 1}
    	user2 := User{Name: "RowsUser2", Age: 10}
    	user3 := User{Name: "RowsUser3", Age: 20}
    	DB.Save(&user1).Save(&user2).Save(&user3)
    
    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. pkg/test/framework/features/allowlist.txt

    pkg_test_framework_integration,TestParallel/top/l1b/l2d
    plugin_ca_cert,TestPluginCACert
    profile_default,TestDocs/tasks/traffic-management/fault-injection/test.sh
    profile_default,TestDocs/tasks/traffic-management/request-routing/test.sh
    profile_default,TestDocs/tasks/traffic-management/tcp-traffic-shifting/test.sh
    profile_default,TestDocs/tasks/traffic-management/traffic-shifting/test.sh
    sds_ingress,TestMtlsGateways
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 18 18:03:23 UTC 2022
    - 103.9K bytes
    - Viewed (0)
  5. src/math/cmplx/cmath_test.go

    		}
    	}
    	for i := 0; i < len(vcConjSC); i++ {
    		if f := Conj(vcConjSC[i]); !cAlike(conjSC[i], f) {
    			t.Errorf("Conj(%g) = %g, want %g", vcConjSC[i], f, conjSC[i])
    		}
    	}
    }
    func TestCos(t *testing.T) {
    	for i := 0; i < len(vc); i++ {
    		if f := Cos(vc[i]); !cSoclose(cos[i], f, 3e-15) {
    			t.Errorf("Cos(%g) = %g, want %g", vc[i], f, cos[i])
    		}
    	}
    	for _, v := range cosSC {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 48.1K bytes
    - Viewed (0)
  6. src/text/scanner/scanner_test.go

    		if string(ch) != s.TokenText() {
    			t.Errorf("tok = %q, want %q", s.TokenText(), string(ch))
    		}
    	}
    	checkPos(t, s.Position, want)
    }
    
    func TestPos(t *testing.T) {
    	// corner case: empty source
    	s := new(Scanner).Init(strings.NewReader(""))
    	checkPos(t, s.Pos(), Position{Offset: 0, Line: 1, Column: 1})
    	s.Peek() // peek doesn't affect the position
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/ops.mlir

    // RUN: tf-opt -split-input-file -verify-diagnostics -tfl-runtime-verify %s | FileCheck %s
    
    // Unary math ops
    // -----
    
    // CHECK-LABEL: testCos
    func.func @testCos(tensor<? x f32>) -> tensor<? x f32> {
    ^bb0(%arg0: tensor<? x f32>):
      // CHECK: "tfl.cos"(%arg0)
      %0 = "tfl.cos"(%arg0): (tensor<? x f32>) -> tensor<? x f32>
      func.return %0 : tensor<? x f32>
    }
    
    // -----
    
    // test invalid Cos input
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  8. cmd/server_test.go

    	c.Assert(errorResponse.Code, code)
    	c.Assert(errorResponse.Message, description)
    	c.Assert(response.StatusCode, statusCode)
    }
    
    func runAllTests(suite *TestSuiteCommon, c *check) {
    	suite.SetUpSuite(c)
    	suite.TestCors(c)
    	suite.TestObjectDir(c)
    	suite.TestBucketPolicy(c)
    	suite.TestDeleteBucket(c)
    	suite.TestDeleteBucketNotEmpty(c)
    	suite.TestDeleteMultipleObjects(c)
    	suite.TestDeleteObject(c)
    	suite.TestNonExistentBucket(c)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
Back to top