Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for ofString (0.19 sec)

  1. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

            .build(),
        )
    
        val request =
          HttpRequest.newBuilder(server.url("/").toUri())
            .header("Accept", "text/plain")
            .build()
    
        val response = httpClient.send(request, BodyHandlers.ofString())
        assertThat(response.statusCode()).isEqualTo(200)
        assertThat(response.body()).isEqualTo("hello, Java HTTP Client")
    
        val recorded = server.takeRequest()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/crypto/x509/internal/macos/corefoundation.go

    // StringToCFString returns a copy of the UTF-8 contents of s as a new CFString.
    func StringToCFString(s string) CFString {
    	p := unsafe.Pointer(unsafe.StringData(s))
    	ret := syscall(abi.FuncPCABI0(x509_CFStringCreateWithBytes_trampoline), kCFAllocatorDefault, uintptr(p),
    		uintptr(len(s)), uintptr(kCFStringEncodingUTF8), 0 /* isExternalRepresentation */, 0)
    	runtime.KeepAlive(p)
    	return CFString(ret)
    }
    func x509_CFStringCreateWithBytes_trampoline()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 20:05:17 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  3. apache-maven/src/main/appended-resources/licenses/EPL-2.0.txt

    license is intended to facilitate the commercial use of the Program,
    the Contributor who includes the Program in a commercial product
    offering should do so in a manner which does not create potential
    liability for other Contributors. Therefore, if a Contributor includes
    the Program in a commercial product offering, such Contributor
    ("Commercial Contributor") hereby agrees to defend and indemnify every
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 04 06:45:16 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                    val testProject = duration["testProject"] as String
                    duration.entries
                        .filter { (key, _) -> key != "testProject" }
                        .map { (osString, timeInMs) ->
                            val os = Os.valueOf(osString.uppercase(Locale.US))
                            val performanceTestDuration = PerformanceTestDuration(scenario, timeInMs as Int)
                            os to (testProject to performanceTestDuration)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_darwin_arm64.c

    #include <unistd.h>
    #include <stdlib.h>
    
    #include "libcgo.h"
    #include "libcgo_unix.h"
    
    #include <TargetConditionals.h>
    
    #if TARGET_OS_IPHONE
    #include <CoreFoundation/CFBundle.h>
    #include <CoreFoundation/CFString.h>
    #endif
    
    static void *threadentry(void*);
    static void (*setg_gcc)(void*);
    
    void
    _cgo_sys_thread_start(ThreadStart *ts)
    {
    	pthread_attr_t attr;
    	sigset_t ign, oset;
    	pthread_t p;
    	size_t size;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 09 03:13:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/multi_project_configuration_and_execution.adoc

    - Avoid dynamically changing other projects' configurations during execution.
    
    As Gradle evolves, it aims to provide features that leverage decoupled projects while offering solutions for common use cases like configuration injection without introducing coupling.
    
    [[sec:parallel_execution]]
    == Parallel projects
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 21:08:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. architecture/networking/controllers.md

      In general, Istio does not fail on missing CRDs and prefers to treat these as if there were just zero resources for that client.
      The `NewDelayedInformer` abstracts that entirely, offering the same API as normal `kclient.Client`.
    * Simple object filtering. Beyond just static filters on objects, `kclient` supports _dynamic filters_ that can change at runtime.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 09 17:41:25 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. src/crypto/x509/internal/macos/security.go

    //go:cgo_import_dynamic x509_SecPolicyCreateSSL SecPolicyCreateSSL "/System/Library/Frameworks/Security.framework/Versions/A/Security"
    
    func SecPolicyCreateSSL(name string) (CFRef, error) {
    	var hostname CFString
    	if name != "" {
    		hostname = StringToCFString(name)
    		defer CFRelease(CFRef(hostname))
    	}
    	ret := syscall(abi.FuncPCABI0(x509_SecPolicyCreateSSL_trampoline), 1 /* true */, uintptr(hostname), 0, 0, 0, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 20:05:17 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  9. fess-crawler-es/src/main/java/org/codelibs/fess/crawler/service/impl/EsUrlQueueService.java

            deleteBySessionId(sessionId);
        }
    
        @Override
        public void offerAll(final String sessionId, final List<EsUrlQueue> urlQueueList) {
            if (logger.isDebugEnabled()) {
                logger.debug("Offering URL: Session ID: {}, UrlQueue: {}", sessionId, urlQueueList);
            }
            final List<UrlQueue<String>> targetList = new ArrayList<>(urlQueueList.size());
            for (final UrlQueue<String> urlQueue : urlQueueList) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TopKSelector.java

     * as an {@link Iterable} or {@link Iterator}, prefer {@link Ordering#leastOf(Iterable, int)}.
     *
     * <p>This uses the same efficient implementation as {@link Ordering#leastOf(Iterable, int)},
     * offering expected O(n + k log k) performance (worst case O(n log k)) for n calls to {@link
     * #offer} and a call to {@link #topK}, with O(k) memory. In comparison, quickselect has the same
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top