Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 124 for hark (0.14 sec)

  1. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * @throws NullPointerException if any of {@code elements} is null
       */
      public static <E> ImmutableSortedSet<E> copyOf(Iterable<? extends E> elements) {
        // Hack around E not being a subtype of Comparable.
        // Unsafe, see ImmutableSortedSetFauxverideShim.
        @SuppressWarnings("unchecked")
        Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable<?>>natural();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    } else {
                        /*
                         * NOTE: Other configurators like the map-oriented one don't call into the listener, so do it the
                         * hard way.
                         */
                        validateParameters(mojoDescriptor, configuration, expressionEvaluator);
                    }
                }
            } catch (ComponentConfigurationException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteSource.java

          // implementation because:
          // 1. the string constructor can avoid an extra copy most of the time by correctly sizing the
          //    internal char array (hard to avoid using StringBuilder)
          // 2. we avoid extra copies into temporary buffers altogether
          // The downside is that this will cause us to store the file bytes in memory twice for a short
          // amount of time.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/IntMath.java

            // subtracting two nonnegative ints can't overflow
            // cmpRemToHalfDivisor has the same sign as compare(abs(rem), abs(q) / 2).
            if (cmpRemToHalfDivisor == 0) { // exactly on the half mark
              increment = (mode == HALF_UP || (mode == HALF_EVEN & (div & 1) != 0));
            } else {
              increment = cmpRemToHalfDivisor > 0; // closer to the UP value
            }
            break;
          default:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * non-deterministic behavior at an undetermined time in the future.
       *
       * <p>Note that the fail-fast behavior of an iterator cannot be guaranteed as it is, generally
       * speaking, impossible to make any hard guarantees in the presence of unsynchronized concurrent
       * modification. Fail-fast iterators throw {@code ConcurrentModificationException} on a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *       Given all these possibilities, it is frequently possible for listeners to execute in UI
       *       threads, RPC network threads, or other latency-sensitive threads. In those cases, slow
       *       listeners can harm responsiveness, slow the system as a whole, or worse. (See also the
       *       note about locking below.)
       *   <li>If many tasks will be triggered by the same event, one heavyweight task may delay other
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/transport/Transport.java

        }
        public synchronized void disconnect( boolean hard ) throws IOException {
            IOException ioe = null;
    
            switch (state) {
                case 0: /* not connected - just return */
                    return;
                case 2:
                    hard = true;
                case 3: /* connected - go ahead and disconnect */
                    if (response_map.size() != 0 && !hard) {
                        break; /* outstanding requests */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            int state, mark, si;
            char[] arr = str.toCharArray();
            String proto = null, key = null;
            DcerpcBinding binding = null;
    
            state = mark = si = 0;
            do {
                char ch = arr[ si ];
    
                switch ( state ) {
                case 0:
                    if ( ch == ':' ) {
                        proto = str.substring(mark, si);
                        mark = si + 1;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      @Override
      public void tearDown() throws Exception {
        /*
         * Clear interrupt for future tests.
         *
         * (Ideally we would perform interrupts only in threads that we create, but
         * it's hard to imagine that anything will break in practice.)
         */
        clearInterrupt();
        aggregateFutureLogger.removeHandler(aggregateFutureLogHandler);
        super.tearDown();
      }
    
      /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

        return s.charAt(rand.nextInt(s.length()));
      }
    
      /**
       * Provides samples on a random distribution derived from the web.
       *
       * <p>Adapted from data provided by Mark Davis.
       *
       * @author Christopher Swenson
       */
      static class CharSamples {
    
        static {
          populateProb1();
          populateProb2();
          populateChars1();
          populateChars2();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
Back to top