Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsMarker (0.34 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)
Back to top