Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 112 for setLog (0.21 sec)

  1. src/crypto/internal/bigmod/nat_test.go

    	N, _ := NewModulusFromBig(n)
    	A := NewNat().setBig(a).ExpandFor(N)
    	B := NewNat().setBig(b).ExpandFor(N)
    
    	if A.Mul(B, N).IsZero() != 1 {
    		t.Error("a * b mod (a * b) != 0")
    	}
    
    	i := new(big.Int).ModInverse(a, b)
    	N, _ = NewModulusFromBig(b)
    	A = NewNat().setBig(a).ExpandFor(N)
    	I := NewNat().setBig(i).ExpandFor(N)
    	one := NewNat().setBig(big.NewInt(1)).ExpandFor(N)
    
    	if A.Mul(I, N).Equal(one) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 12 00:56:20 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/compile/internal/ssa/memcombine.go

    		}
    
    		// Move all the stores to the root.
    		for i := int64(0); i < n; i++ {
    			v := a[i].store
    			if v == root {
    				v.Aux = cv.Type // widen store type
    				v.Pos = pos
    				v.SetArg(0, ptr)
    				v.SetArg(1, cv)
    				v.SetArg(2, mem)
    			} else {
    				clobber(v)
    				v.Type = types.Types[types.TBOOL] // erase memory type
    			}
    		}
    		return true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeConventionIntegrationTest.groovy

        static String setId(String id) {
            return "id = \"${id}\"\n"
        }
    
        static String setFooBar(String bar) {
            return setFoo(setBar(bar))
        }
    
        static String setBar(String bar) {
            return "bar = \"${bar}\"\n"
        }
    
        static String setFoo(String contents) {
            return "foo {\n${contents}\n}"
        }
    
        static String setAll(String id, String bar) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 12:50:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/compile/internal/ssa/shortcircuit.go

    				if p.Controls[0] != a {
    					continue
    				}
    				if e.i == 0 {
    					if ct == nil {
    						ct = f.ConstBool(f.Config.Types.Bool, true)
    					}
    					v.SetArg(i, ct)
    				} else {
    					if cf == nil {
    						cf = f.ConstBool(f.Config.Types.Bool, false)
    					}
    					v.SetArg(i, cf)
    				}
    			}
    		}
    	}
    
    	// Step 2: Redirect control flow around known branches.
    	// p:
    	//   ... goto b ...
    	// b: <- p ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 03 17:47:02 UTC 2022
    - 12.6K bytes
    - Viewed (0)
Back to top