Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for C2 (0.16 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. internal/grid/trace.go

    		Remote:    c.Remote,
    		Subroute:  "",
    	}
    }
    
    // subroute adds a specific subroute to the request.
    func (c *tracer) subroute(subroute string) *tracer {
    	if c == nil {
    		return nil
    	}
    	c2 := *c
    	c2.Subroute = subroute
    	return &c2
    }
    
    type tracer struct {
    	Publisher *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType]
    	TraceType madmin.TraceType
    	Prefix    string
    	Local     string
    	Remote    string
    	Subroute  string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 22:54:54 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. cmd/data-scanner-metric.go

    	}
    	val := p.actionsLatency[a].total()
    	return val
    }
    
    // setCycle updates the current cycle metrics.
    func (p *scannerMetrics) setCycle(c *currentScannerCycle) {
    	if c != nil {
    		c2 := c.clone()
    		c = &c2
    	}
    	p.cycleInfoMu.Lock()
    	p.cycleInfo = c
    	p.cycleInfoMu.Unlock()
    }
    
    // getCycle returns the current cycle metrics.
    // If not nil, the returned value can safely be modified.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  4. 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)
  5. internal/s3select/csv/reader_contrib_test.go

    			recordDelimiter: "%!",
    			fieldDelimiter:  ",",
    			sendErr:         nil,
    			header:          false,
    			wantColumns:     []string{"_1", "_2", "_3"},
    			wantFields:      "a,b,c\na2,b2,c2%\n",
    			wantErr:         io.EOF,
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(c.file, func(t *testing.T) {
    			var err error
    			var record sql.Record
    			var result bytes.Buffer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
  6. tests/preload_suits_test.go

    	DB.Migrator().DropTable(&LevelC3{}, &LevelC2{}, &LevelC1{})
    	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)
  7. src/archive/zip/reader_test.go

    0000060 00 08 00 08 03 64 3c f9 f4 89 64 48 01 00 00 b8
    0000070 01 00 00 07 00 00 00 72 2f 72 2e 7a 69 70 00 2f
    0000080 00 d0 ff c2 54 8e 57 39 00 05 00 fa ff c2 54 8e
    0000090 57 39 00 05 00 fa ff 00 05 00 fa ff 00 14 00 eb
    00000a0 ff c2 54 8e 57 39 00 05 00 fa ff 00 05 00 fa ff
    00000b0 00 14 00 eb ff 42 88 21 c4 00 00 14 00 eb ff 42
    00000c0 88 21 c4 00 00 14 00 eb ff 42 88 21 c4 00 00 14
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  8. 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
    			}
    			continue
    		}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. tests/preload_test.go

    	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{
    			EmbeddedAddress: EmbeddedAddress{Name: "a4", Country: &Country{Name: "c4"}},
    		},
    	}
    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