Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1271 - 1280 of 1,599 for removal (0.2 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

          tasks.add(command);
        }
    
        boolean hasNext() {
          return !tasks.isEmpty();
        }
    
        void runNext() {
          assertTrue("expected at least one task to run", hasNext());
          tasks.remove().run();
        }
    
        void runAll() {
          while (hasNext()) {
            runNext();
          }
        }
      }
    
      private FakeExecutor fakePool;
      private SequentialExecutor e;
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. docs/contribute/concurrency.md

    #### Per-Connection Locks
    
    Each connection has its own lock. The connections in the pool are all in a `ConcurrentLinkedQueue`. Due to data races, iterators of this queue may return removed connections. Callers must check the connection's `noNewExchanges` property before using connections from the pool.
    
    The connection lock is never held while doing I/O (even closing a socket) to prevent contention.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InternetDomainName.java

      public boolean hasParent() {
        return parts.size() > 1;
      }
    
      /**
       * Returns an {@code InternetDomainName} that is the immediate ancestor of this one; that is, the
       * current domain with the leftmost part removed. For example, the parent of {@code
       * www.google.com} is {@code google.com}.
       *
       * @throws IllegalStateException if the domain has no parent, as determined by {@link #hasParent}
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

       *
       * <ul>
       *   <li>You want to assign the same fraction of inputs to each bucket.
       *   <li>When you reduce the number of buckets, you can accept that the most recently added
       *       buckets will be removed first. More concretely, if you are dividing traffic among tasks,
       *       you can decrease the number of tasks from 15 and 10, killing off the final 5 tasks, and
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  5. cmd/tier-handlers.go

    	if err := globalTierConfigMgr.Reload(ctx, objAPI); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	if err := globalTierConfigMgr.Remove(ctx, tier, force); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	if err := globalTierConfigMgr.Save(ctx, objAPI); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        @Override
        public void setProperty(Project project, String key, String value) {
            Properties properties = getMavenProject(project).getProperties();
            if (value == null) {
                properties.remove(key);
            } else {
                properties.setProperty(key, value);
            }
        }
    
        @Override
        public Map<String, String> getProperties(Project project) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

     * properties detailed at {@link ImmutableCollection}.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @Immutable(containerOf = "B")
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    // TODO(b/278589132): Remove the redundant "@NonNull" on B once it's no longer required by J2KT.
    public final class ImmutableClassToInstanceMap<B>
        extends ForwardingMap<Class<? extends @NonNull B>, B>
        implements ClassToInstanceMap<B>, Serializable {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                }
            }
    
            return obj;
        }
    
    
        private void updateLookupTable ( Name name ) {
            synchronized ( this.inFlightLookups ) {
                this.inFlightLookups.remove(name);
                this.inFlightLookups.notifyAll();
            }
        }
    
    
        void cacheAddress ( Name hostName, NbtAddress addr ) {
            if ( this.transportContext.getConfig().getNetbiosCachePolicy() == 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  10. cmd/erasure-healing-common_test.go

    			}
    
    			tamperedIndex := -1
    			switch test._tamperBackend {
    			case deletePart:
    				for index, err := range test.errs {
    					if err != nil {
    						continue
    					}
    					// Remove a part from a disk
    					// which has a valid xl.meta,
    					// and check if that disk
    					// appears in outDatedDisks.
    					tamperedIndex = index
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top