Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 840 for wire (0.09 sec)

  1. src/cmd/go/testdata/script/cover_test_pkgselect.txt

    [short] skip
    
    # Hard-wire new coverage for this test.
    env GOEXPERIMENT=coverageredesign
    
    # Baseline run.
    go test -cover example/foo
    stdout 'coverage: 50.0% of statements$'
    
    # Coverage percentage output should mention -coverpkg selection.
    go test -coverpkg=example/foo example/foo
    stdout 'coverage: 50.0% of statements in example/foo'
    
    # Try to ask for coverage of a package that doesn't exist.
    go test -coverpkg nonexistent example/bar
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. src/encoding/gob/decoder.go

    	if id < firstUserId || dec.wireType[id] != nil {
    		dec.err = errors.New("gob: duplicate type received")
    		return
    	}
    
    	// Type:
    	wire := new(wireType)
    	dec.decodeValue(tWireType, reflect.ValueOf(wire))
    	if dec.err != nil {
    		return
    	}
    	// Remember we've seen this type.
    	dec.wireType[id] = wire
    }
    
    var errBadCount = errors.New("invalid message length")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. pkg/config/conversion.go

    // TODO: define a proto matching Config - to avoid useless superficial conversions.
    func PilotConfigToResource(c *Config) (*mcp.Resource, error) {
    	r := &mcp.Resource{}
    
    	// MCP, K8S and Istio configs use gogo configs
    	// On the wire it's the same as golang proto.
    	a, err := ToProto(c.Spec)
    	if err != nil {
    		return nil, err
    	}
    	r.Body = a
    	r.Metadata = &mcp.Metadata{
    		Name:        c.Namespace + "/" + c.Name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 23 17:19:38 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/LifecycleProvider.java

    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle;
    
    /**
     * Interface that can be provided by the plugin to wire in custom lifecycles
     * leveraged using the {@link org.apache.maven.api.plugin.annotations.Execute}
     * annotation.  If a {@code META-INF/maven/lifecycle.xml} file is packaged
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheWorkerApiIntegrationTest.groovy

    import javax.inject.Inject
    
    class ConfigurationCacheWorkerApiIntegrationTest extends AbstractConfigurationCacheIntegrationTest implements TasksWithInputsAndOutputs {
        def "task can wire input #type with fixed value to worker action parameter property"() {
            buildFile << """
                import ${Inject.name}
    
                abstract class UsesWorker extends DefaultTask {
                    @Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt

          "Test stories missing, checkout git submodule",
        )
    
        val newCases = mutableListOf<Case>()
        for (case in story.cases) {
          hpackWriter.writeHeaders(case.headersList)
          newCases += case.copy(wire = bytesOut.readByteString())
        }
    
        testDecoder(story.copy(cases = newCases))
      }
    
      companion object {
        private val RAW_DATA = arrayOf("raw-data")
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ArtifactCollection.java

     * @since 3.4
     */
    public interface ArtifactCollection extends Iterable<ResolvedArtifactResult> {
        /**
         * A file collection containing the files for all artifacts in this collection.
         * This is primarily useful to wire this artifact collection as a task input.
         */
        FileCollection getArtifactFiles();
    
        /**
         * Returns the resolved artifacts, performing the resolution if required.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 17 13:05:50 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  8. src/net/dnsname_test.go

    	longDomain := strings.Repeat(char63+".", 5) + "example"
    
    	for _, tc := range dnsNameTests {
    		ch <- tc
    	}
    
    	ch <- dnsNameTest{char63 + ".com", true}
    	ch <- dnsNameTest{char64 + ".com", false}
    
    	// Remember: wire format is two octets longer than presentation
    	// (length octets for the first and [root] last labels).
    	// 253 is fine:
    	ch <- dnsNameTest{longDomain[len(longDomain)-253:], true}
    	// A terminal dot doesn't contribute to length:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. src/net/http/httputil/dump.go

    	// The wire format for https and http are the same, anyway.
    	reqSend := req
    	if req.URL.Scheme == "https" {
    		reqSend = new(http.Request)
    		*reqSend = *req
    		reqSend.URL = new(url.URL)
    		*reqSend.URL = *req.URL
    		reqSend.URL.Scheme = "http"
    	}
    
    	// Use the actual Transport code to record what we would send
    	// on the wire, but not using TCP.  Use a Transport with a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/messaging/src/integTest/groovy/org/gradle/internal/remote/internal/hub/MessageHubIntegrationTest.groovy

    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.LinkedBlockingQueue
    
    @Timeout(60)
    class MessageHubIntegrationTest extends ConcurrentSpec {
        final Action<Throwable> errorHandler = Mock()
    
        def "can wire two hubs together"() {
            Dispatch<String> clientHandler = Mock()
            Dispatch<String> serverHandler = Mock()
            def server = new Participant()
            def client = new Participant()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top