Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 896 for Array (0.02 sec)

  1. src/test/java/jcifs/SidResolverTest.java

        private SID[] testSids;
    
        @BeforeEach
        void setUp() {
            testServerName = "test-server.domain.com";
            testSids = new SID[] { mockSid1, mockSid2, mockSid3 };
        }
    
        // Test resolveSids with array
        @Test
        void testResolveSids_Success() throws CIFSException {
            doNothing().when(sidResolver).resolveSids(any(CIFSContext.class), anyString(), any(SID[].class));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. 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)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

    /**
     * Read and write HPACK v10.
     *
     * http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12
     *
     * This implementation uses an array for the dynamic table and a list for indexed entries. Dynamic
     * entries are added to the array, starting in the last position moving forward. When the array
     * fills, it is doubled.
     */
    @Suppress("NAME_SHADOWING")
    object Hpack {
      private const val PREFIX_4_BITS = 0x0f
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SmbNegotiationTest.java

        }
    
        @Test
        @DisplayName("getRequestRaw should return the same request buffer")
        void testGetRequestRaw() {
            // Verify getRequestRaw returns the exact same array instance
            byte[] requestBuffer = negotiation.getRequestRaw();
            assertSame(testRequestBuffer, requestBuffer);
    
            // Verify multiple calls return the same instance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

        }
    
        public void test_string_array_to_list_conversion() {
            Map<String, Object> doc = new HashMap<>();
            String[] array = { "a", "b", "c" };
            doc.put("key", array);
    
            List<String> result = DocumentUtil.getValue(doc, "key", List.class);
            assertEquals(Arrays.asList("a", "b", "c"), result);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt

      connectionSpec: ConnectionSpec,
      sslSocket: SSLSocket,
      isFallback: Boolean,
    ) = connectionSpec.apply(sslSocket, isFallback)
    
    internal fun ConnectionSpec.effectiveCipherSuites(socketEnabledCipherSuites: Array<String>): Array<String> =
      if (cipherSuitesAsString != null) {
        // 3 options here for ordering
        // 1) Legacy Platform - based on the Platform/Provider existing ordering in
        // sslSocket.enabledCipherSuites
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top