Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,348 for array2 (0.2 sec)

  1. doc/go_spec.html

    <p>
    Converting a slice to an array yields an array containing the elements of the underlying array of the slice.
    Similarly, converting a slice to an array pointer yields a pointer to the underlying array of the slice.
    In both cases, if the <a href="#Length_and_capacity">length</a> of the slice is less than the length of the array,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMap.java

          }
          /*
           * If entries is full, then this implementation may end up using the entries array
           * directly and writing over the entry objects with non-terminal entries, but this is
           * safe; if this Builder is used further, it will grow the entries array (so it can't
           * affect the original array), and future build() calls will always copy any entry
           * objects that cannot be safely reused.
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertThat(ArrayUtil.addAll(emptyArray, array), is(sameInstance(array)));
            assertThat(ArrayUtil.addAll(array, emptyArray), is(sameInstance(array)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAdd_int() throws Exception {
            final int[] array = new int[] { 1 };
            final int[] newArray = ArrayUtil.add(array, 2);
            assertThat(newArray.length, is(2));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static java.util.Arrays.asList;
    
    import com.google.common.base.Joiner;
    import com.google.common.base.Objects;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Maps;
    import java.lang.reflect.GenericArrayType;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Utf8.java

       *
       * <p>This method returns {@code true} if and only if {@code Arrays.equals(bytes, new
       * String(bytes, UTF_8).getBytes(UTF_8))} does, but is more efficient in both time and space.
       */
      public static boolean isWellFormed(byte[] bytes) {
        return isWellFormed(bytes, 0, bytes.length);
      }
    
      /**
       * Returns whether the given byte array slice is a well-formed UTF-8 byte sequence, as defined by
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. internal/s3select/jstream/decoder_test.go

    		// Array + object = depth 2 = false
    		{input: `[{"bio":"bada bing bada boom","id":1,"name":"Charles","falseVal":false}]`, maxDepth: 1, mustFail: true},
    		// Depth 2 = ok
    		{input: `[{"bio":"bada bing bada boom","id":1,"name":"Charles","falseVal":false}]`, maxDepth: 2, mustFail: false},
    		// Arrays:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMap.java

           * If entries is full, or if hash flooding is detected, then this implementation may end up
           * using the entries array directly and writing over the entry objects with non-terminal
           * entries, but this is safe; if this Builder is used further, it will grow the entries array
           * (so it can't affect the original array), and future build() calls will always copy any
           * entry objects that cannot be safely reused.
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = " ";
            expected = Arrays.asList(" ");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = "";
            expected = Arrays.asList("");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              }
            };
        List<Object> list = Collections.singletonList(object);
        for (int i = 0; i < 10; i++) {
          Object[] array = new Object[500];
          Arrays.fill(array, list);
          list = Arrays.asList(array);
        }
        future2.set(list);
    
        unused = future.toString();
      }
    
      public void testToString_notDone() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

       * represented in binary.
       */
      private val FLAGS = arrayOfNulls<String>(0x40) // Highest bit flag is 0x20.
      private val BINARY =
        Array(256) {
          format("%8s", Integer.toBinaryString(it)).replace(' ', '0')
        }
    
      init {
        FLAGS[FLAG_NONE] = ""
        FLAGS[FLAG_END_STREAM] = "END_STREAM"
    
        val prefixFlags = intArrayOf(FLAG_END_STREAM)
    
        FLAGS[FLAG_PADDED] = "PADDED"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top