Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 74 for valfunc (0.12 sec)

  1. src/cmd/go/testdata/script/cover_coverpkg_partial.txt

    package a
    
    import "M/f"
    
    var G int
    
    func AFunc() int {
    	G = 1
    	return f.Id()
    }
    -- a/a_test.go --
    package a
    
    import "testing"
    
    func TestA(t *testing.T) {
    	if AFunc() != 42 {
    		t.Fatalf("bad!")
    	}
    }
    -- b/b.go --
    package b
    
    import (
    	"M/a"
    	"M/d"
    )
    
    func BFunc() int {
    	return -d.FortyTwo + a.AFunc()
    }
    -- b/b_test.go --
    package b
    
    import "testing"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:12:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cover_coverprofile_multipkg.txt

    ! exists _cover_.out
    
    -- a/a.go --
    package a
    
    func init() {
    	println("package 'a' init: launch the missiles!")
    }
    
    func AFunc() int {
    	return 42
    }
    -- a/a_test.go --
    package a
    
    import "testing"
    
    func TestA(t *testing.T) {
    	if AFunc() != 42 {
    		t.Fatalf("bad!")
    	}
    }
    -- aa/aa.go --
    package aa
    
    import "M/it"
    
    func AA(y int) int {
    	c := it.Conc{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 17:02:36 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. tests/integration/security/testdata/authz/jwt.yaml.tmpl

            methods: ["GET"]
        when:
        - key: request.auth.claims[nested][non-exist]
          values: ["valueC"]
      - to:
        - operation:
            paths: ["/nested-key2"]
            methods: ["GET"]
        when:
        - key: request.auth.claims[nested][key2]
          values: ["valueC"]
      - to:
        - operation:
            paths: ["/nested-2-key1"]
            methods: ["GET"]
        when:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/integTest/resources/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest/sortsOptionsInAlphabeticOrder/build.gradle

        public void setValueB(boolean value) {
        }
    
        @Option(option = "valueA", description = "descA")
        public void setValueA(boolean value) {
        }
    
        @Option(option = "valueC", description = "descC")
        public void setValueC(boolean value) {
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 15:17:44 UTC 2018
    - 475 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/testx.go

    			trace := strings.Split(goroutine, "\n")
    			// look for the expected function in the stack
    			for i := 0; i < depth; i++ {
    				if badFunc != "" && strings.Contains(trace[1+2*i], badFunc) {
    					t.Errorf("bad stack: found %s in the stack:\n%s", badFunc, goroutine)
    					return
    				}
    				if strings.Contains(trace[1+2*i], wantFunc) {
    					return
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. tests/common/jwt/jwt_token_test.go

    			},
    		},
    		{
    			name:  "TokenIssuer1NestedClaims2",
    			token: TokenIssuer1WithNestedClaims2,
    			wantClaims: map[string]any{
    				"nested": map[string]any{
    					"key2": "valueC",
    					"nested-2": map[string]any{
    						"key2": "valueC",
    					},
    				},
    				"iss": "******@****.***",
    				"sub": "sub-1",
    				"exp": 4757608018.0,
    			},
    		},
    		{
    			name:  "TokenIssuer2",
    			token: TokenIssuer2,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/mlir_passthrough_op.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s | FileCheck %s
    
    # CHECK:"tf.MlirPassthroughOp"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/egressselector/egress_selector_test.go

    func TestEgressSelector(t *testing.T) {
    	testcases := []struct {
    		name     string
    		input    *apiserver.EgressSelectorConfiguration
    		services []struct {
    			egressType     EgressType
    			validateDialer func(dialer utilnet.DialFunc, s *fakeEgressSelection) (bool, error)
    			lookupError    *string
    			dialerError    *string
    		}
    		expectedError *string
    	}{
    		{
    			name: "direct",
    			input: &apiserver.EgressSelectorConfiguration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 26 22:41:29 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  9. pkg/util/filesystem/filesystem.go

    	ReadFile(filename string) ([]byte, error)
    	TempDir(dir, prefix string) (string, error)
    	TempFile(dir, prefix string) (File, error)
    	ReadDir(dirname string) ([]os.DirEntry, error)
    	Walk(root string, walkFn filepath.WalkFunc) error
    }
    
    // File is an interface that we can use to mock various filesystem operations typically
    // accessed through the File object from the "os" package
    type File interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 01:02:46 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. test/noinit.go

    	bytes                     = []byte("hello, world")
    	four, five                = 4, 5
    	x, y                      = 0.1, "hello"
    	nilslice   []byte         = nil
    	nilmap     map[string]int = nil
    	nilfunc    func()         = nil
    	nilchan    chan int       = nil
    	nilptr     *byte          = nil
    )
    
    var a = [3]int{1001, 1002, 1003}
    var s = S{1101, 1102, 1103}
    var c = []int{1201, 1202, 1203}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 17:57:36 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top