Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 159 for allocate (0.17 sec)

  1. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        val address = factory.newHttpsAddress()
        proxySelector.proxies.add(proxyA)
        proxySelector.proxies.add(proxyB)
        var routeSelector = newRouteSelector(address)
        dns[PROXY_A_HOST] = dns.allocate(1)
        dns[PROXY_B_HOST] = dns.allocate(1)
    
        // Mark the ProxyA route as failed.
        val selection = routeSelector.next()
        dns.assertRequests(PROXY_A_HOST)
        val route = selection.next()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        CharBuffer buf2 = CharBuffer.allocate(expected.length());
        assertEquals(expected.length() == 0 ? -1 : expected.length(), reader.read(buf2));
        Java8Compatibility.flip(buf2);
        assertEquals(expected, buf2.toString());
        assertFullyRead(reader);
    
        // read in chunks to fixed CharBuffer
        reader = new CharSequenceReader(charSequence);
        buf2 = CharBuffer.allocate(5);
        builder = new StringBuilder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Buffer.class, ByteBuffer.allocate(0))
              .put(CharBuffer.class, CharBuffer.allocate(0))
              .put(ByteBuffer.class, ByteBuffer.allocate(0))
              .put(ShortBuffer.class, ShortBuffer.allocate(0))
              .put(IntBuffer.class, IntBuffer.allocate(0))
              .put(LongBuffer.class, LongBuffer.allocate(0))
              .put(FloatBuffer.class, FloatBuffer.allocate(0))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  4. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Buffer.class, ByteBuffer.allocate(0))
              .put(CharBuffer.class, CharBuffer.allocate(0))
              .put(ByteBuffer.class, ByteBuffer.allocate(0))
              .put(ShortBuffer.class, ShortBuffer.allocate(0))
              .put(IntBuffer.class, IntBuffer.allocate(0))
              .put(LongBuffer.class, LongBuffer.allocate(0))
              .put(FloatBuffer.class, FloatBuffer.allocate(0))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    }
    
    void TF_InitPlugin(TF_FilesystemPluginInfo* info) {
      info->plugin_memory_allocate = plugin_memory_allocate;
      info->plugin_memory_free = plugin_memory_free;
      info->num_schemes = 2;
      info->ops = static_cast<TF_FilesystemPluginOps*>(
          plugin_memory_allocate(info->num_schemes * sizeof(info->ops[0])));
      ProvideFilesystemSupportFor(&info->ops[0], "");
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return CharBuffer.allocate(generateInt());
      }
    
      @Generates
      ByteBuffer generateByteBuffer() {
        return ByteBuffer.allocate(generateInt());
      }
    
      @Generates
      ShortBuffer generateShortBuffer() {
        return ShortBuffer.allocate(generateInt());
      }
    
      @Generates
      IntBuffer generateIntBuffer() {
        return IntBuffer.allocate(generateInt());
      }
    
      @Generates
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        CharBuffer buf2 = CharBuffer.allocate(expected.length());
        assertEquals(expected.length() == 0 ? -1 : expected.length(), reader.read(buf2));
        Java8Compatibility.flip(buf2);
        assertEquals(expected, buf2.toString());
        assertFullyRead(reader);
    
        // read in chunks to fixed CharBuffer
        reader = new CharSequenceReader(charSequence);
        buf2 = CharBuffer.allocate(5);
        builder = new StringBuilder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

      }
    
      fun assertRequests(vararg expectedHosts: String?) {
        assertThat(requestedHosts).containsExactly(*expectedHosts)
        requestedHosts.clear()
      }
    
      /** Allocates and returns `count` fake IPv4 addresses like [255.0.0.100, 255.0.0.101].  */
      fun allocate(count: Int): List<InetAddress> {
        val from = nextAddress
        nextAddress += count
        return (from until nextAddress)
          .map {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/networking/v1alpha1/generated.proto

    // Node.  A ClusterCIDR is eligible to be used for a given Node when the node
    // selector matches the node in question and has free CIDRs to allocate.  In
    // case of multiple matching ClusterCIDR resources, the allocator will attempt
    // to break ties using internal heuristics, but any ClusterCIDR whose node
    // selector matches the Node may be used.
    message ClusterCIDR {
      // Standard object's metadata.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/modular_filesystem.h

            read_only_memory_region_ops_(std::move(read_only_memory_region_ops)),
            plugin_memory_allocate_(std::move(plugin_memory_allocate)),
            plugin_memory_free_(std::move(plugin_memory_free)) {}
    
      ~ModularFileSystem() override { ops_->cleanup(filesystem_.get()); }
    
      TF_USE_FILESYSTEM_METHODS_WITH_NO_TRANSACTION_SUPPORT;
    
      Status NewRandomAccessFile(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
Back to top