Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 78 for emerson (0.24 sec)

  1. src/fmt/example_test.go

    	// The %+v form shows the fields by name, while %#v formats the struct in
    	// Go source format.
    	person := struct {
    		Name string
    		Age  int
    	}{"Kim", 22}
    	fmt.Printf("%v %+v %#v\n", person, person, person)
    	// Result: {Kim 22} {Name:Kim Age:22} struct { Name string; Age int }{Name:"Kim", Age:22}
    
    	// The default format for a pointer shows the underlying value preceded by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 21:03:10 UTC 2019
    - 11.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

                value('visible', 'person')
                candidates("a mask", "a vaccine")
                cannotBeConvertedTo('safe person')
                includeLink()
            }
    
            then:
            outputEquals """
    Type 'Human' property 'face' has unsupported value 'visible'.
    
    Reason: Type 'person' cannot be converted to a safe person.
    
    Possible solutions:
      1. Use a mask.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  3. docs/de/docs/help-fastapi.md

    ### Das Problem reproduzieren
    
    In den meisten Fällen und bei den meisten Fragen ist etwas mit dem von der Person erstellten **eigenen Quellcode** los.
    
    In vielen Fällen wird nur ein Fragment des Codes gepostet, aber das reicht nicht aus, um **das Problem zu reproduzieren**.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:29:57 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/JavaProjectIntegrationTest.groovy

                package org.gradle.test;
                class PersonImpl implements Person { }
            """
    
            testFile("b/src/main/java/org/gradle/test/Person.java") << """
                package org.gradle.test;
                interface Person { }
            """
    
            def result = inTestDirectory().withTasks("a:classes").run()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec.groovy

        }
    
        def goodCode() {
            file("src/main/groovy/compile/test/Person.groovy") << """
                package compile.test
                class Person {}
            """.stripIndent()
        }
    
        def badCode() {
            file("src/main/groovy/compile/test/Person.groovy") << """
                package compile.test
                class Person extends {}
            """.stripIndent()
        }
    
        def badJavaCode() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 09:08:49 UTC 2023
    - 27K bytes
    - Viewed (0)
  6. schema/relationship_test.go

    func TestMultipleMany2Many(t *testing.T) {
    	type Thing struct {
    		ID int
    	}
    
    	type Person struct {
    		ID       int
    		Likes    []Thing `gorm:"many2many:likes"`
    		Dislikes []Thing `gorm:"many2many:dislikes"`
    	}
    
    	checkStructRelation(t, &Person{},
    		Relation{
    			Name: "Likes", Type: schema.Many2Many, Schema: "Person", FieldSchema: "Thing",
    			JoinTable: JoinTable{Name: "likes", Table: "likes"},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. platforms/jvm/war/src/integTest/groovy/org/gradle/api/tasks/bundling/WarTaskIntegrationTest.groovy

                    file 'file2.txt'
                }
            }
            createDir('classes') {
                org {
                    gradle {
                        file 'resource.txt'
                        file 'Person.class'
                    }
                }
            }
            createZip("lib.jar") {
                file "Dependency.class"
            }
            and:
            buildFile << """
                task war(type: War) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 13:20:44 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. docs/en/docs/python-types.md

    ### Classes as types
    
    You can also declare a class as the type of a variable.
    
    Let's say you have a class `Person`, with a name:
    
    ```Python hl_lines="1-3"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Then you can declare a variable to be of type `Person`:
    
    ```Python hl_lines="6"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. src/encoding/binary/binary_test.go

    		}
    	}
    }
    
    func TestNoFixedSize(t *testing.T) {
    	type Person struct {
    		Age    int
    		Weight float64
    		Height float64
    	}
    
    	person := Person{
    		Age:    27,
    		Weight: 67.3,
    		Height: 177.8,
    	}
    
    	for _, enc := range encoders {
    		t.Run(enc.name, func(t *testing.T) {
    			_, err := enc.fn(LittleEndian, &person)
    			if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  10. docs/bn/docs/python-types.md

    ### ক্লাস হিসেবে টাইপস
    
    আপনি একটি ভেরিয়েবলের টাইপ হিসেবে একটি ক্লাস ঘোষণা করতে পারেন।
    
    ধরুন আপনার কাছে `Person` নামে একটি ক্লাস আছে, যার একটি নাম আছে:
    
    ```Python hl_lines="1-3"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    তারপর আপনি একটি ভেরিয়েবলকে `Person` টাইপের হিসেবে ঘোষণা করতে পারেন:
    
    ```Python hl_lines="6"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Apr 03 15:34:37 UTC 2024
    - 36K bytes
    - Viewed (0)
Back to top