Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 933 for Parses (0.25 sec)

  1. pkg/config/resource/name.go

    	return FullName{
    		Namespace: ns,
    		Name:      n,
    	}
    }
    
    // ParseFullName parses the given name string that was serialized via FullName.String()
    func ParseFullName(name string) (FullName, error) {
    	return ParseFullNameWithDefaultNamespace("", name)
    }
    
    // ParseFullNameWithDefaultNamespace parses the given name string using defaultNamespace if no namespace is found.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 14 13:55:49 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. internal/config/bool-flag.go

    		return "on"
    	}
    
    	return "off"
    }
    
    // MarshalJSON - converts BoolFlag into JSON data.
    func (bf BoolFlag) MarshalJSON() ([]byte, error) {
    	return json.Marshal(bf.String())
    }
    
    // UnmarshalJSON - parses given data into BoolFlag.
    func (bf *BoolFlag) UnmarshalJSON(data []byte) (err error) {
    	var s string
    	if err = json.Unmarshal(data, &s); err == nil {
    		b := BoolFlag(true)
    		if s == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 07 15:10:40 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/arguments.go

    	return command
    }
    
    // ArgumentsFromCommand parses a CLI command in the form "--foo=bar" to an Arg slice
    func ArgumentsFromCommand(command []string) []kubeadmapi.Arg {
    	args := []kubeadmapi.Arg{}
    	for i, arg := range command {
    		key, val, err := parseArgument(arg)
    
    		// Ignore if the first argument doesn't satisfy the criteria, it's most often the binary name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 11:01:00 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top