Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 207 for INITIALIZING (0.17 sec)

  1. plugin/pkg/admission/namespace/exists/admission_test.go

    	namespace := "test"
    	mockClient := newMockClientForTest([]string{namespace})
    	handler, informerFactory, err := newHandlerForTest(mockClient)
    	if err != nil {
    		t.Errorf("unexpected error initializing handler: %v", err)
    	}
    	informerFactory.Start(wait.NeverStop)
    
    	pod := newPod(namespace)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables.cc

            "Operand idx 0 is not a tf.VarHandleOp. The initializing tensor is not "
            "saved to checkpoint.");
        return "";
      }
    
      auto assigned_value_operand = assign_var_op.getOperand(1);
      auto const_op =
          llvm::dyn_cast<mlir::TF::ConstOp>(assigned_value_operand.getDefiningOp());
      if (!const_op) {
        assign_var_op->emitRemark(
            "Operand idx 1 is not a tf.ConstOp. The initializing tensor is not "
            "saved to checkpoint.");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:36:55 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission_test.go

    		return true, nil, fmt.Errorf("nope, out of luck")
    	})
    	handler, informerFactory, err := newHandlerForTest(mockClient)
    	if err != nil {
    		t.Errorf("unexpected error initializing handler: %v", err)
    	}
    
    	stopCh := make(chan struct{})
    	defer close(stopCh)
    
    	informerFactory.Start(stopCh)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/generate_workspace.txt

    # This is a regression test for Issue #56098: Go generate
    # wasn't initializing workspace mode
    
    [short] skip
    
    go generate ./mod
    cmp ./mod/got.txt want.txt
    
    -- go.work --
    go 1.22
    
    use ./mod
    -- mod/go.mod --
    module example.com/mod
    -- mod/gen.go --
    //go:generate go run gen.go got.txt
    
    package main
    
    import "os"
    
    func main() {
        outfile := os.Args[1]
        os.WriteFile(outfile, []byte("Hello World!\n"), 0644)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 437 bytes
    - Viewed (0)
  5. docs/sts/assume-role.go

    		stsOpts.Policy = policy
    	}
    	if expiryDuration != 0 {
    		stsOpts.DurationSeconds = int(expiryDuration.Seconds())
    	}
    	li, err := cr.NewSTSAssumeRole(stsEndpoint, stsOpts)
    	if err != nil {
    		log.Fatalf("Error initializing STS Identity: %v", err)
    	}
    
    	stsEndpointURL, err := url.Parse(stsEndpoint)
    	if err != nil {
    		log.Fatalf("Error parsing sts endpoint: %v", err)
    	}
    
    	opts := &minio.Options{
    		Creds:  li,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 12 16:09:55 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. test/codegen/structs.go

    type Z2 struct {
    	a, b, c *int
    }
    
    func Zero2(t *Z2) {
    	// amd64:`MOVUPS\tX[0-9]+, \(.*\)`,`MOVQ\t\$0, 16\(.*\)`
    	// amd64:`.*runtime[.]gcWriteBarrier.*\(SB\)`
    	*t = Z2{}
    }
    
    // ------------------ //
    //    Initializing    //
    // ------------------ //
    
    type I1 struct {
    	a, b, c, d int
    }
    
    func Init1(p *I1) { // Issue #18872
    	// amd64:`MOVQ\t[$]1`,`MOVQ\t[$]2`,`MOVQ\t[$]3`,`MOVQ\t[$]4`
    	*p = I1{1, 2, 3, 4}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 923 bytes
    - Viewed (0)
  7. docs/sts/custom-token-identity.go

    		opts = append(opts, cr.CustomTokenValidityOpt(expiryDuration))
    	}
    
    	// Initialize
    	li, err := cr.NewCustomTokenCredentials(stsEndpoint, token, roleArn, opts...)
    	if err != nil {
    		log.Fatalf("Error initializing CustomToken Identity: %v", err)
    	}
    
    	v, err := li.Get()
    	if err != nil {
    		log.Fatalf("Error retrieving STS credentials: %v", err)
    	}
    
    	if displayCreds {
    		fmt.Println("Only displaying credentials:")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_platform_info_test.cc

    }
    #endif
    
    TEST_F(XlaPlatformInfoTest, BuildXlaDeviceCompilerTpuDevice) {
      DeviceType compilation_device_type = DeviceType(DEVICE_TPU_XLA_JIT);
    
      // Instead of creating/initializing a TPU device, create a dummy platform_info
      // and use a nullptr for Device for testing purposes. Only
      // XlaPlatformInfo::device_type() is needed to build the appropriate
      // XlaDeviceCompiler.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 14 15:17:12 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. src/cmd/fix/jnitype.go

    	disabled: false,
    }
    
    // Old state:
    //
    //	type jobject *_jobject
    //
    // New state:
    //
    //	type jobject uintptr
    //
    // and similar for subtypes of jobject.
    // This fix finds nils initializing these types and replaces the nils with 0s.
    func jnifix(f *ast.File) bool {
    	return typefix(f, func(s string) bool {
    		switch s {
    		case "C.jobject":
    			return true
    		case "C.jclass":
    			return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  10. maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerContextBuilder.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    /**
     * The transformerContextBuilder is responsible for initializing the TransformerContext.
     * In case rawModels are missing, it could do new buildingRequests on the ModelBuilder.
     *
     * @since 4.0.0
     */
    public interface TransformerContextBuilder {
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top