Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 115 for ninit (0.55 sec)

  1. src/testing/testing.go

    	"unicode/utf8"
    )
    
    var initRan bool
    
    // Init registers testing flags. These flags are automatically registered by
    // the "go test" command before running test functions, so Init is only needed
    // when calling functions such as Benchmark without using "go test".
    //
    // Init is not safe to call concurrently. It has no effect if it was already called.
    func Init() {
    	if initRan {
    		return
    	}
    	initRan = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/out.go

    		defer fgcch.Close()
    		_, err = io.Copy(fexp, fgcch)
    		if err != nil {
    			fatalf("%s", err)
    		}
    		if err = fexp.Close(); err != nil {
    			fatalf("%s", err)
    		}
    	}
    
    	init := gccgoInit.String()
    	if init != "" {
    		// The init function does nothing but simple
    		// assignments, so it won't use much stack space, so
    		// it's OK to not split the stack. Splitting the stack
    		// can run into a bug in clang (as of 2018-11-09):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  3. pkg/volume/testing/testing.go

    func (f *FakeBasicVolumePlugin) ConstructVolumeSpec(ame, mountPath string) (volume.ReconstructedVolume, error) {
    	return f.Plugin.ConstructVolumeSpec(ame, mountPath)
    }
    
    func (f *FakeBasicVolumePlugin) Init(ost volume.VolumeHost) error {
    	return f.Plugin.Init(ost)
    }
    
    func (f *FakeBasicVolumePlugin) NewMounter(spec *volume.Spec, pod *v1.Pod, opts volume.VolumeOptions) (volume.Mounter, error) {
    	return f.Plugin.NewMounter(spec, pod, opts)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/expr.go

    the type (and constant value, if any) is recorded via Info.Types, if present.
    */
    
    type opPredicates map[syntax.Operator]func(Type) bool
    
    var unaryOpPredicates opPredicates
    
    func init() {
    	// Setting unaryOpPredicates in init avoids declaration cycles.
    	unaryOpPredicates = opPredicates{
    		syntax.Add: allNumeric,
    		syntax.Sub: allNumeric,
    		syntax.Xor: allInteger,
    		syntax.Not: allBoolean,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    	"k8s.io/client-go/kubernetes/fake"
    	k8stesting "k8s.io/client-go/testing"
    	"k8s.io/component-helpers/storage/volume"
    	"k8s.io/klog/v2"
    	"k8s.io/klog/v2/ktesting"
    	_ "k8s.io/klog/v2/ktesting/init"
    	"k8s.io/kubernetes/pkg/controller"
    	pvtesting "k8s.io/kubernetes/pkg/controller/volume/persistentvolume/testing"
    	"k8s.io/kubernetes/pkg/scheduler/util/assumecache"
    )
    
    var (
    	provisioner = "test-provisioner"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

      std::optional<std::string> mlir_dump_file_name_;
    
      // These flags are only used for testing purpose.
      Option<QuantMethod> quantization_method_{
          *this, "quantization-method",
          llvm::cl::init(tensorflow::quantization::QuantizationMethod::
                             METHOD_STATIC_RANGE_INT8),
          llvm::cl::desc("Choose quantization method."),
          llvm::cl::values(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  7. src/cmd/internal/testdir/testdir_test.go

    	"fixedbugs/issue7525b.go", // types2 reports init cycle error on different line - ok otherwise
    	"fixedbugs/issue7525c.go", // types2 reports init cycle error on different line - ok otherwise
    	"fixedbugs/issue7525d.go", // types2 reports init cycle error on different line - ok otherwise
    	"fixedbugs/issue7525e.go", // types2 reports init cycle error on different line - ok otherwise
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  8. src/runtime/traceback.go

    	// unwind (see the flags documentation).
    	flags unwindFlags
    }
    
    // init initializes u to start unwinding gp's stack and positions the
    // iterator on gp's innermost frame. gp must not be the current G.
    //
    // A single unwinder can be reused for multiple unwinds.
    func (u *unwinder) init(gp *g, flags unwindFlags) {
    	// Implementation note: This starts the iterator on the first frame and we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

      // references from r-values.
      RE(const RE& other) { Init(other.pattern()); }
    
      // Constructs an RE from a string.
      RE(const ::std::string& regex) { Init(regex.c_str()); }  // NOLINT
    
    #if GTEST_HAS_GLOBAL_STRING
    
      RE(const ::string& regex) { Init(regex.c_str()); }  // NOLINT
    
    #endif  // GTEST_HAS_GLOBAL_STRING
    
      RE(const char* regex) { Init(regex); }  // NOLINT
      ~RE();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/manager_test.go

    	as.Nil(err)
    	as.Nil(runContainerOpts)
    }
    
    func TestInitContainerDeviceAllocation(t *testing.T) {
    	// Requesting to create a pod that requests resourceName1 in init containers and normal containers
    	// should succeed with devices allocated to init containers reallocated to normal containers.
    	res1 := TestResource{
    		resourceName:     "domain1.com/resource1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
Back to top