Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 116 for cat2 (0.04 sec)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    For example:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    In this case, `fluffy` is an instance of the class `Cat`.
    
    And to create `fluffy`, you are "calling" `Cat`.
    
    So, a Python class is also a **callable**.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. docs/distributed/decom-compressed-sse-s3.sh

    ./mc rm -r --force myminio/versioned >/dev/null
    
    ## mirror again to create another set of version on top
    ./mc mirror internal myminio/versioned/ --quiet >/dev/null
    
    expected_checksum=$(./mc cat internal/dsync/drwmutex.go | md5sum)
    
    user_count=$(./mc admin user list myminio/ | wc -l)
    policy_count=$(./mc admin policy list myminio/ | wc -l)
    
    kill $pid
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec_test.cc

    constexpr absl::string_view kModuleConstantAdd = R"mlir(
      module {
        func.func @constant_add() -> (tensor<3x2xf32>) {
          %cst1 = stablehlo.constant dense<2.4> : tensor<3x2xf32>
          %cst2 = stablehlo.constant dense<5.7> : tensor<3x2xf32>
          %add = stablehlo.add %cst1, %cst2 : (tensor<3x2xf32>, tensor<3x2xf32>) -> tensor<3x2xf32>
          func.return %add : tensor<3x2xf32>
        }
      }
    )mlir";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. samples/open-telemetry/als/README.md

    ```bash
    istioctl install --set profile=demo -y
    ```
    
    Next, add a Telemetry resource that tells Istio to send access logs to the OpenTelemetry collector.
    
    ```bash
    cat <<EOF | kubectl apply -n istio-system -f -
    apiVersion: telemetry.istio.io/v1alpha1
    kind: Telemetry
    metadata:
      name: mesh-default
      namespace: istio-system
    spec:
      accessLogging:
        - providers:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 18 16:38:12 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. hack/update-vendor.sh

      go mod tidy
    }
    
    function print_go_mod_section() {
      local directive="$1"
      local file="$2"
    
      if [ -s "${file}" ]; then
          echo "${directive} ("
          cat "$file"
          echo ")"
      fi
    }
    
    function group_directives() {
      local local_tmp_dir
      local_tmp_dir=$(mktemp -d "${TMP_DIR}/group_replace.XXXX")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Table<String, Integer, Character> other = HashBasedTable.create();
        other.put("foo", 1, 'd');
        other.put("bar", 2, 'e');
        other.put("cat", 2, 'f');
        try {
          table.putAll(other);
          fail("Expected UnsupportedOperationException");
        } catch (UnsupportedOperationException expected) {
        }
        assertEquals((Character) 'a', table.get("foo", 1));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 16:54:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/work.txt

    ! go run  example.com/b
    stderr 'a(\\|/)a.go:4:8: no required module provides package rsc.io/quote; to add it:\n\tcd '$WORK(\\|/)gopath(\\|/)src(\\|/)a'\n\tgo get rsc.io/quote'
    cd a
    go get rsc.io/quote
    cat go.mod
    go env GOMOD # go env GOMOD reports the module in a single module context
    stdout $GOPATH(\\|/)src(\\|/)a(\\|/)go.mod
    cd ..
    go run example.com/b
    stdout 'Hello, world.'
    
    # And try from a different directory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/image/png/writer.go

    	cdat0 := cr[0][1:]
    	cdat1 := cr[1][1:]
    	cdat2 := cr[2][1:]
    	cdat3 := cr[3][1:]
    	cdat4 := cr[4][1:]
    	pdat := pr[1:]
    	n := len(cdat0)
    
    	// The up filter.
    	sum := 0
    	for i := 0; i < n; i++ {
    		cdat2[i] = cdat0[i] - pdat[i]
    		sum += abs8(cdat2[i])
    	}
    	best := sum
    	filter := ftUp
    
    	// The Paeth filter.
    	sum = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. hack/verify-description.sh

    failure_file="${KUBE_ROOT}/hack/.descriptions_failures"
    kube::util::check-file-in-alphabetical-order "${failure_file}"
    
    failing_files=()
    while IFS='' read -r line; do failing_files+=("$line"); done < <(cat "$failure_file")
    
    result=0
    for file in $versioned_api_files; do
      if ! kube::util::array_contains "$file" "${failing_files[@]}"; then
        gen_swagger_result=0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:32 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. helm-releases/minio-5.1.0.tgz

    MC="/usr/bin/mc --insecure" {{- end }} # connectToMinio # Use a check-sleep-check loop to wait for MinIO service to be available connectToMinio() { SCHEME=$1 ATTEMPTS=0 LIMIT=29 # Allow 30 attempts set -e # fail if we can't read the keys. ACCESS=$(cat /config/rootUser) SECRET=$(cat /config/rootPassword) set +e # The connections to minio are allowed to fail. echo "Connecting to MinIO server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT" MC_COMMAND="${MC} alias set myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET"...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 03 18:49:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top