Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 849 for startUp (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                    }
                });
    
                Thread thread2 = new Thread(() -> {
                    response.writeBytesWireFormat(buffer2, 0);
                });
    
                thread1.start();
                thread2.start();
                thread1.join();
                thread2.join();
    
                // Then - no exceptions should occur
                assertTrue(true);
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize == 9) {
                return super.readErrorResponse(buffer, bufferIndex);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/Name.java

                    c++;
                }
            } while (i-- > e);
            return this.scope.length() + 2;
        }
    
        int readScopeWireFormat(final byte[] src, int srcIndex) {
            final int start = srcIndex;
            int n;
            StringBuilder sb;
    
            n = src[srcIndex++] & 0xFF;
            if (n == 0) {
                this.scope = null;
                return 1;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/CommonMatcher.java

      public abstract boolean find();
    
      public abstract boolean find(int index);
    
      public abstract String replaceAll(String replacement);
    
      public abstract int end();
    
      public abstract int start();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. module-tests/src/test/java/okhttp3/modules/test/JavaModuleTest.java

      }
    
      @Test
      public void testMockWebServer() throws IOException {
        MockWebServer server = new MockWebServer();
        server.enqueue(new MockResponse(200, Headers.of(), "Hello, Java9!"));
        server.start();
    
        // Just check we can run code that depends on OkHttp types
        Call call = OkHttpCaller.callOkHttp(server.url("/"));
    
        try (Response response = call.execute();) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

     */
    class JettyHttpClientTest {
      private val client = HttpClient()
    
      @StartStop
      private val server = MockWebServer()
    
      @BeforeEach fun setUp() {
        client.start()
      }
    
      @AfterEach fun tearDown() {
        client.stop()
      }
    
      @Test fun get() {
        server.enqueue(MockResponse(body = "hello, Jetty HTTP Client"))
    
        val request =
          client
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

        void testDecodeWithValidData() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[30]; // Extra space to test offset
            int bufferIndex = 5; // Start at offset 5
            long expectedAllocationSize = 2048L;
            long expectedEndOfFile = 1536L;
            int expectedNumberOfLinks = 5;
            boolean expectedDeletePending = true;
            boolean expectedDirectory = true;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

            // For Unicode: 1 byte (initial null in writeBytesWireFormat)
            // + potential 1 byte alignment (in writeString) + fileName.length() * 2 + 2 bytes (terminating nulls)
            // Since headerStart is 0 and dstIndex starts at 1 (after initial null), (1-0)%2=1, so alignment byte added
            // Total: 1 + 1 + 12*2 + 2 = 28 bytes
            byte[] dst = new byte[30]; // Use extra buffer space to avoid index errors
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. docs/smb3-features/05-rdma-smb-direct-design.md

        byte[] data = new byte[10485760];  // 10MB
        Arrays.fill(data, (byte)0x42);
        
        long start = System.currentTimeMillis();
        
        try (OutputStream os = file.getOutputStream()) {
            os.write(data);
        }
        
        long writeTime = System.currentTimeMillis() - start;
        
        // Read back
        start = System.currentTimeMillis();
        byte[] readData = new byte[data.length];
        
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

        return (T[]) Arrays.copyOfRange(array, 0, array.length);
      }
    
      // TODO: Consolidate different copies in one single place.
      static String format(String template, Object... args) {
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.1K bytes
    - Viewed (0)
Back to top