Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2351 - 2360 of 2,585 for get (0.06 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          // Set the cause of the exception as this future's exception.
          setException(e.getCause());
          return;
        } catch (Exception e) { // sneaky checked exception
          // Bug in inputFuture.get(). Propagate to the output Future so that its consumers don't hang.
          setException(e);
          return;
        } catch (Error e) {
          /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. cmd/erasure-decode.go

    	// we do not need stashbuffer for them.
    	if globalBytePoolCap.Load().WidthCap() >= len(readers)*shardSize {
    		// Fill buffers
    		b = globalBytePoolCap.Load().Get()
    		// Seed the buffers.
    		for i := range bufs {
    			bufs[i] = b[i*shardSize : (i+1)*shardSize]
    		}
    	}
    
    	return &parallelReader{
    		readers:       readers,
    		orgReaders:    readers,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      }
    
      public void testAsList() {
        ImmutableList<Integer> list = ContiguousSet.create(Range.closed(1, 3), integers()).asList();
        for (int i = 0; i < 3; i++) {
          assertEquals(i + 1, list.get(i).intValue());
        }
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator()));
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.toArray(new Integer[0])));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/Stats.java

     *       {@code Number}, and primitive varargs are supported.
     *   <li>Or, to avoid storing up all the data first, create a {@link StatsAccumulator} instance,
     *       feed values to it as you get them, then call {@link StatsAccumulator#snapshot}.
     * </ul>
     *
     * <p>Static convenience methods called {@code meanOf} are also provided for users who wish to
     * calculate <i>only</i> the mean.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type3Message.java

                long ts = (System.currentTimeMillis() + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601) * 10000;
                if (haveTimestamp) {
                    ts = ((AvTimestamp) AvPairs.get(avPairs, AvPair.MsvAvTimestamp)).getTimestamp();
                }
    
                setNTResponse(getNTLMv2Response(tc, type2, responseKeyNT, ntlmClientChallenge,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.6.md

      * Add Version to the resource printer for 'get nodes' ([#37943](https://github.com/kubernetes/kubernetes/pull/37943), [@ailusazh](https://github.com/ailusazh))
      * Added support for printing in all supported `--output` formats to `kubectl create ...` and `kubectl apply ...` ([#38112](https://github.com/kubernetes/kubernetes/pull/38112), [@juanvallejo](https://github.com/juanvallejo))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 304K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.5.md

    - **AWS**
      - [stable] Roles should appear in kubectl get nodes ([kubernetes/features#113](https://github.com/kubernetes/enhancements/issues/113))
    - **Cluster Lifecycle**
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (0)
  8. docs/es/docs/deployment/docker.md

    * Crea un archivo `main.py` con:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:15:52 UTC 2025
    - 31K bytes
    - Viewed (0)
  9. docs/zh-hant/docs/async.md

    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note | 注意
    
    你只能在 `async def` 建立的函式內使用 `await`。
    
    ///
    
    ---
    
    如果你使用的是第三方函式庫並且它需要與某些外部資源(例如資料庫、API、檔案系統等)進行通訊,但不支援 `await`(目前大多數資料庫函式庫都是這樣),在這種情況下,你可以像平常一樣使用 `def` 宣告*路徑操作函式*,如下所示:
    
    ```Python hl_lines="2"
    @app.get('/')
    def results():
        results = some_library()
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

              try {
                shutDown();
              } catch (Exception ignored) {
                restoreInterruptIfIsInterruptedException(ignored);
                logger
                    .get()
                    .log(
                        Level.WARNING,
                        "Error while attempting to shut down the service after failure.",
                        ignored);
              }
              notifyFailed(t);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
Back to top