Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 546 for multiples (0.05 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

                // Test when flag is set
                message.flags = DcerpcConstants.RPC_C_PF_BROADCAST;
                assertTrue(message.isFlagSet(DcerpcConstants.RPC_C_PF_BROADCAST));
    
                // Test with multiple flags, one is set
                message.flags = DcerpcConstants.RPC_C_PF_BROADCAST | DcerpcConstants.RPC_C_PF_NO_FRAGMENT;
                assertTrue(message.isFlagSet(DcerpcConstants.RPC_C_PF_BROADCAST));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            byte[] h = new byte[4];
            h[0] = (byte) SessionServicePacket.SESSION_KEEP_ALIVE;
            h[1] = h[2] = h[3] = 0;
            return h;
        }
    
        /**
         * Concatenates multiple byte arrays into a single array.
         */
        private static byte[] concat(byte[]... arrays) {
            int total = 0;
            for (byte[] a : arrays) {
                total += a.length;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. README.md

    // File operations with proper resource handling
    try (InputStream input = ResourceUtil.getResourceAsStream("data.txt")) {
        String content = InputStreamUtil.getUTF8String(input);
    }
    
    // Resource traversal for processing multiple files
    ResourceTraversalUtil.forEach("META-INF", (resource, is) -> {
        // Process each resource in the META-INF directory
        System.out.println("Processing: " + resource);
    });
    ```
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

        // Read a delimiter.
        if (i + 2 <= limit && input.startsWith("::", startIndex = i)) {
          // Compression "::" delimiter, which is anywhere in the input, including its prefix.
          if (compress != -1) return null // Multiple "::" delimiters.
          i += 2
          b += 2
          compress = b
          if (i == limit) break
        } else if (b != 0) {
          // Group separator ":" delimiter.
          if (input.startsWith(":", startIndex = i)) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should handle multiple consecutive reads")
            void testMultipleConsecutiveReads() throws Exception {
                // First read
                byte[] buffer1 = createValidOplockBreakBuffer((byte) 0x01, createTestData(16));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/AllocInfoTest.java

                // Then
                assertEquals(expectedFree, actualFree);
                verify(mockAllocInfo, times(1)).getFree();
            }
    
            @Test
            @DisplayName("Should handle multiple invocations")
            void shouldHandleMultipleInvocations() {
                // Given
                when(mockAllocInfo.getCapacity()).thenReturn(1000L, 2000L, 3000L);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            // Test reset method
            doNothing().when(response).reset();
            response.reset();
            verify(response).reset();
        }
    
        @Test
        @DisplayName("Test concrete implementation with multiple scenarios")
        void testConcreteImplementation() throws SMBProtocolDecodingException {
            // Create a concrete implementation for comprehensive testing
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

      /**
       * Parses a serialized trie representation of a map of reversed public suffixes into an immutable
       * map of public suffixes. The encoded trie string may be broken into multiple chunks to avoid the
       * 64k limit on string literal size. In-memory strings can be much larger (2G).
       */
      static ImmutableMap<String, PublicSuffixType> parseTrie(CharSequence... encodedChunks) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      private val tasksExecutor = Executors.newCachedThreadPool(threadFactory("TaskFaker"))
    
      /**
       * True if this task faker has ever had multiple tasks scheduled to run concurrently. Guarded by
       * `this`.
       */
      var isParallel = false
    
      /** Number of calls to [TaskRunner.Backend.execute]. Guarded by `this`. */
      var executeCallCount = 0
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        assertThat(a.dispatcher).isNotNull()
        assertThat(a.connectionPool).isNotNull()
        assertThat(a.sslSocketFactory).isNotNull()
        assertThat(a.x509TrustManager).isNotNull()
    
        // Multiple clients share the instances.
        val b = client.newBuilder().build()
        assertThat(b.dispatcher).isSameAs(a.dispatcher)
        assertThat(b.connectionPool).isSameAs(a.connectionPool)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (1)
Back to top