Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 112 for alignof (0.23 sec)

  1. src/runtime/stack.go

    	}
    	if n&(n-1) != 0 {
    		throw("stack size not a power of 2")
    	}
    	if stackDebug >= 1 {
    		print("stackalloc ", n, "\n")
    	}
    
    	if debug.efence != 0 || stackFromSystem != 0 {
    		n = uint32(alignUp(uintptr(n), physPageSize))
    		v := sysAlloc(uintptr(n), &memstats.stacks_sys)
    		if v == nil {
    			throw("out of memory (stackalloc)")
    		}
    		return stack{uintptr(v), uintptr(v) + uintptr(n)}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. pilot/pkg/model/sidecar.go

    }
    
    // Return filtered services through the hosts field in the egress portion of the Sidecar config.
    // Note that the returned service could be trimmed.
    // TODO: support merging services within this egress listener to align with SidecarScope's behavior.
    func (ilw *IstioEgressListenerWrapper) selectServices(services []*Service, configNamespace string, hostsByNamespace map[string]hostClassification) []*Service {
    	importedServices := make([]*Service, 0)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-generate_test.go

    		pdb := mustFindObject(t, objs, cname, name.PDBStr)
    		hpa := mustFindObject(t, objs, cname, name.HPAStr)
    		podLabels := mustGetLabels(t, deployment, "spec.template.metadata.labels")
    		// Check all selectors align
    		mustSelect(t, mustGetLabels(t, pdb, "spec.selector.matchLabels"), podLabels)
    		mustSelect(t, mustGetLabels(t, service, "spec.selector"), podLabels)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/asm6.go

    )
    
    // Instruction layout.
    
    // Loop alignment constants:
    // want to align loop entry to loopAlign-byte boundary,
    // and willing to insert at most maxLoopPad bytes of NOP to do so.
    // We define a loop entry as the target of a backward jump.
    //
    // gcc uses maxLoopPad = 10 for its 'generic x86-64' config,
    // and it aligns all jump targets, not just backward jump targets.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  5. src/runtime/runtime2.go

    	funcID    abi.FuncID // set for certain special runtime functions
    	flag      abi.FuncFlag
    	_         [1]byte // pad
    	nfuncdata uint8   // must be last, must end on a uint32-aligned boundary
    
    	// The end of the struct is followed immediately by two variable-length
    	// arrays that reference the pcdata and funcdata locations for this
    	// function.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        // "RIGHT_LEFT".
        StringRef align = op->getAttrOfType<StringAttr>("align").getValue();
        enum Alignment { kLeft, kRight };
    
        // default is RIGHT_LEFT
        Alignment superdiagonal_align = kRight;
        Alignment subdiagonal_align = kLeft;
    
        if (align == "RIGHT_LEFT") {
          superdiagonal_align = kRight;
          subdiagonal_align = kLeft;
        } else if (align == "RIGHT_RIGHT") {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  7. src/runtime/symtab.go

    	valPC uintptr // The PC at which val starts
    }
    
    // pcvalueCacheKey returns the outermost index in a pcvalueCache to use for targetpc.
    // It must be very cheap to calculate.
    // For now, align to goarch.PtrSize and reduce mod the number of entries.
    // In practice, this appears to be fairly randomly and evenly distributed.
    func pcvalueCacheKey(targetpc uintptr) uintptr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  8. cmd/server_test.go

    	getMD5 := getMD5Hash(getContent)
    
    	// Compare putContent and getContent.
    	c.Assert(putMD5, getMD5)
    }
    
    // TestGetPartialObjectMisAligned - tests get object partially miss-aligned.
    // create a large buffer of miss-aligned data and upload it.
    // then make partial range requests to while fetching it back and assert the response content.
    func (s *TestSuiteCommon) TestGetPartialObjectMisAligned(c *check) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  9. src/runtime/mgc.go

    //
    //go:linkname writeBarrier
    var writeBarrier struct {
    	enabled bool    // compiler emits a check of this before calling write barrier
    	pad     [3]byte // compiler uses 32-bit load for "enabled" field
    	alignme uint64  // guarantee alignment so that compiler can use a 32 or 64-bit load
    }
    
    // gcBlackenEnabled is 1 if mutator assists and background mark
    // workers are allowed to blacken objects. This must only be set when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/sidecar_simulation_test.go

    				if !reflect.DeepEqual(tt.telemetry[cname], gotTelemetry) {
    					t.Errorf("%v: expected telemetry services %v, got %v", cname, tt.telemetry[cname], gotTelemetry)
    				}
    
    				// simulate an actual call, this ensures we are aligned with the inbound listener configuration
    				_, _, hostname, port := model.ParseSubsetKey(cname)
    				if tt.proxy.Metadata.IstioVersion != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top