Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Hello$ (0.14 sec)

  1. cmd/server_test.go

    	c.Assert(response.ContentLength, int64(len([]byte("hello world"))))
    	var buffer2 bytes.Buffer
    	// retrieve the contents of response body.
    	n, err := io.Copy(&buffer2, response.Body)
    	c.Assert(err, nil)
    	c.Assert(n, int64(len([]byte("hello world"))))
    	// asserted the contents of the fetched object with the expected result.
    	c.Assert(true, bytes.Equal(buffer2.Bytes(), []byte("hello world")))
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    	{V(uint64(1 << 32)), V(string("\uFFFD"))},
    	{V(uintptr(0x110004)), V(string("\uFFFD"))},
    
    	// named string
    	{V(MyString("hello")), V(string("hello"))},
    	{V(string("hello")), V(MyString("hello"))},
    	{V(string("hello")), V(string("hello"))},
    	{V(MyString("hello")), V(MyString("hello"))},
    	{V(MyString("bytes1")), V([]byte("bytes1"))},
    	{V([]byte("bytes2")), V(MyString("bytes2"))},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  3. pkg/registry/batch/job/strategy_test.go

    				ObjectMeta: getValidObjectMetaWithAnnotations(0, map[string]string{"hello": "world"}),
    				Spec: batch.JobSpec{
    					Selector: validSelector,
    					Template: validPodTemplateSpec,
    				},
    				Status: batch.JobStatus{
    					Active: 2,
    				},
    			},
    			wantJob: batch.Job{
    				ObjectMeta: getValidObjectMetaWithAnnotations(0, map[string]string{"hello": "world"}),
    				Spec: batch.JobSpec{
    					Selector: validSelector,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  4. src/net/http/serve_test.go

    	}
    
    	_, err = rwc.Write([]byte("hello"))
    	if err != nil {
    		t.Fatalf("failed to write to body: %v", err)
    	}
    
    	b := make([]byte, 5)
    	_, err = io.ReadFull(rwc, b)
    	if err != nil {
    		t.Fatalf("failed to read from body: %v", err)
    	}
    
    	if string(b) != "hello" {
    		t.Fatalf("unexpected value read from body:\ngot: %q\nwant: %q", b, "hello")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    					}
    				}
    			}
    		}
    	}
    
    	// Test for Anonymous/unsigned http request.
    	anonReq, err := newTestRequest(http.MethodPut, getPutObjectURL("", bucketName, objectName),
    		int64(len("hello")), bytes.NewReader([]byte("hello")))
    	if err != nil {
    		t.Fatalf("MinIO %s: Failed to create an anonymous request for %s/%s: <ERROR> %v",
    			instanceType, bucketName, objectName, err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  6. tests/integration/pilot/common/routing.go

    				Check: check.And(
    					check.OK(),
    					check.Protocol("HTTP/2.0"),
    					check.RequestHeaders(map[string]string{
    						"X-Vhost-Inbound":  "hello world",
    						"X-Vhost-Outbound": "hello world",
    						"X-Lua-Inbound":    "hello world",
    						"X-Lua-Outbound":   "hello world",
    					}),
    				),
    			},
    		})
    	}
    }
    
    // hostCases tests different forms of host header to use
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go

    name: hi
    mergingList:
    - name: hello2
    `),
    			Modified: []byte(`
    name: hi
    mergingList:
    - name: hello
    - $patch: delete
      name: doesntexist
    `),
    			TwoWay: []byte(`
    mergingList:
    - name: hello
    - $patch: delete
      name: doesntexist
    `),
    			ThreeWay: []byte(`
    $setElementOrder/mergingList:
    - name: hello
    - name: doesntexist
    mergingList:
    - name: hello
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 130.4K bytes
    - Viewed (0)
  8. src/net/http/transport_test.go

    	}
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		w.Header().Set("Content-Length", "5")
    		w.Header().Set("Content-Type", "text/plain")
    		w.Write([]byte("Hello"))
    		w.(Flusher).Flush()
    		conn, buf, _ := w.(Hijacker).Hijack()
    		buf.Flush()
    		conn.Close()
    	})).ts
    	c := ts.Client()
    
    	// Do a bunch of traffic from different goroutines. Send to activityc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

        val request =
          Request(
            server.url("/"),
            body = "Hello".toRequestBody("text/plain".toMediaType()),
          )
        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("Body")
        val request1 = server.takeRequest()
        assertThat(request1.body.readUtf8()).isEqualTo("Hello")
        val request2 = server.takeRequest()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  10. pkg/apis/admissionregistration/validation/validation_test.go

    			ClientConfig: validClientConfig,
    			SideEffects:  &noSideEffect,
    			MatchConditions: []admissionregistration.MatchCondition{{
    				Name:       "-hello",
    				Expression: "true",
    			}},
    		},
    		}, true),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
Back to top