Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 236 for placeholders (0.53 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

            StackTraceElement[] stackTrace = new StackTraceElement[placeholders.size()];
            for (int i = 0; i < placeholders.size(); i++) {
                stackTrace[i] = placeholders.get(i).toStackTraceElement();
            }
            return stackTrace;
        }
    
        @SuppressWarnings("Since15")
        private static List<? extends Throwable> extractSuppressed(Throwable throwable) {
            if (isJava7()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. tensorflow/compiler/jit/encapsulate_util.cc

        g->RemoveEdge(e);
    
        // Find or create placeholder node.
        string new_name =
            absl::StrCat(src->name(), "_oc_to_oc_placeholder_", src_output);
        auto placeholder_index = std::make_pair(src->name(), src_output);
        auto iter = placeholders.find(placeholder_index);
        Node* placeholder_node;
        if (iter == placeholders.end()) {
          NodeDefBuilder placeholder_builder(new_name, "Placeholder");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/database/sql/fakedb_test.go

    			stmt.Close()
    			return nil, errf("SELECT on table %q has pre-bound value for where column %q; need a question mark",
    				stmt.table, column)
    		}
    		stmt.placeholders++
    		stmt.whereCol = append(stmt.whereCol, boundCol{Column: column, Placeholder: value, Ordinal: stmt.placeholders})
    	}
    	return stmt, nil
    }
    
    // parts are table|col=type,col2=type2
    func (c *fakeConn) prepareCreate(stmt *fakeStmt, parts []string) (*fakeStmt, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. tensorflow/compiler/jit/shape_inference_test.cc

    TEST(ShapeInferenceTest, Basics) {
      Scope root = Scope::NewRootScope().ExitOnError();
      auto a = ops::Placeholder(root.WithOpName("A"), DT_FLOAT,
                                ops::Placeholder::Shape({2, 3}));
      auto b = ops::Placeholder(root.WithOpName("B"), DT_FLOAT,
                                ops::Placeholder::Shape({3}));
      auto c = ops::Placeholder(root.WithOpName("C"), DT_FLOAT);
      auto d = ops::Add(root.WithOpName("D"), a, b);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top