Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 225 for IsSwitch (0.23 sec)

  1. pkg/workloadapi/workload.pb.go

    			switch v := v.(*Address); i {
    			case 0:
    				return &v.state
    			case 1:
    				return &v.sizeCache
    			case 2:
    				return &v.unknownFields
    			default:
    				return nil
    			}
    		}
    		file_workloadapi_workload_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
    			switch v := v.(*Service); i {
    			case 0:
    				return &v.state
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/storage/v1alpha1/generated.pb.go

    			return fmt.Errorf("proto: CSIStorageCapacity: wiretype end group for non-group")
    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: CSIStorageCapacity: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 2 {
    				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
    			}
    			var msglen int
    			for shift := uint(0); ; shift += 7 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 76.5K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/elf.go

    	ctxt.IsELF = true
    
    	if ctxt.Arch.InFamily(sys.AMD64, sys.ARM64, sys.Loong64, sys.MIPS64, sys.PPC64, sys.RISCV64, sys.S390X) {
    		elfRelType = ".rela"
    	} else {
    		elfRelType = ".rel"
    	}
    
    	switch ctxt.Arch.Family {
    	// 64-bit architectures
    	case sys.PPC64, sys.S390X:
    		if ctxt.Arch.ByteOrder == binary.BigEndian && ctxt.HeadType != objabi.Hopenbsd {
    			ehdr.Flags = 1 /* Version 1 ABI */
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  4. src/cmd/internal/testdir/testdir_test.go

    	f, err := splitQuoted(action)
    	if err != nil {
    		t.Fatal("invalid test recipe:", err)
    	}
    	if len(f) > 0 {
    		action = f[0]
    		args = f[1:]
    	}
    
    	// TODO: Clean up/simplify this switch statement.
    	switch action {
    	case "compile", "compiledir", "build", "builddir", "buildrundir", "run", "buildrun", "runoutput", "rundir", "runindir", "asmcheck":
    		// nothing to do
    	case "errorcheckandrundir":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/certificates/v1/generated.pb.go

    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: CertificateSigningRequest: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 2 {
    				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
    			}
    			var msglen int
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  6. src/crypto/x509/x509.go

    	var ai pkix.AlgorithmIdentifier
    	var pubType PublicKeyAlgorithm
    	var defaultAlgo SignatureAlgorithm
    
    	switch pub := key.Public().(type) {
    	case *rsa.PublicKey:
    		pubType = RSA
    		defaultAlgo = SHA256WithRSA
    
    	case *ecdsa.PublicKey:
    		pubType = ECDSA
    		switch pub.Curve {
    		case elliptic.P224(), elliptic.P256():
    			defaultAlgo = ECDSAWithSHA256
    		case elliptic.P384():
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/xcoff.go

    }
    
    // xcoffGetDwarfSubtype returns the XCOFF name of the DWARF section str
    // and its subtype constant.
    func xcoffGetDwarfSubtype(str string) (string, uint32) {
    	switch str {
    	default:
    		Exitf("unknown DWARF section name for XCOFF: %s", str)
    	case ".debug_abbrev":
    		return ".dwabrev", SSUBTYP_DWABREV
    	case ".debug_info":
    		return ".dwinfo", SSUBTYP_DWINFO
    	case ".debug_frame":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/discovery/v1/generated.pb.go

    			return fmt.Errorf("proto: Endpoint: wiretype end group for non-group")
    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: Endpoint: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 2 {
    				return fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType)
    			}
    			var stringLen uint64
    			for shift := uint(0); ; shift += 7 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    	if err != nil {
    		return err
    	}
    	st := sv.Type()
    	excludedNameSet := sets.NewString(excludedNames...)
    	switch st.Kind() {
    	case reflect.Struct:
    		for i := 0; i < st.NumField(); i++ {
    			name := st.Field(i).Name
    			sf, ok := st.FieldByName(name)
    			if !ok {
    				continue
    			}
    			switch sf.Type.Kind() {
    			case reflect.Interface, reflect.Struct:
    			case reflect.Pointer:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    	if objectAPI == nil {
    		return
    	}
    
    	vars := mux.Vars(r)
    	group := vars["group"]
    	status := vars["status"]
    
    	var (
    		err       error
    		updatedAt time.Time
    	)
    	switch status {
    	case statusEnabled:
    		updatedAt, err = globalIAMSys.SetGroupStatus(ctx, group, true)
    	case statusDisabled:
    		updatedAt, err = globalIAMSys.SetGroupStatus(ctx, group, false)
    	default:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
Back to top