Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for IsMarker (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top