Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 197 for terminates (0.05 sec)

  1. android/guava/src/com/google/common/io/CharSource.java

     * \r} or {@code \r\n}, do not include the line separator in each line and do not consider there to
     * be an empty line at the end if the contents are terminated with a line separator.
     *
     * <p>Any {@link ByteSource} containing text encoded with a specific {@linkplain Charset character
     * encoding} may be viewed as a {@code CharSource} using {@link ByteSource#asCharSource(Charset)}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharSource.java

     * \r} or {@code \r\n}, do not include the line separator in each line and do not consider there to
     * be an empty line at the end if the contents are terminated with a line separator.
     *
     * <p>Any {@link ByteSource} containing text encoded with a specific {@linkplain Charset character
     * encoding} may be viewed as a {@code CharSource} using {@link ByteSource#asCharSource(Charset)}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

       * structures.
       *
       * We make such subtle calls in [okhttp3.internal.ws.MessageInflater] because we try to read a
       * compressed stream that is terminated in a web socket frame even though the DEFLATE stream is
       * not terminated.
       *
       * Use this method to create a degenerate Okio Buffer where each byte is in a separate segment of
       * the internal list.
       */
      @JvmStatic
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                byte[] buffer = new byte[100];
                // Create "Test\0" in UTF-16LE with proper null terminator
                byte[] testBytes = Strings.getUNIBytes("Test");
                System.arraycopy(testBytes, 0, buffer, 0, 8);
                buffer[8] = 0; // null terminator low byte
                buffer[9] = 0; // null terminator high byte
    
                String result = testBlock.readString(buffer, 0, buffer.length, 8, true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

        }
    
        @Test
        @DisplayName("Test decode with null-terminated Unicode filename")
        void testDecodeWithNullTerminatedUnicodeFilename() throws SMBProtocolDecodingException {
            // Prepare test data with null-terminated filename
            String expectedFilename = "nullterm.txt";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

                buf.enc_ndr_long(charCount + 1); // MaximumCount (including null terminator)
                buf.enc_ndr_long(0); // Offset
                buf.enc_ndr_long(charCount + 1); // ActualCount (including null terminator)
    
                // String data in UTF-16LE
                buf.writeOctetArray(wideBytes, 0, wideBytes.length);
                buf.enc_ndr_short(0); // Wide null terminator
    
                // Pad to 4-byte boundary
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertTrue(listener.healthyCalled);
        assertFalse(listener.stoppedCalled);
        assertTrue(listener.failedServices.isEmpty());
        manager.stopAsync().awaitStopped();
        assertState(manager, Service.State.TERMINATED, a, b);
        assertFalse(manager.isHealthy());
        assertTrue(listener.stoppedCalled);
        assertTrue(listener.failedServices.isEmpty());
      }
    
      public void testFailStart() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

            byte[] dst = new byte[100];
            int bytesWritten = smbComQueryInformation.writeBytesWireFormat(dst, 0);
    
            // Expected format: buffer format (1 byte) + file name (null-terminated)
            int expectedLength = 1 + TEST_FILE_NAME.length() + 1;
            assertEquals(expectedLength, bytesWritten);
            assertEquals(0x04, dst[0]); // Buffer format
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

                assertEquals(filenameBytes[i], dst[6 + i], "Filename byte at index " + i + " should match.");
            }
            // Check null terminator
            assertEquals((byte) 0x00, dst[dst.length - 1], "The last byte should be a null terminator.");
        }
    
        /**
         * Tests the writeDataWireFormat method.
         */
        @Test
        void testWriteDataWireFormat() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            buffer[10 + stringBytes.length] = 0; // null terminator
    
            // Use reflection to call protected readString method
            Method readStringMethod = getReadStringMethod();
            String result = (String) readStringMethod.invoke(response, buffer, 10, 128, false);
    
            assertEquals(testString, result);
        }
    
        @Test
        @DisplayName("Test readString with null terminator in middle")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
Back to top