Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,128 for returns_ (0.28 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

      absl::flat_hash_map<Operation*, Node*> nodes_;
      llvm::DenseMap<BlockArgument, Node*> args_;
      // One single return operation can return multiple results, and each of them
      // will be converted to one node in the graph.
      typedef absl::InlinedVector<Node*, 4> NodeVector;
      absl::flat_hash_map<Operation*, NodeVector> returns_;
      const mlir::Dialect* tf_dialect_;
      const SymbolTable& symbol_table_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Ordering.java

        return new CompoundOrdering<>(this, checkNotNull(secondaryComparator));
      }
    
      /**
       * Returns an ordering which tries each given comparator in order until a non-zero result is
       * found, returning that result, and returning zero only if all comparators return zero. The
       * returned ordering is based on the state of the {@code comparators} iterable at the time it was
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. src/path/filepath/path.go

    	// Therefore, if one of err and err1 isn't nil, walk will return.
    	if err != nil || err1 != nil {
    		// The caller's behavior is controlled by the return value, which is decided
    		// by walkFn. walkFn may ignore err and return nil.
    		// If walkFn returns SkipDir or SkipAll, it will be handled by the caller.
    		// So walk should return whatever walkFn returns.
    		return err1
    	}
    
    	for _, name := range names {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. pkg/volume/volume.go

    	// SetUpDevice returns stagingPath if device setup was successful
    	SetUpDevice() (stagingPath string, err error)
    
    	// MapPodDevice maps the block device to a path and return the path.
    	// Unique device path across kubelet node reboot is required to avoid
    	// unexpected block volume destruction.
    	// If empty string is returned, the path returned by attacher.Attach() and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/stmt0.go

    			continue
    		}
    	}
    }
    
    func returns0() {
    	return
    	return 0 /* ERROR "too many return values" */
    }
    
    func returns1(x float64) (int, *float64) {
    	return 0, &x
    	return /* ERROR "not enough return values" */
    	return "foo" /* ERRORx `cannot .* in return statement` */, x /* ERRORx `cannot use .* in return statement` */
    	return 0, &x, 1 /* ERROR "too many return values" */
    }
    
    func returns2() (a, b int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/interface.go

    func (s *Status) WithError(err error) *Status {
    	s.err = err
    	return s
    }
    
    // Code returns code of the Status.
    func (s *Status) Code() Code {
    	if s == nil {
    		return Success
    	}
    	return s.code
    }
    
    // Message returns a concatenated message on reasons of the Status.
    func (s *Status) Message() string {
    	if s == nil {
    		return ""
    	}
    	return strings.Join(s.Reasons(), ", ")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  7. pkg/apis/core/v1/helper/helpers.go

    		return true
    	}
    	return strings.HasPrefix(string(medium), string(v1.StorageMediumHugePagesPrefix))
    }
    
    // HugePageSizeFromMedium returns the page size for the specified huge page medium.
    // If the specified input is not a valid huge page medium an error is returned.
    func HugePageSizeFromMedium(medium v1.StorageMedium) (resource.Quantity, error) {
    	if !IsHugePageMedium(medium) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. src/unsafe/unsafe.go

    // SliceData returns a pointer to the underlying array of the argument
    // slice.
    //   - If cap(slice) > 0, SliceData returns &slice[:1][0].
    //   - If slice == nil, SliceData returns nil.
    //   - Otherwise, SliceData returns a non-nil pointer to an
    //     unspecified memory address.
    func SliceData(slice []ArbitraryType) *ArbitraryType
    
    // String returns a string value whose underlying bytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:45:20 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    	if q.d.Dec != nil {
    		return q.d.AsCanonicalBytes(out)
    	}
    	return q.i.AsCanonicalBytes(out)
    }
    
    // IsZero returns true if the quantity is equal to zero.
    func (q *Quantity) IsZero() bool {
    	if q.d.Dec != nil {
    		return q.d.Dec.Sign() == 0
    	}
    	return q.i.value == 0
    }
    
    // Sign returns 0 if the quantity is zero, -1 if the quantity is less than zero, or 1 if the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  10. src/runtime/tracestack.go

    				break outer
    			}
    			lastFuncID = sf.funcID
    		}
    	}
    	return n
    }
    
    // startPCForTrace returns the start PC of a goroutine for tracing purposes.
    // If pc is a wrapper, it returns the PC of the wrapped function. Otherwise it
    // returns pc.
    func startPCForTrace(pc uintptr) uintptr {
    	f := findfunc(pc)
    	if !f.valid() {
    		return pc // may happen for locked g in extra M since its pc is 0.
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top