Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 221 for indirect$ (0.2 sec)

  1. finisher_api.go

    func (db *DB) Save(value interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.Dest = value
    
    	reflectValue := reflect.Indirect(reflect.ValueOf(value))
    	for reflectValue.Kind() == reflect.Ptr || reflectValue.Kind() == reflect.Interface {
    		reflectValue = reflect.Indirect(reflectValue)
    	}
    
    	switch reflectValue.Kind() {
    	case reflect.Slice, reflect.Array:
    		if _, ok := tx.Statement.Clauses["ON CONFLICT"]; !ok {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/modfile.go

    		return true
    	}
    
    	for _, r := range modFile.Require {
    		if meta, ok := i.require[r.Mod]; !ok {
    			return true
    		} else if r.Indirect != meta.indirect {
    			if cfg.BuildMod == "readonly" {
    				// The module's requirements are consistent; only the "// indirect"
    				// comments that are wrong. But those are only guaranteed to be accurate
    				// after a "go mod tidy" — it's a good idea to run those before
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 17:53:40 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  3. scan.go

    			values[idx] = new(interface{})
    		}
    	}
    }
    
    func scanIntoMap(mapValue map[string]interface{}, values []interface{}, columns []string) {
    	for idx, column := range columns {
    		if reflectValue := reflect.Indirect(reflect.Indirect(reflect.ValueOf(values[idx]))); reflectValue.IsValid() {
    			mapValue[column] = reflectValue.Interface()
    			if valuer, ok := mapValue[column].(driver.Valuer); ok {
    				mapValue[column], _ = valuer.Value()
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/go/types/call.go

    			if x.mode == variable || indirect {
    				x.mode = variable
    			} else {
    				x.mode = value
    			}
    			x.typ = obj.typ
    
    		case *Func:
    			// TODO(gri) If we needed to take into account the receiver's
    			// addressability, should we report the type &(x.typ) instead?
    			check.recordSelection(e, MethodVal, x.typ, obj, index, indirect)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  5. src/encoding/json/decode.go

    			return v
    		}
    	}
    	return unquotedValue{}
    }
    
    // indirect walks down v allocating pointers as needed,
    // until it gets to a non-pointer.
    // If it encounters an Unmarshaler, indirect stops and returns that.
    // If decodingNull is true, indirect stops at the first settable pointer so it
    // can be set to nil.
    func indirect(v reflect.Value, decodingNull bool) (Unmarshaler, encoding.TextUnmarshaler, reflect.Value) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsIntegrationTest.groovy

            def higherUser = mavenRepo.module('org', 'user', '1.1').dependsOn(constrainedBase).publish()
            def otherUser = mavenRepo.module('org', 'otherUser', '1.0').dependsOn(higherUser).publish()
            mavenRepo.module('org', 'indirect', '1.0').dependsOn(user).dependsOn(otherUser).dependsOn(bom).publish()
            writeSpec {
                rootProject {
                    dependencies {
                        conf(platform('org:bom:1.0'))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-main/src/executable/resources/META-INF/LICENSE

          other entities that control, are controlled by, or are under common
          control with that entity. For the purposes of this definition,
          "control" means (i) the power, direct or indirect, to cause the
          direction or management of such entity, whether by contract or
          otherwise, or (ii) ownership of fifty percent (50%) or more of the
          outstanding shares, or (iii) beneficial ownership of such entity.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. src/encoding/xml/marshal.go

    	return "", nil, &UnsupportedTypeError{typ}
    }
    
    var ddBytes = []byte("--")
    
    // indirect drills into interfaces and pointers, returning the pointed-at value.
    // If it encounters a nil interface or pointer, indirect returns that nil value.
    // This can turn into an infinite loop given a cyclic chain,
    // but it matches the Go 1 behavior.
    func indirect(vf reflect.Value) reflect.Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  9. hack/update-vendor.sh

          jq -r '"-replace \(.Old.Path)=\(.New.Path)@\(.New.Version)"' < "${replace_json}" \
              | xargs -L 100 go mod edit -fmt
        )
      done
    
      # tidy to ensure require directives are added for indirect dependencies
      go mod tidy
    }
    
    function print_go_mod_section() {
      local directive="$1"
      local file="$2"
    
      if [ -s "${file}" ]; then
          echo "${directive} ("
          cat "$file"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. src/internal/reflectlite/all_test.go

    	NotNil(ii, t)
    
    	var fi struct {
    		x func(t *testing.T)
    	}
    	Nil(fi, t)
    	fi.x = TestIsNil
    	NotNil(fi, t)
    }
    
    // Indirect returns the value that v points to.
    // If v is a nil pointer, Indirect returns a zero Value.
    // If v is not a pointer, Indirect returns v.
    func Indirect(v Value) Value {
    	if v.Kind() != Ptr {
    		return v
    	}
    	return v.Elem()
    }
    
    func TestNilPtrValueSub(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:26:08 UTC 2023
    - 24.2K bytes
    - Viewed (0)
Back to top