Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 908 for Bounds (0.54 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

        void testMethodsWithIndicesBeyondBuffer() {
            // Arrange
            byte[] buffer = new byte[10];
            int beyondIndex = 20;
    
            // Act & Assert
            // These methods don't validate buffer bounds, so they return 0
            assertEquals(0, response.writeSetupWireFormat(buffer, beyondIndex));
            assertEquals(0, response.writeParametersWireFormat(buffer, beyondIndex));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            stopwordsFile.insert(newItem);
    
            // Verify the item was added
            boolean found = false;
            for (StopwordsItem item : stopwordsFile.stopwordsItemList) {
                if ("test".equals(item.getInput())) {
                    found = true;
                    break;
                }
            }
            assertTrue(found);
        }
    
        // Test update method
        public void test_update() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readBytesWireFormat(buffer, 0));
            }
    
            @Test
            @DisplayName("Should throw exception when buffer index out of bounds")
            void testReadBytesWireFormatBufferIndexOutOfBounds() {
                // Given
                byte[] buffer = new byte[10];
    
                // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            protwordsFile.reload(null);
            boolean found = false;
            PagingList<ProtwordsItem> list = protwordsFile.selectList(0, 100);
            for (ProtwordsItem item : list) {
                if ("newWord".equals(item.getInput())) {
                    found = true;
                    break;
                }
            }
            assertTrue(found);
        }
    
        public void test_update() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MultimapBuilder.java

     *
     * @author Louis Wasserman
     * @param <K0> An upper bound on the key type of the generated multimap.
     * @param <V0> An upper bound on the value type of the generated multimap.
     * @since 16.0
     */
    @GwtCompatible
    public abstract class MultimapBuilder<K0 extends @Nullable Object, V0 extends @Nullable Object> {
      /*
       * Leaving K and V as upper bounds rather than the actual key and value types allows type
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/MultimapBuilder.java

     *
     * @author Louis Wasserman
     * @param <K0> An upper bound on the key type of the generated multimap.
     * @param <V0> An upper bound on the value type of the generated multimap.
     * @since 16.0
     */
    @GwtCompatible
    public abstract class MultimapBuilder<K0 extends @Nullable Object, V0 extends @Nullable Object> {
      /*
       * Leaving K and V as upper bounds rather than the actual key and value types allows type
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18K bytes
    - Viewed (0)
  7. api/go1.6.txt

    pkg image, func NewNYCbCrA(Rectangle, YCbCrSubsampleRatio) *NYCbCrA
    pkg image, method (*NYCbCrA) AOffset(int, int) int
    pkg image, method (*NYCbCrA) At(int, int) color.Color
    pkg image, method (*NYCbCrA) Bounds() Rectangle
    pkg image, method (*NYCbCrA) COffset(int, int) int
    pkg image, method (*NYCbCrA) ColorModel() color.Model
    pkg image, method (*NYCbCrA) NYCbCrAAt(int, int) color.NYCbCrA
    pkg image, method (*NYCbCrA) Opaque() bool
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Throwables.java

           */
          return null;
        }
      }
    
      /**
       * Returns the Method that can be used to resolve an individual StackTraceElement, or null if that
       * method cannot be found (it is only to be found in fairly recent JDKs).
       */
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      private static @Nullable Method getGetMethod() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            assertEquals(dataOffsetValue + dataLength - bodyStart, bytesRead);
            assertEquals(dataLength, response.getDataLength());
        }
    
        @Test
        @DisplayName("Should validate data fits within buffer bounds")
        void testReadBytesWireFormatDataBoundsValidation() throws Exception {
            // Given
            byte[] smallBuffer = new byte[100];
            int bodyStart = 0;
            int dataLength = 50;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertThrows(NullPointerException.class, () -> request.writeBytesWireFormat(buffer, 0));
            }
    
            @Test
            @DisplayName("Should handle data offset beyond array bounds")
            void testDataOffsetBeyondBounds() {
                byte[] data = new byte[100];
                request.setData(data, 200, 50); // Offset beyond array
    
                byte[] buffer = new byte[256];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top