Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 125 for Boundary (0.06 seconds)

  1. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java

    import org.codelibs.fess.util.QueryResponseList;
    import org.dbflute.optional.OptionalThing;
    import org.junit.jupiter.api.Test;
    
    /**
     * Edge case tests for RankFusionProcessor.
     * Tests boundary conditions, empty states, and error scenarios.
     */
    public class RankFusionProcessorEdgeCaseTest extends UnitFessTestCase {
    
        private static final String ID_FIELD = "_id";
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

                    Arguments.of(0xFFFFFFFF, "All bits set"));
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat buffer boundary")
        void testWriteParametersWireFormatBufferBoundary() {
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0xFFFF, 0xFFFFFFFF);
            byte[] dst = new byte[8];
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // Then
            // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
            // The size8 method aligns to 8-byte boundary
            int alignedSize = (expectedSize + 7) & ~7;
            assertEquals(alignedSize, size);
        }
    
        @Test
        @DisplayName("Should write correct bytes to wire format")
        void testWriteBytesWireFormat() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/asm/testdata/ppc64_p10.s

    	PDEPD R1, R2, R3                        // 7c231138
    	PEXTD R1, R2, R3                        // 7c231178
    	PLBZ 1234(R1), $0, R3                   // 06000000886104d260000000
    	// Note, PLD crosses a 64B boundary, and a nop is inserted between PLBZ and PLD
    	PLD 1234(R1), $0, R3                    // 04000000e46104d2
    	PLFD 1234(R1), $0, F3                   // 06000000c86104d2
    	PLFS 1234567890(R4), $0, F3             // 06004996c06402d2
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 23 20:52:57 GMT 2023
    - 14.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

                // String data in UTF-16LE
                buf.writeOctetArray(wideBytes, 0, wideBytes.length);
                buf.enc_ndr_short(0); // Wide null terminator
    
                // Pad to 4-byte boundary
                int padding = (4 - ((wideBytes.length + 2) % 4)) % 4;
                for (int i = 0; i < padding; i++) {
                    buf.enc_ndr_small(0);
                }
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Test with special characters
            assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "\\\\server\\share\\file$name.txt"));
        }
    
        @Test
        @DisplayName("Test buffer boundary conditions")
        void testBufferBoundaryConditions() {
            // Given
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, "test");
    
            // Test with minimum size buffer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            assertEquals(0, result);
    
            result = response.readDataWireFormat(null, 0, 0);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test boundary conditions for buffer offsets")
        void testBoundaryConditions() {
            byte[] smallBuffer = new byte[10];
    
            // Test with maximum offset
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            return size8(size, 0);
        }
    
        /**
         * Rounds up the size to the specified alignment.
         *
         * @param size the size to align
         * @param align the alignment boundary
         * @return the aligned size
         */
        protected static final int size8(final int size, final int align) {
    
            int rem = size % 8 - align;
            if (rem == 0) {
                return size;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ContiguousSet.java

       *
       * @throws NoSuchElementException if this set is empty
       */
      public abstract Range<C> range();
    
      /**
       * Returns the minimal range with the given boundary types for which all values in this set are
       * {@linkplain Range#contains(Comparable) contained} within the range.
       *
       * <p>Note that this method will return ranges with unbounded endpoints if {@link BoundType#OPEN}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  10. docs/changelogs/changelog_4x.md

            val part = multipartReader.nextPart() ?: break
            process(part.headers, part.body)
          }
        }
        ```
    
     *  New: `MediaType.parameter()` gets a parameter like `boundary` from a media type like
        `multipart/mixed; boundary="abc"`.
    
     *  New: `Authenticator.JAVA_NET_AUTHENTICATOR` forwards authentication requests to
        `java.net.Authenticator`. This obsoletes `JavaNetAuthenticator` in the `okhttp-urlconnection`
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Click Count (0)
Back to Top