Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for setLog (0.15 sec)

  1. maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

     * It features an <code>execute()</code> method, which triggers the Mojo's build-process behavior, and can throw
     * a MojoExecutionException or MojoFailureException if error conditions occur.<br>
     * Also included is the <code>setLog(...)</code> method, which simply allows Maven to inject a logging mechanism which
     * will allow the Mojo to communicate to the outside world through standard Maven channels.
     *
     */
    public interface Mojo {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

         * method directly whenever you need the logger, it is fast enough and needs no caching.
         *
         * @see org.apache.maven.plugin.Mojo#getLog()
         * @deprecated Use SLF4J directly
         */
        @Deprecated
        @Override
        public Log getLog() {
            if (log == null) {
                log = new SystemStreamLog();
            }
    
            return log;
        }
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/alg.go

    var algPriority = [ASPECIAL + 1]int8{ASPECIAL: 1, ANOEQ: 2, ANOALG: 3, AMEM: -1}
    
    // setAlg sets the algorithm type of t to a, if it is of higher
    // priority to the current algorithm type.
    func (t *Type) setAlg(a AlgKind) {
    	if t.alg == AUNK {
    		base.Fatalf("setAlg(%v,%s) starting with unknown priority", t, a)
    	}
    	if algPriority[a] > algPriority[t.alg] {
    		t.alg = a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

                RequirementMatcher matcher = provides.get(key);
    
                if (matcher == null) {
                    getLog().debug("Toolchain {} is missing required property: {}", this, key);
                    return false;
                }
                if (!matcher.matches(requirement.getValue())) {
                    getLog().debug("Toolchain {} doesn't match required property: {}", this, key);
                    return false;
                }
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/testFixtures/groovy/org/gradle/workers/fixtures/TestManagedTypes.java

     */
    
    package org.gradle.workers.fixtures;
    
    import org.gradle.api.Named;
    
    public class TestManagedTypes {
        public interface ManagedThing {
            String getFoo();
            void setFoo(String foo);
        }
    
        public interface ImmutableManagedThing extends Named {
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 885 bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/annotationForFunctionOutOfCodeGenTarget2.kt

    import p3.foo
    
    @MyComposable
    fun Greeting(): String {
        return "Hi $foo!"
    }
    
    // FILE: p3/foo.kt
    package p3
    
    import org.jetbrains.kotlin.fir.plugin.MyComposable
    
    private var foo_ = 0
    
    fun setFoo(newFoo: Int) {
        foo_ = newFoo
    }
    
    val foo: Int
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Mar 26 07:06:11 UTC 2024
    - 486 bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/project/TestAntTask.java

     */
    
    package org.gradle.api.internal.project;
    
    import org.apache.tools.ant.Task;
    
    public class TestAntTask extends Task {
        @Override
        public void execute() {
            org.apache.commons.logging.LogFactory.getLog("ant-test").info("a jcl log message");
            org.slf4j.LoggerFactory.getLogger("ant-test").info("an slf4j log message");
            org.apache.log4j.Logger.getLogger("ant-test").info("a log4j log message");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 23 15:32:00 UTC 2018
    - 1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/copyelim.go

    	// sure that we don't end up doing O(n^2) work
    	// for a chain of n copies.
    	for v != w {
    		x := v.Args[0]
    		v.SetArg(0, w)
    		v = x
    	}
    	return w
    }
    
    // copyelimValue ensures that no args of v are copies.
    func copyelimValue(v *Value) {
    	for i, a := range v.Args {
    		if a.Op == OpCopy {
    			v.SetArg(i, copySource(a))
    		}
    	}
    }
    
    // phielim eliminates redundant phi values from f.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ir/copy.go

    	var edit func(Node) Node
    	edit = func(x Node) Node {
    		switch x.Op() {
    		case ONAME, ONONAME, OLITERAL, ONIL, OTYPE:
    			return x
    		}
    		x = Copy(x)
    		if pos.IsKnown() {
    			x.SetPos(pos)
    		}
    		EditChildren(x, edit)
    		return x
    	}
    	return edit(n)
    }
    
    // DeepCopyList returns a list of deep copies (using DeepCopy) of the nodes in list.
    func DeepCopyList(pos src.XPos, list []Node) []Node {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:57:57 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cover_swig.txt

    	y := 105
    	g := Gcd(x, y)
    	fmt.Println("The gcd of", x, "and", y, "is", g)
    
    	// Manipulate the Foo global variable
    
    	// Output its current value
    	fmt.Println("Foo =", GetFoo())
    
    	// Change its value
    	SetFoo(3.1415926)
    
    	// See if the change took effect
    	fmt.Println("Foo =", GetFoo())
    }
    -- main.swig --
    %module main
    
    %inline %{
    extern int    gcd(int x, int y);
    extern double Foo;
    %}
    -- main_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 05 21:29:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top