Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for prependTo (0.16 sec)

  1. guava-tests/test/com/google/common/reflect/InvokableTest.java

        Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class);
        Prepender prepender = delegate.invoke(null, "a", 1);
        assertEquals("a", prepender.prefix);
        assertEquals(1, prepender.times);
      }
    
      public void testConstructor_returning() throws Exception {
        Invokable<?, Prepender> delegate =
            Prepender.constructor(String.class, int.class).returning(Prepender.class);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectArrays.java

        System.arraycopy(second, 0, result, first.length, second.length);
        return result;
      }
    
      /**
       * Returns a new array that prepends {@code element} to {@code array}.
       *
       * @param element the element to prepend to the front of {@code array}
       * @param array the array of elements to append
       * @return an array whose size is one larger than {@code array}, with {@code element} occupying
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hasher.java

     * newHasher().putByte(b1).putBytes(new byte[] { b2, b3 }).hash()
     * newHasher().putBytes(new byte[] { b1, b2, b3 }).hash()
     * }</pre>
     *
     * <p>If you wish to avoid this, you should either prepend or append the size of each chunk. Keep in
     * mind that when dealing with char sequences, the encoded form of two concatenated char sequences
     * is not equivalent to the concatenation of their encoded form. Therefore, {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  4. 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)
  5. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class);
        Prepender prepender = delegate.invoke(null, "a", 1);
        assertEquals("a", prepender.prefix);
        assertEquals(1, prepender.times);
      }
    
      public void testConstructor_returning() throws Exception {
        Invokable<?, Prepender> delegate =
            Prepender.constructor(String.class, int.class).returning(Prepender.class);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            LockGraphNode preAcquiredLock = entry.getKey();
            found = preAcquiredLock.findPathTo(node, seen);
            if (found != null) {
              // One of this node's allowedPriorLocks found a path. Prepend an
              // ExampleStackTrace(preAcquiredLock, this) to the returned chain of
              // ExampleStackTraces.
              ExampleStackTrace path = new ExampleStackTrace(preAcquiredLock, this);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        for (Waiter currentWaiter = head; currentWaiter != null; currentWaiter = currentWaiter.next) {
          currentWaiter.unpark();
        }
      }
    
      /**
       * Clears the {@link #listeners} list and prepends its contents to {@code onto}, least recently
       * added first.
       */
      @CheckForNull
      private Listener clearListeners(@CheckForNull Listener onto) {
        // We need to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. 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)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            addCssToHead(document);
            addJavascriptToHead(document);
    
            wrapH2InSectionTopic(document);
            addAnchorsForHeadings(document);
            document.body().prepend("<h1>Gradle Release Notes</h1>");
            addTOC(document);
            wrapContentInContainer(document);
    
            String rewritten = document.body().html();
            // Turn Gradle Jira issue numbers into issue links
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 25 04:49:56 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/Invokable.java

        }
    
        /**
         * {@inheritDoc}
         *
         * <p>{@code [<E>]} will be returned for ArrayList's constructor. When both the class and the
         * constructor have type parameters, the class parameters are prepended before those of the
         * constructor's. This is an arbitrary rule since no existing language spec mandates one way or
         * the other. From the declaration syntax, the class type parameter appears first, but the call
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 18.6K bytes
    - Viewed (0)
Back to top