Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for Parses (0.12 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy

     */
    
    package gradlebuild.binarycompatibility
    
    import spock.lang.Specification
    
    class AcceptedApiChangesTest extends Specification {
    
        def "parses accepted change"() {
            when:
            def changes = AcceptedApiChanges.parse(["""
                {
                    "acceptedApiChanges": [
                        {
                            "type": "org.gradle.api.initialization.ConfigurableIncludedBuild",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/internal/dag/parse.go

    		return cmp.Compare(g.byLabel[a], g.byLabel[b])
    	})
    	return edges
    }
    
    // Parse parses the DAG language and returns the transitive closure of
    // the described graph. In the returned graph, there is an edge from "b"
    // to "a" if b < a (or a > b) in the partial order.
    func Parse(dag string) (*Graph, error) {
    	g := newGraph()
    	disallowed := []rule{}
    
    	rules, err := parseRules(dag)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/README.md

    The `cmd` directory contains helpful tools for debugging traces.
    
    * `gotraceraw` parses traces without validation.
      It can produce a text version of the trace wire format, or convert
      the text format back into bytes.
    * `gotracevalidate` parses traces and validates them.
      It performs more rigorous checks than the parser does on its own,
      which helps for debugging the parser as well.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParserTest.groovy

    import org.gradle.launcher.daemon.context.DaemonContext
    import org.gradle.util.GradleVersion
    import spock.lang.Specification
    
    class DaemonContextParserTest extends Specification {
        def "parses entries for older versions of Gradle"() {
            def contextString = "DefaultDaemonContext[" +
                "uid=4224e700-9e7c-4964-ad43-d6950d561cc0," +
                "javaHome=/usr/bin/java/," +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/crypto/x509/66249.md

    The new [ParseOID] function parses a dot-encoded ASN.1 Object Identifier string.
    The [OID] type now implements the [encoding.BinaryMarshaler],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:53:51 UTC 2024
    - 238 bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/upload/date.go

    	}
    	timeEnd, ok := parsed.Meta["TimeEnd"]
    	if !ok {
    		return time.Time{}, time.Time{}, fmt.Errorf("missing counter metadata for TimeEnd")
    	}
    	end, err = time.Parse(time.RFC3339, timeEnd)
    	if err != nil {
    		return time.Time{}, time.Time{}, fmt.Errorf("failed to parse TimeEnd: %v", err)
    	}
    	return begin, end, nil
    }
    
    // avoid parsing count files multiple times
    type parsedCache struct {
    	mu sync.Mutex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. src/runtime/traceback_system_test.go

    traceback_system_test.go:35: runtime_test.crash.func1: 		child1()
    redacted.go:0: runtime.goexit
    `
    	if strings.TrimSpace(got) != strings.TrimSpace(want) {
    		t.Errorf("got:\n%swant:\n%s", got, want)
    	}
    }
    
    // parseStackPCs parses the parent process's program counters for the
    // first running goroutine out of a GOTRACEBACK=system traceback,
    // adjusting them so that they are valid for the child process's text
    // segment.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. cni/cmd/istio-cni/main.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package main
    
    import (
    	"fmt"
    	"os"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	"github.com/containernetworking/cni/pkg/version"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. src/internal/trace/testtrace/format.go

    // license that can be found in the LICENSE file.
    
    package testtrace
    
    import (
    	"bytes"
    	"fmt"
    	"internal/trace/raw"
    	"internal/txtar"
    	"io"
    )
    
    // ParseFile parses a test file generated by the testgen package.
    func ParseFile(testPath string) (io.Reader, *Expectation, error) {
    	ar, err := txtar.ParseFile(testPath)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/syscall/dirent.go

    	case 4:
    		return uint64(byteorder.LeUint32(b))
    	case 8:
    		return uint64(byteorder.LeUint64(b))
    	default:
    		panic("syscall: readInt with unsupported size")
    	}
    }
    
    // ParseDirent parses up to max directory entries in buf,
    // appending the names to names. It returns the number of
    // bytes consumed from buf, the number of entries added
    // to names, and the new names slice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:13:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top