Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 57 for string3 (0.49 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

        val call = client.newCall(request)
        val response1 = call.execute()
        val cloned = call.clone()
        val response2 = cloned.execute()
        assertThat("abc").isEqualTo(response1.body.string())
        assertThat("def").isEqualTo(response2.body.string())
      }
    
      @Test
      fun legalToExecuteTwiceCloning_Async() {
        server.enqueue(MockResponse(body = "abc"))
        server.enqueue(MockResponse(body = "def"))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  2. cmd/storage-datatypes_gen.go

    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 4
    	// string "id"
    	o = append(o, 0x84, 0xa2, 0x69, 0x64)
    	o = msgp.AppendString(o, z.DiskID)
    	// string "v"
    	o = append(o, 0xa1, 0x76)
    	o = msgp.AppendString(o, z.Volume)
    	// string "fp"
    	o = append(o, 0xa2, 0x66, 0x70)
    	o = msgp.AppendString(o, z.FilePath)
    	// string "fi"
    	o = append(o, 0xa2, 0x66, 0x69)
    	o, err = z.FI.MarshalMsg(o)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/callback.go

    	return
    }
    
    // Test that C can pass in a Go string from a string constant.
    func testCallGoWithString(t *testing.T) {
    	C.callGoWithString()
    	want := "string passed from C to Go"
    	if stringFromGo != want {
    		t.Errorf("string passed through C is %s, want %s", stringFromGo, want)
    	}
    }
    
    var stringFromGo string
    
    //export goWithString
    func goWithString(s string) {
    	stringFromGo = s
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        gzipSink.close()
        return result
      }
    
      private fun assertContent(
        expected: String,
        response: Response,
        limit: Int = Int.MAX_VALUE,
      ) {
        assertThat(readAscii(response.body.byteStream(), limit)).isEqualTo(expected)
      }
    
      private fun newSet(vararg elements: String): Set<String> {
        return setOf(*elements)
      }
    
      internal enum class TransferKind {
        CHUNKED {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

                      peeker.getDone(future5));
                }
    
                @Override
                public String toString() {
                  return function.toString();
                }
              },
              executor);
        }
      }
    
      @Override
      public String toString() {
        // TODO(dpb): Better toString, in the style of Futures.transform etc.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  6. istioctl/pkg/authz/testdata/configdump.yaml

                   "config": {
                    "vm_config": {
                     "runtime": "envoy.wasm.runtime.null",
                     "code": {
                      "local": {
                       "inline_string": "envoy.wasm.metadata_exchange"
                      }
                     }
                    },
                    "configuration": {
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jun 21 14:20:23 GMT 2023
    - 206.7K bytes
    - Viewed (2)
  7. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += matcher.matches(string.charAt(i % string.length())) ? 1 : 0;
        }
        return dummy;
      }
    
      private static final String NONMATCHING_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789";
    
      private static String checkString(
          int length, int percent, String matchingChars, Random rand, boolean forceSlow, boolean web) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += matcher.matches(string.charAt(i % string.length())) ? 1 : 0;
        }
        return dummy;
      }
    
      private static final String NONMATCHING_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789";
    
      private static String checkString(
          int length, int percent, String matchingChars, Random rand, boolean forceSlow, boolean web) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  9. fastapi/applications.py

                    to the location where the OpenAPI document is being served. Variable
                    substitutions will be made when a variable is named in `{`brackets`}`.
                    * `description`: An optional string describing the host designated by
                    the URL. [CommonMark syntax](https://commonmark.org/) MAY be used for
                    rich text representation.
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  10. fastapi/routing.py

                    generated OpenAPI.
    
                    This affects the generated OpenAPI (e.g. visible at `/docs`).
    
                    Read more about it in the
                    [FastAPI docs for Query Parameters and String Validations](https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#exclude-from-openapi).
                    """
                ),
            ] = True,
            generate_unique_id_function: Annotated[
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top