Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 840 for f$ (0.03 sec)

  1. android/guava/src/com/google/common/collect/Ordering.java

       * (you can omit the comparator if it is the natural order).
       */
      @GwtCompatible(serializable = true)
      public <F extends @Nullable Object> Ordering<F> onResultOf(Function<F, ? extends T> function) {
        return new ByFunctionOrdering<>(function, this);
      }
    
      <T2 extends T> Ordering<Entry<T2, ?>> onKeys() {
        return onResultOf(Maps.<T2>keyFunction());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2_test.go

    	"github.com/minio/minio/internal/bucket/lifecycle"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    func TestReadXLMetaNoData(t *testing.T) {
    	f, err := os.Open("testdata/xl.meta-corrupt.gz")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer f.Close()
    
    	gz, err := gzip.NewReader(bufio.NewReader(f))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	buf, err := io.ReadAll(gz)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/RangeTest.java

        Cut<Integer> c = Range.greaterThan(0).lowerBound;
        Cut<Integer> d = Range.atLeast(1).lowerBound;
        Cut<Integer> e = Range.greaterThan(1).lowerBound;
        Cut<Integer> f = Range.greaterThan(1).upperBound;
    
        testCompareToAndEquals(ImmutableList.of(a, b, c, d, e, f));
      }
    
      @SuppressWarnings("DistinctVarargsChecker")
      public void testContainsAll() {
        Range<Integer> range = Range.closed(3, 5);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    例如,<a href="https://docs.python.org/zh-cn/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">你可以使用`with`读取文件</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    在底层,`open("./somefile.txt")`创建了一个被称为"上下文管理器"的对象。
    
    当 `with` 代码块结束时,它会确保关闭文件,即使发生了异常也是如此。
    
    当你使用 `yield` 创建一个依赖项时,**FastAPI** 会在内部将其转换为上下文管理器,并与其他相关工具结合使用。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/PrimitiveSink.java

      /** Puts a long into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putLong(long l);
    
      /** Puts a float into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putFloat(float f);
    
      /** Puts a double into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putDouble(double d);
    
      /** Puts a boolean into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putBoolean(boolean b);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. buildscripts/verify-healing-empty-erasure-set.sh

    	## version is purposefully set to '3' for minio to migrate configuration file
    	echo '{"version": "3", "credential": {"accessKey": "minio", "secretKey": "minio123"}, "region": "us-east-1"}' >"$MINIO_CONFIG_DIR/config.json"
    
    	if [ ! -f /tmp/mc ]; then
    		wget --quiet -O /tmp/mc https://dl.minio.io/client/mc/release/linux-amd64/mc &&
    			chmod +x /tmp/mc
    	fi
    }
    
    function perform_test() {
    	start_minio_3_node $2
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. ci/official/installer_wheel.sh

    pure_python_whl=$(basename "${pure_python_whl}")
    
    # Extract the package name from the wheel name. That is, extract every character
    # before the pattern "-py3-" in the wheel name.
    pkg_name=$(echo "${pure_python_whl}" | awk -F'-py3-' '{print $1}')
    
    # Save the current working directory and then switch to the output directory.
    pushd "${TFCI_OUTPUT_DIR}"
    
    # Unpack the wheel to get all the file contents. The pure python wheel we built
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 25 17:28:01 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(String.class, returnType.getType());
      }
    
      public <F extends Enum<F> & Function<String, Integer> & Iterable<Long>>
          void testResolveType_fromTypeVariable() {
        TypeToken<?> f = TypeToken.of(new TypeCapture<F>() {}.capture());
        assertEquals(String.class, f.resolveType(Function.class.getTypeParameters()[0]).getType());
        assertEquals(Integer.class, f.resolveType(Function.class.getTypeParameters()[1]).getType());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      internal const val ACCEPT_MAGIC = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"
    
      /*
      Each frame starts with two bytes of data.
    
       0 1 2 3 4 5 6 7    0 1 2 3 4 5 6 7
      +-+-+-+-+-------+  +-+-------------+
      |F|R|R|R| OP    |  |M| LENGTH      |
      |I|S|S|S| CODE  |  |A|             |
      |N|V|V|V|       |  |S|             |
      | |1|2|3|       |  |K|             |
      +-+-+-+-+-------+  +-+-------------+
       */
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. docs/distributed/decom-encrypted.sh

    #!/bin/bash
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    pkill minio
    rm -rf /tmp/xl
    
    if [ ! -f ./mc ]; then
    	wget --quiet -O mc https://dl.minio.io/client/mc/release/linux-amd64/mc &&
    		chmod +x mc
    fi
    
    export CI=true
    export MINIO_KMS_AUTO_ENCRYPTION=on
    export MINIO_KMS_SECRET_KEY=my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
    
    (minio server http://localhost:9000/tmp/xl/{1...10}/disk{0...1} 2>&1 >/dev/null) &
    pid=$!
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top