Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for returns_ (0.23 sec)

  1. src/database/sql/sql.go

    		ctx:                ctx,
    	}
    	go tx.awaitDone()
    	return tx, nil
    }
    
    // Driver returns the database's underlying driver.
    func (db *DB) Driver() driver.Driver {
    	return db.connector.Driver()
    }
    
    // ErrConnDone is returned by any operation that is performed on a connection
    // that has already been returned to the connection pool.
    var ErrConnDone = errors.New("sql: connection is already closed")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        // AffineQuantizedOpInterface:
        int GetChannelDimIndex() { return 0; }
        int GetQuantizationDimIndex() { return 0; }
        // SparseOpInterface:
        std::vector<int> GetSparseOperands() { return {1}; }
        std::vector<std::vector<int>> GetFloatBlockSize() { return {}; }
        std::vector<std::vector<int>> GetQuantizedBlockSize() { return {}; }
    
        // Returns whether the return types are compatible.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

          /*
           * standardToArray returns `@Nullable Object[]` rather than `Object[]` but because it can
           * be used with collections that may contain null. This collection never contains nulls, so we
           * could return `Object[]`. But this class is private and J2KT cannot change return types in
           * overrides, so we declare `@Nullable Object[]` as the return type.
           */
          return standardToArray();
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_pods.go

    	}
    
    	return pullSecrets
    }
    
    // PodCouldHaveRunningContainers returns true if the pod with the given UID could still have running
    // containers. This returns false if the pod has not yet been started or the pod is unknown.
    func (kl *Kubelet) PodCouldHaveRunningContainers(pod *v1.Pod) bool {
    	if kl.podWorkers.CouldHaveRunningContainers(pod.UID) {
    		return true
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  5. src/reflect/value.go

    	}
    	if v.flag&flagMethod != 0 {
    		return 0
    	}
    	return toRType(v.typ()).NumMethod()
    }
    
    // MethodByName returns a function value corresponding to the method
    // of v with the given name.
    // The arguments to a Call on the returned function should not include
    // a receiver; the returned function will always use v as the receiver.
    // It returns the zero Value if no method was found.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      }
    
      // Enqueues callers on functions.
      void EnqueueCallers(func::FuncOp fn);
    
      // Returns the function at the front of the queue.
      func::FuncOp front() { return queue_.front(); }
    
      // Returns whether work queue is empty.
      bool EmptyQueue() const { return queue_.empty(); }
    
      // Returns function from the front of the work queue.
      func::FuncOp pop_front() {
        func::FuncOp ret = queue_.front();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  7. src/net/http/server.go

    // stripHostPort returns h without any trailing ":<port>".
    func stripHostPort(h string) string {
    	// If no port on host, return unchanged
    	if !strings.Contains(h, ":") {
    		return h
    	}
    	host, _, err := net.SplitHostPort(h)
    	if err != nil {
    		return h // on error, return unchanged
    	}
    	return host
    }
    
    // Handler returns the handler to use for the given request,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/runtime/framework_test.go

    	if err := DecodeInto(injArgs, &inj); err != nil {
    		return nil, err
    	}
    	return &TestScoreWithNormalizePlugin{scoreWithNormalizePlugin2, inj}, nil
    }
    
    func newScorePlugin1(_ context.Context, injArgs runtime.Object, f framework.Handle) (framework.Plugin, error) {
    	var inj injectedResult
    	if err := DecodeInto(injArgs, &inj); err != nil {
    		return nil, err
    	}
    	return &TestScorePlugin{scorePlugin1, inj}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  9. src/cmd/go/internal/load/pkg.go

    				return vpath
    			}
    			return importPath[:len(importPath)-chopped] + "/" + vpath
    		}
    	}
    	return path
    }
    
    var (
    	modulePrefix   = []byte("\nmodule ")
    	goModPathCache par.Cache[string, string]
    )
    
    // goModPath returns the module path in the go.mod in dir, if any.
    func goModPath(dir string) (path string) {
    	return goModPathCache.Do(dir, func() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  10. cmd/storage-datatypes_gen.go

    				err = msgp.WrapError(err, "FilePath")
    				return
    			}
    		case "fi":
    			bts, err = z.FI.UnmarshalMsg(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "FI")
    				return
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
Back to top