Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 878 for Parses (0.35 sec)

  1. src/html/template/template.go

    // such as
    //
    //	var t = template.Must(template.New("name").Parse("html"))
    func Must(t *Template, err error) *Template {
    	if err != nil {
    		panic(err)
    	}
    	return t
    }
    
    // ParseFiles creates a new [Template] and parses the template definitions from
    // the named files. The returned template's name will have the (base) name and
    // (parsed) contents of the first file. There must be at least one file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:00:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. internal/kms/secret-key.go

    	"golang.org/x/crypto/chacha20"
    	"golang.org/x/crypto/chacha20poly1305"
    
    	"github.com/minio/kms-go/kms"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    // ParseSecretKey parses s as <key-id>:<base64> and returns a
    // KMS that uses s as builtin single key as KMS implementation.
    func ParseSecretKey(s string) (*KMS, error) {
    	v := strings.SplitN(s, ":", 2)
    	if len(v) != 2 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    func sentinel() uint64 {
    	return uint64(reflect.ValueOf(sentinel).Pointer())
    }
    
    func writeSentinel(out io.Writer) {
    	fmt.Fprintf(out, "sentinel %x\n", sentinel())
    }
    
    // telemetryCounterName parses a crash report produced by the Go
    // runtime, extracts the stack of the first runnable goroutine,
    // converts each line into telemetry form ("symbol:relative-line"),
    // and returns this as the name of a counter.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java

    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Parses and evaluates version ranges encountered in dependency declarations.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface VersionRangeResolver extends Service {
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go

    )
    
    // javaCPUProfile returns a new Profile from profilez data.
    // b is the profile bytes after the header, period is the profiling
    // period, and parse is a function to parse 8-byte chunks from the
    // profile in its native endianness.
    func javaCPUProfile(b []byte, period int64, parse func(b []byte) (uint64, []byte)) (*Profile, error) {
    	p := &Profile{
    		Period:     period * 1000,
    		PeriodType: &ValueType{Type: "cpu", Unit: "nanoseconds"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/upload/date.go

    	}
    	timeEnd, ok := parsed.Meta["TimeEnd"]
    	if !ok {
    		return time.Time{}, time.Time{}, fmt.Errorf("missing counter metadata for TimeEnd")
    	}
    	end, err = time.Parse(time.RFC3339, timeEnd)
    	if err != nil {
    		return time.Time{}, time.Time{}, fmt.Errorf("failed to parse TimeEnd: %v", err)
    	}
    	return begin, end, nil
    }
    
    // avoid parsing count files multiple times
    type parsedCache struct {
    	mu sync.Mutex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. src/runtime/traceback_system_test.go

    traceback_system_test.go:35: runtime_test.crash.func1: 		child1()
    redacted.go:0: runtime.goexit
    `
    	if strings.TrimSpace(got) != strings.TrimSpace(want) {
    		t.Errorf("got:\n%swant:\n%s", got, want)
    	}
    }
    
    // parseStackPCs parses the parent process's program counters for the
    // first running goroutine out of a GOTRACEBACK=system traceback,
    // adjusting them so that they are valid for the child process's text
    // segment.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. 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)
  9. src/internal/trace/testtrace/format.go

    // license that can be found in the LICENSE file.
    
    package testtrace
    
    import (
    	"bytes"
    	"fmt"
    	"internal/trace/raw"
    	"internal/txtar"
    	"io"
    )
    
    // ParseFile parses a test file generated by the testgen package.
    func ParseFile(testPath string) (io.Reader, *Expectation, error) {
    	ar, err := txtar.ParseFile(testPath)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/regexp/syntax/parse.go

    	}
    	return re
    }
    
    // Parsing.
    
    // Parse parses a regular expression string s, controlled by the specified
    // Flags, and returns a regular expression parse tree. The syntax is
    // described in the top-level comment.
    func Parse(s string, flags Flags) (*Regexp, error) {
    	return parse(s, flags)
    }
    
    func parse(s string, flags Flags) (_ *Regexp, err error) {
    	defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top