Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 165 for oldData (0.18 sec)

  1. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    			*d = Use{}
    		}
    	}
    	return nil
    }
    
    func (f *WorkFile) AddReplace(oldPath, oldVers, newPath, newVers string) error {
    	return addReplace(f.Syntax, &f.Replace, oldPath, oldVers, newPath, newVers)
    }
    
    func (f *WorkFile) DropReplace(oldPath, oldVers string) error {
    	for _, r := range f.Replace {
    		if r.Old.Path == oldPath && r.Old.Version == oldVers {
    			r.Syntax.markRemoved()
    			*r = Replace{}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    		backupManifestDir: backupManifestDir,
    		backupEtcdDir:     backupEtcdDir,
    		MoveFileFunc:      moveFileFunc,
    	}, nil
    }
    
    func (spm *fakeStaticPodPathManager) MoveFile(oldPath, newPath string) error {
    	return spm.MoveFileFunc(oldPath, newPath)
    }
    
    func (spm *fakeStaticPodPathManager) KubernetesDir() string {
    	return spm.kubernetesDir
    }
    
    func (spm *fakeStaticPodPathManager) PatchesDir() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/dec64Ops.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    var dec64Ops = []opData{}
    
    var dec64Blocks = []blockData{}
    
    func init() {
    	archs = append(archs, arch{
    		name:    "dec64",
    		ops:     dec64Ops,
    		blocks:  dec64Blocks,
    		generic: true,
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 365 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/version_buildvcs_git.txt

    # controlled with -buildvcs. This test focuses on Git. Other tests focus on
    # other VCS tools but may not cover common functionality.
    
    [!git] skip
    [short] skip
    env GOBIN=$WORK/gopath/bin
    env oldpath=$PATH
    cd repo/a
    
    # If there's no local repository, there's no VCS info.
    go install
    go version -m $GOBIN/a$GOEXE
    ! stdout vcs.revision
    rm $GOBIN/a$GOEXE
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    	} else {
    		*funcref = error_Renameat
    	}
    	return (*funcref)(olddirfd, oldpath, newdirfd, newpath)
    }
    
    func error_Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
    	err = ENOSYS
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func impl_Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) {
    	var _p0 *byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  6. plugin/pkg/admission/gc/gc_admission.go

    	}
    
    	if oldObj == nil {
    		return len(newMeta.GetOwnerReferences()) > 0
    	}
    	oldMeta, err := meta.Accessor(oldObj)
    	if err != nil {
    		// if we don't have objectmeta, we don't have the object reference
    		return false
    	}
    
    	// compare the old and new.  If they aren't the same, then we're trying to change an ownerRef
    	oldOwners := oldMeta.GetOwnerReferences()
    	newOwners := newMeta.GetOwnerReferences()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/decOps.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    var decOps = []opData{}
    
    var decBlocks = []blockData{}
    
    func init() {
    	archs = append(archs, arch{
    		name:    "dec",
    		ops:     decOps,
    		blocks:  decBlocks,
    		generic: true,
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 355 bytes
    - Viewed (0)
  8. pkg/test/loadbalancersim/timeseries/instance.go

    	defer ts.mutex.Unlock()
    	ts.data = append(ts.data, val)
    	ts.times = append(ts.times, t)
    }
    
    func (ts *Instance) AddAll(o *Instance) {
    	ts.mutex.Lock()
    	defer ts.mutex.Unlock()
    
    	oData, oTimes := o.Series()
    	ts.data = append(ts.data, oData...)
    	ts.times = append(ts.times, oTimes...)
    }
    
    func (ts *Instance) Data() Data {
    	ts.mutex.Lock()
    	defer ts.mutex.Unlock()
    	return ts.data.Copy()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 03 18:19:25 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. test/fixedbugs/issue15747.go

    	if err != nil {
    		return err
    	}
    	return nil
    }
    
    //go:noinline
    func f2(d []byte, n int) (odata, res []byte, e interface{}) { // ERROR "live at entry to f2: d$"
    	if n > len(d) {
    		return d, nil, &T{M: "hello"} // ERROR "live at call to newobject: d"
    	}
    	res = d[:n]
    	odata = d[n:]
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. src/runtime/pprof/mprof_test.go

    	rv.Call(nil)
    }
    
    var memoryProfilerRun = 0
    
    func TestMemoryProfiler(t *testing.T) {
    	// Disable sampling, otherwise it's difficult to assert anything.
    	oldRate := runtime.MemProfileRate
    	runtime.MemProfileRate = 1
    	defer func() {
    		runtime.MemProfileRate = oldRate
    	}()
    
    	// Allocate a meg to ensure that mcache.nextSample is updated to 1.
    	for i := 0; i < 1024; i++ {
    		memSink = make([]byte, 1024)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 16 15:20:22 UTC 2022
    - 5.3K bytes
    - Viewed (0)
Back to top