Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,633 for Parses (0.1 sec)

  1. src/crypto/x509/sec1.go

    			return nil, errors.New("x509: failed to parse private key (use ParsePKCS8PrivateKey instead for this key format)")
    		}
    		if _, err := asn1.Unmarshal(der, &pkcs1PrivateKey{}); err == nil {
    			return nil, errors.New("x509: failed to parse private key (use ParsePKCS1PrivateKey instead for this key format)")
    		}
    		return nil, errors.New("x509: failed to parse EC private key: " + err.Error())
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. src/html/template/template.go

    // such as
    //
    //	var t = template.Must(template.New("name").Parse("html"))
    func Must(t *Template, err error) *Template {
    	if err != nil {
    		panic(err)
    	}
    	return t
    }
    
    // ParseFiles creates a new [Template] and parses the template definitions from
    // the named files. The returned template's name will have the (base) name and
    // (parsed) contents of the first file. There must be at least one file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:00:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. internal/kms/secret-key.go

    	"golang.org/x/crypto/chacha20"
    	"golang.org/x/crypto/chacha20poly1305"
    
    	"github.com/minio/kms-go/kms"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    // ParseSecretKey parses s as <key-id>:<base64> and returns a
    // KMS that uses s as builtin single key as KMS implementation.
    func ParseSecretKey(s string) (*KMS, error) {
    	v := strings.SplitN(s, ":", 2)
    	if len(v) != 2 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. src/syscall/netlink_linux.go

    			}
    		}
    	}
    	return tab, nil
    }
    
    // NetlinkMessage represents a netlink message.
    type NetlinkMessage struct {
    	Header NlMsghdr
    	Data   []byte
    }
    
    // ParseNetlinkMessage parses b as an array of netlink messages and
    // returns the slice containing the NetlinkMessage structures.
    func ParseNetlinkMessage(b []byte) ([]NetlinkMessage, error) {
    	var msgs []NetlinkMessage
    	for len(b) >= NLMSG_HDRLEN {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    func sentinel() uint64 {
    	return uint64(reflect.ValueOf(sentinel).Pointer())
    }
    
    func writeSentinel(out io.Writer) {
    	fmt.Fprintf(out, "sentinel %x\n", sentinel())
    }
    
    // telemetryCounterName parses a crash report produced by the Go
    // runtime, extracts the stack of the first runnable goroutine,
    // converts each line into telemetry form ("symbol:relative-line"),
    // and returns this as the name of a counter.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpResourceListerTest.groovy

    class HttpResourceListerTest extends Specification {
        HttpResourceAccessor accessorMock = Mock()
        ExternalResourceMetaData metaData = Mock()
        HttpResourceLister lister = new HttpResourceLister(accessorMock)
    
        def "parses resource content"() {
            setup:
            def inputStream = new ByteArrayInputStream("<a href='child'/>".bytes)
            def name = new ExternalResourceName("http://testrepo/")
    
            when:
            lister.list(name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DefaultJavaCompileSpecTest.groovy

    
    import org.gradle.api.tasks.compile.CompileOptions
    import org.gradle.util.TestUtil
    import spock.lang.Specification
    
    class DefaultJavaCompileSpecTest extends Specification {
    
        def "parses module-path from compileArgs with #description"() {
            given:
            CompileOptions options = TestUtil.newInstance(CompileOptions, TestUtil.objectFactory())
            options.compilerArgs.addAll(modulePathParameters)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. src/go/doc/comment/parse.go

    	if isStdPkg(name) {
    		return name, true
    	}
    	return "", false
    }
    
    // Parse parses the doc comment text and returns the *[Doc] form.
    // Comment markers (/* // and */) in the text must have already been removed.
    func (p *Parser) Parse(text string) *Doc {
    	lines := unindent(strings.Split(text, "\n"))
    	d := &parseDoc{
    		Parser:    p,
    		Doc:       new(Doc),
    		links:     make(map[string]*LinkDef),
    		lines:     lines,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
  9. src/internal/txtar/archive.go

    	}
    	return buf.Bytes()
    }
    
    // ParseFile parses the named file as an archive.
    func ParseFile(file string) (*Archive, error) {
    	data, err := os.ReadFile(file)
    	if err != nil {
    		return nil, err
    	}
    	return Parse(data), nil
    }
    
    // Parse parses the serialized form of an Archive.
    // The returned Archive holds slices of data.
    func Parse(data []byte) *Archive {
    	a := new(Archive)
    	var name string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/DisconnectedIvyXmlModuleDescriptorParserTest.groovy

            then:
            localResource.getFile() >> new File('ivy.xml')
            disconnectedParser != null
            disconnectedParser instanceof DisconnectedIvyXmlModuleDescriptorParser.DisconnectedParser
        }
    
        def "creates new internal Ivy parser"() throws Exception {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top