Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for Parses (0.09 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. 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)
  3. cni/pkg/plugin/plugin.go

    }
    
    // parseConfig parses the supplied configuration (and prevResult) from stdin.
    func parseConfig(stdin []byte) (*Config, error) {
    	conf := Config{}
    
    	if err := json.Unmarshal(stdin, &conf); err != nil {
    		return nil, fmt.Errorf("failed to parse network configuration: %v", err)
    	}
    
    	log.Debugf("istio-cni: Config is: %+v", conf)
    	// Parse previous result. Remove this if your plugin is not chained.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. src/crypto/tls/tls.go

    	return c, nil
    }
    
    // LoadX509KeyPair reads and parses a public/private key pair from a pair of
    // files. The files must contain PEM encoded data. The certificate file may
    // contain intermediate certificates following the leaf certificate to form a
    // certificate chain. On successful return, Certificate.Leaf will be populated.
    //
    // Before Go 1.23 Certificate.Leaf was left nil, and the parsed certificate was
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. src/time/format.go

    func Parse(layout, value string) (Time, error) {
    	// Optimize for RFC3339 as it accounts for over half of all representations.
    	if layout == RFC3339 || layout == RFC3339Nano {
    		if t, ok := parseRFC3339(value, Local); ok {
    			return t, nil
    		}
    	}
    	return parse(layout, value, UTC, Local)
    }
    
    // ParseInLocation is like Parse but differs in two important ways.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        List<Version> resolveVersionRange(@Nonnull ArtifactCoordinate artifact);
    
        /**
         * Parses the specified version string, for example "1.0".
         * <p>
         * Shortcut for {@code getService(VersionParser.class).parseVersion(...)}.
         *
         * @param version the version string to parse
         * @return the version parsed from the given string
         * @throws org.apache.maven.api.services.VersionParserException if the parsing failed
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. src/crypto/x509/oid.go

    	"math/bits"
    	"strconv"
    	"strings"
    )
    
    var (
    	errInvalidOID = errors.New("invalid oid")
    )
    
    // An OID represents an ASN.1 OBJECT IDENTIFIER.
    type OID struct {
    	der []byte
    }
    
    // ParseOID parses a Object Identifier string, represented by ASCII numbers separated by dots.
    func ParseOID(oid string) (OID, error) {
    	var o OID
    	return o, o.unmarshalOIDText(oid)
    }
    
    func newOIDFromDER(der []byte) (OID, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. src/net/netip/netip.go

    	}
    	fields[3] = uint8(val)
    	return nil
    }
    
    // parseIPv4 parses s as an IPv4 address (in form "192.168.0.1").
    func parseIPv4(s string) (ip Addr, err error) {
    	var fields [4]uint8
    	err = parseIPv4Fields(s, 0, len(s), fields[:])
    	if err != nil {
    		return Addr{}, err
    	}
    	return AddrFrom4(fields), nil
    }
    
    // parseIPv6 parses s as an IPv6 address (in form "2001:db8::68").
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  9. pkg/config/security/security.go

    	if cs == "" || cs == "ALL" {
    		return true
    	}
    	if !unicode.IsNumber(rune(cs[0])) && !unicode.IsLetter(rune(cs[0])) {
    		// Not all of these are correct, but this is needed to support advanced cases like - and + operators
    		// without needing to parse the full expression
    		return true
    	}
    	return ValidCipherSuites.Contains(cs)
    }
    
    func IsValidECDHCurve(cs string) bool {
    	if cs == "" {
    		return true
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:43:34 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go

    		return InboundBinding{}
    	}
    
    	// parse port
    	port := uint32(0)
    	if len(parts) == 2 {
    		parsed, err := strconv.ParseUint(parts[1], 10, 32)
    		if err != nil {
    			log.Warnf("invalid port %s for %s.", parts[1], constants.AmbientWaypointInboundBinding)
    		}
    		port = uint32(parsed)
    	}
    
    	return InboundBinding{
    		Port:     port,
    		Protocol: protocol,
    	}
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top