Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 486 for parseDir (0.1 sec)

  1. src/cmd/go/internal/modindex/build_read.go

    	// we are sure we don't change the errors that go/parser returns.
    	if r.err == errSyntax {
    		r.err = nil
    		for r.err == nil && !r.eof {
    			r.readByte()
    		}
    		info.header = r.buf
    	}
    	if r.err != nil {
    		return r.err
    	}
    
    	if info.fset == nil {
    		return nil
    	}
    
    	// Parse file header & record imports.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:10:21 UTC 2023
    - 13K bytes
    - Viewed (0)
  2. src/net/main_test.go

    			{"tcp6", "[fe80::1%" + ifi.Name + "]:1", &TCPAddr{IP: ParseIP("fe80::1"), Port: 1, Zone: zoneCache.name(ifi.Index)}, nil},
    			{"tcp6", "[fe80::1%" + index + "]:2", &TCPAddr{IP: ParseIP("fe80::1"), Port: 2, Zone: index}, nil},
    		}...)
    		resolveUDPAddrTests = append(resolveUDPAddrTests, []resolveUDPAddrTest{
    			{"udp6", "[fe80::1%" + ifi.Name + "]:1", &UDPAddr{IP: ParseIP("fe80::1"), Port: 1, Zone: zoneCache.name(ifi.Index)}, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/net/listen_test.go

    }{
    	{"udp", &UDPAddr{IP: ParseIP("ff01::114"), Port: 12345}},
    	{"udp", &UDPAddr{IP: ParseIP("ff02::114"), Port: 12345}},
    	{"udp", &UDPAddr{IP: ParseIP("ff04::114"), Port: 12345}},
    	{"udp", &UDPAddr{IP: ParseIP("ff05::114"), Port: 12345}},
    	{"udp", &UDPAddr{IP: ParseIP("ff08::114"), Port: 12345}},
    	{"udp", &UDPAddr{IP: ParseIP("ff0e::114"), Port: 12345}},
    
    	{"udp6", &UDPAddr{IP: ParseIP("ff01::114"), Port: 12345}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  4. src/crypto/x509/oid_test.go

    		oid, err := OIDFromInts(tt.ints)
    		if err == nil {
    			t.Errorf("OIDFromInts(%v) = (%v, %v); want = (OID{}, %v)", tt.ints, oid, err, errInvalidOID)
    		}
    
    		oid2, err := ParseOID(tt.str)
    		if err == nil {
    			t.Errorf("ParseOID(%v) = (%v, %v); want = (OID{}, %v)", tt.str, oid2, err, errInvalidOID)
    		}
    
    		var oid3 OID
    		err = oid3.UnmarshalText([]byte(tt.str))
    		if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. hack/update-netparse-cve.sh

            ':!:*/third_party/*' `# catches any subdir/third_party/...` \
            ':!:*/testdata/*'    `# catches any subdir/testdata/...` \
            ':(glob)**/*.go' \
            "$@"
    }
    
    # replace net.ParseIP() and netParseIPCDR
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaCompositeBuildIntegrationTest.groovy

    import org.gradle.integtests.fixtures.ToBeFixedForConfigurationCache
    
    import static org.gradle.plugins.ide.fixtures.IdeaFixtures.parseIml
    import static org.gradle.plugins.ide.fixtures.IdeaFixtures.parseIpr
    
    class IdeaCompositeBuildIntegrationTest extends AbstractIntegrationSpec {
        @ToBeFixedForConfigurationCache
        def "includes module for each project in each build"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/net/tcpsock_test.go

    	{"tcp", "[::1]:0", &TCPAddr{IP: ParseIP("::1"), Port: 0}, nil},
    	{"tcp6", "[::1]:65535", &TCPAddr{IP: ParseIP("::1"), Port: 65535}, nil},
    
    	{"tcp", "[::1%en0]:1", &TCPAddr{IP: ParseIP("::1"), Port: 1, Zone: "en0"}, nil},
    	{"tcp6", "[::1%911]:2", &TCPAddr{IP: ParseIP("::1"), Port: 2, Zone: "911"}, nil},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  8. 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)
  9. staging/src/k8s.io/apiserver/pkg/cel/library/cidr.go

    	return apiservercel.CIDR{
    		Prefix: maskedCIDR,
    	}
    }
    
    // parseCIDR parses a string into an CIDR.
    // We use this function to parse CIDR notation in the CEL library
    // so that we can share the common logic of rejecting strings
    // that IPv4-mapped IPv6 addresses or contain non-zero bits after the mask.
    func parseCIDR(raw string) (netip.Prefix, error) {
    	net, err := netip.ParsePrefix(raw)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:04 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. pkg/apis/certificates/helpers.go

    */
    
    package certificates
    
    import (
    	"crypto/x509"
    	"encoding/pem"
    	"errors"
    	"fmt"
    	"reflect"
    	"strings"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    )
    
    // ParseCSR extracts the CSR from the bytes and decodes it.
    func ParseCSR(pemBytes []byte) (*x509.CertificateRequest, error) {
    	block, _ := pem.Decode(pemBytes)
    	if block == nil || block.Type != "CERTIFICATE REQUEST" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top