Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 414 for fakePC (0.16 sec)

  1. pkg/kubelet/cm/cpumanager/cpu_manager_test.go

    			t.Errorf("CPU Manager Allocate() error (%v). expected error: %v but got: %v",
    				testCase.description, testCase.expAllocateErr, err)
    		}
    
    		mgr.AddContainer(pod, container, "fakeID")
    		_, _, err = mgr.containerMap.GetContainerRef("fakeID")
    		if !reflect.DeepEqual(err, testCase.expAddContainerErr) {
    			t.Errorf("CPU Manager AddContainer() error (%v). expected error: %v but got: %v",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

                activeThreads--
                startNextTask()
              }
            }
          }
        }
      }
    
      /**
       * This blocking queue hooks into a fake clock rather than using regular JVM timing for functions
       * like [poll]. It is only usable within task faker tasks.
       */
      private inner class TaskFakerBlockingQueue<T>(
        val delegate: BlockingQueue<T>,
      ) : AbstractQueue<T>(), BlockingQueue<T> {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    		}
    
    	case asmArray:
    		tu := t.Underlying().(*types.Array)
    		elem := tu.Elem()
    		// Calculate offset of each element array.
    		fields := []*types.Var{
    			types.NewVar(token.NoPos, nil, "fake0", elem),
    			types.NewVar(token.NoPos, nil, "fake1", elem),
    		}
    		offsets := arch.sizes.Offsetsof(fields)
    		elemoff := int(offsets[1])
    		for i := 0; i < int(tu.Len()); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant.mlir

    // RUN: tf-opt %s -tfl-raise-custom-ops="test-raise-tf-targets=tf.FakeQuantWithMinMaxVarsPerChannel,tf.FakeQuantWithMinMaxVars" -tfl-prepare-tf=use-fake-quant-num-bits=true | FileCheck --check-prefix LOBIT --dump-input=always %s
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
    
    // CHECK-LABEL: fakeQuantPerChannelForActivation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. pkg/kubelet/runonce_test.go

    		mirrorPodClient:  podtest.NewFakeMirrorClient(),
    		podManager:       podManager,
    		podWorkers:       &fakePodWorkers{},
    		os:               &containertest.FakeOS{},
    		containerRuntime: fakeRuntime,
    		reasonCache:      NewReasonCache(),
    		clock:            clock.RealClock{},
    		kubeClient:       &fake.Clientset{},
    		hostname:         testKubeletHostname,
    		nodeName:         testKubeletHostname,
    		runtimeState:     newRuntimeState(time.Second),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 06:59:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    	}
    	fakeStatsSlice := []*volume.Metrics{containerLogStats0, containerLogStats1}
    	fakeOS := &containertest.FakeOS{}
    
    	freeRootfsInodes := rootfsInodesFree
    	totalRootfsInodes := rootfsInodes
    	rootfs := cadvisorapiv2.FsInfo{
    		Capacity:   rootfsCapacity,
    		Available:  rootfsAvailable,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. pkg/kubemark/hollow_kubelet.go

    		RemoteRuntimeService:      runtimeService,
    		RemoteImageService:        imageService,
    		CAdvisorInterface:         cadvisorInterface,
    		Cloud:                     nil,
    		OSInterface:               &containertest.FakeOS{},
    		ContainerManager:          containerManager,
    		VolumePlugins:             volumePlugins(),
    		TLSOptions:                nil,
    		OOMAdjuster:               oom.NewFakeOOMAdjuster(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go

    	assert.Equal(t, thirtySeconds, delay)
    }
    
    func TestInhibitShutdown(t *testing.T) {
    	var fakeFd uint32 = 42
    
    	bus := DBusCon{
    		SystemBus: &fakeSystemDBus{
    			fakeDBusObject: &fakeDBusObject{
    				bodyValue: fakeFd,
    			},
    		},
    	}
    
    	fdLock, err := bus.InhibitShutdown()
    	assert.Equal(t, InhibitLock(fakeFd), fdLock)
    	assert.NoError(t, err)
    }
    
    func TestReloadLogindConf(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 29 19:50:06 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant-4bit.mlir

    // RUN: tf-opt %s -tfl-raise-custom-ops="test-raise-tf-targets=tf.FakeQuantWithMinMaxVarsPerChannel,tf.FakeQuantWithMinMaxVars" -tfl-prepare-tf=use-fake-quant-num-bits=true | FileCheck --check-prefix LOBIT --dump-input=always %s
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
    
    // CHECK-LABEL: fakeQuantPerChannelForActivation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 22K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/runtime/runtime_fake_test.go

    	return fakeReturns.res, fakeReturns.err
    }
    
    func (fake *fakeImpl) PullImageReturns(res string, err error) {
    	fake.pullImageReturns = struct {
    		res string
    		err error
    	}{res, err}
    }
    
    func (fake *fakeImpl) RemovePodSandbox(context.Context, cri.RuntimeService, string) error {
    	fakeReturns := fake.removePodSandboxReturns
    	return fakeReturns.res
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top