Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 254 for Wrap (0.06 sec)

  1. guava-tests/test/com/google/common/primitives/PrimitivesTest.java

        assertThat(Primitives.isWrapperType(void.class)).isFalse();
      }
    
      public void testWrap() {
        assertThat(Primitives.wrap(int.class)).isSameInstanceAs(Integer.class);
        assertThat(Primitives.wrap(Integer.class)).isSameInstanceAs(Integer.class);
        assertThat(Primitives.wrap(String.class)).isSameInstanceAs(String.class);
      }
    
      public void testUnwrap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. tensorflow/c/conversion_macros.h

      }                                                                            \
                                                                                   \
      inline wrapper *wrap(cpp_impl *i) { return reinterpret_cast<wrapper *>(i); } \
      inline const wrapper *wrap(const cpp_impl *i) {                              \
        return reinterpret_cast<const wrapper *>(i);                               \
      }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon May 04 16:24:03 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashTestUtils.java

        assertEquals(
            hashFunction.hashBytes(ByteBuffer.wrap(bytes)),
            hashFunction.newHasher(size).putBytes(ByteBuffer.wrap(bytes)).hash());
        int off = random.nextInt(size);
        int len = random.nextInt(size - off);
        assertEquals(
            hashFunction.hashBytes(ByteBuffer.wrap(bytes, off, len)),
            hashFunction.newHasher(size).putBytes(ByteBuffer.wrap(bytes, off, len)).hash());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        NavigableSet<String> set1 = ImmutableSortedSet.of("one");
        NavigableSet<String> set2 = ImmutableSortedSet.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                searchEngineClient.admin().indices().prepareClose(docIndex).execute(ActionListener.wrap(res -> {
                    logger.info("Close {}", docIndex);
                    searchEngineClient.admin().indices().prepareOpen(docIndex).execute(
                            ActionListener.wrap(res2 -> logger.info("Open {}", docIndex), e -> logger.warn("Failed to open {}", docIndex, e)));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt

      fun enqueueResponse(response: MockResponse) {
        delegate.enqueueResponse(response.wrap())
      }
    
      override fun shutdown() {
        delegate.shutdown()
      }
    
      fun setFailFast(failFast: Boolean) {
        delegate.setFailFast(failFast)
      }
    
      fun setFailFast(failFastResponse: MockResponse?) {
        delegate.setFailFast(failFastResponse?.wrap())
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Oct 18 12:55:43 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertTrue(okSource.wasStreamClosed());
      }
    
      public void testConcat() throws IOException {
        ByteSource b1 = ByteSource.wrap(new byte[] {0, 1, 2, 3});
        ByteSource b2 = ByteSource.wrap(new byte[0]);
        ByteSource b3 = ByteSource.wrap(new byte[] {4, 5});
    
        byte[] expected = {0, 1, 2, 3, 4, 5};
    
        assertArrayEquals(expected, ByteSource.concat(ImmutableList.of(b1, b2, b3)).read());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. src/main/webapp/css/admin/style.css

    	font-size: 120%;
    	font-weight: 600;
    }
    
    section.content table {
    	display: table;
    	table-layout: fixed;
    	width
    }
    
    section.content table td {
    	display: table-cell;
    	word-wrap: break-word;
    	overflow-wrap: break-word;
    }
    
    section.content table .label {
    	color: #fff;
    }
    
    textarea.systemInfoData {
    	height: 22em;
    	line-height: 1.5em;
    }
    
    .login-box {
    	height: 500px;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ForwardingDequeTest.java

                Deque.class,
                new Function<Deque, Deque<?>>() {
                  @Override
                  public Deque<?> apply(Deque delegate) {
                    return wrap((Deque<?>) delegate);
                  }
                });
      }
    
      private static <T> Deque<T> wrap(final Deque<T> delegate) {
        return new ForwardingDeque<T>() {
          @Override
          protected Deque<T> delegate() {
            return delegate;
          }
        };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/wsgi.md

    For that, you can use the `WSGIMiddleware` and use it to wrap your WSGI application, for example, Flask, Django, etc.
    
    ## Using `WSGIMiddleware`
    
    You need to import `WSGIMiddleware`.
    
    Then wrap the WSGI (e.g. Flask) app with the middleware.
    
    And then mount that under a path.
    
    ```Python hl_lines="2-3  23"
    {!../../docs_src/wsgi/tutorial001.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top