Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 925 for asArray (0.07 sec)

  1. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

            return buffer[bufferIndex] & 0xFF;
        }
    
        int type, length;
    
        /**
         * Writes the packet to the specified byte array in wire format.
         *
         * @param dst the destination byte array to write to
         * @param dstIndex the starting index in the destination array
         * @return the number of bytes written
         */
        public int writeWireFormat(final byte[] dst, final int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

        }
    
        /**
         * Returns an array of available data store names discovered from plugin JAR files.
         * This method implements a time-based caching mechanism that refreshes the list
         * every 60 seconds to balance performance with up-to-date plugin discovery.
         *
         * @return array of data store names sorted alphabetically, never null
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/spnego/SpnegoTokenTest.java

     */
    class SpnegoTokenTest {
    
        /**
         * Minimal concrete implementation for testing.
         * - parse: sets mechanismToken, throws on null
         * - toByteArray: returns mechanismToken or empty array if null
         */
        static class TestSpnegoToken extends SpnegoToken {
            private boolean parsed = false;
    
            @Override
            public byte[] toByteArray() {
                byte[] tok = getMechanismToken();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfo.java

            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        /**
         * Returns the security descriptor of the share as an array of ACEs.
         *
         * @return an array of ACE objects representing the share's security descriptor
         * @throws IOException if there is an error retrieving the security information
         */
        public ACE[] getSecurity() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

      }
    
      public void testCopyOf_emptyArray() {
        String[] array = new String[0];
        Set<String> set = copyOf(array);
        assertEquals(Collections.<String>emptySet(), set);
        assertSame(this.<String>of(), set);
      }
    
      public void testCopyOf_arrayOfOneElement() {
        String[] array = new String[] {"a"};
        Set<String> set = copyOf(array);
        assertEquals(singleton("a"), set);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        String[] array = {"foo", "bar"};
        assertFalse(Iterators.forArrayWithPosition(array, 2).hasNext());
        assertThrows(IndexOutOfBoundsException.class, () -> Iterators.forArrayWithPosition(array, -1));
        assertThrows(IndexOutOfBoundsException.class, () -> Iterators.forArrayWithPosition(array, 3));
      }
    
      @GwtIncompatible // unreasonably slow
      public void testForArrayUsingTester() {
        new IteratorTester<Integer>(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

            return inputStream.read();
        }
    
        /**
         * Reads up to len bytes of data from the input stream into an array of bytes.
         *
         * @param b the buffer into which the data is read
         * @param off the start offset in array b at which the data is written
         * @param len the maximum number of bytes to read
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileOutputStream.java

            return this.file.ensureTreeConnected();
        }
    
        /**
         * Writes len bytes from the specified byte array starting at
         * offset off to this file output stream.
         *
         * @param b
         *            The array
         * @param off the start offset in the data
         * @param len the number of bytes to write
         * @throws IOException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. .idea/inspectionProfiles/Gradle.xml

            <constraint name="transform" within="" contains="" />
          </replaceConfiguration>
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Jun 26 21:49:47 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        private fun ByteString.binarySearch(
          labels: Array<ByteString>,
          labelIndex: Int,
        ): String? {
          var low = 0
          var high = size
          var match: String? = null
          while (low < high) {
            var mid = (low + high) / 2
            // Search for a '\n' that marks the start of a value. Don't go back past the start of the
            // array.
            while (mid > -1 && this[mid] != '\n'.code.toByte()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top