Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for cc (0.16 sec)

  1. internal/grid/grid_test.go

    	c := time.After(after)
    	cc := make(chan struct{})
    	go func() {
    		select {
    		case <-cc:
    			return
    		case <-c:
    			buf := make([]byte, 1<<20)
    			stacklen := runtime.Stack(buf, true)
    			fmt.Printf("=== Timeout, assuming deadlock ===\n*** goroutine dump...\n%s\n*** end\n", string(buf[:stacklen]))
    			os.Exit(2)
    		}
    	}()
    	return func() {
    		close(cc)
    	}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  2. tests/customize_field_test.go

    	expected := "foo"
    	now := time.Now()
    	cc := CustomizeColumn{ID: 666, Name: expected, Date: &now}
    
    	if count := DB.Create(&cc).RowsAffected; count != 1 {
    		t.Error("There should be one record be affected when create record")
    	}
    
    	var cc1 CustomizeColumn
    	DB.First(&cc1, "mapped_name = ?", "foo")
    
    	if cc1.Name != expected {
    		t.Errorf("Failed to query CustomizeColumn")
    	}
    
    	cc.Name = "bar"
    	DB.Save(&cc)
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Sep 11 09:33:31 GMT 2020
    - 6.9K bytes
    - Viewed (0)
  3. istioctl/pkg/kubeinject/kubeinject.go

    }
    
    func (e ExternalInjector) Inject(pod *corev1.Pod, deploymentNS string) ([]byte, error) {
    	cc := e.clientConfig
    	if cc == nil {
    		return nil, nil
    	}
    	var address string
    	if cc.URL != nil {
    		address = *cc.URL
    	}
    	var certPool *x509.CertPool
    	if len(cc.CABundle) > 0 {
    		certPool = x509.NewCertPool()
    		certPool.AppendCertsFromPEM(cc.CABundle)
    	} else {
    		var err error
    		certPool, err = x509.SystemCertPool()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  4. istioctl/pkg/version/version.go

    				})
    			case "type.googleapis.com/envoy.service.status.v3.ClientConfig":
    				cc := statusv3.ClientConfig{}
    				err := resource.UnmarshalTo(&cc)
    				if err != nil {
    					return nil, fmt.Errorf("could not unmarshal Node: %w", err)
    				}
    				node := cc.Node
    				pi = append(pi, istioVersion.ProxyInfo{
    					ID:           node.Id,
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  5. internal/event/target/kafka.go

    	config.Producer.Return.Errors = true
    	config.Producer.RequiredAcks = 1
    	config.Producer.Timeout = (5 * time.Second)
    	// Set Producer Compression
    	cc, ok := codecs[strings.ToLower(args.Producer.Compression)]
    	if ok {
    		config.Producer.Compression = cc
    		config.Producer.CompressionLevel = args.Producer.CompressionLevel
    	}
    
    	config.Net.ReadTimeout = (5 * time.Second)
    	config.Net.DialTimeout = (5 * time.Second)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/arm64.go

    			arm64SpecialOperand[opd.String()] = opd
    		}
    
    		// Handle some special cases.
    		specialMapping := map[string]arm64.SpecialOperand{
    			// The internal representation of CS(CC) and HS(LO) are the same.
    			"CS": arm64.SPOP_HS,
    			"CC": arm64.SPOP_LO,
    		}
    		for s, opd := range specialMapping {
    			arm64SpecialOperand[s] = opd
    		}
    	}
    	if opd, ok := arm64SpecialOperand[name]; ok {
    		return opd
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  7. src/cmd/cgo/doc.go

    When cross-compiling, you must specify a C cross-compiler for cgo to
    use. You can do this by setting the generic CC_FOR_TARGET or the
    more specific CC_FOR_${GOOS}_${GOARCH} (for example, CC_FOR_linux_arm)
    environment variable when building the toolchain using make.bash,
    or you can set the CC environment variable any time you run the go tool.
    
    The CXX_FOR_TARGET, CXX_FOR_${GOOS}_${GOARCH}, and CXX
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  8. src/archive/zip/reader_test.go

    0000070 2e 4c 6e a5 60 45 02 62 81 95 b6 94 9e 9e 77 e7
    0000080 d0 43 b6 f8 71 df 96 3c e7 a4 69 ce bf cf e9 79
    0000090 ce ef 79 3f bf f1 31 db b6 bb 31 76 92 e7 f3 07
    00000a0 8b fc 9c ca cc 08 cc cb cc 5e d2 1c 88 d9 7e bb
    00000b0 4f bb 3a 3f 75 f1 5d 7f 8f c2 68 67 77 8f 25 ff
    00000c0 84 e2 93 2d ef a4 95 3d 71 4e 2c b9 b0 87 c3 be
    00000d0 3d f8 a7 60 24 61 c5 ef ae 9e c8 6c 6d 4e 69 c8
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/arch/arm.go

    	"PW": arm.C_WBIT | arm.C_PBIT,
    	"WP": arm.C_WBIT | arm.C_PBIT,
    }
    
    var armSCOND = map[string]uint8{
    	"EQ":  arm.C_SCOND_EQ,
    	"NE":  arm.C_SCOND_NE,
    	"CS":  arm.C_SCOND_HS,
    	"HS":  arm.C_SCOND_HS,
    	"CC":  arm.C_SCOND_LO,
    	"LO":  arm.C_SCOND_LO,
    	"MI":  arm.C_SCOND_MI,
    	"PL":  arm.C_SCOND_PL,
    	"VS":  arm.C_SCOND_VS,
    	"VC":  arm.C_SCOND_VC,
    	"HI":  arm.C_SCOND_HI,
    	"LS":  arm.C_SCOND_LS,
    	"GE":  arm.C_SCOND_GE,
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  10. cmd/bucket-replication.go

    		putOpts.ContentLanguage = lang
    	}
    	if disp, ok := lkMap.Lookup(xhttp.ContentDisposition); ok {
    		putOpts.ContentDisposition = disp
    	}
    	if cc, ok := lkMap.Lookup(xhttp.CacheControl); ok {
    		putOpts.CacheControl = cc
    	}
    	if mode, ok := lkMap.Lookup(xhttp.AmzObjectLockMode); ok {
    		rmode := minio.RetentionMode(mode)
    		putOpts.Mode = rmode
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 112K bytes
    - Viewed (1)
Back to top