Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 5,246 for returns_ (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/rest/rest.go

    	// request error.
    	// Although it can return an arbitrary error value, IsNotFound(err) is true for the
    	// returned error value err when the specified resource is not found.
    	// Delete *may* return the object that was deleted, or a status object indicating additional
    	// information about deletion.
    	// It also returns a boolean which is set to true if the resource was instantly
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 20 14:29:25 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/kubelet/volumemanager/cache/actual_state_of_world.go

    	// volume, false is returned.
    	VolumeExistsWithSpecName(podName volumetypes.UniquePodName, volumeSpecName string) bool
    
    	// VolumeExists returns true if the given volume exists in the list of
    	// attached volumes in the cache, indicating the volume is attached to this
    	// node.
    	VolumeExists(volumeName v1.UniqueVolumeName) bool
    
    	// GetMountedVolumes generates and returns a list of volumes and the pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/zip/zip.go

    type dataFileInfo struct {
    	f dataFile
    }
    
    func (fi dataFileInfo) Name() string       { return path.Base(fi.f.name) }
    func (fi dataFileInfo) Size() int64        { return int64(len(fi.f.data)) }
    func (fi dataFileInfo) Mode() os.FileMode  { return 0644 }
    func (fi dataFileInfo) ModTime() time.Time { return time.Time{} }
    func (fi dataFileInfo) IsDir() bool        { return false }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 31K bytes
    - Viewed (0)
Back to top