Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 522 for Reed (0.01 sec)

  1. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            Map<String, List<String>> properties = new HashMap<>();
            properties.put("Accept", Collections.singletonList("application/json"));
            when(mockConnection.getRequestProperties()).thenReturn(properties);
            // Need to mock getRequestProperty as well since it delegates to wrapped connection
            when(mockConnection.getRequestProperty("Accept")).thenReturn("application/json");
    
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

     * true for systems like Mac, Unix, and Linux that use inodes in their file system interface. It is
     * typically false on Windows.
     *
     * If this returns false we won't permit simultaneous reads and writes. When writes commit we need
     * to delete the previous snapshots, and that won't succeed if the file is open. (We do permit
     * multiple simultaneous reads.)
     *
     * @param file a file in the directory to check. This file shouldn't already exist!
     */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                return 64; // Simulate header writing
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                // We need to override the parent ServerMessageBlock2's encode
                // to properly simulate setting the length field
                int start = dstIndex;
                dstIndex += writeHeaderWireFormat(dst, dstIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

        void testReadAndXWireFormatWithPlainSMB() {
            DummyPlainSMB next = new DummyPlainSMB();
            // The implementation uses andx.wordCount, which starts at 0 by default
            // We need to test the actual behavior where wordCount is 0
            // This means readParameterWordsWireFormat won't be called (line 282-284)
    
            DummyAndXBlock block = new DummyAndXBlock(next);
            block.headerStart = 0;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
            byte[] buffer = new byte[10];
            int offset = 8; // Only 2 bytes remaining, need 4
    
            // When & Then
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                request.writeBytesWireFormat(buffer, offset);
            });
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        void testReadBytesWireFormatOffsetTooLarge() {
            // Given
            byte[] buffer = new byte[10];
            int offset = 9; // Only 1 byte remaining, need at least 2 for structure size
    
            // When & Then
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

          }
        }
    
      companion object {
        /**
         * The "mixed" subtype of "multipart" is intended for use when the body parts are independent
         * and need to be bundled in a particular order. Any "multipart" subtypes that an implementation
         * does not recognize must be treated as being of subtype "mixed".
         */
        @JvmField
        val MIXED = "multipart/mixed".toMediaType()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        }
        // If we succeeded then list holds all the runnables we to execute. The pairs in the stack are
        // in the opposite order from how they were added so we need to reverse the list to fulfill our
        // contract.
        // This is somewhat annoying, but turns out to be very fast in practice. Alternatively, we could
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/ImmutableGraph.java

                new StandardValueGraph<N, Presence>(
                    GraphBuilder.from(graph), getNodeConnections(graph), graph.edges().size()));
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       */
      @InlineMe(
          replacement = "checkNotNull(graph)",
          staticImports = "com.google.common.base.Preconditions.checkNotNull")
      @Deprecated
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

        assertThat(dnsEnd.inetAddressList.size).isEqualTo(1)
      }
    
      @Test
      fun noDnsLookupOnPooledConnection() {
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
    
        // Seed the pool.
        val call1 =
          client.newCallWithListener(
            Request
              .Builder()
              .url(server.url("/"))
              .build(),
          )
        val response1 = call1.execute()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
Back to top