Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1471 - 1480 of 1,899 for LENGTH (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

      }
    
      /**
       * We had a bug where self-finishing inflater streams would infinite loop!
       * https://github.com/square/okhttp/issues/8078
       */
      @Test fun `inflate returns finished before bytesRead reaches input length`() {
        val inflater = MessageInflater(false)
        val message = "53621260020000".decodeHex()
        assertThat(inflater.inflate(message)).isEqualTo("22021002".decodeHex())
      }
    
      @Test fun `deflate golden value`() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:26:07 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    		var buf [directory64EndLen + directory64LocLen]byte
    		b := writeBuf(buf[:])
    
    		// zip64 end of central directory record
    		b.uint32(directory64EndSignature)
    		b.uint64(directory64EndLen - 12) // length minus signature (uint32) and length fields (uint64)
    		b.uint16(zipVersion45)           // version made by
    		b.uint16(zipVersion45)           // version needed to extract
    		b.uint32(0)                      // number of this disk
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                    assertEquals(testByte, buffer[i], "Byte at position " + i + " was modified");
                }
    
                // Check bytes after encoded area
                for (int i = startIndex + expectedSize; i < buffer.length; i++) {
                    assertEquals(testByte, buffer[i], "Byte at position " + i + " was modified");
                }
            }
    
            @Test
            @DisplayName("Should encode at buffer boundary")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

             */
            public String dfs_name;
            /**
             * Information level for enumeration
             */
            public int level;
            /**
             * Preferred maximum length of returned data
             */
            public int prefmaxlen;
            /**
             * DFS enumeration structure containing results
             */
            public DfsEnumStruct info;
            /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

                    .thenAnswer(inv -> inv.getArgument(1));
    
            int n = handle.sendrecv(new byte[10], 0, 0, new byte[20], 100);
            assertEquals(0, n, "Default response length is 0 unless protocol fills it");
        }
    
        @Test
        @DisplayName("sendrecv uses CallNamedPipe when PIPE_TYPE_CALL is set")
        void sendrecv_call_branch() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/FinalizableReferenceQueue.java

          if (!urlString.endsWith(finalizerPath)) {
            throw new IOException("Unsupported path style: " + urlString);
          }
          urlString = urlString.substring(0, urlString.length() - finalizerPath.length());
          return new URL(finalizerUrl, urlString);
        }
    
        /** Creates a class loader with the given base URL as its classpath. */
        URLClassLoader newLoader(URL base) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dtyp/ACE.java

            this.sid = new SID(buf, bi);
            return size;
        }
    
        void appendCol(final StringBuffer sb, final String str, final int width) {
            sb.append(str);
            final int count = width - str.length();
            for (int i = 0; i < count; i++) {
                sb.append(' ');
            }
        }
    
        /**
         * Return a string represeting this ACE.
         * <p>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            // create a new empty range and decode
            LockingAndXRange decoded = new LockingAndXRange(false);
            int decodedSize = decoded.decode(dst, 0, dst.length);
            assertEquals(10, decodedSize, "Decode should return size 10");
            assertEquals(99, decoded.getPid());
            assertEquals(123456L, decoded.getByteOffset());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/util/LogStreamTest.java

            LogStream.setInstance(testStream);
    
            final LogStream[] instances = new LogStream[10];
            Thread[] threads = new Thread[10];
    
            for (int i = 0; i < threads.length; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    instances[index] = LogStream.getInstance();
                });
                threads[i].start();
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Streams.java

        int characteristics = Spliterator.ORDERED | Spliterator.SIZED | Spliterator.NONNULL;
        long estimatedSize = 0L;
        ImmutableList.Builder<Spliterator<? extends T>> splitrsBuilder =
            new ImmutableList.Builder<>(streams.length);
        for (Stream<? extends T> stream : streams) {
          isParallel |= stream.isParallel();
          Spliterator<? extends T> splitr = stream.spliterator();
          splitrsBuilder.add(splitr);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 36.4K bytes
    - Viewed (0)
Back to top