Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for handlePath (0.36 sec)

  1. cmd/preferredimports/preferredimports.go

    	}
    	return files
    }
    
    type collector struct {
    	dirs  []string
    	regex *regexp.Regexp
    }
    
    // handlePath walks the filesystem recursively, collecting directories,
    // ignoring some unneeded directories (hidden/vendored) that are handled
    // specially later.
    func (c *collector) handlePath(path string, info os.FileInfo, err error) error {
    	if err != nil {
    		return err
    	}
    	if info.IsDir() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SingletonChildMap.java

                }
            });
        }
    
        @Override
        public ChildMap<T> store(VfsRelativePath targetPath, CaseSensitivity caseSensitivity, StoreHandler<T> storeHandler) {
            return entry.handlePath(targetPath, caseSensitivity, new AbstractStorePathRelationshipHandler<T>(caseSensitivity, storeHandler) {
                @Override
                public ChildMap<T> withReplacedChild(T newChild) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractListChildMap.java

            int childIndex = findChildIndexWithCommonPrefix(targetPath, caseSensitivity);
            if (childIndex >= 0) {
                return entries.get(childIndex).handlePath(targetPath, caseSensitivity, new AbstractStorePathRelationshipHandler<T>(caseSensitivity, storeHandler) {
                    @Override
                    public ChildMap<T> withReplacedChild(T newChild) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 19:11:25 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/ChildMap.java

                    return Optional.of(handler.handleAsAncestorOfChild(path, value));
                }
                return Optional.empty();
            }
    
            public <RESULT> RESULT handlePath(VfsRelativePath targetPath, CaseSensitivity caseSensitivity, PathRelationshipHandler<RESULT, T> handler) {
                int pathToParentLength = path.length();
                int targetPathLength = targetPath.length();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. tensorflow/c/python_api.h

    // Returns the serialized CppShapeInferenceResult::HandleData proto for
    // `output` if its a resource or variant tensor, or otherwise returns the empty
    // string.
    std::string GetHandleShapeAndType(TF_Graph* graph, TF_Output output);
    
    // Sets `output` based on `proto`, which should be a serialized
    // CppShapeInferenceResult::HandleData proto. `output` should be a resource
    // or variant tensor.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 12 18:48:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. src/crypto/tls/quic_test.go

    	onEvent := func(e QUICEvent, src, dst *testQUICConn) bool {
    		if e.Kind == QUICWriteData {
    			// Provide the data one byte at a time.
    			for i := range e.Data {
    				if err := dst.conn.HandleData(e.Level, e.Data[i:i+1]); err != nil {
    					t.Errorf("HandleData: %v", err)
    					break
    				}
    			}
    			return true
    		}
    		return false
    	}
    	if err := runTestQUICConnection(context.Background(), cli, srv, onEvent); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. tensorflow/c/python_api.cc

      TF_ExtendSession(session, status);
    }
    
    std::string GetHandleShapeAndType(TF_Graph* graph, TF_Output output) {
      Node* node = &output.oper->node;
      tensorflow::core::CppShapeInferenceResult::HandleData handle_data;
      handle_data.set_is_set(true);
      {
        mutex_lock l(graph->mu);
        tensorflow::shape_inference::InferenceContext* ic =
            graph->refiner.GetContext(node);
        CHECK(ic != nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 12 18:48:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. src/crypto/tls/quic.go

    	for range q.conn.quic.blockedc {
    		// Wait for the handshake goroutine to return.
    	}
    	return q.conn.handshakeErr
    }
    
    // HandleData handles handshake bytes received from the peer.
    // It may produce connection events, which may be read with [QUICConn.NextEvent].
    func (q *QUICConn) HandleData(level QUICEncryptionLevel, data []byte) error {
    	c := q.conn
    	if c.in.level != level {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.cc

                                  TF_Status* status) {
      tensorflow::core::CppShapeInferenceResult::HandleData handle_data;
      if (!handle_data.ParseFromArray(proto, proto_len)) {
        status->status =
            absl::InvalidArgumentError("Couldn't deserialize HandleData proto");
        return;
      }
      DCHECK(handle_data.is_set());
    
      tensorflow::mutex_lock l(graph->mu);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  10. api/go1.21.txt

    pkg crypto/tls, method (*QUICConn) Close() error #44886
    pkg crypto/tls, method (*QUICConn) ConnectionState() ConnectionState #44886
    pkg crypto/tls, method (*QUICConn) HandleData(QUICEncryptionLevel, []uint8) error #44886
    pkg crypto/tls, method (*QUICConn) NextEvent() QUICEvent #44886
    pkg crypto/tls, method (*QUICConn) SendSessionTicket(QUICSessionTicketOptions) error #60107
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
Back to top