Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 133 for Overflow (0.04 sec)

  1. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            assertTrue(stats.getFailureRate() <= 1.0);
        }
    
        @Test
        public void testBufferOverflowPrevention() throws Exception {
            validator.resetStats();
    
            // Trigger buffer overflow prevention
            try {
                byte[] buffer = new byte[10];
                validator.validateBufferAccess(buffer, 5, 10);
            } catch (SmbException e) {
                // Expected
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbWatchHandleTest.java

            verify(watchHandle, times(1)).watch();
        }
    
        /**
         * Test watch() method returning empty list when buffer overflow
         */
        @Test
        void testWatchBufferOverflow() throws CIFSException {
            // Setup mock behavior for buffer overflow scenario
            when(watchHandle.watch()).thenReturn(Collections.emptyList());
    
            // Execute
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt

          unicode = "ليهمابتكلموشعربي؟",
          punycode = "Xn--EgBpDaJ6Bu4bXfGeHfVwXn",
        )
      }
    
      /**
       * It's invalid to have a label longer than 63 characters. If that's requested, the encoder may
       * overflow and return null.
       */
      @Test fun overflowEncodingOversizedLabel() {
        val a1000 = "a".repeat(1000)
        val a1000MaxCodePoint = a1000 + "\udbff\udfff"
        testEncodeDecode(
          a1000MaxCodePoint,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/main/webapp/css/admin/bootstrap.min.css.map

    0.075);\n}\n\n@media (max-width: 575.98px) {\n  .table-responsive-sm {\n    display: block;\n    width: 100%;\n    overflow-x: auto;\n    -webkit-overflow-scrolling: touch;\n  }\n  .table-responsive-sm > .table-bordered {\n    border: 0;\n  }\n}\n\n@media (max-width: 767.98px) {\n  .table-responsive-md {\n    display: block;\n    width: 100%;\n    overflow-x: auto;\n    -webkit-overflow-scrolling: touch;\n  }\n  .table-responsive-md > .table-bordered {\n    border: 0;\n  }\n}\n\n@media (max-width:...
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 639.3K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb1/smb1/BufferCache.java

            byte[] buf = bufferQueue.poll();
            if (buf != null) {
                queueSize.decrementAndGet();
                return buf;
            }
    
            // Validate buffer size to prevent overflow
            int bufferSize = SmbComTransaction.TRANSACTION_BUF_SIZE;
            if (bufferSize < 0 || bufferSize > MAX_BUFFER_SIZE) {
                throw new IllegalStateException("Invalid buffer size: " + bufferSize);
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_negative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                    throw new SMBProtocolDecodingException("Invalid buffer parameters");
                }
                if (bufferIndex + len > buffer.length) {
                    throw new SMBProtocolDecodingException("Buffer overflow");
                }
    
                // Store the decoded data
                this.data = new byte[len];
                System.arraycopy(buffer, bufferIndex, this.data, 0, len);
    
                return len;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                    throw new IllegalArgumentException("Destination index cannot be negative");
                }
                if (dstIndex + encodedSize > dst.length) {
                    throw new ArrayIndexOutOfBoundsException("Buffer overflow");
                }
    
                // Simulate encoding: write header (8 bytes)
                Arrays.fill(dst, dstIndex, dstIndex + 8, (byte) 0xFF);
                int offset = dstIndex + 8;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. mkdocs.yml

            'concurrency.md': 'contribute/concurrency.md'
            'debug_logging.md': 'contribute/debug_logging.md'
    
    nav:
      - 'Overview':
        - 'Overview': index.md
        - 'Stack Overflow': https://stackoverflow.com/questions/tagged/okhttp?sort=active
      - 'Features':
        - 'Calls': features/calls.md
        - 'Caching': features/caching.md
        - 'Connections': features/connections.md
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Nov 21 07:19:31 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/DiscreteDomain.java

          long result = origin + distance;
          if (result < 0) {
            checkArgument(origin < 0, "overflow");
          }
          return result;
        }
    
        @Override
        public long distance(Long start, Long end) {
          long result = end - start;
          if (end > start && result < 0) { // overflow
            return Long.MAX_VALUE;
          }
          if (end < start && result > 0) { // underflow
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top