Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,274 for arrayOf (0.09 sec)

  1. android/guava-tests/test/com/google/common/io/LineBufferTest.java

    import java.io.BufferedReader;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringReader;
    import java.nio.CharBuffer;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link LineBuffer} and {@link LineReader}.
     *
     * @author Chris Nokleberg
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/LineBufferTest.java

    import java.io.BufferedReader;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringReader;
    import java.nio.CharBuffer;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link LineBuffer} and {@link LineReader}.
     *
     * @author Chris Nokleberg
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SID.java

                }
            }
        }
    
        /**
         * Resolves an array of SIDs to obtain their account and domain names.
         *
         * @param authorityServerName the server to use for SID resolution
         * @param auth the authentication credentials to use
         * @param sids the array of SIDs to resolve
         * @param offset the starting offset in the array
         * @param length the number of SIDs to resolve
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                if (append) {
                    fp = file.length();
                }
            }
        }
    
        /**
         * Writes len bytes from the specified byte array starting at
         * offset off to this file output stream.
         *
         * @param b The array
         * @throws IOException if a network error occurs
         */
    
        @Override
        public void write(final byte[] b, final int off, final int len) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

          }
          Class<?> returnType = method.getReturnType();
          assertTrue(
              rootLocaleFormat("%s.%s() must return an array.", annotationClass, propertyName),
              returnType.isArray());
          assertSame(
              rootLocaleFormat(
                  "%s.%s() must return an array of %s.",
                  annotationClass, propertyName, annotationClass.getDeclaringClass()),
              annotationClass.getDeclaringClass(),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

        private int[] ciphers;
    
        /**
         * Constructs an encryption negotiate context.
         *
         * @param config the configuration (currently unused)
         * @param ciphers array of encryption cipher IDs to negotiate
         */
        public EncryptionNegotiateContext(final Configuration config, final int ciphers[]) {
            this.ciphers = ciphers;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            byte[] actual = new byte[bytesWritten];
            System.arraycopy(dst, 0, actual, 0, bytesWritten);
    
            // Use assertArrayEquals for byte array comparison
            org.junit.jupiter.api.Assertions.assertArrayEquals(expected, actual, "Byte array content should match the expected format.");
        }
    
        @Test
        void testReadParameterWordsWireFormat() {
            // This method is empty, so it should return 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

          return new SampleShorts();
        }
    
        @Override
        public List<Short> create(Object... elements) {
          Short[] array = new Short[elements.length];
          short i = 0;
          for (Object e : elements) {
            array[i++] = (Short) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

          return new SampleLongs();
        }
    
        @Override
        public List<Long> create(Object... elements) {
          Long[] array = new Long[elements.length];
          int i = 0;
          for (Object e : elements) {
            array[i++] = (Long) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

          return new SampleShorts();
        }
    
        @Override
        public List<Short> create(Object... elements) {
          Short[] array = new Short[elements.length];
          short i = 0;
          for (Object e : elements) {
            array[i++] = (Short) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top