Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 319 for var0 (0.04 sec)

  1. tests/scanner_valuer_test.go

    	}
    
    	if !reflect.DeepEqual([]interface{}{"jinzhu", "POINT(100 100)"}, stmt.Vars) {
    		t.Errorf("generated vars is not equal, got %v", stmt.Vars)
    	}
    
    	stmt = dryRunDB.Model(UserWithPoint{}).Create(map[string]interface{}{
    		"Name":  "jinzhu",
    		"Point": clause.Expr{SQL: "ST_PointFromText(?)", Vars: []interface{}{"POINT(100 100)"}},
    	}).Statement
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. src/go/doc/filter.go

    		if matchDecl(td.Decl, f) {
    			n = 1
    		} else {
    			// type name doesn't match, but we may have matching consts, vars, factories or methods
    			td.Consts = filterValues(td.Consts, f)
    			td.Vars = filterValues(td.Vars, f)
    			td.Funcs = filterFuncs(td.Funcs, f)
    			td.Methods = filterFuncs(td.Methods, f)
    			n += len(td.Consts) + len(td.Vars) + len(td.Funcs) + len(td.Methods)
    		}
    		if n > 0 {
    			a[w] = td
    			w++
    		}
    	}
    	return a[0:w]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  3. src/expvar/expvar.go

    // package's init function when it creates its Vars. If the name is already
    // registered then this will log.Panic.
    func Publish(name string, v Var) {
    	if _, dup := vars.m.LoadOrStore(name, v); dup {
    		log.Panicln("Reuse of exported var name:", name)
    	}
    	vars.keysMu.Lock()
    	defer vars.keysMu.Unlock()
    	vars.keys = append(vars.keys, name)
    	slices.Sort(vars.keys)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 21:32:11 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/tuple.go

    // assignments; they are not first class types of Go.
    type Tuple struct {
    	vars []*Var
    }
    
    // NewTuple returns a new tuple for the given variables.
    func NewTuple(x ...*Var) *Tuple {
    	if len(x) > 0 {
    		return &Tuple{vars: x}
    	}
    	return nil
    }
    
    // Len returns the number variables of tuple t.
    func (t *Tuple) Len() int {
    	if t != nil {
    		return len(t.vars)
    	}
    	return 0
    }
    
    // At returns the i'th variable of tuple t.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 26 17:18:58 UTC 2021
    - 929 bytes
    - Viewed (0)
  5. clause/clause_test.go

    	}
    
    	stmt.Build(buildNames...)
    
    	if strings.TrimSpace(stmt.SQL.String()) != result {
    		t.Errorf("SQL expects %v got %v", result, stmt.SQL.String())
    	}
    
    	if !reflect.DeepEqual(stmt.Vars, vars) {
    		t.Errorf("Vars expects %+v got %v", stmt.Vars, vars)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Jun 02 02:50:38 UTC 2020
    - 1012 bytes
    - Viewed (0)
  6. statement.go

    				}
    
    				subdb.Statement.SQL.Reset()
    				subdb.Statement.Vars = stmt.Vars
    				if strings.Contains(sql, "@") {
    					clause.NamedExpr{SQL: sql, Vars: vars}.Build(subdb.Statement)
    				} else {
    					clause.Expr{SQL: sql, Vars: vars}.Build(subdb.Statement)
    				}
    			} else {
    				subdb.Statement.Vars = append(stmt.Vars, subdb.Statement.Vars...)
    				subdb.callbacks.Query().Execute(subdb)
    			}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompiler.kt

         */
        private
        fun MethodVisitor.emitApplyPluginsTo() {
            ALOAD(Vars.ProgramHost)
            ALOAD(Vars.ScriptHost)
            emitPluginRequestCollectorGetPluginRequests()
            invokeApplyPluginsTo()
        }
    
        private
        fun MethodVisitor.emitApplyBasePluginsTo() {
            ALOAD(Vars.ProgramHost)
            loadTargetOf(Project::class)
            invokeHost(
                "applyBasePluginsTo",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:45 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle-handlers.go

    	if objAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	var withUpdatedAt bool
    	if updatedAtStr := r.Form.Get("withUpdatedAt"); updatedAtStr != "" {
    		var err error
    		withUpdatedAt, err = strconv.ParseBool(updatedAtStr)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. cmd/tier-handlers.go

    	if objAPI == nil {
    		return
    	}
    	vars := mux.Vars(r)
    	scName := vars["tier"]
    
    	password := cred.SecretKey
    	reqBytes, err := madmin.DecryptData(password, io.LimitReader(r.Body, r.ContentLength))
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminConfigBadJSON, err), r.URL)
    		return
    	}
    
    	var creds madmin.TierCreds
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. cmd/acl-handlers.go

    	ctx := newContext(r, w, "PutObjectACL")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    	object, err := unescapePath(vars["object"])
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top