Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 7,081 for returns (0.16 sec)

  1. internal/http/listener.go

    func (listener *httpListener) start() {
    	// Closure to send acceptResult to acceptCh.
    	// It returns true if the result is sent else false if returns when doneCh is closed.
    	send := func(result acceptResult) bool {
    		select {
    		case listener.acceptCh <- result:
    			// Successfully written to acceptCh
    			return true
    		case <-listener.ctx.Done():
    			return false
    		}
    	}
    
    	// Closure to handle TCPListener until done channel is closed.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

         * @return the command (human) name
         */
        String commandName();
    
        /**
         * Returns the logger to be used during the parsing process.
         *
         * @return the logger instance
         */
        @Nonnull
        Logger logger();
    
        /**
         * Returns the factory for creating message builders.
         *
         * @return the message builder factory
         */
        @Nonnull
        MessageBuilderFactory messageBuilderFactory();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. cmd/tier.go

    func (config *TierConfigMgr) Empty() bool {
    	if config == nil {
    		return true
    	}
    	return len(config.ListTiers()) == 0
    }
    
    // TierType returns the type of tier
    func (config *TierConfigMgr) TierType(name string) string {
    	config.RLock()
    	defer config.RUnlock()
    
    	cfg, ok := config.Tiers[name]
    	if !ok {
    		return "internal"
    	}
    	return cfg.Type.String()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ElementOrder.java

       * @since 29.0
       */
      public static <S> ElementOrder<S> stable() {
        return new ElementOrder<>(Type.STABLE, null);
      }
    
      /** Returns an instance which specifies that insertion ordering is guaranteed. */
      public static <S> ElementOrder<S> insertion() {
        return new ElementOrder<>(Type.INSERTION, null);
      }
    
      /**
       * Returns an instance which specifies that the natural ordering of the elements is guaranteed.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/ElementOrder.java

       * @since 29.0
       */
      public static <S> ElementOrder<S> stable() {
        return new ElementOrder<>(Type.STABLE, null);
      }
    
      /** Returns an instance which specifies that insertion ordering is guaranteed. */
      public static <S> ElementOrder<S> insertion() {
        return new ElementOrder<>(Type.INSERTION, null);
      }
    
      /**
       * Returns an instance which specifies that the natural ordering of the elements is guaranteed.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMultimap.java

        implements Serializable {
    
      /**
       * Returns an empty multimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      public static <K, V> ImmutableMultimap<K, V> of() {
        return ImmutableListMultimap.of();
      }
    
      /** Returns an immutable multimap containing a single entry. */
      public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1) {
        return ImmutableListMultimap.of(k1, v1);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. internal/disk/stat_openbsd.go

    	}
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    	info.Used = info.Total - info.Free
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    func GetDriveStats(major, minor uint32) (iostats IOStats, err error) {
    	return IOStats{}, errors.New("operation unsupported")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
      /** Returns an immutable bimap containing a single entry. */
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) {
        checkEntryNotNull(k1, v1);
        return new RegularImmutableBiMap<>(new Object[] {k1, v1}, 1);
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RangeMap.java

       *
       * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the
       * {@code Range} entries.
       *
       * <p>It is guaranteed that no empty ranges will be in the returned {@code Map}.
       */
      Map<Range<K>, V> asMapOfRanges();
    
      /**
       * Returns a view of this range map as an unmodifiable {@code Map<Range<K>, V>}. Modifications to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the start position of the first occurrence of the specified {@code target} within
       * {@code array}, or {@code -1} if there is no such occurrence.
       *
       * <p>More formally, returns the lowest index {@code i} such that {@code Arrays.copyOfRange(array,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top