Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 312 for workarounds (0.21 sec)

  1. pkg/test/echo/server/forwarder/http.go

    					return hbone.TLSDialWithDialer(newDialer(cfg), network, addr, tlsConfig)
    				},
    			}
    		}
    
    		return &http2.Transport{
    			// Golang doesn't have first class support for h2c, so we provide some workarounds
    			// See https://www.mailgun.com/blog/http-2-cleartext-h2c-client-example-go/
    			// So http2.Transport doesn't complain the URL scheme isn't 'https'
    			AllowHTTP: true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/BasicParsingTest.kt

            val results = parse(
                """
                import a.b.c
    
                // start of actual script content is here -- imports are counted separately because of the workarounds
    
                f(x)
    
    
                a = 1
                """.trimIndent()
            )
    
            val expected = """
                Import [indexes: 0..12, line/column: 1/1..1/13, file: test (
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  3. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpModelIntegrationTest.groovy

                eclipse.classpath.file.whenMerged { cp ->
                  cp.entries.each {
                    if(it instanceof AbstractClasspathEntry) {
                      //some people have workarounds in their builds and configure the component dependency,
                      //just like here:
                      it.entryAttributes[AbstractClasspathEntry.COMPONENT_DEPENDENCY_ATTRIBUTE] = 'WEB-INF/lib'
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. pilot/pkg/bootstrap/server_test.go

    		resp.Body.Close()
    	})
    	t.Run("h2", func(t *testing.T) {
    		c := http.Client{
    			Transport: &http2.Transport{
    				// Golang doesn't have first class support for h2c, so we provide some workarounds
    				// See https://www.mailgun.com/blog/http-2-cleartext-h2c-client-example-go/
    				// So http2.Transport doesn't complain the URL scheme isn't 'https'
    				AllowHTTP: true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. src/net/http/transfer.go

    //   - the method doesn't usually have a body (GET, HEAD, DELETE, ...)
    //   - there is no transfer-encoding=chunked already set.
    //
    // In other words, this delay will not normally affect anybody, and there
    // are workarounds if it does.
    func (t *transferWriter) probeRequestBody() {
    	t.ByteReadCh = make(chan readResult, 1)
    	go func(body io.Reader) {
    		var buf [1]byte
    		var rres readResult
    		rres.n, rres.err = body.Read(buf[:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/configurationCache/topLevel/groovy/build.gradle

    // tag::not-supported[]
    // tag::workaround[]
    def dir = file('data')
    
    // end::workaround[]
    def listFiles(File dir) {
        dir.listFiles({ file -> file.isFile() } as FileFilter).name.sort()
    }
    
    tasks.register('listFiles') {
        doLast {
            println listFiles(dir)
        }
    }
    // end::not-supported[]
    
    // tag::workaround[]
    class Files {
        static def listFiles(File dir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 567 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/configurationCache/topLevel/kotlin/build.gradle.kts

        }
    }
    // end::not-supported[]
    
    // tag::workaround[]
    object Files { // <1>
        fun listFiles(dir: File): List<String> =
            dir.listFiles { file: File -> file.isFile }.map { it.name }.sorted()
    }
    
    tasks.register("listFilesFixed") {
        val dir = file("data") // <2>
        doLast {
            println(Files.listFiles(dir))
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 588 bytes
    - Viewed (0)
  8. guava-gwt/src/com/google/common/annotations/Annotations.gwt.xml

        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 06 15:30:58 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. guava-gwt/src/com/google/thirdparty/publicsuffix/PublicSuffixType.gwt.xml

        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 06 15:30:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  10. guava-gwt/src/com/google/common/html/Html.gwt.xml

        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 06 15:30:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top