- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for isMarker (0.26 sec)
-
src/internal/txtar/archive.go
var i int for { if name, after = isMarker(data[i:]); name != "" { return data[:i], name, after } j := bytes.Index(data[i:], newlineMarker) if j < 0 { return fixNL(data), "", nil } i += j + 1 // positioned at start of new possible marker } } // isMarker checks whether data begins with a file marker line.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 4.2K bytes - Viewed (0) -
maven-di/src/main/java/org/apache/maven/di/impl/Utils.java
Annotation annotation = (Annotation) object; return getDisplayString(annotation.annotationType(), annotation); } return object.toString(); } public static boolean isMarker(Class<? extends Annotation> annotationType) { return annotationType.getDeclaredMethods().length == 0; }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Feb 05 09:45:47 UTC 2024 - 2.1K bytes - Viewed (0) -
maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java
qualifier = ((Named) annotation).value(); } else { Class<? extends Annotation> annotationType = annotation.annotationType(); qualifier = Utils.isMarker(annotationType) ? annotationType : annotation; } } } return qualifier; } public static @Nullable Annotation scopeOf(AnnotatedElement annotatedElement) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Feb 09 17:13:31 UTC 2024 - 16K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
func windynrelocsym(ctxt *Link, rel *loader.SymbolBuilder, s loader.Sym) error { var su *loader.SymbolBuilder relocs := ctxt.loader.Relocs(s) for ri := 0; ri < relocs.Count(); ri++ { r := relocs.At(ri) if r.IsMarker() { continue // skip marker relocations } targ := r.Sym() if targ == 0 { continue } if !ctxt.loader.AttrReachable(targ) { if r.Weak() { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_mutate_fail.txt
if isWorker() { f.Skip() } f.Fuzz(func(*testing.T, []byte) {}) } func FuzzFail(f *testing.F) { if isWorker() { f.Fail() } f.Fuzz(func(*testing.T, []byte) {}) } func FuzzPanic(f *testing.F) { if isWorker() { panic("nope") } f.Fuzz(func(*testing.T, []byte) {}) } func FuzzNilPanic(f *testing.F) { if isWorker() { panic(nil) } f.Fuzz(func(*testing.T, []byte) {}) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 1.5K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
func (rel Reloc) Sym() Sym { return rel.l.resolve(rel.r, rel.Reloc.Sym()) } func (rel Reloc) SetSym(s Sym) { rel.Reloc.SetSym(goobj.SymRef{PkgIdx: 0, SymIdx: uint32(s)}) } func (rel Reloc) IsMarker() bool { return rel.Siz() == 0 } // Aux holds a "handle" to access an aux symbol record from an // object file. type Aux struct { *goobj.Aux r *oReader l *Loader }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_setenv.txt
-- fuzz_setenv_test.go -- package fuzz import ( "flag" "os" "testing" ) func FuzzA(f *testing.F) { if s := os.Getenv("TEST_FUZZ_SETENV_A"); isWorker() && s == "" { f.Fatal("environment variable not set") } else if !isWorker() && s != "" { f.Fatal("environment variable already set") } f.Setenv("TEST_FUZZ_SETENV_A", "A") if os.Getenv("TEST_FUZZ_SETENV_A") == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 943 bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_io_error.txt
package io_error import ( "flag" "testing" "time" ) func isWorker() bool { f := flag.Lookup("test.fuzzworker") if f == nil { return false } get, ok := f.Value.(flag.Getter) if !ok { return false } return get.Get() == interface{}(true) } func FuzzClosePipeBefore(f *testing.F) { if isWorker() { sendGarbageToCoordinator(f)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 2.6K bytes - Viewed (0) -
src/runtime/mcheckmark.go
// and otherwise sets obj's checkmark. It returns true if obj was // already checkmarked. func setCheckmark(obj, base, off uintptr, mbits markBits) bool { if !mbits.isMarked() { printlock() print("runtime: checkmarks found unexpected unmarked object obj=", hex(obj), "\n") print("runtime: found obj at *(", hex(base), "+", hex(off), ")\n") // Dump the source (base) object
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2.8K bytes - Viewed (0) -
src/runtime/mgcsweep.go
addr := s.base() + i*s.elemsize print(hex(addr)) alloc := i < uintptr(s.freeindex) || abits.isMarked() if alloc { print(" alloc") } else { print(" free ") } if mbits.isMarked() { print(" marked ") } else { print(" unmarked") } zombie := mbits.isMarked() && !alloc if zombie { print(" zombie") } print("\n") if zombie {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:52:18 UTC 2024 - 32.9K bytes - Viewed (0)