Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 413 for assignments (0.21 sec)

  1. src/go/types/resolver.go

    				// declare all variables
    				for i, name := range d.spec.Names {
    					obj := NewVar(name.Pos(), pkg, name.Name, nil)
    					lhs[i] = obj
    
    					di := d1
    					if di == nil {
    						// individual assignments
    						var init ast.Expr
    						if i < len(d.spec.Values) {
    							init = d.spec.Values[i]
    						}
    						di = &declInfo{file: fileScope, vtyp: d.spec.Type, init: init}
    					}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/regalloc.go

    				fmt.Printf(" avoid=%v", s.RegMaskString(avoid))
    			}
    			fmt.Println()
    		}
    	}
    }
    
    // A desiredState represents desired register assignments.
    type desiredState struct {
    	// Desired assignments will be small, so we just use a list
    	// of valueID+registers entries.
    	entries []desiredStateEntry
    	// Registers that other values want to be in.  This value will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/out.go

    			fatalf("%s", err)
    		}
    		if err = fexp.Close(); err != nil {
    			fatalf("%s", err)
    		}
    	}
    
    	init := gccgoInit.String()
    	if init != "" {
    		// The init function does nothing but simple
    		// assignments, so it won't use much stack space, so
    		// it's OK to not split the stack. Splitting the stack
    		// can run into a bug in clang (as of 2018-11-09):
    		// this is a leaf function, and when clang sees a leaf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. doc/go_spec.html

    IncDec statement    Assignment
    x++                 x += 1
    x--                 x -= 1
    </pre>
    
    
    <h3 id="Assignment_statements">Assignment statements</h3>
    
    <p>
    An <i>assignment</i> replaces the current value stored in a <a href="#Variables">variable</a>
    with a new value specified by an <a href="#Expressions">expression</a>.
    An assignment statement may assign a single value to a single variable, or multiple values to a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  5. src/text/template/exec.go

    }
    
    // pop pops the variable stack up to the mark.
    func (s *state) pop(mark int) {
    	s.vars = s.vars[0:mark]
    }
    
    // setVar overwrites the last declared variable with the given name.
    // Used by variable assignments.
    func (s *state) setVar(name string, value reflect.Value) {
    	for i := s.mark() - 1; i >= 0; i-- {
    		if s.vars[i].name == name {
    			s.vars[i].value = value
    			return
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  6. ChangeLog.md

    - [`KT-28759`](https://youtrack.jetbrains.com/issue/KT-28759) No not-null smartcast from direct assignment if it's split into declaration and value assignment
    - [`KT-28760`](https://youtrack.jetbrains.com/issue/KT-28760) No not-null smartcast from direct assignment of `this`
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:14:23 UTC 2024
    - 292.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/expand_calls.go

    	return mem
    }
    
    // decomposeAsNecessary converts a value (perhaps an aggregate) passed to a call or returned by a function,
    // into the appropriate sequence of stores and register assignments to transmit that value in a given ABI, and
    // returns the current memory after this convert/rewrite (it may be the input memory, perhaps stores were needed.)
    // 'pos' is the source position all this is tied to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/expressionInfoProvider/readWriteAccess/assignment.kt

    Anna Kozlova <******@****.***> 1709677574 +0100
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 08 22:12:25 UTC 2024
    - 72 bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/expressionInfoProvider/readWriteAccess/assignment.txt

    Anna Kozlova <******@****.***> 1709677574 +0100
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 08 22:12:25 UTC 2024
    - 40 bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/parser.go

    		// which turns an expression into an assignment. Provide
    		// a more explicit error message in that case to prevent
    		// further confusion.
    		var str string
    		if as, ok := s.(*AssignStmt); ok && as.Op == 0 {
    			// Emphasize complex Lhs and Rhs of assignment with parentheses to highlight '='.
    			str = "assignment " + emphasize(as.Lhs) + " = " + emphasize(as.Rhs)
    		} else {
    			str = String(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top