Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for 0xffffff (0.15 sec)

  1. src/archive/zip/zip_test.go

    				t.Fatal(err)
    			}
    		}
    	}
    	t.Run("uint32max-2_NoZip64", func(t *testing.T) {
    		t.Parallel()
    		if generatesZip64(t, gen(0xfffffffe)) {
    			t.Error("unexpected zip64")
    		}
    	})
    	t.Run("uint32max-1_Zip64", func(t *testing.T) {
    		t.Parallel()
    		if !generatesZip64(t, gen(0xffffffff)) {
    			t.Error("expected zip64")
    		}
    	})
    }
    
    // At 16k records, we need to generate a zip64 file.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/Utf8Test.java

              +
              // Three byte characters
              THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      // 1,048,576 [chars 0x10000L to 0x10FFFF]
      private static final long FOUR_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x10FFFF - 0x10000L + 1;
    
      // 289,571,839
      private static final long EXPECTED_FOUR_BYTE_ROUNDTRIPPABLE_COUNT =
          // All one byte characters
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

          checkArgument(
              (port >= 0) && (port <= 0xffff), "port '%s' is out of range (0 <= port <= 0xffff)", port);
          checkArgument(
              (flags >= 0) && (flags <= 0xffff),
              "flags '%s' is out of range (0 <= flags <= 0xffff)",
              flags);
    
          this.server = MoreObjects.firstNonNull(server, ANY4);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  4. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.write(headerBlock, Http2.INITIAL_MAX_FRAME_SIZE.toLong())
    
        // Write the continuation frame, specifying no more frames are expected.
        writeMedium(frame, headerBlock.size.toInt())
        frame.writeByte(Http2.TYPE_CONTINUATION)
        frame.writeByte(FLAG_END_HEADERS)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.writeAll(headerBlock)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

          throw IOException("FRAME_SIZE_ERROR: $length")
        }
        val type = source.readByte() and 0xff
        val flags = source.readByte() and 0xff
        val streamId = source.readInt() and 0x7fffffff // Ignore reserved bit.
        if (type != TYPE_WINDOW_UPDATE && logger.isLoggable(FINE)) {
          logger.fine(frameLog(true, streamId, length, type, flags))
        }
    
        if (requireSettings && type != TYPE_SETTINGS) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

            streamId = streamId,
            length = length + 4,
            type = TYPE_PUSH_PROMISE,
            flags = if (byteCount == length.toLong()) FLAG_END_HEADERS else 0,
          )
          sink.writeInt(promisedStreamId and 0x7fffffff)
          sink.write(hpackBuffer, length.toLong())
    
          if (byteCount > length) writeContinuationFrames(streamId, byteCount - length)
        }
      }
    
      @Throws(IOException::class)
      fun flush() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        } catch (IllegalArgumentException expected) {
          // Kotlin native, see above
        }
      }
    
      public void testDecodeInt() {
        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        assertBytes(0xe0 or 31, 154, 10)
      }
    
      @Test
      fun max31BitValue() {
        hpackWriter!!.writeInt(0x7fffffff, 31, 0)
        assertBytes(31, 224, 255, 255, 255, 7)
        assertThat(newReader(byteStream(224, 255, 255, 255, 7)).readInt(31, 31))
          .isEqualTo(0x7fffffff)
      }
    
      @Test
      fun prefixMask() {
        hpackWriter!!.writeInt(31, 31, 0)
        assertBytes(31, 0)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 38.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        frameLength = (b1 and B1_MASK_LENGTH).toLong()
        if (frameLength == PAYLOAD_SHORT.toLong()) {
          frameLength = (source.readShort() and 0xffff).toLong() // Value is unsigned.
        } else if (frameLength == PAYLOAD_LONG.toLong()) {
          frameLength = source.readLong()
          if (frameLength < 0L) {
            throw ProtocolException(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/IntMathTest.java

        }
      }
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
Back to top