Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,338 for returns_ (0.1 sec)

  1. src/context/context.go

    	}
    }
    
    // WithoutCancel returns a copy of parent that is not canceled when parent is canceled.
    // The returned context returns no Deadline or Err, and its Done channel is nil.
    // Calling [Cause] on the returned context returns nil.
    func WithoutCancel(parent Context) Context {
    	if parent == nil {
    		panic("cannot create context from nil parent")
    	}
    	return withoutCancelCtx{parent}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/collect/ArrayTable.java

       *
       * <p>The returned set's iterator traverses the mappings with the first row key, the mappings with
       * the second row key, and so on.
       *
       * <p>The value in the returned cells may change if the table subsequently changes.
       *
       * @return set of table cells consisting of row key / column key / value triplets
       */
      @Override
      public Set<Cell<R, C, @Nullable V>> cellSet() {
        return super.cellSet();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Ints.java

        return Math.min(Math.max(value, min), max);
      }
    
      /**
       * Returns the values from each provided array combined into a single array. For example, {@code
       * concat(new int[] {a, b}, new int[] {}, new int[] {c}} returns the array {@code {a, b, c}}.
       *
       * @param arrays zero or more {@code int} arrays
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableTable.java

        return TableCollectors.toImmutableTable(
            rowFunction, columnFunction, valueFunction, mergeFunction);
      }
    
      /**
       * Returns an empty immutable table.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <R, C, V> ImmutableTable<R, C, V> of() {
        return (ImmutableTable<R, C, V>) SparseImmutableTable.EMPTY;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  6. 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)
  7. guava/src/com/google/common/base/Functions.java

        }
    
        @Override
        public String toString() {
          return "Functions.forPredicate(" + predicate + ")";
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a function that ignores its input and always returns {@code value}.
       *
       * <p><b>Java 8+ users:</b> use the lambda expression {@code o -> value} instead.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ContiguousSet.java

      public static ContiguousSet<Long> closed(long lower, long upper) {
        return create(Range.closed(lower, upper), DiscreteDomain.longs());
      }
    
      /**
       * Returns a contiguous set containing all {@code int} values from {@code lower} (inclusive) to
       * {@code upper} (exclusive). If the endpoints are equal, an empty set is returned. (These are the
       * same values contained in {@code Range.closedOpen(lower, upper)}.)
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    	// must strictly be a subset.
    	if d >= nRegionGroups {
    		return b&m != 0
    	}
    	return b&^m == 0
    }
    
    var errNoTLD = errors.New("language: region is not a valid ccTLD")
    
    // TLD returns the country code top-level domain (ccTLD). UK is returned for GB.
    // In all other cases it returns either the region itself or an error.
    //
    // This method may return an error for a region for which there exists a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top