Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 1,886 for LENGTH (0.05 sec)

  1. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            rcv_buf = new byte[RCV_BUF_SIZE];
            out = new DatagramPacket(snd_buf, SND_BUF_SIZE, baddr, NAME_SERVICE_UDP_PORT);
            in = new DatagramPacket(rcv_buf, RCV_BUF_SIZE);
    
            if (RO == null || RO.length() == 0) {
    
                /* No resolveOrder has been specified, use the
                 * default which is LMHOSTS,DNS,WINS,BCAST
                 * LMHOSTS,BCAST,DNS if jcifs.smb1.netbios.wins has not
                 * been specified.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileTest.java

            void testLength() throws SmbException {
                // Arrange
                long expectedLength = 1024L;
                doReturn(expectedLength).when(smbFile).length();
    
                // Act & Assert
                assertEquals(expectedLength, smbFile.length());
            }
    
            @Test
            void testLastModified() throws SmbException {
                // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

            String[] badWords = suggester.settings().badword().get(false);
            assertTrue(badWords.length > 0);
    
            suggester.indexer().deleteBadWord("badword");
    
            badWords = suggester.settings().badword().get(false);
            assertEquals(0, badWords.length);
        }
    
        @Test
        public void test_addElevateWord() throws Exception {
            ElevateWord elevateWord =
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

                return 0;
            }
    
            SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex);
            dstIndex += 2;
            System.arraycopy(descr, 0, dst, dstIndex, descr.length);
            dstIndex += descr.length;
            SMBUtil.writeInt2(0x0001, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.maxDataCount, dst, dstIndex);
            dstIndex += 2;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

       * [reader]. For example, if the reader's peeked tag isn't readable by this adapter, it may return
       * a default value.
       *
       * If this does read a value, it starts with the tag and length, and reads an entire value,
       * including any potential composed values.
       *
       * If there's nothing to read and no default value, this will throw an exception.
       */
      fun fromDer(reader: DerReader): T
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

        }
        HashCode[] codes = new HashCode[hashers.size()];
        for (int i = 0; i < hashers.size(); i++) {
          codes[i] = hashers.get(i).hash();
        }
        for (int i = 1; i < codes.length; i++) {
          assertEquals(codes[i - 1], codes[i]);
        }
      }
    
      public void testPutStringWithLowSurrogate() {
        // we pad because the dummy hash function we use to test this, merely copies the input into
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          assertThat(headersToList(builder)).containsExactly("Content-Length: 0")
        }
      }
    
      @Test
      fun setStatusControlsWholeStatusLine() {
        val builder = MockResponse.Builder().status("HTTP/1.1 202 That'll do pig")
        assertThat(headersToList(builder)).containsExactly("Content-Length: 0")
        assertThat(builder.status).isEqualTo("HTTP/1.1 202 That'll do pig")
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  8. src/bytes/buffer.go

    var ErrTooLarge = errors.New("bytes.Buffer: too large")
    var errNegativeRead = errors.New("bytes.Buffer: reader returned negative count from Read")
    
    const maxInt = int(^uint(0) >> 1)
    
    // Bytes returns a slice of length b.Len() holding the unread portion of the buffer.
    // The slice is valid for use only until the next buffer modification (that is,
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:01:17 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

         *
         * @param buffer the byte buffer containing the security descriptor data
         * @param bufferIndex the starting offset in the buffer
         * @param len the length of data to decode
         * @throws IOException if an I/O error occurs during decoding
         */
        public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/DialectVersionTest.java

            // Then
            assertNotNull(values);
            assertEquals(6, values.length); // SMB1, SMB202, SMB210, SMB300, SMB302, SMB311
            assertEquals(DialectVersion.SMB1, values[0]);
            assertEquals(DialectVersion.SMB311, values[values.length - 1]);
        }
    
        @Test
        @DisplayName("Should handle valueOf() method")
        void testValueOfMethod() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top