Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,502 for length (0.17 sec)

  1. src/main/java/org/codelibs/core/lang/StringUtil.java

            if (target1 == null || target2 == null) {
                return false;
            }
            final int length1 = target1.length();
            final int length2 = target2.length();
            if (length1 < length2) {
                return false;
            }
            final String s1 = target1.substring(length1 - length2);
            return s1.equalsIgnoreCase(target2);
        }
    
        /**
         * 大文字小文字を無視して特定の文字で始まっているのかどうかを返します。
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  2. cmd/erasure-decode_test.go

    	r := rand.New(rand.NewSource(UTCNow().UnixNano()))
    
    	buf := &bytes.Buffer{}
    
    	// Verify erasure.Decode() for random offsets and lengths.
    	for i := 0; i < iterations; i++ {
    		offset := r.Int63n(length)
    		readLen := r.Int63n(length - offset)
    
    		expected := data[offset : offset+readLen]
    
    		// Get the checksums of the current part.
    		bitrotReaders := make([]io.ReaderAt, len(disks))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/hash/Fingerprint2011.java

          result = murmurHash64WithSeed(bytes, offset, length, K0 ^ K1 ^ K2);
        } else if (length <= 64) {
          result = hashLength33To64(bytes, offset, length);
        } else {
          result = fullFingerprint(bytes, offset, length);
        }
    
        long u = length >= 8 ? load64(bytes, offset) : K0;
        long v = length >= 9 ? load64(bytes, offset + length - 8) : K0;
        result = hash128to64(result + v, u);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 28 17:50:25 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

        @Override
        public Entry<K, V>[] createArray(int length) {
          return generator.createArray(length);
        }
    
        @Override
        public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) {
          return generator.order(insertionOrder);
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public K[] createKeyArray(int length) {
          return (K[]) new Object[length];
        }
    
        @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

          String[] suffix = {"f", "g"};
          String[] all = new String[elements.length + suffix.length];
          System.arraycopy(elements, 0, all, 0, elements.length);
          System.arraycopy(suffix, 0, all, elements.length, suffix.length);
          return ImmutableList.copyOf(all).subList(0, elements.length);
        }
      }
    
      public static class ImmutableListTailSubListGenerator extends TestStringListGenerator {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Booleans.java

       */
      public static boolean[] concat(boolean[]... arrays) {
        int length = 0;
        for (boolean[] array : arrays) {
          length += array.length;
        }
        boolean[] result = new boolean[length];
        int pos = 0;
        for (boolean[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

      /**
       * Creates a new {@code AtomicDoubleArray} of the given length, with all elements initially zero.
       *
       * @param length the length of the array
       */
      public AtomicDoubleArray(int length) {
        this.longs = new AtomicLongArray(length);
      }
    
      /**
       * Creates a new {@code AtomicDoubleArray} with the same length as, and all elements copied from,
       * the given array.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ObjectArrays.java

       */
      static @Nullable Object[] copyAsObjectArray(@Nullable Object[] elements, int offset, int length) {
        checkPositionIndexes(offset, offset + length, elements.length);
        if (length == 0) {
          return new Object[0];
        }
        @Nullable Object[] result = new Object[length];
        System.arraycopy(elements, offset, result, 0, length);
        return result;
      }
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Shorts.java

       */
      public static short[] concat(short[]... arrays) {
        int length = 0;
        for (short[] array : arrays) {
          length += array.length;
        }
        short[] result = new short[length];
        int pos = 0;
        for (short[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

       */
      public static long[] concat(long[]... arrays) {
        long length = 0;
        for (long[] array : arrays) {
          length += array.length;
        }
        long[] result = new long[checkNoOverflow(length)];
        int pos = 0;
        for (long[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
Back to top