Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 6,449 for _return (0.14 sec)

  1. guava/src/com/google/common/net/InternetDomainName.java

          return false;
        }
    
        return true;
      }
    
      /**
       * Returns the individual components of this domain name, normalized to all lower case. For
       * example, for the domain name {@code mail.google.com}, this method returns the list {@code
       * ["mail", "google", "com"]}.
       */
      public ImmutableList<String> parts() {
        return parts;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

        checkNotNull(function);
        return new Future<O>() {
    
          @Override
          public boolean cancel(boolean mayInterruptIfRunning) {
            return input.cancel(mayInterruptIfRunning);
          }
    
          @Override
          public boolean isCancelled() {
            return input.isCancelled();
          }
    
          @Override
          public boolean isDone() {
            return input.isDone();
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/TestingWeighers.java

     */
    public class TestingWeighers {
    
      /** Returns a {@link Weigher} that returns the given {@code constant} for every request. */
      static Weigher<Object, Object> constantWeigher(int constant) {
        return new ConstantWeigher(constant);
      }
    
      /** Returns a {@link Weigher} that uses the integer key as the weight. */
      static Weigher<Integer, Object> intKeyWeigher() {
        return new IntKeyWeigher();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedHashMultimap.java

          return new ValueEntry<>(null, null, 0, null);
        }
    
        boolean matchesValue(@CheckForNull Object v, int smearedVHash) {
          return smearedValueHash == smearedVHash && Objects.equal(getValue(), v);
        }
    
        @Override
        public ValueSetLink<K, V> getPredecessorInValueSet() {
          return requireNonNull(predecessorInValueSet); // see the comment on the class fields
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LongAdder.java

        return sum();
      }
    
      /** Returns the {@link #sum} as an {@code int} after a narrowing primitive conversion. */
      @Override
      public int intValue() {
        return (int) sum();
      }
    
      /** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */
      @Override
      public float floatValue() {
        return (float) sum();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Streams.java

              return true;
            }
            return false;
          }
    
          @Override
          Splitr createSplit(Spliterator.OfInt from, long i) {
            return new Splitr(from, i);
          }
        }
        return StreamSupport.stream(new Splitr(fromSpliterator, 0), isParallel).onClose(stream::close);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/popper.min.js.map

    (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) {\n      return 1;\n    }\n  }\n  return 0;\n}());\n\nexport function microtaskDebounce(fn) {\n  let called = false\n  return () => {\n    if (called) {\n      return\n    }\n    called = true\n    window.Promise.resolve().then(() => {\n      called = false\n      fn()\n    })\n  }\n}\n\nexport function taskDebounce(fn) {\n  let scheduled = false;\n  return () => {\n    if (!scheduled) {\n      scheduled = true;\n      setTimeout(()...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 120.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

            if (noTransform) append("no-transform, ")
            if (immutable) append("immutable, ")
            if (isEmpty()) return ""
            deleteRange(length - 2, length)
          }
        headerValue = result
      }
      return result
    }
    
    internal fun Long.commonClampToInt(): Int {
      return when {
        this > Int.MAX_VALUE -> Int.MAX_VALUE
        else -> toInt()
      }
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. internal/s3select/json/args.go

    	if err := d.DecodeElement(&parsedArgs, &start); err != nil {
    		return err
    	}
    
    	parsedArgs.ContentType = strings.ToLower(parsedArgs.ContentType)
    	switch parsedArgs.ContentType {
    	case document, lines:
    	default:
    		return errInvalidJSONType(fmt.Errorf("invalid ContentType '%v'", parsedArgs.ContentType))
    	}
    
    	*args = ReaderArgs(parsedArgs)
    	args.unmarshaled = true
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  10. internal/once/init.go

    		if err := f(); err != nil {
    			return err
    		}
    		// Mark as done only when f() is successful
    		atomic.StoreUint32(&l.done, 1)
    	}
    	return nil
    }
    
    // DoWithContext is similar to Do except that it accepts a context as an argument to be passed.
    func (l *Init) DoWithContext(ctx context.Context, f func(context.Context) error) error {
    	if atomic.LoadUint32(&l.done) == 0 {
    		return l.doWithContext(ctx, f)
    	}
    	return nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 09 04:20:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top