Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 104 for boundary$ (0.05 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    import com.google.common.testing.EqualsTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests CacheBuilderSpec. TODO(user): tests of a few invalid input conditions, boundary
     * conditions.
     *
     * @author Adam Winer
     */
    @NullUnmarked
    public class CacheBuilderSpecTest extends TestCase {
      public void testParse_empty() {
        CacheBuilderSpec spec = parse("");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        mockWebServer.close()
      }
    
      @Test
      fun multipartBody() {
        val multipartBody: MultipartBody = MultipartBody.Builder().build()
        val type: MediaType = multipartBody.type
        val boundary: String = multipartBody.boundary
        val size: Int = multipartBody.size
        val parts: List<MultipartBody.Part> = multipartBody.parts
        val part: MultipartBody.Part = multipartBody.part(0)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 47K bytes
    - Viewed (0)
  3. android/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}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            // Then
            assertEquals(TEST_DATA.length, bytesWritten);
            assertArrayEquals(TEST_DATA, dst);
        }
    
        @Test
        @DisplayName("Test writeDataWireFormat boundary check with offset")
        void testWriteDataWireFormatBoundaryWithOffset() {
            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. 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;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. 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];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. 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}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. 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);
                }
            }
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    1. **Isolation**: Each test is independent and doesn't affect others
    2. **Clarity**: Test names clearly describe what is being tested
    3. **Coverage**: Both success and failure paths are tested
    4. **Edge Cases**: Null, empty, and boundary conditions are covered
    5. **Resources**: Test resources are properly managed and cleaned up
    
    ## Contributing
    
    When adding new tests:
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            int result2 = transWaitNamedPipe.writeSetupWireFormat(dst2, 0);
    
            // Assert
            assertEquals(result1, result2);
            assertArrayEquals(dst1, dst2);
        }
    
        @Test
        @DisplayName("Boundary test for writeSetupWireFormat with minimum buffer")
        void testWriteSetupWireFormatMinimumBuffer() {
            // Arrange
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top