Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 266 for Canonicalize (4.74 sec)

  1. pkg/credentialprovider/config_test.go

    		return
    	}
    	defer os.RemoveAll(preferredPath)
    	absDockerConfigFileLocation, err := filepath.Abs(filepath.Join(preferredPath, configJSONFileName))
    	if err != nil {
    		t.Fatalf("While trying to canonicalize %s: %v", preferredPath, err)
    	}
    
    	if _, err := os.Stat(absDockerConfigFileLocation); os.IsNotExist(err) {
    		//create test cfg file
    		fileInfo, err = os.OpenFile(absDockerConfigFileLocation, os.O_CREATE|os.O_RDWR, 0664)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 19 15:11:57 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/DefaultGradleRunner.java

                            String javaIoTmpDir = SystemProperties.getInstance().getJavaIoTmpDir();
                            rootTmpDir = javaIoTmpDir;
                        }
                        return FileUtils.canonicalize(new File(rootTmpDir));
                    });
                    return new ConstantTestKitDirProvider(temporaryFileProvider.newTemporaryFile(".gradle-test-kit"));
                }
            });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. pkg/controller/endpointslicemirroring/reconciler.go

    	// Calculate desired state.
    	d := newDesiredCalc()
    
    	numInvalidAddresses := 0
    	addressesSkipped := 0
    
    	// canonicalize the Endpoints subsets before processing them
    	subsets := endpointsv1.RepackSubsets(endpoints.Subsets)
    	for _, subset := range subsets {
    		multiKey := d.initPorts(subset.Ports)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/fuse_tpu_compile_and_execute_ops.mlir

    // RUN: tf-tfrt-opt -verify-diagnostics -split-input-file -tfrt-fuse-tpu-compile-and-execute-ops -canonicalize %s | FileCheck %s --dump-input=fail --dump-input-filter=all
    
    module attributes {tf_saved_model.semantics} {
    
    // Test fusing _TPUCompileMlirOp and TPUExecuteOp into TPUCompileMlirAndExecuteOp.
    
    // CHECK-LABEL: func private @test_fuse_tpu_ops
    func.func private @test_fuse_tpu_ops(%arg0: tensor<*xi32>, %arg1: tensor<*x!tf_type.resource>) -> tensor<*xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

        .writeDecimalLong((address[3] and 0xff).toLong())
        .readUtf8()
    }
    
    /**
     * If this is an IP address, this returns the IP address in canonical form.
     *
     * Otherwise, this performs IDN ToASCII encoding and canonicalize the result to lowercase. For
     * example this converts `☃.net` to `xn--n3h.net`, and `WwW.GoOgLe.cOm` to `www.google.com`.
     * `null` will be returned if the host cannot be ToASCII encoded or if the result contains
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

         // var <- var - mom
         (TF_AssignSubVariableOp $var_resource, $mom_new)
       ]
       >;
    
    // Same as DecomposeResourceApplyFtrlV2, with l2_shrinkage set to zero.
    // TODO(kramm): Move this pattern to canonicalize.td?
    def DecomposeResourceApplyFtrl : Pat<
      (TF_ResourceApplyFtrlOp $var, $accum, $linear, $grad, $lr, $l1, $l2,
         $lr_power, $use_locking, $multiply_linear_by_lr),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/tests/end2end.mlir

    // RUN: tfr-opt %s -tfr-decompose -tfr-raise-to-tf -canonicalize -verify-diagnostics -split-input-file | FileCheck %s
    
    //=================> User models, from GraphDef <====================
    
    // CHECK-LABEL: my_identity
    func.func @my_identity(%arg0: tensor<2x3xf32>) -> tensor<2x3xf32> {
      %0 = "tf.MyIdentity"(%arg0) : (tensor<2x3xf32>) -> tensor<2x3xf32>
      func.return %0 : tensor<2x3xf32>
    
    // CHECK-NEXT: return %arg0 : tensor<2x3xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  8. pkg/registry/core/pod/strategy.go

    	}
    	warnings = append(warnings, podutil.GetWarningsForPod(ctx, newPod, nil)...)
    	return warnings
    }
    
    // Canonicalize normalizes the object after validation.
    func (podStrategy) Canonicalize(obj runtime.Object) {
    }
    
    // AllowCreateOnUpdate is false for pods.
    func (podStrategy) AllowCreateOnUpdate() bool {
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

          point = point < 0 ? dim_i + point : point;
          return Clamp(point, bounds[0], bounds[1]);
        };
    
        begin_i = canonicalize(begin_i, 0);
        end_i = canonicalize(end_i, 1);
    
        int64_t interval_len = end_i - begin_i;
        int64_t size_i = 0;
        // If internal length is zero or has different sign from stride, it's a
        // degenerated case: we are slicing nothing. Otherwise, calculate the sliced
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/executor_canonicalize.mlir

    // RUN: tf-opt %s -pass-pipeline='builtin.module(func.func(canonicalize))' | FileCheck %s
    
    
    // Test single graph with no outputs and one island is folded away.
    // CHECK-LABEL: func @graph_with_no_outputs
    // CHECK-SAME: (%[[ARG_0:[a-z0-9]*]]: tensor<i1>)
    func.func @graph_with_no_outputs(%arg0 : tensor<i1>) {
      tf_executor.graph {
        %1:2 = tf_executor.island {
          %3 = "tf.opA"(%arg0) : (tensor<i1>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 04 14:07:37 UTC 2022
    - 13.6K bytes
    - Viewed (0)
Back to top