Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,216 for butter (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

                return bytesWritten;
            }
    
            @Override
            int readParameterWordsWireFormat(byte[] buffer, int bufferIndex) {
                paramWordsRead = 10;
                return paramWordsRead;
            }
    
            @Override
            int readBytesWireFormat(byte[] buffer, int bufferIndex) {
                bytesRead = 20;
                return bytesRead;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt

        }
    
        private fun unescape(s: String): String =
          buildString {
            val buffer = Buffer().writeUtf8(s)
            while (!buffer.exhausted()) {
              val c = buffer.readUtf8CodePoint()
              if (c != '\\'.code) {
                append(c.toChar())
                continue
              }
              when (buffer.readUtf8CodePoint()) {
                '\\'.code -> append('\\')
                '#'.code -> append('#')
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/HMACT64Test.java

            // Test engineDigest with buffer too small
            HMACT64 hmac = new HMACT64(TEST_KEY);
            hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length);
    
            byte[] buffer = new byte[10];
            // Should throw exception when buffer is too small
            assertThrows(IllegalStateException.class, () -> hmac.engineDigest(buffer, 0, 10));
        }
    
        @Test
        void testClone() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComFindClose2.java

        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/util/StringUtilTest.java

            String str = "string";
            StringBuilder builder = new StringBuilder("builder");
            StringBuffer buffer = new StringBuffer("buffer");
            String result = StringUtil.join(",", str, builder, buffer);
            assertEquals("string,builder,buffer", result);
        }
    
        @ParameterizedTest
        @DisplayName("Should handle various element counts")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            assertNotNull(dnsDomainInfo.name.buffer);
            assertEquals(5, dnsDomainInfo.name.buffer.length);
    
            assertEquals(12, dnsDomainInfo.dns_domain.length);
            assertEquals(24, dnsDomainInfo.dns_domain.maximum_length);
            assertNotNull(dnsDomainInfo.dns_domain.buffer);
            assertEquals(6, dnsDomainInfo.dns_domain.buffer.length);
    
            assertEquals(14, dnsDomainInfo.dns_forest.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  7. cmd/sftp-server-driver.go

    			return 0, fmt.Errorf("write offset %d is too far ahead of next offset %d", offset, w.nextOffset)
    		}
    		w.buffer[offset] = make([]byte, len(b))
    		copy(w.buffer[offset], b)
    		n = len(b)
    	}
    
    again:
    	nextOut, ok := w.buffer[w.nextOffset]
    	if ok {
    		n, err = w.w.Write(nextOut)
    		delete(w.buffer, w.nextOffset)
    		w.nextOffset += int64(n)
    		if n != len(nextOut) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 10 16:35:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

            return HEADER_LENGTH;
        }
    
        int readHeaderWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
            type = buffer[bufferIndex] & 0xFF;
            bufferIndex++;
            length = ((buffer[bufferIndex] & 0x01) << 16) + readInt2(buffer, bufferIndex + 1);
            return HEADER_LENGTH;
        }
    
        abstract int writeTrailerWireFormat(byte[] dst, int dstIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt

    import okio.Buffer
    import okio.ByteString.Companion.encodeUtf8
    import okio.GzipSink
    import okio.Source
    import okio.buffer
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class CompressionInterceptorTest {
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      val source =
        Buffer().apply {
          write("Hello World".encodeUtf8())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/UnicodeString.java

            final int zt = zterm ? 1 : 0;
    
            this.length = this.maximum_length = (short) ((len + zt) * 2);
            this.buffer = new short[len + zt];
    
            int i;
            for (i = 0; i < len; i++) {
                this.buffer[i] = (short) str.charAt(i);
            }
            if (zterm) {
                this.buffer[i] = (short) 0;
            }
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top