Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,753 for Parses (0.12 sec)

  1. pkg/util/parsers/parsers.go

    limitations under the License.
    */
    
    package parsers
    
    import (
    	"fmt"
    	//  Import the crypto sha256 algorithm for the docker image parser to work
    	_ "crypto/sha256"
    	//  Import the crypto/sha512 algorithm for the docker image parser to work with 384 and 512 sha hashes
    	_ "crypto/sha512"
    
    	dockerref "github.com/distribution/reference"
    )
    
    // ParseImageName parses a docker image string into three parts: repo, tag and digest.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 01:53:40 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/execution/commandline/CommandLineTaskParserSpec.groovy

        def task = Mock(Task)
        def task2 = Mock(Task)
        def task3 = Mock(Task)
        def parser = new CommandLineTaskParser(taskConfigurer, selector, defaultBuild)
    
        def setup() {
            taskConfigurer.configureTasks(_, _) >> { args -> args[1] }
        }
    
        def "parses a single task selector"() {
            given:
            def request = new DefaultTaskExecutionRequest(['foo'], 'project', null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 22:49:56 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  3. guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

    import com.google.common.base.Joiner;
    import com.google.common.collect.ImmutableMap;
    import java.util.Deque;
    
    /** Parser for a map of reversed domain names stored as a serialized radix tree. */
    @GwtCompatible
    final class TrieParser {
    
      private static final Joiner DIRECT_JOINER = Joiner.on("");
    
      /**
       * Parses a serialized trie representation of a map of reversed public suffixes into an immutable
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Oct 13 19:20:43 UTC 2022
    - 4K bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/DefaultOsXJavaHomeCommandTest.groovy

            result.size() == 8
        }
    
        def "parses old format output"() {
            given:
            def output = """
    Matching Java Virtual Machines (2):
        1.6.0_17 (x86_64):\t/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
        1.6.0_17 (x86_64):\t/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
    """
            when:
            def result = DefaultOsXJavaHomeCommand.parse(new StringReader(output))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    //	5th word -- Padding.
    func parseCPU(b []byte) (*Profile, error) {
    	var parse func([]byte) (uint64, []byte)
    	var n1, n2, n3, n4, n5 uint64
    	for _, parse = range cpuInts {
    		var tmp []byte
    		n1, tmp = parse(b)
    		n2, tmp = parse(tmp)
    		n3, tmp = parse(tmp)
    		n4, tmp = parse(tmp)
    		n5, tmp = parse(tmp)
    
    		if tmp != nil && n1 == 0 && n2 == 3 && n3 == 0 && n4 > 0 && n5 == 0 {
    			b = tmp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  6. pkg/test/framework/tools/featuresgen/cmd/root.go

    			}
    		}
    	}
    	return labels
    }
    
    // Parses a slice in the yaml file
    func readSlice(slc []any, path []string) []string {
    	labels := make([]string, 0)
    	for _, v := range slc {
    		labels = append(labels, readVal(v, path)...)
    	}
    	return labels
    }
    
    // Determines the type of a node in the yaml file and parses it accordingly
    func readVal(v any, path []string) []string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_unix.go

    }
    
    // SocketControlMessage represents a socket control message.
    type SocketControlMessage struct {
    	Header Cmsghdr
    	Data   []byte
    }
    
    // ParseSocketControlMessage parses b as an array of socket control
    // messages.
    func ParseSocketControlMessage(b []byte) ([]SocketControlMessage, error) {
    	var msgs []SocketControlMessage
    	i := 0
    	for i+CmsgLen(0) <= len(b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Reflection.java

    @ElementTypesAreNonnullByDefault
    public final class Reflection {
    
      /**
       * Returns the package name of {@code clazz} according to the Java Language Specification (section
       * 6.7). Unlike {@link Class#getPackage}, this method only parses the class name, without
       * attempting to define the {@link Package} and hence load files.
       */
      public static String getPackageName(Class<?> clazz) {
        return getPackageName(clazz.getName());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/Reflection.java

    @ElementTypesAreNonnullByDefault
    public final class Reflection {
    
      /**
       * Returns the package name of {@code clazz} according to the Java Language Specification (section
       * 6.7). Unlike {@link Class#getPackage}, this method only parses the class name, without
       * attempting to define the {@link Package} and hence load files.
       */
      public static String getPackageName(Class<?> clazz) {
        return getPackageName(clazz.getName());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/SystemPropertiesCommandLineConverterTest.groovy

        def converter = new SystemPropertiesCommandLineConverter();
    
        def convert(String... args) {
            converter.convert(Arrays.asList(args), new HashMap<String, String>()).sort()
        }
    
        def "parses system properties args"() {
            expect:
            convert("-Da=b", "-Dc=d") == [a: "b", c: "d"]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top