Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for prependTo (0.04 sec)

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

        arraycopy(first, 0, result, 0, first.length);
        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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectArrays.java

        arraycopy(first, 0, result, 0, first.length);
        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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtlmUtilTest.java

            assertFalse(Arrays.equals(viaPassword, differentDomain), "Different domain should produce a different key");
        }
    
        @Test
        @DisplayName("computeResponse: HMAC(server||clientData) prepended to clientData")
        void testComputeResponse_basic() {
            // Arrange
            byte[] key = hex("0102030405060708090A0B0C0D0E0F10");
            byte[] serverChallenge = hex("1122334455667788");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Strings.java

       */
      public static boolean isNullOrEmpty(@Nullable String string) {
        return Platform.stringIsNullOrEmpty(string);
      }
    
      /**
       * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended
       * with as many copies of {@code padChar} as are necessary to reach that length. For example,
       *
       * <ul>
       *   <li>{@code padStart("7", 3, '0')} returns {@code "007"}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

         *
         * @param prefix the prefix to add before each line number
         * @param content the content to add line numbers to
         * @return the content with line numbers prepended, or empty string if content is blank
         */
        public String appendLineNumber(final String prefix, final String content) {
            if (StringUtil.isBlank(content)) {
                return StringUtil.EMPTY;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/ExecJob.java

         *
         * @param cpSeparator the classpath separator to use
         * @param buf the StringBuilder to append to
         * @param libDir the directory containing JAR files
         * @param basePath the base path to prepend to JAR file names
         */
        protected void appendJarFile(final String cpSeparator, final StringBuilder buf, final File libDir, final String basePath) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RegularImmutableMap.java

          ImmutableMapEntry<K, V> effectiveEntry =
              checkNoConflictInKeyBucket(key, value, keyBucketHead, throwIfDuplicateKeys);
          if (effectiveEntry == null) {
            // prepend, not append, so the entries can be immutable
            effectiveEntry =
                (keyBucketHead == null)
                    ? makeImmutable(entry, key, value)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K 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;
        arraycopy(array, 0, out, 1, array.length);
        return out;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  9. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. cmd/object-api-utils.go

    	if s == "" {
    		return s
    	}
    	return strings.TrimSuffix(s, SlashSeparator) + SlashSeparator
    }
    
    // pathsJoinPrefix - like pathJoin retains trailing SlashSeparator
    // for all elements, prepends them with 'prefix' respectively.
    func pathsJoinPrefix(prefix string, elem ...string) (paths []string) {
    	paths = make([]string, len(elem))
    	for i, e := range elem {
    		paths[i] = pathJoin(prefix, e)
    	}
    	return paths
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
Back to top