Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for rtmap (0.1 sec)

  1. pkg/kubelet/cm/cgroup_manager_linux.go

    func NewCgroupName(base CgroupName, components ...string) CgroupName {
    	for _, component := range components {
    		// Forbit using "_" in internal names. When remapping internal
    		// names to systemd cgroup driver, we want to remap "-" => "_",
    		// so we forbid "_" so that we can always reverse the mapping.
    		if strings.Contains(component, "/") || strings.Contains(component, "_") {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/subr.go

    		}
    	}
    
    	// 5. src is the predeclared identifier nil and dst is a nillable type.
    	if src.Kind() == types.TNIL {
    		switch dst.Kind() {
    		case types.TPTR,
    			types.TFUNC,
    			types.TMAP,
    			types.TCHAN,
    			types.TINTER,
    			types.TSLICE:
    			return ir.OCONVNOP, ""
    		}
    	}
    
    	// 6. rule about untyped constants - already converted by DefaultLit.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  3. src/internal/abi/type.go

    	KeySize    uint8  // size of key slot
    	ValueSize  uint8  // size of elem slot
    	BucketSize uint16 // size of bucket
    	Flags      uint32
    }
    
    // Note: flag values must match those used in the TMAP case
    // in ../cmd/compile/internal/reflectdata/reflect.go:writeType.
    func (mt *MapType) IndirectKey() bool { // store ptr to key instead of key itself
    	return mt.Flags&1 != 0
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/func.go

    			base.Errorf("len larger than cap in make(%v)", t)
    			n.SetType(nil)
    			return n
    		}
    		nn = ir.NewMakeExpr(n.Pos(), ir.OMAKESLICE, l, r)
    
    	case types.TMAP:
    		if i < len(args) {
    			l = args[i]
    			i++
    			l = Expr(l)
    			l = DefaultLit(l, types.Types[types.TINT])
    			if l.Type() == nil {
    				n.SetType(nil)
    				return n
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/controller.go

    					if err != nil {
    						return nil, fmt.Errorf("failed to find target port for %v: %v", proxy.ID, err)
    					}
    				} else {
    					// most likely a VM - we assume the WorkloadEntry won't remap any ports
    					portNum = port.TargetPort.IntValue()
    				}
    
    				// Dedupe the target ports here - Service might have configured multiple ports to the same target port,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/typecheck.go

    	types.TSTRING:     "string",
    	types.TPTR:        "pointer",
    	types.TUNSAFEPTR:  "unsafe.Pointer",
    	types.TSTRUCT:     "struct",
    	types.TINTER:      "interface",
    	types.TCHAN:       "chan",
    	types.TMAP:        "map",
    	types.TARRAY:      "array",
    	types.TSLICE:      "slice",
    	types.TFUNC:       "func",
    	types.TNIL:        "nil",
    	types.TIDEAL:      "untyped number",
    }
    
    func typekind(t *types.Type) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api_test.go

    			t.Errorf("Identical(%v, %v) = %t", test.x, test.y, got)
    		}
    	}
    }
    
    func TestIdenticalUnions(t *testing.T) {
    	tname := NewTypeName(nopos, nil, "myInt", nil)
    	myInt := NewNamed(tname, Typ[Int], nil)
    	tmap := map[string]*Term{
    		"int":     NewTerm(false, Typ[Int]),
    		"~int":    NewTerm(true, Typ[Int]),
    		"string":  NewTerm(false, Typ[String]),
    		"~string": NewTerm(true, Typ[String]),
    		"myInt":   NewTerm(false, myInt),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/riscv/obj.go

    				return instructionsForTLSStore(p)
    			}
    
    			// Note that the values for $off_hi and $off_lo are currently
    			// zero and will be assigned during relocation.
    			//
    			// AUIPC $off_hi, Rtmp
    			// S $off_lo, Rtmp, Rd
    			insAUIPC := &instruction{as: AAUIPC, rd: REG_TMP}
    			ins.as, ins.rd, ins.rs1, ins.rs2, ins.imm = movToStore(p.As), REG_TMP, uint32(p.From.Reg), obj.REG_NONE, 0
    			inss = []*instruction{insAUIPC, ins}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  9. src/os/exec/exec.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package exec runs external commands. It wraps os.StartProcess to make it
    // easier to remap stdin and stdout, connect I/O with pipes, and do other
    // adjustments.
    //
    // Unlike the "system" library call from C and other languages, the
    // os/exec package intentionally does not invoke the system shell and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/order.go

    				r = ir.NewConvExpr(base.Pos, ir.OCONV, nil, r)
    				r.SetType(types.Types[types.TSTRING])
    				r = typecheck.Expr(r)
    			}
    
    			n.X = o.copyExpr(r)
    
    		case k == types.TMAP:
    			if isMapClear(n) {
    				// Preserve the body of the map clear pattern so it can
    				// be detected during walk. The loop body will not be used
    				// when optimizing away the range loop to a runtime call.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top