Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 321 for Alignment (0.16 sec)

  1. pkg/cache/ttlCache.go

    // See use of SetFinalizer below for an explanation of this weird composition
    type ttlWrapper struct {
    	*ttlCache
    }
    
    type ttlCache struct {
    	// baseTimeNanos must be at start of struct to ensure 64bit alignment for atomics on
    	// 32bit architectures. See also: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	baseTimeNanos     int64
    	entries           sync.Map
    	stats             Stats
    	defaultExpiration time.Duration
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

       * process it; all should produce the same answer, the only difference should be the number of
       * process()/processRemaining() invocations, due to alignment.
       */
      @AndroidIncompatible // slow. TODO(cpovirk): Maybe just reduce iterations under Android.
      public void testExhaustive() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ppc64/ssa.go

    		// eliminates some offset and alignment checking in the rules file.
    
    		fromAddr := obj.Addr{Type: obj.TYPE_MEM, Reg: v.Args[0].Reg()}
    		ssagen.AddAux(&fromAddr, v)
    
    		genAddr := false
    
    		switch fromAddr.Name {
    		case obj.NAME_EXTERN, obj.NAME_STATIC:
    			// Special case for a rule combines the bytes of gostring.
    			// The v alignment might seem OK, but we don't want to load it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  4. tensorflow/c/tf_tensor.cc

              0) {
        // TF_STRING and TF_RESOURCE tensors have a different representation in
        // TF_Tensor than they do in tensorflow::Tensor. So a copy here is a waste
        // (any alignment requirements will be taken care of by TF_TensorToTensor
        // and TF_TensorFromTensor).
        //
        // Other types have the same representation, so copy only if it is safe to
        // do so.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/S390X.rules

    	(MOVDload  [off1+off2] {mergeSym(sym1,sym2)} base mem)
    (MOVWZload  [off1] {sym1} (MOVDaddr <t> [off2] {sym2} base) mem) && is32Bit(int64(off1)+int64(off2)) && canMergeSym(sym1, sym2) && (base.Op != OpSB || (t.IsPtr() && t.Elem().Alignment()%4 == 0 && (off1+off2)%4 == 0)) =>
    	(MOVWZload  [off1+off2] {mergeSym(sym1,sym2)} base mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  6. src/syscall/route_bsd.go

    		// access to routing facilities.
    		salign = 8
    	} else if runtime.GOOS == "freebsd" {
    		// In the case of kern.supported_archs="amd64 i386",
    		// we need to know the underlying kernel's
    		// architecture because the alignment for routing
    		// facilities are set at the build time of the kernel.
    		if freebsdConfArch == "amd64" {
    			salign = 8
    		}
    	}
    	if salen == 0 {
    		return salign
    	}
    	return (salen + salign - 1) & ^(salign - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/devicemanager/topology_hints.go

    	}
    
    	return deviceHints
    }
    
    func (m *ManagerImpl) deviceHasTopologyAlignment(resource string) bool {
    	// If any device has Topology NUMANodes available, we assume they care about alignment.
    	for _, device := range m.allDevices[resource] {
    		if device.Topology != nil && len(device.Topology.Nodes) > 0 {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/riscv/asm_test.go

    	cmd.Env = append(os.Environ(), "GOARCH=riscv64", "GOOS=linux")
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Errorf("Failed to assemble: %v\n%s", err, out)
    	}
    	// The expected instruction sequence after alignment:
    	//	FENCE
    	//	NOP
    	//	FENCE
    	//	RET
    	want := "0f 00 f0 0f 13 00 00 00 0f 00 f0 0f 67 80 00 00"
    	if !strings.Contains(string(out), want) {
    		t.Errorf("PCALIGN test failed - got %s\nwant %s", out, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 01:50:18 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/06-publishing/publishing_gradle_module_metadata.adoc

    - consistent selection of <<cross_project_publications.adoc#targeting-different-platforms,platform-specific dependencies>>
    - native <<dependency_version_alignment.adoc#version_alignment, dependency version alignment>>
    - automatically getting dependencies for specific <<feature_variants.adoc#feature_variants,features of your library>>
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 18:45:05 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  10. src/runtime/mpagealloc_64bit.go

    		need := summaryRangeToSumAddrRange(l, needIdxBase, needIdxLimit)
    
    		// Prune need down to what needs to be newly mapped. Some parts of it may
    		// already be mapped by what inUse describes due to page alignment requirements
    		// for mapping. Because this function will never be asked to remap the same
    		// memory twice, it should never be possible to prune in such a way that causes
    		// need to be split.
    		if inUseIndex > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 03 11:00:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top