Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for Murray (0.19 sec)

  1. schema/field.go

    		}
    		if field.HasDefaultValue && !skipParseDefaultValue && field.DataType == Time {
    			if t, err := now.Parse(field.DefaultValue); err == nil {
    				field.DefaultValueInterface = t
    			}
    		}
    	case reflect.Array, reflect.Slice:
    		if reflect.Indirect(fieldValue).Type().Elem() == ByteReflectType && field.DataType == "" {
    			field.DataType = Bytes
    		}
    	}
    
    	if dataTyper, ok := fieldValue.Interface().(GormDataTypeInterface); ok {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  2. internal/kms/kes.go

    		Details:    st,
    	}, nil
    }
    
    // IsLocal returns true if the KMS is a local implementation
    func (c *kesClient) IsLocal() bool {
    	return env.IsSet(EnvKMSSecretKey)
    }
    
    // List returns an array of local KMS Names
    func (c *kesClient) List() []kes.KeyInfo {
    	var kmsSecret []kes.KeyInfo
    	envKMSSecretKey := env.Get(EnvKMSSecretKey, "")
    	values := strings.SplitN(envKMSSecretKey, ":", 2)
    	if len(values) == 2 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  3. misc/cgo/gmp/gmp.go

    // making zero values useful and gmp's decision not to.
    func (z *Int) doinit() {
    	if z.init {
    		return
    	}
    	z.init = true
    	C.mpz_init(&z.i[0])
    }
    
    // Bytes returns z's representation as a big-endian byte array.
    func (z *Int) Bytes() []byte {
    	b := make([]byte, (z.Len()+7)/8)
    	n := C.size_t(len(b))
    	C.mpz_export(unsafe.Pointer(&b[0]), &n, 1, 1, 1, 0, &z.i[0])
    	return b[0:n]
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  4. operator/cmd/mesh/install.go

    	operatorVer "istio.io/istio/operator/version"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/labels"
    	"istio.io/istio/pkg/kube"
    )
    
    type InstallArgs struct {
    	// InFilenames is an array of paths to the input IstioOperator CR files.
    	InFilenames []string
    	// ReadinessTimeout is maximum time to wait for all Istio resources to be ready. wait must be true for this setting
    	// to take effect.
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    			panic("should never see untyped nil type")
    		default:
    			switch s {
    			case "byte":
    				s = "uint8"
    			case "rune":
    				s = "int32"
    			}
    		}
    		buf.WriteString(s)
    
    	case *types.Array:
    		fmt.Fprintf(buf, "[%d]", typ.Len())
    		w.writeType(buf, typ.Elem())
    
    	case *types.Slice:
    		buf.WriteString("[]")
    		w.writeType(buf, typ.Elem())
    
    	case *types.Struct:
    		buf.WriteString("struct")
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  6. cmd/data-usage-cache.go

    			res[szInt.name] = splCount
    		case humanize.KiByte <= szInt.start && szInt.end <= humanize.MiByte-1:
    			// intervals that fall within the spl interval above; they
    			// appear earlier in this array of intervals, see
    			// ObjectsHistogramIntervals
    			splCount += count
    			fallthrough
    		default:
    			res[szInt.name] = count
    		}
    	}
    	return res
    }
    
    // add a version count to the histogram.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  7. src/cmd/cgo/gcc.go

    	"jthrowable":    "jobject",
    	"jstring":       "jobject",
    	"jarray":        "jobject",
    	"jbooleanArray": "jarray",
    	"jbyteArray":    "jarray",
    	"jcharArray":    "jarray",
    	"jshortArray":   "jarray",
    	"jintArray":     "jarray",
    	"jlongArray":    "jarray",
    	"jfloatArray":   "jarray",
    	"jdoubleArray":  "jarray",
    	"jobjectArray":  "jarray",
    	"jweak":         "jobject",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. tests/create_test.go

    		}
    	})
    
    	t.Run("Array", func(t *testing.T) {
    		pets := [...]Pet{{
    			Name: "PolymorphicHasOne-Array-1",
    			Toy:  Toy{Name: "Toy-PolymorphicHasOne-Array-1"},
    		}, {
    			Name: "PolymorphicHasOne-Array-2",
    			Toy:  Toy{Name: "Toy-PolymorphicHasOne-Array-2"},
    		}, {
    			Name: "PolymorphicHasOne-Array-3",
    			Toy:  Toy{Name: "Toy-PolymorphicHasOne-Array-3"},
    		}}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  9. callbacks/callmethod.go

    	tx := db.Session(&gorm.Session{NewDB: true})
    	if called := fc(db.Statement.ReflectValue.Interface(), tx); !called {
    		switch db.Statement.ReflectValue.Kind() {
    		case reflect.Slice, reflect.Array:
    			db.Statement.CurDestIndex = 0
    			for i := 0; i < db.Statement.ReflectValue.Len(); i++ {
    				if value := reflect.Indirect(db.Statement.ReflectValue.Index(i)); value.CanAddr() {
    					fc(value.Addr().Interface(), tx)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 846 bytes
    - Viewed (0)
  10. schema/utils.go

    				result := reflect.Indirect(rel.Field.ReflectValueOf(ctx, value))
    				switch result.Kind() {
    				case reflect.Struct:
    					reflectResults = reflect.Append(reflectResults, result.Addr())
    				case reflect.Slice, reflect.Array:
    					for i := 0; i < result.Len(); i++ {
    						if elem := result.Index(i); elem.Kind() == reflect.Ptr {
    							reflectResults = reflect.Append(reflectResults, elem)
    						} else {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Aug 19 13:35:14 GMT 2023
    - 5.5K bytes
    - Viewed (0)
Back to top