Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 208 for someString (0.15 sec)

  1. src/syscall/js/js_test.go

    func TestString(t *testing.T) {
    	want := "abc\u1234"
    	o := dummys.Get("someString")
    	if got := o.String(); got != want {
    		t.Errorf("got %#v, want %#v", got, want)
    	}
    	dummys.Set("otherString", want)
    	if got := dummys.Get("otherString").String(); got != want {
    		t.Errorf("got %#v, want %#v", got, want)
    	}
    	if !dummys.Get("someString").Equal(dummys.Get("someString")) {
    		t.Errorf("same value not equal")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt

            verifyRoundtripOf({
                SerializableBeanContainingExternalizable().apply {
                    someString = "foo"
                    childBean = ExternalizableBean(42)
                    someInt = 13
                }
            }) {
                assertThat(it.someString, equalTo("foo"))
                assertThat(
                    it.childBean?.value,
                    equalTo(42)
                )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy

                    description = "Prints the message 'do something'"
                    doLast {
                        println 'do something'
                    }
                }
            """
    
            when:
            executeTaskViaTAPI(":other-build:tasks", "--all")
    
            then:
            assertHasBuildSuccessfulLogging()
            outputContains("doSomething - Prints the message 'do something'")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/DefaultListenerManagerInServiceRegistryTest.groovy

            then:
            0 * _
    
            when:
            listenerManager.getBroadcaster(TestListener).something("12")
    
            then:
            1 * created.run()
            0 * _
    
            when:
            listenerManager.getBroadcaster(NotStatefulListener).something("12")
    
            then:
            1 * service.something("12")
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy

            'exact match'                                    | [key: 'something']              | 'foo'
            'exact match'                                    | [key: 'something else']         | 'bar'
            'partial match on key but attribute is optional' | [key: 'something', extra: 'no'] | 'foo'
        }
    
        def "revalidates default configuration if it has attributes"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectSpec.groovy

            given:
            def project = project('root', null, Stub(GradleInternal))
            def action = { files -> files.builtBy('something') } as Action<ConfigurableFileCollection>
    
            when:
            def fileCollection = project.files('path', action)
    
            then:
            fileCollection.builtBy == ['something'] as Set
        }
    
        def "can create file tree configured with an Action"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. docs/en/docs/async.md

    Asynchronous code just means that the language 💬 has a way to tell the computer / program 🤖 that at some point in the code, it 🤖 will have to wait for *something else* to finish somewhere else. Let's say that *something else* is called "slow-file" 📝.
    
    So, during that time, the computer can go and do some other work, while "slow-file" 📝 finishes.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go

    					} else {
    						t.Errorf("unexpected call to handler")
    					}
    				}),
    				authenticator.RequestFunc(func(req *http.Request) (*authenticator.Response, bool, error) {
    					if req.Header.Get("Authorization") == "Something" {
    						return &authenticator.Response{User: &user.DefaultInfo{Name: "user"}, Audiences: authenticator.Audiences(tc.respAuds)}, true, nil
    					}
    					return nil, false, errors.New("Authorization header is missing.")
    				}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/first-steps.md

    !!! info "`@decorator` Info"
        That `@something` syntax in Python is called a "decorator".
    
        You put it on top of a function. Like a pretty decorative hat (I guess that's where the term came from).
    
        A "decorator" takes the function below and does something with it.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 12K bytes
    - Viewed (1)
  10. src/net/conf.go

    		return fallbackOrder, nil
    	}
    
    	// Try to figure out the order to use for searches.
    	// If we don't recognize something, use fallbackOrder.
    	// That will use cgo unless the Go resolver was explicitly requested.
    	// If we do figure out the order, return something other
    	// than fallbackOrder to use the Go resolver with that order.
    
    	dnsConf = getSystemDNSConfig()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top