Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 147 for Overflow (0.12 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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 ~~
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                // Validate that security buffer doesn't exceed available data
                if (hdrStart + securityBufferOffset < hdrStart || // Check for integer overflow
                        hdrStart + securityBufferOffset + securityBufferLength < 0 || // Check for integer overflow
                        hdrStart + securityBufferOffset + securityBufferLength > buffer.length) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  3. src/main/webapp/css/bootstrap.min.css.map

    !important;\n}\n\n.opacity-100 {\n  opacity: 1 !important;\n}\n\n.overflow-auto {\n  overflow: auto !important;\n}\n\n.overflow-hidden {\n  overflow: hidden !important;\n}\n\n.overflow-visible {\n  overflow: visible !important;\n}\n\n.overflow-scroll {\n  overflow: scroll !important;\n}\n\n.overflow-x-auto {\n  overflow-x: auto !important;\n}\n\n.overflow-x-hidden {\n  overflow-x: hidden !important;\n}\n\n.overflow-x-visible {\n  overflow-x: visible !important;\n}\n\n.overflow-x-scroll {\n  overflow-x:...
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 575.5K bytes
    - Click Count (0)
  4. 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;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        }
    
        @ParameterizedTest
        @ValueSource(longs = { 0L, 1024L, 1048576L, 2147483647L })
        void testDifferentFileSizes(long fileSize) {
            // Test various file size values (excluding values that would overflow signed int)
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
            setFieldValue(response, "wordCount", 10);
    
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(0, buffer, 0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

        do {
          val buffer = cursor.data
          var i = cursor.start
          val end = cursor.end
          if (buffer != null) {
            while (i < end) {
              keyIndex %= keyLength // Reassign to prevent overflow breaking counter.
    
              // Byte xor is experimental in Kotlin so we coerce bytes to int, xor them
              // and convert back to byte.
              val bufferInt: Int = buffer[i].toInt()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

              // or we could avoid inputstreamreader and use the decoder api directly
              // TODO(lukes): in a real implementation we would need to handle overflow conditions
              int maxChars = (int) (size.get().intValue() * cs.newDecoder().maxCharsPerByte());
              char[] buffer = new char[maxChars];
              int bufIndex = 0;
              int remaining = buffer.length;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * time, then a request arrived and was immediately granted? This RateLimiter would immediately
       * forget about that past underutilization. This may result in either underutilization or
       * overflow, depending on the real world consequences of not using the expected rate.
       *
       * Past underutilization could mean that excess resources are available. Then, the RateLimiter
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // When
            int bytesWritten = trans2GetDfsReferral.writeParametersWireFormat(dst, 0);
    
            // Then
            assertTrue(bytesWritten > 0);
            // Verify that encoding doesn't overflow
            assertTrue(bytesWritten < dst.length);
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/math/Quantiles.java

          // as a long, without risk of overflow:
          long numerator = (long) index * (dataset.length - 1);
          // Since scale is a positive int, index is in [0, scale], and (dataset.length - 1) is a
          // non-negative int, we can do long-arithmetic on index * (dataset.length - 1) / scale to get
          // a rounded ratio and a remainder which can be expressed as ints, without risk of overflow:
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 30.1K bytes
    - Click Count (0)
Back to Top