Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 295 for relocs (0.16 sec)

  1. pkg/kubelet/container/os.go

    	Rename(oldpath, newpath string) error
    }
    
    // RealOS is used to dispatch the real system level operations.
    type RealOS struct{}
    
    // MkdirAll will call os.MkdirAll to create a directory.
    func (RealOS) MkdirAll(path string, perm os.FileMode) error {
    	return os.MkdirAll(path, perm)
    }
    
    // Symlink will call os.Symlink to create a symbolic link.
    func (RealOS) Symlink(oldname string, newname string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/tagroot.go

    			leafm = true
    		}
    
    		if len(leavesToAdd)+len(rootsToAdd) == 0 {
    			continue
    		}
    
    		var newLocs []*profile.Location
    		newLocs = append(newLocs, leavesToAdd...)
    		newLocs = append(newLocs, s.Location...)
    		newLocs = append(newLocs, rootsToAdd...)
    		s.Location = newLocs
    	}
    	return
    }
    
    // formatLabelValues returns all the string and numeric labels in Sample, with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/issue53888_test.go

    			t.Errorf("got %f allocs, want 0", n)
    		}
    		type S []byte
    
    		s := make(S, n)
    		g := func() {
    			s = append(s[:0], make(S, n)...)
    		}
    		if n := testing.AllocsPerRun(10, g); n > 0 {
    			t.Errorf("got %f allocs, want 0", n)
    		}
    		h := func() {
    			s = append(s[:0], make([]byte, n)...)
    		}
    		if n := testing.AllocsPerRun(10, h); n > 0 {
    			t.Errorf("got %f allocs, want 0", n)
    		}
    		i := func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 12:18:20 UTC 2022
    - 1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/conc_alloc_test.go

    			}
    		} else if f64RelDiff(alloc, allocs[idx]) > fpSlack {
    			t.Fatalf("For requiredSum=%v, %s classes=%#+v got solution %v, %v in which item %d got alloc %v should be %v (which is proportional to its target) but is not", requiredSum, style, classes, allocs, fairProp, idx, allocs[idx], alloc)
    		}
    	}
    	t.Logf("For requiredSum=%v, %s classes=%#+v got solution %v, %v", requiredSum, style, classes, allocs, fairProp)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 18:17:27 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  5. pkg/cache/bench.baseline

    BenchmarkLRUGetConcurrent-8      	 1000000	      1984 ns/op	       0 B/op	       0 allocs/op
    BenchmarkLRUSet-8                	20000000	        64.7 ns/op	       0 B/op	       0 allocs/op
    BenchmarkLRUSetConcurrent-8      	 1000000	      2315 ns/op	       0 B/op	       0 allocs/op
    BenchmarkLRUGetSetConcurrent-8   	 1000000	      2299 ns/op	       0 B/op	       0 allocs/op
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loadmacho/ldmacho.go

    }
    
    func macholoadrel(m *ldMachoObj, sect *ldMachoSect) int {
    	if sect.rel != nil || sect.nreloc == 0 {
    		return 0
    	}
    	rel := make([]ldMachoRel, sect.nreloc)
    	m.f.MustSeek(m.base+int64(sect.reloff), 0)
    	buf, _, err := m.f.Slice(uint64(sect.nreloc * 8))
    	if err != nil {
    		return -1
    	}
    	for i := uint32(0); i < sect.nreloc; i++ {
    		r := &rel[i]
    		p := buf[i*8:]
    		r.addr = m.e.Uint32(p)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 18:45:57 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/mips/asm.go

    	}
    
    	return val, 0, false
    }
    
    func archrelocvariant(*ld.Target, *loader.Loader, loader.Reloc, sym.RelocVariant, loader.Sym, int64, []byte) int64 {
    	return -1
    }
    
    func extreloc(target *ld.Target, ldr *loader.Loader, r loader.Reloc, s loader.Sym) (loader.ExtReloc, bool) {
    	switch r.Type() {
    	case objabi.R_ADDRMIPS, objabi.R_ADDRMIPSU:
    		return ld.ExtrelocViaOuterSym(ldr, r, s), true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. maven-core/src/test/resources-project-builder/complete-model/w-parent/sub/pom.xml

          <name>docs</name>
        </site>
        <downloadUrl>https://project.url/download</downloadUrl>
        <relocation>
          <groupId>reloc-gid</groupId>
          <artifactId>reloc-aid</artifactId>
          <version>reloc-version</version>
          <message>project-reloc-msg</message>
        </relocation>
      </distributionManagement>
    
      <modules>
        <module>sub</module>
      </modules>
    
      <properties>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 29 19:02:56 UTC 2020
    - 8.8K bytes
    - Viewed (0)
  9. src/sync/oncefunc_test.go

    	calls := 0
    	f := sync.OnceFunc(func() { calls++ })
    	allocs := testing.AllocsPerRun(10, f)
    	if calls != 1 {
    		t.Errorf("want calls==1, got %d", calls)
    	}
    	if allocs != 0 {
    		t.Errorf("want 0 allocations per call, got %v", allocs)
    	}
    }
    
    func TestOnceValue(t *testing.T) {
    	calls := 0
    	f := sync.OnceValue(func() int {
    		calls++
    		return calls
    	})
    	allocs := testing.AllocsPerRun(10, func() { f() })
    	value := f()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loong64/asm.go

    	}
    
    	return val, 0, false
    }
    
    func archrelocvariant(*ld.Target, *loader.Loader, loader.Reloc, sym.RelocVariant, loader.Sym, int64, []byte) int64 {
    	return -1
    }
    
    func extreloc(target *ld.Target, ldr *loader.Loader, r loader.Reloc, s loader.Sym) (loader.ExtReloc, bool) {
    	switch r.Type() {
    	case objabi.R_LOONG64_ADDR_HI,
    		objabi.R_LOONG64_ADDR_LO,
    		objabi.R_LOONG64_GOT_HI,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top