Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for Canonicalize (0.85 sec)

  1. src/net/conf.go

    			return hostLookupFiles, dnsConf
    		default:
    			// Unrecognized.
    			return fallbackOrder, dnsConf
    		}
    
    		// We always return before this point.
    		// The code below is for non-OpenBSD.
    	}
    
    	// Canonicalize the hostname by removing any trailing dot.
    	hostname = stringslite.TrimSuffix(hostname, ".")
    
    	nss := getSystemNSS()
    	srcs := nss.sources["hosts"]
    	// If /etc/nsswitch.conf doesn't exist or doesn't specify any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. src/cmd/gofmt/gofmt.go

    )
    
    // Keep these in sync with go/format/format.go.
    const (
    	tabWidth    = 8
    	printerMode = printer.UseSpaces | printer.TabIndent | printerNormalizeNumbers
    
    	// printerNormalizeNumbers means to canonicalize number literal prefixes
    	// and exponents while printing. See https://golang.org/doc/go1.13#gofmt.
    	//
    	// This value is defined in go/printer specifically for go/format and cmd/gofmt.
    	printerNormalizeNumbers = 1 << 30
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/BUILD

        tbl_outs = [
            (
                ["-gen-rewriters"],
                "generated_canonicalize.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "canonicalize.td",
        deps = [
            ":rewrite_util_td_files",
            "//tensorflow/compiler/mlir/tensorflow:tensorflow_ops_td_files",
        ],
    )
    
    gentbl_cc_library(
        name = "tensorflow_reduce_patterns_inc_gen",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. build/common.sh

    unset CDPATH
    
    USER_ID=$(id -u)
    GROUP_ID=$(id -g)
    
    DOCKER_OPTS=${DOCKER_OPTS:-""}
    IFS=" " read -r -a DOCKER <<< "docker ${DOCKER_OPTS}"
    DOCKER_HOST=${DOCKER_HOST:-""}
    GOPROXY=${GOPROXY:-""}
    
    # This will canonicalize the path
    KUBE_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd -P)
    
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    # Constants
    readonly KUBE_BUILD_IMAGE_REPO=kube-build
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    	i int64Amount
    	// d is the quantity in inf.Dec form if d.Dec != nil
    	d infDecAmount
    	// s is the generated value of this quantity to avoid recalculation
    	s string
    
    	// Change Format at will. See the comment for Canonicalize for
    	// more details.
    	Format
    }
    
    // CanonicalValue allows a quantity amount to be converted to a string.
    type CanonicalValue interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/kernels/xla_ops.cc

          has_ref_vars_(has_ref_vars) {}
    
    void XlaLocalLaunchBase::ComputeAsync(OpKernelContext* ctx, DoneCallback done) {
      VLOG(1) << "XlaLocalLaunchOpBase::Compute "
              << Canonicalize(function_.name(), AttrSlice(&function_.attr()));
      xla_launch_counter->GetCell(platform_info_.device_type().type_string())
          ->IncrementBy(1);
    
      std::vector<const Tensor*> inputs = InputsFromContext(ctx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  7. src/net/http/cookiejar/jar.go

    	}
    
    	if modified {
    		if len(submap) == 0 {
    			delete(j.entries, key)
    		} else {
    			j.entries[key] = submap
    		}
    	}
    }
    
    // canonicalHost strips port from host if present and returns the canonicalized
    // host name.
    func canonicalHost(host string) (string, error) {
    	var err error
    	if hasPort(host) {
    		host, _, err = net.SplitHostPort(host)
    		if err != nil {
    			return "", err
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc

      if (legalize_chlo) {
        chlo::populateChloToHloPatterns(context, &hlo_converter, &patterns);
      }
      // ConstantLike op is convenient to create splat constants, but is
      // canonicalized to plain HLO constant if statically shaped. Add the
      // canonicalization pattern to pattern list to enable multi-hop lowering.
      chlo::ConstantLikeOp::getCanonicalizationPatterns(patterns, context);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. subprojects/core-api/src/test/groovy/org/gradle/StartParameterTest.groovy

            when:
            def parameter = new StartParameter()
            then:
            parameter.gradleUserHomeDir == gradleUserHome
        }
    
        void "canonicalizes current dir"() {
            StartParameter parameter = new StartParameter()
            File dir = new File('current')
    
            when:
            parameter.currentDir = dir
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

    //   . Replaces resource reads/writes with function inputs/outputs and
    //     eliminates the use of resource variables.
    //   . Legalizes the operations to XLA HLO operations.
    //   . Canonicalizes the XLA HLO operations.
    //
    // device_type: XLA JIT device to use for compilation such as "XLA_CPU_JIT",
    //   "XLA_GPU_JIT" or "XLA_TPU_JIT".
    // use_tuple_args: when this is true, always create a tuple argument for the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top