Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,544 for parseAI (0.09 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/counter/parse.go

    package counter
    
    import (
    	"bytes"
    	"fmt"
    	"strings"
    	"unsafe"
    
    	"golang.org/x/telemetry/internal/mmap"
    )
    
    type File struct {
    	Meta  map[string]string
    	Count map[string]uint64
    }
    
    func Parse(filename string, data []byte) (*File, error) {
    	if !bytes.HasPrefix(data, []byte(hdrPrefix)) || len(data) < pageSize {
    		if len(data) < pageSize {
    			return nil, fmt.Errorf("%s: file too short (%d<%d)", filename, len(data), pageSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 14:38:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/internal/dag/parse.go

    		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) {
    	g := newGraph()
    	disallowed := []rule{}
    
    	rules, err := parseRules(dag)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. internal/config/lambda/parse.go

    Aditya Manthramurthy <******@****.***> 1716591923 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. internal/config/notify/parse.go

    		if err != nil {
    			return nil, err
    		}
    
    		qosEnv := target.EnvMQTTQoS
    		if k != config.Default {
    			qosEnv = qosEnv + config.Default + k
    		}
    
    		// Parse uint8 value
    		qos, err := strconv.ParseUint(env.Get(qosEnv, kv.Get(target.MqttQoS)), 10, 8)
    		if err != nil {
    			return nil, err
    		}
    
    		topicEnv := target.EnvMQTTTopic
    		if k != config.Default {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  5. src/go/doc/comment/doc.go

    To parse the text associated with a doc comment (after removing comment markers),
    use a [Parser]:
    
    	var p comment.Parser
    	doc := p.Parse(text)
    
    The result is a [*Doc].
    To reformat it as a doc comment, HTML, Markdown, or plain text,
    use a [Printer]:
    
    	var pr comment.Printer
    	os.Stdout.Write(pr.Text(doc))
    
    The [Parser] and [Printer] types are structs whose fields can be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 19:05:57 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/xml/SAXParserUtil.java

         *
         * @param parser
         *            プロパティを設定する{@link SAXParser}。{@literal null}であってはいけません
         * @param name
         *            設定されるプロパティの名前。{@literal null}や空文字列であってはいけません
         * @param value
         *            設定されるプロパティの値
         */
        public static void setProperty(final SAXParser parser, final String name, final String value) {
            assertArgumentNotNull("parser", parser);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/text/template/helper.go

    }
    
    // ParseFS is like [Template.ParseFiles] or [Template.ParseGlob] but reads from the file system fsys
    // instead of the host operating system's file system.
    // It accepts a list of glob patterns (see [path.Match]).
    // (Note that most file names serve as glob patterns matching only themselves.)
    func ParseFS(fsys fs.FS, patterns ...string) (*Template, error) {
    	return parseFS(nil, fsys, patterns)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:54:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/net/port_range.go

    }
    
    // String converts the PortRange to a string representation, which can be
    // 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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 10 01:27:56 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/schema/flatbuffer_compatibility_test.cc

      return true;
    }
    
    bool ParseFile(flatbuffers::Parser *parser, const std::string &filename,
                   const std::string &contents) {
      std::vector<const char *> include_directories;
      auto local_include_directory = flatbuffers::StripFileName(filename);
      include_directories.push_back(local_include_directory.c_str());
      include_directories.push_back(nullptr);
      if (!parser->Parse(contents.c_str(), include_directories.data(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/go/parser/interface.go

    //
    // If src != nil, ParseFile parses the source from src and the filename is
    // only used when recording position information. The type of the argument
    // for the src parameter must be string, []byte, or [io.Reader].
    // If src == nil, ParseFile parses the file specified by filename.
    //
    // The mode parameter controls the amount of source text parsed and
    // other optional parser functionality. If the [SkipObjectResolution]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top