Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 407 for xHello (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_test.go

    		{name: "malformed timestamp", in: []byte("\x45hello"), out: MicroTime{}, errMessage: `parsing time "hello" as "2006-01-02T15:04:05.000000Z07:00": cannot parse "hello" as "2006"`}, // 'hello'
    	} {
    		t.Run(tc.name, func(t *testing.T) {
    			var got MicroTime
    			err := got.UnmarshalCBOR(tc.in)
    			if err != nil {
    				if tc.errMessage == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. chainable_api.go

    )
    
    // Model specify the model you would like to run db operations
    //
    //	// update all users's name to `hello`
    //	db.Model(&User{}).Update("name", "hello")
    //	// if user's primary key is non-blank, will use it as condition, then will only update that user's name to `hello`
    //	db.Model(&user).Update("name", "hello")
    func (db *DB) Model(value interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.Model = value
    	return
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy

            // Unnecessary cast will trigger a warning
            String s = (String)"Hello World";
        }
    """
            }
    
            void addError() {
                errorIndex += 1
                sourceFile << """\
    public void error${errorIndex}() {
        // Missing semicolon will trigger an error
        String s = "Hello, World!"
    }
    """
            }
    
            TestFile save() throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:15:29 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(headersToList(response)).containsExactly("Cookie: a=android")
      }
    
      @Test
      fun regularResponse() {
        server.enqueue(MockResponse().setBody("hello world"))
        val url = server.url("/").toUrl()
        val connection = url.openConnection() as HttpURLConnection
        connection.setRequestProperty("Accept-Language", "en-US")
        val inputStream = connection.inputStream
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        assertThat(headersToList(builder)).containsExactly("Cookie: a=android")
      }
    
      @Test
      fun regularResponse() {
        server.enqueue(MockResponse.Builder().body("hello world").build())
        val url = server.url("/").toUrl()
        val connection = url.openConnection() as HttpURLConnection
        connection.setRequestProperty("Accept-Language", "en-US")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

            .retryOnConnectionFailure(false)
            .build()
        url = server.url("/")
      }
    
      @Test
      fun get() {
        assumeNotWindows()
        server.enqueue(
          MockResponse.Builder()
            .body("Hello!")
            .setHeader("Content-Type", PLAIN)
            .build(),
        )
        val response = client.newCall(request().build()).execute()
        assertThat(response.body).isNotNull()
        response.body.bytes()
        logRecorder
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go

    }
    
    func TestServerRunWithSNI(t *testing.T) {
    	tests := map[string]struct {
    		Cert              TestCertSpec
    		SNICerts          []NamedTestCertSpec
    		ExpectedCertIndex int
    
    		// passed in the client hello info, "localhost" if unset
    		ServerName string
    
    		// optional ip or hostname to pass to NewLoopbackClientConfig
    		LoopbackClientBindAddressOverride string
    	}{
    		"only one cert": {
    			Cert: TestCertSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 15:52:39 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. src/encoding/gob/gobencdec_test.go

    	err := enc.Encode(GobTest4{17, ValueGobber("hello"), BinaryValueGobber("Καλημέρα"), TextValueGobber("こんにちは")})
    	if err != nil {
    		t.Fatal("encode error:", err)
    	}
    	dec := NewDecoder(b)
    	x := new(GobTest5)
    	err = dec.Decode(x)
    	if err != nil {
    		t.Fatal("decode error:", err)
    	}
    	if *x.V != "hello" || *x.BV != "Καλημέρα" || *x.TV != "こんにちは" {
    		t.Errorf("expected `hello` got %s", *x.V)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:26:13 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiClientJdkCompatibilityTest.groovy

                }
            """
            settingsFile << "rootProject.name = 'client-runner'"
    
            file("test-project/build.gradle") << "println 'Hello from ' + gradle.gradleVersion"
            file("test-project/settings.gradle") << "rootProject.name = 'target-project'"
            file("src/main/java/ToolingApiCompatibilityClient.java").java("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy

            lockfileFixture.verifyBuildscriptLockfile('classpath', ['org.foo:foo-plugin:1.1'])
        }
    
        def "can use plugins block with plugin management block"() {
            given:
            def message = "hello from settings plugin"
            pluginBuilder.addSettingsPlugin("println '$message'")
            pluginBuilder.publishAs("org", "settings-plugin", "1.0", pluginRepo, createExecuter()).allowAll()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top