Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 240 for Wrap (0.02 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(type.isPrimitive());
        assertNotWrapper(type);
        assertEquals(TypeToken.of(Primitives.wrap((Class<?>) type.getType())), type.wrap());
      }
    
      private static void assertNotPrimitive(TypeToken<?> type) {
        assertFalse(type.isPrimitive());
        assertSame(type, type.wrap());
      }
    
      private static void assertIsWrapper(TypeToken<?> type) {
        assertNotPrimitive(type);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

      }
    
      @Test
      fun webSocketsDontTriggerEventListener() {
        val listener = RecordingEventListener()
        client =
          client
            .newBuilder()
            .eventListenerFactory(clientTestRule.wrap(listener))
            .build()
        webServer.enqueue(
          MockResponse
            .Builder()
            .webSocketUpgrade(serverListener)
            .build(),
        )
        val webSocket: WebSocket = newWebSocket()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Tables.java

      public static <R, C, V> Table<R, C, V> newCustomTable(
          Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) {
        checkArgument(backingMap.isEmpty());
        checkNotNull(factory);
        // TODO(jlevy): Wrap factory to validate that the supplied maps are empty?
        return new StandardTable<>(backingMap, factory);
      }
    
      /**
       * Returns a view of a table where each value is transformed by a function. All other properties
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. docs/smb3-features/05-rdma-smb-direct-design.md

            }
        }
        
        private void handleRdmaWrite(Smb2WriteRequest request) throws IOException {
            // Register write data buffer for RDMA
            ByteBuffer writeBuffer = ByteBuffer.wrap(request.getData());
            RdmaMemoryRegion writeRegion = provider.registerMemory(writeBuffer,
                EnumSet.of(RdmaAccess.LOCAL_READ, RdmaAccess.REMOTE_READ));
            
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Chars.java

      }
    
      /**
       * Returns the {@code char} value whose big-endian representation is stored in the first 2 bytes
       * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getChar()}. For example, the
       * input byte array {@code {0x54, 0x32}} would yield the {@code char} value {@code '\\u5432'}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Shorts.java

      }
    
      /**
       * Returns the {@code short} value whose big-endian representation is stored in the first 2 bytes
       * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getShort()}. For example, the
       * input byte array {@code {0x54, 0x32}} would yield the {@code short} value {@code 0x5432}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Shorts.java

      }
    
      /**
       * Returns the {@code short} value whose big-endian representation is stored in the first 2 bytes
       * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getShort()}. For example, the
       * input byte array {@code {0x54, 0x32}} would yield the {@code short} value {@code 0x5432}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  8. docs/smb3-features/02-persistent-handles-design.md

        }
        
        public HandleGuid(byte[] bytes) {
            if (bytes.length != 16) {
                throw new IllegalArgumentException("GUID must be 16 bytes");
            }
            ByteBuffer bb = ByteBuffer.wrap(bytes);
            long mostSig = bb.getLong();
            long leastSig = bb.getLong();
            this.guid = new UUID(mostSig, leastSig);
        }
        
        public byte[] toBytes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
       * #synchronizedMultimap}.
       *
       * <p>Call this method only when the simpler methods {@link ArrayListMultimap#create()}, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multimaps.java

       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
       * #synchronizedMultimap}.
       *
       * <p>Call this method only when the simpler methods {@link ArrayListMultimap#create()}, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
Back to top