Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 236 for SomeThing (0.13 sec)

  1. internal/grid/connection.go

    func (c *Connection) handleMessages(ctx context.Context, conn net.Conn) {
    	c.updateState(StateConnected)
    	ctx, cancel := context.WithCancelCause(ctx)
    	defer cancel(ErrDisconnected)
    
    	// This will ensure that is something asks to disconnect and we are blocked on reads/writes
    	// the connection will be closed and readers/writers will unblock.
    	go c.monitorState(conn, cancel)
    
    	c.handleMsgWg.Add(2)
    	c.reconnectMu.Unlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // case though).
    //
    // If the evaluation is successful, this function returns true and `output`s
    // value is returned in `result`. Otherwise returns false. An error status is
    // returned if something is wrong with the graph or input. Note that this may
    // return false even if no error status is set.
    TF_CAPI_EXPORT extern unsigned char TF_TryEvaluateConstant(TF_Graph* graph,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        ) // Slow connection 1KiB/second.
        server.enqueue(
          MockResponse(body = body),
        )
        client =
          client.newBuilder()
            .readTimeout(Duration.ofMillis(500)) // Half a second to read something.
            .build()
    
        // Make a call expecting a timeout reading the response body.
        val call1 = client.newCall(Request(server.url("/")))
        val response1 = call1.execute()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheTest.kt

        // The URL will remain available if hasNext() returned true...
        val i = cache.urls()
        assertThat(i.hasNext()).isTrue()
    
        // ...so even when we evict the element, we still get something back.
        cache.evictAll()
        assertThat(i.next()).isEqualTo(url.toString())
    
        // Remove does nothing. But most importantly, it doesn't throw!
        i.remove()
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        server.enqueue(MockResponse(socketPolicy = SocketPolicy.DisconnectAfterRequest))
        server.enqueue(MockResponse(body = "def"))
    
        // Seed the connection pool so we have something that can fail.
        assertContent("abc", getResponse(newRequest("/")))
        val post =
          getResponse(
            Request(
              url = server.url("/"),
              body = "body!".toRequestBody(null),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

          return ImmutableMap.of();
        }
        Entry<K, ? extends V> entry1 = entryItr.next();
        K key1 = entry1.getKey();
        V value1 = entry1.getValue();
        checkEntryNotNull(key1, value1);
        // Do something that works for j2cl, where we can't call getDeclaredClass():
        EnumMap<K, V> enumMap = new EnumMap<>(singletonMap(key1, value1));
        while (entryItr.hasNext()) {
          Entry<K, ? extends V> entry = entryItr.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Maps.java

          return ImmutableMap.of();
        }
        Entry<K, ? extends V> entry1 = entryItr.next();
        K key1 = entry1.getKey();
        V value1 = entry1.getValue();
        checkEntryNotNull(key1, value1);
        // Do something that works for j2cl, where we can't call getDeclaredClass():
        EnumMap<K, V> enumMap = new EnumMap<>(singletonMap(key1, value1));
        while (entryItr.hasNext()) {
          Entry<K, ? extends V> entry = entryItr.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.24.md

    - Added a path `/header?key=` to `agnhost netexec` allowing one to view what the header value is of the incoming request.
    
      Ex:
      ```
      $ curl -H "X-Forwarded-For: something" 172.17.0.2:8080/header?key=X-Forwarded-For
      something
      ```
       ([#107796](https://github.com/kubernetes/kubernetes/pull/107796), [@alexanderConstantinescu](https://github.com/alexanderConstantinescu))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Aug 24 00:02:43 UTC 2023
    - 473.4K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.4.md

    kubectl delete secret --namespace=federation federation-apiserver-secret
    ```
    
    - Kubernetes components no longer handle panics, and instead actively crash.  All Kubernetes components should be run by something that actively restarts them. This is true of the default setups, but those with custom environments may need to double-check (#28800, @lavalamp)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 133.5K bytes
    - Viewed (0)
  10. fastapi/applications.py

            async def unicorn_exception_handler(request: Request, exc: UnicornException):
                return JSONResponse(
                    status_code=418,
                    content={"message": f"Oops! {exc.name} did something. There goes a rainbow..."},
                )
            ```
            """
    
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_exception_handler(exc_class_or_status_code, func)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
Back to top