Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1371 - 1380 of 1,721 for varray2 (0.28 seconds)

  1. src/test/java/jcifs/util/transport/TransportTest.java

                byte[] buffer = new byte[20];
    
                int bytesRead = Transport.readn(is, buffer, 0, 5);
                assertEquals(5, bytesRead);
                assertArrayEquals("Hello".getBytes(), java.util.Arrays.copyOfRange(buffer, 0, 5));
            }
    
            @Test
            @DisplayName("readn should throw IOException when buffer too short")
            void shouldThrowWhenBufferTooShort() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            String actual = response.toString();
            assertTrue(actual.startsWith("Trans2FindNext2Response["));
        }
    
        // Helper methods to write data to byte arrays for testing read methods
        private void writeInt2(int val, byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dst[dstIndex + 1] = (byte) (val >> 8);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. tensorflow/c/c_api_internal.h

    };
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    
    namespace tensorflow {
    
    // Set the shapes and types of the output's handle.
    //
    // The lengths of the arrays pointed to by `shapes`, `ranks`, and `types` must
    // all be equal to `num_shapes_and_types`. If `ranks[i] != -1`, (i.e., if the
    // rank is known), then it must be equal to the length of `shapes[i]`; if
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

    import static com.google.common.cache.CacheTesting.checkEmpty;
    import static com.google.common.cache.TestingCacheLoaders.identityLoader;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static java.util.concurrent.TimeUnit.DAYS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.cache.CacheBuilderFactory.DurationSpec;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/hash/Funnels.java

     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    public final class Funnels {
      private Funnels() {}
    
      /** Returns a funnel that extracts the bytes from a {@code byte} array. */
      public static Funnel<byte[]> byteArrayFunnel() {
        return ByteArrayFunnel.INSTANCE;
      }
    
      private enum ByteArrayFunnel implements Funnel<byte[]> {
        INSTANCE;
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

         * Provides test cases for {@link SmbComSeekResponse#readParameterWordsWireFormat(byte[], int)}.
         * @return a stream of {@link Arguments} objects containing an integer
         *         value and the corresponding little-endian byte array.
         */
        static java.util.stream.Stream<Arguments> int32Provider() {
            return java.util.stream.Stream.of(Arguments.of(0x00000000, new byte[] { 0x00, 0x00, 0x00, 0x00 }),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/DosError.java

        /*
         * These aren't really used by jCIFS--
         * the map above is used to immediately
         * map to NTSTATUS codes.
         */
        /**
         * Human-readable error messages corresponding to DOS error codes.
         * Array of descriptive strings for each DOS error condition.
         */
        String[] DOS_ERROR_MESSAGES = { "The operation completed successfully.", "Incorrect function.", "Incorrect function.",
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/DosError.java

        /* These aren't really used by jCIFS -- the map above is used
         * to immediately map to NTSTATUS codes.
         */
        /**
         * Human-readable error messages corresponding to DOS error codes.
         * Array of descriptive strings for each DOS error condition.
         */
        String[] DOS_ERROR_MESSAGES = { "The operation completed successfully.", "Incorrect function.", "Incorrect function.",
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        } catch (SecurityException ok) {
          // Allowed in case test doesn't have privs
        }
      }
    
      /** The number of elements to place in collections, arrays, etc. */
      static final int SIZE = 20;
    
      /** Returns a new started daemon Thread running the given runnable. */
      final Thread newStartedThread(Runnable runnable) {
        Thread t = new Thread(runnable);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/sso/SsoManager.java

         */
        protected String getSsoType() {
            return ComponentUtil.getFessConfig().getSsoType();
        }
    
        /**
         * Gets all registered SSO authenticators.
         *
         * @return Array of all registered SSO authenticators
         */
        public SsoAuthenticator[] getAuthenticators() {
            return authenticatorList.toArray(new SsoAuthenticator[authenticatorList.size()]);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top