Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for pasta (0.16 sec)

  1. guava/src/com/google/common/base/Preconditions.java

       * checkNotNull *should* be annotated to require it to be non-null.
       *
       * However, for a variety of reasons, Google developers have written a ton of code over the past
       * decade that assumes that they can use checkNotNull for non-precondition checks. I had hoped to
       * take a principled stand on this, but the amount of such code is simply overwhelming. To avoid
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

                + "]"
                + "0189["
                + Character.MAX_CODE_POINT
                + "]";
        assertEquals(expected, escapeAsString(e, TEST_STRING));
      }
    
      public void testGrowBuffer() { // need to grow past an initial 1024 byte buffer
        StringBuilder input = new StringBuilder();
        StringBuilder expected = new StringBuilder();
        for (int i = 256; i < 1024; i++) {
          input.append((char) i);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LocalCache.java

      }
    
      /*
       * Note: All of this duplicate code sucks, but it saves a lot of memory. If only Java had mixins!
       * To maintain this code, make a change for the strong reference type. Then, cut and paste, and
       * replace "Strong" with "Soft" or "Weak" within the pasted text. The primary difference is that
       * strong entries store the key reference directly while soft and weak entries delegate to their
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterators.java

              throw new NoSuchElementException();
            }
            /*
             * requireNonNull is safe because our callers always pass non-null arguments. Each element
             * of the array becomes null only when we iterate past it and then clear it.
             */
            I result = requireNonNull(elements[index]);
            elements[index] = null;
            index++;
            return result;
          }
        };
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    clock in a twinkling!  Half-past one, time for dinner!'
    
      (`I only wish it was,' the March Hare said to itself in a
    whisper.)
    
      `That would be grand, certainly,' said Alice thoughtfully:
    `but then--I shouldn't be hungry for it, you know.'
    
      `Not at first, perhaps,' said the Hatter:  `but you could keep
    it to half-past one as long as you liked.'
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/Platform.java

        return requireNonNull(DEST_TL.get());
      }
    
      /**
       * A thread-local destination buffer to keep us from creating new buffers. The starting size is
       * 1024 characters. If we grow past this we don't put it back in the threadlocal, we just keep
       * going and grow as needed.
       */
      private static final ThreadLocal<char[]> DEST_TL =
          new ThreadLocal<char[]>() {
            @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteArrayDataInput.java

     * identical functionality but do not throw {@link IOException}.
     *
     * <p><b>Warning:</b> The caller is responsible for not attempting to read past the end of the
     * array. If any method encounters the end of the array prematurely, it throws {@link
     * IllegalStateException} to signify <i>programmer error</i>. This behavior is a technical violation
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        it.remove();
        // After this remove, 400 has moved up and 20 down past cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
        assertEquals((Integer) 10, it.next());
        assertEquals((Integer) 3, it.next());
        it.remove();
        // After this remove, 400 moved down again and 500 up past the cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

                    // we dangerously assume E is a string
                    List<E> extremeValues = (List<E>) getExtremeValues();
                    @SuppressWarnings("unchecked")
                    // map generators must past entry objects
                    List<E> normalValues = (List<E>) Arrays.asList(entries);
    
                    // prepare extreme values to be filtered out of view
                    Collections.sort(extremeValues, comparator);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

                    // we dangerously assume E is a string
                    List<E> extremeValues = (List<E>) getExtremeValues();
                    @SuppressWarnings("unchecked")
                    // map generators must past entry objects
                    List<E> normalValues = (List<E>) Arrays.asList(entries);
    
                    // prepare extreme values to be filtered out of view
                    Collections.sort(extremeValues, comparator);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top