Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for placeholders (0.35 sec)

  1. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java

        return 3;
      }
    
      // TODO: Consolidate different copies in one single place.
      static String format(String template, Object... args) {
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 04 15:31:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/net/hook_windows.go

    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"internal/syscall/windows"
    	"syscall"
    )
    
    var (
    	hostsFilePath = windows.GetSystemDirectory() + "/Drivers/etc/hosts"
    
    	// Placeholders for socket system calls.
    	wsaSocketFunc func(int32, int32, int32, *syscall.WSAProtocolInfo, uint32, uint32) (syscall.Handle, error) = windows.WSASocket
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 720 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/control_flow_upgrade_legacy_v1.py

    # CHECK: func private @"key/[[then]]"(
    # CHECK-SAME: tf._original_func_name
    
    
    def Test():
      data = tf.constant([1, 2, 3, 4, 5, 6])
      # Create placeholders to prevent constant folding.
      x_op = tf.placeholder(dtype=tf.int32)
      y_op = tf.placeholder(dtype=tf.int32)
      less_op = tf.less(x_op, y_op)
      switch_op = control_flow_ops.switch(data, less_op)
      merge_op = control_flow_ops.merge(switch_op)[0]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 17 02:29:35 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. src/net/hook_unix.go

    //go:build unix || js || wasip1
    
    package net
    
    import "syscall"
    
    var (
    	testHookCanceledDial = func() {} // for golang.org/issue/16523
    
    	hostsFilePath = "/etc/hosts"
    
    	// Placeholders for socket system calls.
    	socketFunc        func(int, int, int) (int, error)  = syscall.Socket
    	connectFunc       func(int, syscall.Sockaddr) error = syscall.Connect
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 658 bytes
    - Viewed (0)
  5. src/net/main_windows_test.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import "internal/poll"
    
    var (
    	// Placeholders for saving original socket system calls.
    	origWSASocket   = wsaSocketFunc
    	origClosesocket = poll.CloseFunc
    	origConnect     = connectFunc
    	origConnectEx   = poll.ConnectExFunc
    	origListen      = listenFunc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:36:30 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases.go

    package aliases
    
    import (
    	"go/token"
    	"go/types"
    )
    
    // Package aliases defines backward compatible shims
    // for the types.Alias type representation added in 1.22.
    // This defines placeholders for x/tools until 1.26.
    
    // NewAlias creates a new TypeName in Package pkg that
    // is an alias for the type rhs.
    //
    // The enabled parameter determines whether the resulting [TypeName]'s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/unified_api_testutil.h

    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Builds and returns a `TracingContext` using the default tracing impl.
    AbstractContext* BuildFunction(const char* fn_name);
    
    // Creates parameters (placeholders) in the tracing `ctx` using the shape and
    // dtype of `inputs`.
    Status CreateParamsForInputs(AbstractContext* ctx,
                                 absl::Span<AbstractTensorHandle* const> inputs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/mvnsettings/DefaultLocalMavenRepositoryLocatorTest.groovy

            when:
            writeSettingsFile(locations.userSettingsFile, repo1)
    
            then:
            locator.localMavenRepository == repo1
        }
    
        def "replaces placeholders for system properties and environment variables"() {
            when:
            writeSettingsFile(locations.userSettingsFile, tmpDir.file('${sys.prop}/${env.ENV_VAR}'))
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/device_target.cc

        const ScaleFn& fn, const ScaleDecomposeFn& dfn) {
      return specs_[kernel].Add(signature, {ScaleConstraintType::CustomScale, fn});
    }
    
    namespace ph = std::placeholders;
    
    LogicalResult DeviceTarget::RegisterKernel(
        llvm::StringRef kernel, const KernelSpecs::Signature& signature,
        const ScaleConstraintType constraint) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/resolver/ResourceVersionListerTest.groovy

            and:
            1 * repo.resource(new ExternalResourceName("/a/")) >> resource
            1 * resource.list() >> ["1.2", "1.3"]
            0 * _
        }
    
        def "substitutes non revision placeholders from pattern before hitting repository"() {
            def resource = Mock(ExternalResource)
    
            when:
            lister.listVersions(module, artifact, [pattern(inputPattern)], result)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.6K bytes
    - Viewed (0)
Back to top