Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 947 for Parses (0.13 sec)

  1. 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)
  2. 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)
  3. platforms/core-runtime/cli/src/main/java/org/gradle/cli/CommandLineParser.java

        /**
         * Parses the given command-line.
         *
         * @param commandLine The command-line.
         * @return The parsed command line.
         * @throws org.gradle.cli.CommandLineArgumentException
         *          On parse failure.
         */
        public ParsedCommandLine parse(String... commandLine) throws CommandLineArgumentException {
            return parse(Arrays.asList(commandLine));
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. internal/config/identity/openid/provider/provider.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package provider
    
    import "errors"
    
    // DiscoveryDoc - parses the output from openid-configuration
    // for example https://accounts.google.com/.well-known/openid-configuration
    //
    //nolint:unused
    type DiscoveryDoc struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. internal/bucket/object/lock/lock.go

    		}
    	}
    
    	return r
    }
    
    // Maximum 4KiB size per object lock config.
    const maxObjectLockConfigSize = 1 << 12
    
    // ParseObjectLockConfig parses ObjectLockConfig from xml
    func ParseObjectLockConfig(reader io.Reader) (*Config, error) {
    	config := Config{}
    	if err := xml.NewDecoder(io.LimitReader(reader, maxObjectLockConfigSize)).Decode(&config); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    	// tag has variants or extensions.
    	str string
    }
    
    // Make is a convenience wrapper for Parse that omits the error.
    // In case of an error, a sensible default is returned.
    func Make(s string) Tag {
    	t, _ := Parse(s)
    	return t
    }
    
    // Raw returns the raw base language, script and region, without making an
    // attempt to infer their values.
    // TODO: consider removing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top