Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 599 for reflect (0.2 sec)

  1. okcurl/src/main/resources/META-INF/native-image/okhttp3/okcurl/reflect-config.json

    Jesse Wilson <******@****.***> 1703114827 -0500
    Json
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4 bytes
    - Viewed (0)
  2. okhttp/src/main/resources/META-INF/native-image/okhttp/okhttp/reflect-config.json

    Jesse Wilson <******@****.***> 1703114827 -0500
    Json
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 438 bytes
    - Viewed (0)
  3. statement.go

    			}
    
    			writer.WriteString(subdb.Statement.SQL.String())
    			stmt.Vars = subdb.Statement.Vars
    		default:
    			switch rv := reflect.ValueOf(v); rv.Kind() {
    			case reflect.Slice, reflect.Array:
    				if rv.Len() == 0 {
    					writer.WriteString("(NULL)")
    				} else if rv.Type().Elem() == reflect.TypeOf(uint8(0)) {
    					stmt.Vars = append(stmt.Vars, v)
    					stmt.DB.Dialector.BindVarTo(writer, stmt, v)
    				} else {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  4. schema/field.go

    		}
    	}
    
    	if field.Size == 0 {
    		switch reflect.Indirect(fieldValue).Kind() {
    		case reflect.Int, reflect.Int64, reflect.Uint, reflect.Uint64, reflect.Float64:
    			field.Size = 64
    		case reflect.Int8, reflect.Uint8:
    			field.Size = 8
    		case reflect.Int16, reflect.Uint16:
    			field.Size = 16
    		case reflect.Int32, reflect.Uint32, reflect.Float32:
    			field.Size = 32
    		}
    	}
    
    	// setup permission
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  5. callbacks/preload.go

    			if reflectFieldValue.Kind() == reflect.Ptr && reflectFieldValue.IsNil() {
    				reflectFieldValue.Set(reflect.New(rel.Field.FieldType.Elem()))
    			}
    
    			reflectFieldValue = reflect.Indirect(reflectFieldValue)
    			switch reflectFieldValue.Kind() {
    			case reflect.Struct:
    				tx.AddError(rel.Field.Set(tx.Statement.Context, data, elem.Interface()))
    			case reflect.Slice, reflect.Array:
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Throwables.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.util.AbstractList;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import javax.annotation.CheckForNull;
    
    /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Throwables.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.util.AbstractList;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import javax.annotation.CheckForNull;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  8. logger/sql.go

    var convertibleTypes = []reflect.Type{reflect.TypeOf(time.Time{}), reflect.TypeOf(false), reflect.TypeOf([]byte{})}
    
    // RegEx matches only numeric values
    var numericPlaceholderRe = regexp.MustCompile(`\$\d+\$`)
    
    func isNumeric(k reflect.Kind) bool {
    	switch k {
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		return true
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  9. callbacks/update.go

    		assignValue = func(field *schema.Field, value interface{}) {
    		}
    	}
    
    	updatingValue := reflect.ValueOf(stmt.Dest)
    	for updatingValue.Kind() == reflect.Ptr {
    		updatingValue = updatingValue.Elem()
    	}
    
    	if !updatingValue.CanAddr() || stmt.Dest != stmt.Model {
    		switch stmt.ReflectValue.Kind() {
    		case reflect.Slice, reflect.Array:
    			if size := stmt.ReflectValue.Len(); size > 0 {
    				var isZero bool
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 05:44:55 GMT 2024
    - 9.4K bytes
    - Viewed (1)
  10. scan.go

    					}
    				}
    			}
    		}
    
    		switch reflectValue.Kind() {
    		case reflect.Slice, reflect.Array:
    			var (
    				elem        reflect.Value
    				isArrayKind = reflectValue.Kind() == reflect.Array
    			)
    
    			if !update || reflectValue.Len() == 0 {
    				update = false
    				if isArrayKind {
    					db.Statement.ReflectValue.Set(reflect.Zero(reflectValue.Type()))
    				} else {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
Back to top