Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 477 for maximal (0.17 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            // The decode method returns only the header size (16 bytes)
            assertEquals(16, bytesDecoded);
        }
    
        @Test
        @DisplayName("Test decode with maximum values")
        void testDecodeWithMaxValues() throws SMBProtocolDecodingException {
            // Prepare test data with max values
            byte[] buffer = new byte[20]; // 16 header + 4 data
            int bufferIndex = 0;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            assertEquals("https://second.com", data.getUrl());
            assertEquals(2.0f, data.getWeight(), 0.001f);
        }
    
        public void test_minimalUsage() {
            // Test minimal usage (just URL)
            RequestData data = RequestDataBuilder.newRequestData().url("https://example.com").build();
    
            assertNull(data.getMethod());
            assertEquals("https://example.com", data.getUrl());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         *
         * @param b the buffer into which the data is read
         * @param off the start offset in the array b at which the data is written
         * @param len the maximum number of bytes to read
         * @return the total number of bytes read into the buffer, or -1 if there is no more data
         * @throws IOException if an I/O error occurs
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeMultiset.java

          if (left == null) {
            return right;
          } else if (right == null) {
            return left;
          } else if (left.height >= right.height) {
            AvlNode<E> newTop = pred();
            // newTop is the maximum node in my left subtree
            newTop.left = left.removeMax(newTop);
            newTop.right = right;
            newTop.distinctElements = distinctElements - 1;
            newTop.totalCount = totalCount - oldElemCount;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                assertEquals(4, bytesWritten);
                assertEquals(4, SMBUtil.readInt2(buffer, 0));
            }
    
            @Test
            @DisplayName("Should handle maximum offset")
            void testWriteBytesAtMaxOffset() {
                byte[] buffer = new byte[1000];
                int offset = buffer.length - 4;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            // Create a buffer with only standard lease data (no directory-specific data)
            byte[] buffer = new byte[56]; // Header + name + padding + standard lease data only
    
            // Write minimal header
            SMBUtil.writeInt4(0, buffer, 0); // Next
            SMBUtil.writeInt2(16, buffer, 4); // NameOffset
            SMBUtil.writeInt2(4, buffer, 6); // NameLength
            SMBUtil.writeInt2(0, buffer, 8); // Reserved
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

      fun setClient(client: Boolean) {
        if (this.client == client) return
        this.client = client
        writer = Http2Writer(bytesOut, client)
      }
    
      fun acceptFrame() {
        frameCount++
      }
    
      /** Maximum length of an outbound data frame.  */
      fun maxOutboundDataLength(): Int = writer.maxDataLength()
    
      /** Count of frames sent or received.  */
      fun frameCount(): Int = frameCount
    
      fun sendFrame(): Http2Writer {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                return buffer;
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum values")
            void testMaximumValues() throws SMBProtocolDecodingException {
                byte[] buffer = createValidCopyChunkResponse(Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            assertEquals(" ", testTransformer.getName());
    
            // Single Unicode character
            testTransformer.setName("あ");
            assertEquals("あ", testTransformer.getName());
    
            // Maximum practical length (avoid OutOfMemoryError)
            StringBuilder maxName = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                maxName.append("0123456789");
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            // Bit 0 of byte 1 is MSB, followed by bytes 2 and 3
            assertEquals(0x012345, length);
        }
    
        @Test
        @DisplayName("readLength should handle maximum length")
        void testReadLengthMaximum() {
            byte[] src = { (byte) 0x00, (byte) 0x01, (byte) 0xFF, (byte) 0xFF };
            int length = SessionServicePacket.readLength(src, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top