Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 235 for fakePC (0.11 sec)

  1. src/runtime/libfuzzer.go

    	libfuzzerCallTraceIntCmp(&__sanitizer_cov_trace_const_cmp1, uintptr(arg0), uintptr(arg1), uintptr(fakePC))
    }
    
    //go:nosplit
    func libfuzzerTraceConstCmp2(arg0, arg1 uint16, fakePC uint) {
    	fakePC = fakePC % retSledSize
    	libfuzzerCallTraceIntCmp(&__sanitizer_cov_trace_const_cmp2, uintptr(arg0), uintptr(arg1), uintptr(fakePC))
    }
    
    //go:nosplit
    func libfuzzerTraceConstCmp4(arg0, arg1 uint32, fakePC uint) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 23 01:12:02 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  2. src/internal/fuzz/trace.go

    func libfuzzerTraceCmp1(arg0, arg1 uint8, fakePC uint)  {}
    func libfuzzerTraceCmp2(arg0, arg1 uint16, fakePC uint) {}
    func libfuzzerTraceCmp4(arg0, arg1 uint32, fakePC uint) {}
    func libfuzzerTraceCmp8(arg0, arg1 uint64, fakePC uint) {}
    
    func libfuzzerTraceConstCmp1(arg0, arg1 uint8, fakePC uint)  {}
    func libfuzzerTraceConstCmp2(arg0, arg1 uint16, fakePC uint) {}
    func libfuzzerTraceConstCmp4(arg0, arg1 uint32, fakePC uint) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 00:12:53 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  3. src/runtime/libfuzzer_amd64.s

    	MOVQ    $ret_sled<>(SB), BX
    	// Load the address of the i'th return instruction from the return sled.
    	// The index is given in the fakePC argument.
    	ADDQ    R8, BX
    	PUSHQ   BX
    	// Call the original function with the fakePC return address on the stack.
    	// Function arguments arg0 and arg1 are passed in the registers specified
    	// by the x64 calling convention.
    	JMP     AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 04:57:07 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. cni/pkg/plugin/cnieventclient_test.go

    	ContainerID: "bbb-eee-www",
    }
    
    var (
    	fakeIP                 = net.ParseIP("99.9.9.9")
    	fakeGW                 = net.ParseIP("88.9.9.9")
    	fakeIDX                = 0
    	fakePrevResultIPConfig = cniv1.IPConfig{
    		Interface: &fakeIDX,
    		Address: net.IPNet{
    			IP: fakeIP,
    		},
    		Gateway: fakeGW,
    	}
    )
    
    func TestPushCNIAddEventSucceed(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/fakes_test.go

    	return nil
    }
    
    // fakeNs is a mock struct for testing
    type fakeNs struct {
    	closed *atomic.Bool
    	fd     uintptr
    	inode  uint64
    }
    
    func newFakeNs(fd uintptr) *fakeNs {
    	// the fake inode is the fd! magic.
    	return &fakeNs{closed: &atomic.Bool{}, fd: fd, inode: uint64(fd)}
    }
    
    func newFakeNsInode(fd uintptr, inode uint64) *fakeNs {
    	return &fakeNs{closed: &atomic.Bool{}, fd: fd, inode: inode}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. pkg/proxy/conntrack/fake.go

    func NewFake() *FakeInterface {
    	fake := &FakeInterface{}
    	fake.Reset()
    	return fake
    }
    
    // Reset clears fake's sets/maps
    func (fake *FakeInterface) Reset() {
    	fake.ClearedIPs = sets.New[string]()
    	fake.ClearedPorts = sets.New[int]()
    	fake.ClearedNATs = make(map[string]string)
    	fake.ClearedPortNATs = make(map[int]string)
    }
    
    // ClearEntriesForIP is part of Interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 04:15:49 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. pkg/test/framework/components/environment/kube/fake.go

    	IDValue     string
    }
    
    func (f FakeEnvironment) ID() resource.ID {
    	return resource.FakeID(f.IDValue)
    }
    
    func (f FakeEnvironment) IsMultiCluster() bool {
    	return false
    }
    
    func (f FakeEnvironment) IsMultiNetwork() bool {
    	return false
    }
    
    func (f FakeEnvironment) EnvironmentName() string {
    	if len(f.Name) == 0 {
    		return "fake"
    	}
    	return f.Name
    }
    
    func (f FakeEnvironment) AllClusters() cluster.Clusters {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock/fake.go

    // Sleep returns after the given duration has passed.
    // Sleep must only be invoked in a goroutine that is counted
    // in the Fake's associated GoRoutineCounter.
    // Unlike the base FakeClock's Sleep, this method does not itself advance the clock
    // but rather leaves that up to other actors (e.g., Run).
    func (fec *Fake) Sleep(duration time.Duration) {
    	doneCh := make(chan struct{})
    	fec.EventAfterDuration(func(time.Time) {
    		fec.clientWG.Add(1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  9. pkg/kube/multicluster/fake.go

    // limitations under the License.
    
    package multicluster
    
    import (
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/kube"
    )
    
    type Fake struct {
    	handlers []handler
    }
    
    func (f *Fake) registerHandler(h handler) {
    	f.handlers = append(f.handlers, h)
    }
    
    func (f *Fake) Add(id cluster.ID, client kube.Client, stop chan struct{}) {
    	for _, handler := range f.handlers {
    		handler.clusterAdded(&Cluster{
    			ID:            id,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. pkg/kubelet/container/testing/os.go

    // Hostname is a fake call that returns nil.
    func (f *FakeOS) Hostname() (name string, err error) {
    	return f.HostName, nil
    }
    
    // Chtimes is a fake call that returns nil.
    func (*FakeOS) Chtimes(path string, atime time.Time, mtime time.Time) error {
    	return nil
    }
    
    // Pipe is a fake call that returns nil.
    func (*FakeOS) Pipe() (r *os.File, w *os.File, err error) {
    	return nil, nil, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 13:37:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top