Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 925 for asArray (0.14 sec)

  1. tensorflow/c/c_api.h

    //  num_opers - `num_opers` contains the number of elements in the `opers` array
    //              or a special value of -1 meaning that no array is given.
    //              The distinction between an empty array of operations and no
    //              array of operations is necessary to distinguish the case of
    //              creating a function with no body (e.g. identity or permutation)
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

        return new Unhashables();
      }
    
      @Override
      public T create(Object... elements) {
        UnhashableObject[] array = createArray(elements.length);
        int i = 0;
        for (Object e : elements) {
          array[i++] = (UnhashableObject) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Encodable.java

     *
     * @author mbechler
     */
    public interface Encodable {
    
        /**
         * Encodes this object into the specified byte array.
         *
         * @param dst the destination byte array to encode into
         * @param dstIndex the starting index in the destination array
         * @return encoded length
         */
        int encode(byte[] dst, int dstIndex);
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            // When
            FileEntry[] entries = dfsRootEnum.getEntries();
    
            // Then
            assertNotNull(entries, "The returned entries array should not be null.");
            assertEquals(0, entries.length, "The entries array should be empty.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Strings.java

          throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize);
        }
    
        char[] array = new char[size];
        string.getChars(0, len, array, 0);
        int n;
        for (n = len; n < size - n; n <<= 1) {
          System.arraycopy(array, 0, array, n, n);
        }
        System.arraycopy(array, 0, array, n, size - n);
        return new String(array);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/HashCode.java

          return hash == that.asLong();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Creates a {@code HashCode} from a byte array. The array is defensively copied to preserve the
       * immutability contract of {@code HashCode}. The array cannot be empty.
       *
       * @since 15.0 (since 12.0 in HashCodes)
       */
      public static HashCode fromBytes(byte[] bytes) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

            assertArrayEquals(emptyHash, avChannelBindings.getRaw(), "Value should be an empty array when empty hash is provided");
        }
    
        /**
         * Test that the constructor stores the reference to the input byte array.
         * Note: The implementation does not create a defensive copy.
         */
        @Test
        void testConstructorStoresReference() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

            }
        }
    
        /**
         * Array structure for DFS enumeration containing level 1 information
         */
        public static class DfsEnumArray1 extends NdrObject {
    
            /**
             * Default constructor for DfsEnumArray1
             */
            public DfsEnumArray1() {
                // Default constructor
            }
    
            /**
             * Number of DFS entries in the array
             */
            public int count;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      public void testAsList_isAView() {
        char[] array = {(char) 0, (char) 1};
        List<Character> list = Chars.asList(array);
        list.set(0, (char) 2);
        assertThat(array).isEqualTo(new char[] {(char) 2, (char) 1});
        array[1] = (char) 3;
        assertThat(list).containsExactly((char) 2, (char) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        char[] array = {(char) 0, (char) 1, (char) 2};
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/MultiIterator.java

        /** Array of {@link Iterator}s. */
        protected final Iterator<E>[] iterators;
    
        /** Index of the currently iterated {@link Iterator}. */
        protected int index;
    
        /**
         * Returns an {@link Iterable} that wraps a {@link MultiIterator} for use in a for-each statement.
         *
         * @param <E> the element type
         * @param iterables the array of {@link Iterable} (must not be {@literal null})
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top