Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 1,666 for add1 (0.03 sec)

  1. internal/dsync/drwmutex.go

    	restClnts, _ := dm.clnt.GetLockers()
    
    	// Create lock array to capture the successful lockers
    	locks := make([]string, len(restClnts))
    
    	// Add total timeout
    	ctx, cancel := context.WithTimeout(ctx, opts.Timeout)
    	defer cancel()
    
    	// Tolerance is not set, defaults to half of the locker clients.
    	tolerance := len(restClnts) / 2
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java

        int capacity = this.capacity;
        BlockingQueue<String> queue = this.queue;
        String[] strings = this.strings;
        for (int i = 0; i < reps; i++) {
          for (int j = 0; j < capacity; j++) {
            queue.add(strings[j]);
          }
          for (int j = 0; j < capacity; j++) {
            queue.remove();
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/DfsResolver.java

         * @throws CIFSException
         * @throws jcifs.smb.SmbAuthException
         */
        DfsReferralData resolve ( CIFSContext tf, String domain, String root, String path ) throws CIFSException;
    
    
        /**
         * Add a referral to the cache
         * 
         * @param path
         * @param dr
         * @param tc
         */
        void cache ( CIFSContext tc, String path, DfsReferralData dr );
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java

            ModelValidationResult result;
    
            SimpleModelProblemCollector(ModelValidationResult result) {
                this.result = result;
            }
    
            public void add(ModelProblemCollectorRequest req) {
                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    result.addMessage(req.getMessage());
                }
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/LongAddables.java

      }
    
      private static final class PureJavaLongAddable extends AtomicLong implements LongAddable {
        @Override
        public void increment() {
          getAndIncrement();
        }
    
        @Override
        public void add(long x) {
          getAndAdd(x);
        }
    
        @Override
        public long sum() {
          return get();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 04 17:27:14 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/TearDownStack.java

          try {
            tearDown.tearDown();
          } catch (Throwable t) {
            if (suppressThrows) {
              logger.log(Level.INFO, "exception thrown during tearDown", t);
            } else {
              exceptions.add(t);
            }
          }
        }
        if (!suppressThrows && (exceptions.size() > 0)) {
          throw ClusterException.create(exceptions);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java

     * <li>Information needed to find the artifact file in a repository including extension and classifier</li>
     * <li>Information on how to use the artifact as a dependency: whether to add it to the classpath, whether to load its
     * dependencies transitively</li>
     * </ul>
     *
     */
    public interface ArtifactHandler {
        @Deprecated
        String ROLE = ArtifactHandler.class.getName();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

        // -----------/
        // - Methods -/
        // -----------/
    
        /**
         * Method addPhase.
         *
         * @param phase a phase object.
         */
        public void addPhase(Phase phase) {
            getPhases().add(phase);
        } // -- void addPhase( Phase )
    
        /**
         * Get the ID of this lifecycle, for identification in the mojo
         * descriptor.
         *
         * @return String
         */
        public String getId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

          try {
            tearDown.tearDown();
          } catch (Throwable t) {
            if (suppressThrows) {
              logger.log(Level.INFO, "exception thrown during tearDown", t);
            } else {
              exceptions.add(t);
            }
          }
        }
        if (!suppressThrows && (exceptions.size() > 0)) {
          throw ClusterException.create(exceptions);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
        assertEquals("b", iterator.next());
        assertEquals("b", iterator.previous());
        assertThrows(UnsupportedOperationException.class, () -> iterator.add("c"));
      }
    
      @SuppressWarnings("DoNotCall")
      public void testSet() {
        ListIterator<String> iterator = create();
    
        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top