Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 7,083 for returned (0.1 sec)

  1. guava/src/com/google/common/reflect/TypeResolver.java

          return var.toString();
        }
    
        /** Wraps {@code t} in a {@code TypeVariableKey} if it's a type variable. */
        @CheckForNull
        static TypeVariableKey forLookup(Type t) {
          if (t instanceof TypeVariable) {
            return new TypeVariableKey((TypeVariable<?>) t);
          } else {
            return null;
          }
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        try {
          return !cls.getDeclaredMethod("equals", Object.class).isSynthetic();
        } catch (NoSuchMethodException e) {
          return false;
        }
      }
    
      abstract static class Chopper {
    
        final Chopper or(Chopper you) {
          Chopper i = this;
          return new Chopper() {
            @Override
            Optional<String> chop(String str) {
              return i.chop(str).or(you.chop(str));
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      @CheckForNull
      public E peekFirst() {
        return peek();
      }
    
      /**
       * Removes and returns the greatest element of this queue, or returns {@code null} if the queue is
       * empty.
       */
      @CanIgnoreReturnValue
      @CheckForNull
      public E pollLast() {
        return isEmpty() ? null : removeAndGet(getMaxElementIndex());
      }
    
      /**
       * Removes and returns the greatest element of this queue.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashSet.java

        this.elements = new Object[expectedSize];
    
        return expectedSize;
      }
    
      @SuppressWarnings("unchecked")
      @VisibleForTesting
      @CheckForNull
      Set<E> delegateOrNull() {
        if (table instanceof Set) {
          return (Set<E>) table;
        }
        return null;
      }
    
      private Set<E> createHashFloodingResistantDelegate(int tableSize) {
        return new LinkedHashSet<>(tableSize, 1.0f);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                populateRequest(cliRequest);
                encryption(cliRequest);
                return execute(cliRequest);
            } catch (ExitException e) {
                return e.exitCode;
            } catch (UnrecognizedOptionException e) {
                // pure user error, suppress stack trace
                return 1;
            } catch (BuildAbort e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

        return findEntryByKey(key, Hashing.smearedHash(key));
      }
    
      /**
       * Given a key and its hash, returns the index of the entry in the tables, or ABSENT if not found.
       */
      int findEntryByKey(@CheckForNull Object key, int keyHash) {
        return findEntry(key, keyHash, hashTableKToV, nextInBucketKToV, keys);
      }
    
      /** Given a value, returns the index of the entry in the tables, or ABSENT if not found. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            },
            directExecutor());
        return executor;
      }
    
      /**
       * Returns the name of this service. {@link AbstractScheduledService} may include the name in
       * debugging output.
       *
       * @since 14.0
       */
      protected String serviceName() {
        return getClass().getSimpleName();
      }
    
      @Override
      public String toString() {
        return serviceName() + " [" + state() + "]";
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. internal/dsync/drwmutex.go

    }
    
    func (g *Granted) isLocked() bool {
    	return isLocked(g.lockUID)
    }
    
    func isLocked(uid string) bool {
    	return len(uid) > 0
    }
    
    // NewDRWMutex - initializes a new dsync RW mutex.
    func NewDRWMutex(clnt *Dsync, names ...string) *DRWMutex {
    	restClnts, _ := clnt.GetLockers()
    	sort.Strings(names)
    	return &DRWMutex{
    		writeLocks:           make([]string, len(restClnts)),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/ClassPath.java

        }
    
        /** Returns the file this location is from. */
        public final File file() {
          return home;
        }
    
        /** Scans this location and returns all scanned resources. */
        public ImmutableSet<ResourceInfo> scanResources() throws IOException {
          return scanResources(new HashSet<File>());
        }
    
        /**
         * Scans this location and returns all scanned resources.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            if (!socketStillGood) {
              raw.close()
              openClientSockets.remove(raw)
              return false
            }
    
            if (!dispatcher.peek().inTunnel) return true // No more tunnel requests.
          }
        }
    
        /**
         * Reads a request and writes its response. Returns true if further calls should be attempted
         * on the socket.
         */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top