Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for c1 (0.12 sec)

  1. tests/callbacks_test.go

    	}{
    		{
    			callbacks: []callback{{h: c1}, {h: c2}, {h: c3}, {h: c4}, {h: c5}},
    			results:   []string{"c1", "c2", "c3", "c4", "c5"},
    		},
    		{
    			callbacks: []callback{{h: c1}, {h: c2}, {h: c3}, {h: c4}, {h: c5, before: "c4"}},
    			results:   []string{"c1", "c2", "c3", "c5", "c4"},
    		},
    		{
    			callbacks: []callback{{h: c1}, {h: c2}, {h: c3}, {h: c4, after: "c5"}, {h: c5}},
    			results:   []string{"c1", "c2", "c3", "c5", "c4"},
    		},
    		{
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue26743/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package issue26743
    
    // typedef unsigned int uint;
    // int C1(uint x) { return x; }
    import "C"
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 271 bytes
    - Viewed (0)
  3. istioctl/pkg/multicluster/remote_secret.go

    		Example: `  # Create a secret to access cluster c0's apiserver and install it in cluster c1.
      istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 \
        | kubectl --kubeconfig=c1.yaml apply -f -
    
      # Delete a secret that was previously installed in c1
      istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 \
        | kubectl --kubeconfig=c1.yaml delete -f -
    
      # Create a secret access a remote cluster with an auth plugin
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  4. istioctl/pkg/util/formatting/formatter_test.go

    	)
    	secondMsg := diag.NewMessage(
    		diag.NewMessageType(diag.Warning, "C1", "Collapse danger: %v"),
    		diag.MockResource("GrandCastle"),
    		"the castle is too old",
    	)
    
    	msgs := diag.Messages{firstMsg, secondMsg}
    	output, _ := Print(msgs, LogFormat, false)
    
    	g.Expect(output).To(Equal(
    		"Error [B1] (SoapBubble) Explosion accident: the bubble is too big\n" +
    			"Warning [C1] (GrandCastle) Collapse danger: the castle is too old",
    	))
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  5. src/bytes/bytes.go

    		}
    		c0 := sep[0]
    		c1 := sep[1]
    		i := 0
    		t := len(s) - n + 1
    		fails := 0
    		for i < t {
    			if s[i] != c0 {
    				// IndexByte is faster than bytealg.Index, so use it as long as
    				// we're not getting lots of false positives.
    				o := IndexByte(s[i+1:t], c0)
    				if o < 0 {
    					return -1
    				}
    				i += o + 1
    			}
    			if s[i+1] == c1 && Equal(s[i:i+n], sep) {
    				return i
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  6. internal/s3select/select_test.go

    		{
    			name: "select-is_not_string",
    			input: []byte(`c1,c2,c3
    1,2,3
    1,,3`),
    			query:      `select * from S3object where _2 IS NOT ''`,
    			wantResult: `{"c1":"1","c2":"2","c3":"3"}`,
    		},
    		{
    			name: "select-is_not_string",
    			input: []byte(`c1,c2,c3
    1,2,3
    1,,3`),
    			query:      `select * from S3object where _2 != '' AND _2 > 1`,
    			wantResult: `{"c1":"1","c2":"2","c3":"3"}`,
    		},
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  7. tests/preload_suits_test.go

    	if err := DB.AutoMigrate(&LevelC1{}, &LevelC2{}, &LevelC3{}); err != nil {
    		t.Error(err)
    	}
    
    	level2 := LevelC2{
    		Value: "c2",
    		LevelC1: LevelC1{
    			Value: "c1",
    		},
    	}
    	DB.Create(&level2)
    
    	want := []LevelC3{
    		{
    			Value:   "c3-1",
    			LevelC2: level2,
    		}, {
    			Value:   "c3-2",
    			LevelC2: level2,
    		},
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Mar 18 05:38:46 GMT 2022
    - 30.3K bytes
    - Viewed (0)
  8. src/cmd/cgo/ast.go

    		}
    
    		if name != n.Name.Name {
    			error_(c.Pos(), "export comment has wrong name %q, want %q", name, n.Name.Name)
    		}
    
    		doc := ""
    		for _, c1 := range n.Doc.List {
    			if c1 != c {
    				doc += c1.Text + "\n"
    			}
    		}
    
    		f.ExpFunc = append(f.ExpFunc, &ExpFunc{
    			Func:    n,
    			ExpName: name,
    			Doc:     doc,
    		})
    		break
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    		if !isError && !isErrorNote {
    			continue
    		}
    
    		c1 := strings.Index(line, ":")
    		if c1 < 0 {
    			continue
    		}
    		c2 := strings.Index(line[c1+1:], ":")
    		if c2 < 0 {
    			continue
    		}
    		c2 += c1 + 1
    
    		filename := line[:c1]
    		i, _ := strconv.Atoi(line[c1+1 : c2])
    		i--
    		if i < 0 || i >= len(names) {
    			if isError {
    				sawUnmatchedErrors = true
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. tests/preload_test.go

    	}
    
    	DB.Migrator().DropTable(&Org{}, &EmbeddedAddress{}, &Country{})
    	DB.AutoMigrate(&Org{}, &EmbeddedAddress{}, &Country{})
    
    	org := Org{
    		PostalAddress:   EmbeddedAddress{Name: "a1", Country: &Country{Name: "c1"}},
    		VisitingAddress: EmbeddedAddress{Name: "a2", Country: &Country{Name: "c2"}},
    		Address:         &EmbeddedAddress{Name: "a3", Country: &Country{Name: "c3"}},
    		NestedAddress: NestedAddress{
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top