Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 179 for var0 (0.63 sec)

  1. common/scripts/setup_env.sh

    if [[ "${1}" == "envfile" ]]; then
      # ! does a variable-variable https://stackoverflow.com/a/10757531/374797
      for var in "${VARS[@]}"; do
        echo "${var}"="${!var}"
      done
    else
      for var in "${VARS[@]}"; do
        # shellcheck disable=SC2163
        export "${var}"
      done
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. chainable_api.go

    			tx.Statement.AddClause(clause.Select{
    				Distinct:   db.Statement.Distinct,
    				Expression: clause.Expr{SQL: v, Vars: args},
    			})
    		} else if strings.Count(v, "@") > 0 && len(args) > 0 {
    			tx.Statement.AddClause(clause.Select{
    				Distinct:   db.Statement.Distinct,
    				Expression: clause.NamedExpr{SQL: v, Vars: args},
    			})
    		} else {
    			tx.Statement.Selects = []string{v}
    
    			for _, arg := range args {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. cluster/gce/upgrade.sh

    # $1: The name of node
    #
    # Assumed vars:
    #   PROJECT
    #   ZONE
    function get-node-os() {
      gcloud compute ssh "$1" \
        --project "${PROJECT}" \
        --zone "${ZONE}" \
        --command \
        "cat /etc/os-release | grep \"^ID=.*\" | cut -c 4-"
    }
    
    # Assumed vars:
    #   KUBE_VERSION
    #   NODE_SCOPES
    #   NODE_INSTANCE_PREFIX
    #   PROJECT
    #   ZONE
    #
    # Vars set:
    #   KUBE_PROXY_TOKEN
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    			return nil, err
    		}
    
    		// Determine architecture from file name if possible.
    		var arch string
    		var archDef *asmArch
    		for _, a := range arches {
    			if strings.HasSuffix(fname, "_"+a.name+".s") {
    				arch = a.name
    				archDef = a
    				break
    			}
    		}
    
    		lines := strings.SplitAfter(string(content), "\n")
    		var (
    			fn                 *asmFunc
    			fnName             string
    			abi                string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. src/expvar/expvar_test.go

    	"strconv"
    	"sync"
    	"sync/atomic"
    	"testing"
    )
    
    // RemoveAll removes all exported variables.
    // This is for tests only.
    func RemoveAll() {
    	vars.keysMu.Lock()
    	defer vars.keysMu.Unlock()
    	for _, k := range vars.keys {
    		vars.m.Delete(k)
    	}
    	vars.keys = nil
    }
    
    func TestNil(t *testing.T) {
    	RemoveAll()
    	val := Get("missing")
    	if val != nil {
    		t.Errorf("got %v, want nil", val)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	z, ok := objectAPI.(*erasureServerPools)
    	if !ok {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    
    	var args dsync.LockArgs
    	var lockers []dsync.NetLocker
    	for _, path := range strings.Split(vars["paths"], ",") {
    		if path == "" {
    			continue
    		}
    		args.Resources = append(args.Resources, path)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  7. src/go/types/typestring.go

    	w.byte('(')
    	if tup != nil {
    		for i, v := range tup.vars {
    			if i > 0 {
    				w.byte(',')
    			}
    			// parameter names are ignored for type identity and thus type hashes
    			if w.ctxt == nil && v.name != "" && w.paramNames {
    				w.string(v.name)
    				w.byte(' ')
    			}
    			typ := v.typ
    			if variadic && i == len(tup.vars)-1 {
    				if s, ok := typ.(*Slice); ok {
    					w.string("...")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. migrator/migrator.go

    		constraint, table := m.GuessConstraintInterfaceAndTable(stmt, name)
    		if constraint != nil {
    			vars := []interface{}{clause.Table{Name: table}}
    			if stmt.TableExpr != nil {
    				vars[0] = stmt.TableExpr
    			}
    			sql, values := constraint.Build()
    			return m.DB.Exec("ALTER TABLE ? ADD "+sql, append(vars, values...)...).Error
    		}
    		return nil
    	})
    }
    
    // DropConstraint drop constraint
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  9. src/go/types/stmt.go

    	rhs := [2]Type{key, val}     // key, val may be nil
    
    	rangeOverInt := isInteger(x.typ)
    
    	if isDef {
    		// short variable declaration
    		var vars []*Var
    		for i, lhs := range lhs {
    			if lhs == nil {
    				continue
    			}
    
    			// determine lhs variable
    			var obj *Var
    			if ident, _ := lhs.(*identType); ident != nil {
    				// declare new variable
    				name := identName(ident)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java

                    || entry.getKey().equals("TERM_SESSION_ID")
                    || entry.getKey().equals("ITERM_SESSION_ID")) {
                    continue;
                }
                vars.put(entry.getKey(), entry.getValue());
            }
            return vars;
        }
    
        public boolean isIbmJvm() {
            for (String vendorProperty : VENDOR_PROPERTIES) {
                if (System.getProperties().containsKey(vendorProperty)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:57:34 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top