Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for pretender (0.36 sec)

  1. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        Iterator<E> iterator;
    
        public ThrowsAtEndIterator(Iterable<E> iterable) {
          this.iterator = iterable.iterator();
        }
    
        @Override
        public boolean hasNext() {
          return true; // pretend that you have more...
        }
    
        @Override
        public E next() {
          // ...but throw an unchecked exception when you ask for it.
          if (!iterator.hasNext()) {
            throw new ThrowsAtEndException();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/HttpHeaders.java

       *
       * @since 20.0
       */
      public static final String FORWARDED = "Forwarded";
      /**
       * The HTTP {@code Follow-Only-When-Prerender-Shown} header field name.
       *
       * @since 17.0
       */
      public static final String FOLLOW_ONLY_WHEN_PRERENDER_SHOWN = "Follow-Only-When-Prerender-Shown";
      /** The HTTP {@code Host} header field name. */
      public static final String HOST = "Host";
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        Iterator<E> iterator;
    
        public ThrowsAtEndIterator(Iterable<E> iterable) {
          this.iterator = iterable.iterator();
        }
    
        @Override
        public boolean hasNext() {
          return true; // pretend that you have more...
        }
    
        @Override
        public E next() {
          // ...but throw an unchecked exception when you ask for it.
          if (!iterator.hasNext()) {
            throw new ThrowsAtEndException();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

        if (index >= 0) {
          return inclusive ? index : index + 1;
        } else {
          return ~index;
        }
      }
    
      // Pretend the comparator can compare anything. If it turns out it can't
      // compare two elements, it'll throw a CCE. Only methods that are specified to
      // throw CCE should call this.
      @SuppressWarnings("unchecked")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SetsTest.java

        out.writeObject(original);
    
        byte[] handle = toByteArray(baseWireHandle + handleOffset);
        byte[] ref = prepended(TC_REFERENCE, handle);
        bos.write(ref);
    
        return bos.toByteArray();
      }
    
      private static byte[] prepended(byte b, byte[] array) {
        byte[] out = new byte[array.length + 1];
        out[0] = b;
        System.arraycopy(array, 0, out, 1, array.length);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
  6. guava-tests/test/com/google/common/collect/SetsTest.java

        out.writeObject(original);
    
        byte[] handle = toByteArray(baseWireHandle + handleOffset);
        byte[] ref = prepended(TC_REFERENCE, handle);
        bos.write(ref);
    
        return bos.toByteArray();
      }
    
      private static byte[] prepended(byte b, byte[] array) {
        byte[] out = new byte[array.length + 1];
        out[0] = b;
        System.arraycopy(array, 0, out, 1, array.length);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

                  && entryKey != null
                  && map.keyEquivalence.equivalent(key, entryKey)) {
                // If the value disappeared, this entry is partially collected,
                // and we should pretend like it doesn't exist.
                V entryValue = e.getValue();
                if (entryValue == null) {
                  if (isCollected(e)) {
                    int newCount = this.count - 1;
                    ++modCount;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      int unsafeCompare(Object a, @CheckForNull Object b) {
        return unsafeCompare(comparator, a, b);
      }
    
      static int unsafeCompare(Comparator<?> comparator, Object a, @CheckForNull Object b) {
        // Pretend the comparator can compare anything. If it turns out it can't
        // compare a and b, we should get a CCE or NPE on the subsequent line. Only methods
        // that are spec'd to throw CCE and NPE should call this.
    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)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      int unsafeCompare(Object a, @CheckForNull Object b) {
        return unsafeCompare(comparator, a, b);
      }
    
      static int unsafeCompare(Comparator<?> comparator, Object a, @CheckForNull Object b) {
        // Pretend the comparator can compare anything. If it turns out it can't
        // compare a and b, we should get a CCE or NPE on the subsequent line. Only methods
        // that are spec'd to throw CCE and NPE should call this.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.cc

      *input = {oper, 0};
      return true;
    }
    
    // Copies `src_graph` into `dst_graph`. Any node in `src_graph` with input
    // `src_inputs[i]` will have that input replaced with `dst_inputs[i]`.  `prefix`
    // will be prepended to copied node names. `control_deps` are nodes in
    // `dst_graph` that the copied `src_graph` nodes will have control dependencies
    // on. `return_nodes` are nodes in `src_graph`, and the new corresponding nodes
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top