Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 560 for parseRhs (0.33 sec)

  1. 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)
  2. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    		return true
    	default:
    		return false
    	}
    }
    
    // taggedName parses:
    //
    //	<tagged-name> ::= <name> B <source-name>
    func (st *state) taggedName(a AST) AST {
    	for len(st.str) > 0 && st.str[0] == 'B' {
    		st.advance(1)
    		tag := st.sourceName()
    		a = &TaggedName{Name: a, Tag: tag}
    	}
    	return a
    }
    
    // name parses:
    //
    //	<name> ::= <nested-name>
    //	       ::= <unscoped-name>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/execution/commandline/CommandLineTaskParserSpec.groovy

        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)
            def selection = new TaskSelection(':project', ':foo', asTaskSelectionResults(task))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 22:49:56 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  4. src/internal/dag/parse.go

    	for k := range g.edges[from] {
    		edges = append(edges, k)
    	}
    	slices.SortFunc(edges, func(a, b string) int {
    		return cmp.Compare(g.byLabel[a], g.byLabel[b])
    	})
    	return edges
    }
    
    // Parse parses the DAG language and returns the transitive closure of
    // the described graph. In the returned graph, there is an edge from "b"
    // to "a" if b < a (or a > b) in the partial order.
    func Parse(dag string) (*Graph, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

    import java.io.ByteArrayInputStream;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import javax.xml.XMLConstants;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.crawler.entity.AccessResultData;
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/ParserConfigurationRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import javax.xml.parsers.ParserConfigurationException;
    
    /**
     * {@link ParserConfigurationException}をラップする例外です。
     *
     * @author higa
     */
    public class ParserConfigurationRuntimeException extends ClRuntimeException {
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/net/port_range.go

    // parsed by PortRange.Set or ParsePortRange.
    func (pr PortRange) String() string {
    	if pr.Size == 0 {
    		return ""
    	}
    	return fmt.Sprintf("%d-%d", pr.Base, pr.Base+pr.Size-1)
    }
    
    // Set parses a string of the form "value", "min-max", or "min+offset", inclusive at both ends, and
    // sets the PortRange from it.  This is part of the flag.Value and pflag.Value
    // interfaces.
    func (pr *PortRange) Set(value string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 10 01:27:56 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/MapNotationConverterTest.groovy

        def "parses map with required keys"() {
            expect:
            def object = parser.parseNotation([name: 'name', version: 'version'])
            object.key1 == 'name'
            object.key2 == 'version'
            object.prop1 == null
        }
    
        def "parses map with required and optional keys"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 11:58:37 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  9. 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)
  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