Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for Positions (0.46 sec)

  1. src/go/build/build.go

    	var firstFile, firstCommentFile string
    	embedPos := make(map[string][]token.Position)
    	testEmbedPos := make(map[string][]token.Position)
    	xTestEmbedPos := make(map[string][]token.Position)
    	importPos := make(map[string][]token.Position)
    	testImportPos := make(map[string][]token.Position)
    	xTestImportPos := make(map[string][]token.Position)
    	allTags := make(map[string]bool)
    	fset := token.NewFileSet()
    	for _, d := range dirs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/expr.go

    			return false
    		}
    	} else {
    		check.errorf(x, InvalidSyntaxTree, "unknown operator %s", op)
    		return false
    	}
    	return true
    }
    
    // opPos returns the position of the operator if x is an operation;
    // otherwise it returns the start position of x.
    func opPos(x syntax.Expr) syntax.Pos {
    	switch op := x.(type) {
    	case nil:
    		return nopos // don't crash
    	case *syntax.Operation:
    		return op.Pos()
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            return element
        }
    
        fun findScopesAtPosition(
            position: KtElement,
            newImports: Sequence<FqName>,
            towerContextProvider: FirTowerDataContextProvider,
            withImplicitReceivers: Boolean = true,
        ): List<FirScope>? {
            val towerDataContext = towerContextProvider.getClosestAvailableParentContext(position) ?: return null
            val nonLocalScopes = towerDataContext.nonLocalTowerDataElements
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    // If addPosition is true, add position info in the ident name.
    func (p *Package) rewriteName(f *File, r *Ref, addPosition bool) ast.Expr {
    	getNewIdent := ast.NewIdent
    	if addPosition {
    		getNewIdent = func(newName string) *ast.Ident {
    			mangledIdent := ast.NewIdent(newName)
    			if len(newName) == len(r.Name.Go) {
    				return mangledIdent
    			}
    			p := fset.Position((*r.Expr).End())
    			if p.Column == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  5. src/go/types/expr.go

    			x.mode = invalid
    			return
    		}
    
    		x.mode = commaok
    		x.typ = ch.elem
    		check.hasCallOrRecv = true
    		return
    
    	case token.TILDE:
    		// Provide a better error position and message than what check.op below would do.
    		if !allInteger(x.typ) {
    			check.error(e, UndefinedOp, "cannot use ~ outside of interface or type constraint")
    			x.mode = invalid
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  6. src/runtime/asm_amd64.s

    	MOVQ	m_p(R13), R13
    	// Get current buffer write position.
    	MOVQ	(p_wbBuf+wbBuf_next)(R13), R12	// original next position
    	ADDQ	R11, R12			// new next position
    	// Is the buffer full?
    	CMPQ	R12, (p_wbBuf+wbBuf_end)(R13)
    	JA	flush
    	// Commit to the larger buffer.
    	MOVQ	R12, (p_wbBuf+wbBuf_next)(R13)
    	// Make return value (the original next position)
    	SUBQ	R11, R12
    	MOVQ	R12, R11
    	// Restore registers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  7. cluster/gce/windows/k8s-node-setup.psm1

    # See if there's a way to fetch or construct the "management subnet" so that
    # this is not needed.
    function ConvertTo_DecimalIP
    {
      param(
        [parameter(Mandatory = $true, Position = 0)]
        [Net.IPAddress] $IPAddress
      )
    
      $i = 3; $decimal_ip = 0;
      $IPAddress.GetAddressBytes() | % {
        $decimal_ip += $_ * [Math]::Pow(256, $i); $i--
      }
      return [UInt32]$decimal_ip
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  8. src/runtime/map.go

    // and reflect/value.go to match the layout of this structure.
    type hiter struct {
    	key         unsafe.Pointer // Must be in first position.  Write nil to indicate iteration end (see cmd/compile/internal/walk/range.go).
    	elem        unsafe.Pointer // Must be in second position (see cmd/compile/internal/walk/range.go).
    	t           *maptype
    	h           *hmap
    	buckets     unsafe.Pointer // bucket ptr at hash_iter initialization time
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

                                           Value item_rank, Type result_type,
                                           PatternRewriter *rewriter) {
      // Create the start position of slice. This is done by concatenating
      // `start_index` and `partial_start_position` together.
      IntegerType shape_dtype = rewriter->getIntegerType(32);
      RankedTensorType position_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/conversion.go

    ) (*istio.HTTPRoute, *ConfigError) {
    	// TODO: implement rewrite, timeout, corspolicy, retries
    	vs := &istio.HTTPRoute{}
    	// Auto-name the route. If upstream defines an explicit name, will use it instead
    	// The position within the route is unique
    	vs.Name = obj.Namespace + "." + obj.Name + "." + strconv.Itoa(pos) // format: %s.%s.%d
    
    	for _, match := range r.Matches {
    		uri, err := createURIMatch(match)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top