Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 140 for fakePC (0.48 sec)

  1. cmd/kubeadm/app/util/apiclient/dryrunclient.go

    	fullReactorChain := append(opts.PrependReactors, defaultReactorChain...)
    	fullReactorChain = append(fullReactorChain, opts.AppendReactors...)
    
    	// Prepend the reaction chain with our reactors. Important, these MUST be prepended; not appended due to how the fake clientset works by default
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 21 09:49:59 UTC 2022
    - 10.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        class FakeOp implements Runnable {
          final int op;
    
          FakeOp(int op) {
            this.op = op;
          }
    
          @Override
          public void run() {
            callOrder.add(op);
          }
        }
    
        e.execute(new FakeOp(0));
        e.execute(new FakeOp(1));
        e.execute(new FakeOp(2));
        fakePool.runAll();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    					ImagePullPolicy: v1.PullIfNotPresent,
    				},
    			},
    		},
    	}
    
    	// Create fake sandbox and container
    	_, fakeContainers := makeAndSetFakePod(t, m, fakeRuntime, pod)
    	assert.Equal(t, len(fakeContainers), 1)
    
    	containerID := fakeContainers[0].Id
    	fakeOS := m.osInterface.(*containertest.FakeOS)
    	fakeOS.GlobFn = func(pattern, path string) bool {
    		pattern = strings.Replace(pattern, "*", ".*", -1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin_test.go

    			Containers: []corev1.Container{app, proxy},
    		},
    	}
    
    	fakeNS := &corev1.Namespace{
    		TypeMeta: metav1.TypeMeta{
    			APIVersion: "core/v1",
    			Kind:       "Namespace",
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      testNSName,
    			Namespace: "",
    			Labels:    map[string]string{},
    		},
    	}
    
    	return fakePod, fakeNS
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top