Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 967 for carlet (0.19 sec)

  1. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

      fun statementStartsAndStops() {
        val called = AtomicBoolean()
        val statement =
          server.apply(
            object : Statement() {
              override fun evaluate() {
                called.set(true)
                server.url("/").toUrl().openConnection().connect()
              }
            },
            Description.EMPTY,
          )
        statement.evaluate()
        assertThat(called.get()).isTrue()
        try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// won't be registered anymore is if this function gets called by core
      /// TensorFlow and the `TF_Filesystem*` object is destroyed. However, due to
      /// registration being done in a static instance of `Env`, the destructor of
      /// `FileSystem` is never called (see
      /// https://github.com/tensorflow/tensorflow/issues/27535). In turn, this
      /// function will never be called. There are plans to refactor registration
      /// and fix this.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

       * enqueue messages followed by pongs, but this sends pongs followed by messages. Pongs are always
       * written in the order they were enqueued.
       *
       * If a frame cannot be sent - because there are none enqueued or because the web socket is not
       * connected - this does nothing and returns false. Otherwise this returns true and the caller
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

       */
      private fun findSectionsIndex(codePoint: Int): Int {
        val target = (codePoint and 0x1fff80) shr 7
        val offset =
          binarySearch(
            position = 0,
            limit = sections.length / 4,
          ) { index ->
            val entryIndex = index * 4
            val b0b1 = sections.read14BitInt(entryIndex)
            return@binarySearch target.compareTo(b0b1)
          }
    
        return when {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/CharsetsTest.java

      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testIso88591() {
        assertEquals(Charset.forName("ISO-8859-1"), Charsets.ISO_8859_1);
      }
    
      public void testUtf8() {
        assertEquals(Charset.forName("UTF-8"), Charsets.UTF_8);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testUtf16be() {
        assertEquals(Charset.forName("UTF-16BE"), Charsets.UTF_16BE);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

     * This is typical for Java but atypical for HTTP/2. This is motivated by exception transparency:
     * an [IOException] that was triggered by a certain caller can be caught and handled by that caller.
     */
    @Suppress("NAME_SHADOWING")
    class Http2Connection internal constructor(builder: Builder) : Closeable {
      internal val lock: ReentrantLock = ReentrantLock()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            }
        }
    
        @Override
        public Optional<String> getString(URI relativeSource, Charset charset) {
            requireNonNull(charset, "charset is null");
            Optional<byte[]> data = getBytes(relativeSource);
            return data.map(bytes -> new String(bytes, charset));
        }
    
        @Override
        public void put(Path source, URI relativeTarget) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  8. cni/pkg/ipset/nldeps_mock.go

    func (m *MockedIpsetDeps) ipsetIPHashCreate(name string, v6 bool) error {
    	args := m.Called(name, v6)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) destroySet(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	args := m.Called(name, ip, ipProto, comment, replace)
    	return args.Error(0)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. cmd/metacache-set.go

    	// If set to nil, it will not be called.
    
    	// agreed is called if all disks agreed.
    	agreed func(entry metaCacheEntry)
    
    	// partial will be called when there is disagreement between disks.
    	// if disk did not return any result, but also haven't errored
    	// the entry will be empty and errs will
    	partial func(entries metaCacheEntries, errs []error)
    
    	// finished will be called when all streams have finished and
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/Cache.java

     * by multiple concurrent threads.
     *
     * @param <K> the type of the cache's keys, which are not permitted to be null
     * @param <V> the type of the cache's values, which are not permitted to be null
     * @author Charles Fry
     * @since 10.0
     */
    @DoNotMock("Use CacheBuilder.newBuilder().build()")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface Cache<K, V> {
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (0)
Back to top