Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,627 for pats (0.04 sec)

  1. cmd/object-api-multipart_test.go

    			}
    			// Asserting the number of Parts.
    			if len(expectedResult.Parts) != len(actualResult.Parts) {
    				t.Errorf("Test %d: %s: Expected the result to contain info of %d Parts, but found %d instead", i+1, instanceType, len(expectedResult.Parts), len(actualResult.Parts))
    			} else {
    				// Iterating over the partInfos and asserting the fields.
    				for j, actualMetaData := range actualResult.Parts {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionParser.java

                this.source = source;
                this.parts = parts.toArray(new String[0]);
                this.numericParts = new Long[this.parts.length];
                for (int i = 0; i < parts.size(); i++) {
                    this.numericParts[i] = Longs.tryParse(this.parts[i]);
                }
                this.baseVersion = baseVersion == null ? this : baseVersion;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tpu-dynamic-layout-pass.mlir

    // RUN: tf-opt %s -split-input-file -tf-tpu-dynamic-layout-pass | FileCheck %s
    
    // Tests that the pass can transform non-replicated execution.
    
    // CHECK: func @non_replicated(%[[ARG0:.*]]: tensor<*x!tf_type.resource> {tf.device = "/device:CPU:0"}) -> tensor<i32>
    func.func @non_replicated(%arg0: tensor<*x!tf_type.resource> {tf.device = "/device:CPU:0"}) -> tensor<i32> {
      // CHECK: %[[COMPILE:.*]]:2 = "tf_device.launch"
      // CHECK-NEXT: "tf._TPUCompileMlir"()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/path-params-numeric-validations.md

    # Path-параметры и валидация числовых данных
    
    Так же, как с помощью `Query` вы можете добавлять валидацию и метаданные для query-параметров, так и с помощью `Path` вы можете добавлять такую же валидацию и метаданные для path-параметров.
    
    ## Импорт Path
    
    Сначала импортируйте `Path` из `fastapi`, а также импортируйте `Annotated`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="1  3"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Joiner.java

            checkNotNull(appendable, "appendable");
            checkNotNull(parts, "parts");
            while (parts.hasNext()) {
              Object part = parts.next();
              if (part != null) {
                appendable.append(Joiner.this.toString(part));
                break;
              }
            }
            while (parts.hasNext()) {
              Object part = parts.next();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

            Artifact s;
            String[] parts = coord.split(":");
            switch (parts.length) {
                case 3:
                    s = new DefaultArtifact(parts[0], parts[1], "*", "*", parts[2]);
                    break;
                case 4:
                    s = new DefaultArtifact(parts[0], parts[1], "*", parts[2], parts[3]);
                    break;
                case 5:
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/cmd/dist/README

    This program, dist, is the bootstrapping tool for the Go distribution.
    
    As of Go 1.5, dist and other parts of the compiler toolchain are written
    in Go, making bootstrapping a little more involved than in the past.
    The approach is to build the current release of Go with an earlier one.
    
    The process to install Go 1.x, for x ≥ 22, is:
    
    1. Build cmd/dist with Go 1.20.6.
    2. Using dist, build Go 1.x compiler toolchain with Go 1.20.6.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 25 17:20:22 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. pkg/test/util/yml/parts_test.go

    	"testing"
    
    	. "github.com/onsi/gomega"
    
    	"istio.io/istio/pkg/test/util/yml"
    )
    
    func TestEmptyDoc(t *testing.T) {
    	g := NewWithT(t)
    
    	yaml := `
    `
    	parts := yml.SplitString(yaml)
    	g.Expect(len(parts)).To(Equal(0))
    
    	yaml = yml.JoinString(parts...)
    	g.Expect(yaml).To(Equal(""))
    }
    
    func TestSplitWithEmptyPart(t *testing.T) {
    	expected := []string{
    		"a",
    		"b",
    	}
    
    	cases := []struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. cmd/object-api-utils_test.go

    			trailingSlash = SlashSeparator
    		}
    	}
    	return path.Join(elem...) + trailingSlash
    }
    
    func BenchmarkPathJoinOld(b *testing.B) {
    	b.Run("PathJoin", func(b *testing.B) {
    		b.ResetTimer()
    		b.ReportAllocs()
    
    		for i := 0; i < b.N; i++ {
    			pathJoinOld("volume", "path/path/path")
    		}
    	})
    }
    
    func BenchmarkPathJoin(b *testing.B) {
    	b.Run("PathJoin", func(b *testing.B) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/CapabilityNotationParserFactory.java

                String stringNotation = notation.toString();
                String[] parts = stringNotation.split(":");
                if (parts.length != 3) {
                    if (versionIsRequired || parts.length != 2) {
                        reportInvalidNotation(stringNotation);
                    }
                }
                for (String part : parts) {
                    if (StringUtils.isEmpty(part)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top