Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,999 for sameId (2.69 sec)

  1. src/reflect/type_test.go

    func TestStructOfEmbeddedIfaceMethodCall(t *testing.T) {
    	type Named interface {
    		Name() string
    	}
    
    	typ := reflect.StructOf([]reflect.StructField{
    		{
    			Anonymous: true,
    			Name:      "Named",
    			Type:      reflect.TypeFor[Named](),
    		},
    	})
    
    	v := reflect.New(typ).Elem()
    	v.Field(0).Set(
    		reflect.ValueOf(reflect.TypeFor[string]()),
    	)
    
    	x := v.Interface().(Named)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/go/types/typestring.go

    		}
    		w.string(s)
    		if parens {
    			w.byte('(')
    		}
    		w.typ(t.elem)
    		if parens {
    			w.byte(')')
    		}
    
    	case *Named:
    		// If hashing, write a unique prefix for t to represent its identity, since
    		// named type identity is pointer identity.
    		if w.ctxt != nil {
    			w.string(strconv.Itoa(w.ctxt.getID(t)))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

            z = nn_ops.conv2d(x, w, padding='SAME')
            return z, w
    
          @def_function.function(
              input_signature=[
                  tensor_spec.TensorSpec(
                      shape=input_shape, dtype=dtypes.float32, name='input_tensor'
                  )
              ]
          )
          def main(self, x):
            x1 = nn_ops.conv2d(x, self.w, padding='SAME')
            x2, _ = while_loop_ops.while_loop(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        populateForRowKeySet(table, elements);
                        return table.rowKeySet();
                      }
                    })
                .named("ArrayTable.rowKeySet")
                .withFeatures(
                    CollectionSize.ONE,
                    CollectionSize.SEVERAL,
                    CollectionFeature.KNOWN_ORDER,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go

    	//         set username.prefix=""
    	//     (2) --oidc-username-prefix="" and  --oidc-username-claim != "email", prefix was "<value of --oidc-issuer-url>#". For the same
    	//         behavior using authentication config, set username.prefix="<value of issuer.url>#"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/project/TestMavenRepositorySystem.java

     * under the License.
     */
    package org.apache.maven.project;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.artifact.resolver.ArtifactResolver;
    import org.apache.maven.repository.legacy.LegacyRepositorySystem;
    
    @Named("classpath")
    @Singleton
    @Deprecated
    public class TestMavenRepositorySystem extends LegacyRepositorySystem {
        @Inject
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/kotlin-multiplatform-js-jvm-example/build.gradle.kts

                    implementation(kotlin("test-annotations-common"))
                }
            }
    
            named("jsTest") {
                dependencies {
                    implementation(kotlin("test-js"))
                }
            }
    
            named("jvmTest") {
                dependencies {
                    implementation(kotlin("test-junit5"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 07:33:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryDocumentationIntegrationTest.groovy

                            canBeConsumed = false
                            attributes {
                                attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.DOCUMENTATION))
                                attribute(DocsType.DOCS_TYPE_ATTRIBUTE, objects.named(DocsType, DocsType.JAVADOC))
                            }
                        }
                        sources {
                            assert canBeResolved
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc

    // string tensor as argument, which specifies the path to the checkpoint to
    // which the variable's tensor values are saved. It finds
    // `tf.AssignVariableOp(tf.VarHandleOp, tf.Const)` pattern in the initializer
    // function of type "restore_op" to identify the VarHandleOps that should be
    // saved using the SaveV2 op.
    class InsertSaveOpPass
        : public PassWrapper<InsertSaveOpPass, OperationPass<ModuleOp>> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/path-params-numeric-validations.md

    # Path Parameters and Numeric Validations
    
    In the same way that you can declare more validations and metadata for query parameters with `Query`, you can declare the same type of validations and metadata for path parameters with `Path`.
    
    ## Import Path
    
    First, import `Path` from `fastapi`, and import `Annotated`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="1  3"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!}
        ```
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 01 21:05:52 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top