Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,138 for Renoth (4.53 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

        /**
         * Asserts:
         * <p/>
         * <ul>
         * <li><code>string.length == null</code>
         * <li><code>string.length == 0</code>
         * </ul>
         */
        private static boolean validateStringEmpty(
                List<BuilderProblem> problems, String fieldName, String string, String message) {
            if (string == null || string.length() == 0) {
                return true;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                 */
                String className = repo.getLayout().getClass().getSimpleName();
                if (className.endsWith("RepositoryLayout")) {
                    String layout = className.substring(0, className.length() - "RepositoryLayout".length());
                    if (!layout.isEmpty()) {
                        layout = Character.toLowerCase(layout.charAt(0)) + layout.substring(1);
                        return layout;
                    }
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 16K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        boolean containsValue(Object value) {
          try {
            if (count != 0) { // read-volatile
              AtomicReferenceArray<E> table = this.table;
              int length = table.length();
              for (int i = 0; i < length; ++i) {
                for (E e = table.get(i); e != null; e = e.getNext()) {
                  V entryValue = getLiveValue(e);
                  if (entryValue == null) {
                    continue;
    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)
  4. 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)
  5. src/main/java/org/codelibs/core/collection/ArrayUtil.java

                return a;
            }
            if (a.length == 0) {
                return b;
            }
            if (b.length == 0) {
                return a;
            }
            final boolean[] array = (boolean[]) Array.newInstance(boolean.class, a.length + b.length);
            System.arraycopy(a, 0, array, 0, a.length);
            System.arraycopy(b, 0, array, a.length, b.length);
            return array;
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  6. cmd/erasure-decode_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if n != length {
    		t.Errorf("erasureCreateFile returned %d, expected %d", n, length)
    	}
    
    	// To generate random offset/length.
    	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)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/primitives/Bytes.java

       */
      public static byte[] concat(byte[]... arrays) {
        int length = 0;
        for (byte[] array : arrays) {
          length += array.length;
        }
        byte[] result = new byte[length];
        int pos = 0;
        for (byte[] 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
    - 14.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteSource.java

          offset = Math.min(offset, this.length);
          length = Math.min(length, this.length - offset);
          int newOffset = this.offset + (int) offset;
          return new ByteArrayByteSource(bytes, newOffset, (int) length);
        }
    
        @Override
        public String toString() {
          return "ByteSource.wrap("
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  9. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  10. 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)
Back to top