Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for setVar (0.18 sec)

  1. src/text/template/exec.go

    				if len(r.Pipe.Decl) > 1 {
    					s.setVar(r.Pipe.Decl[0].Ident[0], index)
    				} else {
    					s.setVar(r.Pipe.Decl[0].Ident[0], elem)
    				}
    			} else {
    				// Set top var (lexically the second if there
    				// are two) to the element.
    				s.setTopVar(1, elem)
    			}
    		}
    		if len(r.Pipe.Decl) > 1 {
    			if r.Pipe.IsAssign {
    				s.setVar(r.Pipe.Decl[1].Ident[0], elem)
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  2. test/codegen/bool.go

    	// ppc64x/power8:"CMP","ISEL",-"SETBC\tCR0EQ"
    	b := x == y
    	return b
    }
    func TestSetNeq64(x uint64, y uint64) bool {
    	// ppc64x/power10:"SETBCR\tCR0EQ",-"ISEL"
    	// ppc64x/power9:"CMP","ISEL",-"SETBCR\tCR0EQ"
    	// ppc64x/power8:"CMP","ISEL",-"SETBCR\tCR0EQ"
    	b := x != y
    	return b
    }
    func TestSetLt64(x uint64, y uint64) bool {
    	// ppc64x/power10:"SETBC\tCR0GT",-"ISEL"
    	// ppc64x/power9:"CMP","ISEL",-"SETBC\tCR0GT"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 22:12:32 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            }
    
            /**
             * @param i
             */
            public void setAaa(final int i) {
            }
    
            /**
             * @param s
             */
            public void setAaa(final String s) {
            }
        }
    
        /** */
        public static class Hoge {
    
            /** */
            public List<String> foo;
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeConventionIntegrationTest.groovy

            testCase                                    | convention
            "id has convention set twice"               | setId("convention") + setId("again")
            "bar has convention set twice"              | setFoo(setBar("convention") + setBar("again"))
            // TODO - doesn't work
            //"bar has convention set in multiple blocks" | setFooBar("convention") + setFooBar("again")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 12:50:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginHtmlReportIntegrationTest.groovy

                     */
                    public String getBar() {
                        return "bar";
                    }
                }
            """
        }
    
        private void badCode() {
            file("src/main/java/com/example/Foo.java").java """
                package com.example;
    
                public class Foo {
                    public String getBar() {
                        return "bar";
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-provider/src/testFixtures/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeFixture.groovy

                        public Foo() { }
    
                        @Restricted
                        public abstract Property<String> getBar();
                    }
    
                    @Override
                    public String toString() {
                        return "id = " + getId().get() + "\\nbar = " + getFoo().getBar().get() + (isFooConfigured ? "\\n(foo is configured)" : "");
                    }
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:26 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. src/cmd/dist/exec.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"os/exec"
    	"strings"
    )
    
    // setDir sets cmd.Dir to dir, and also adds PWD=dir to cmd's environment.
    func setDir(cmd *exec.Cmd, dir string) {
    	cmd.Dir = dir
    	if cmd.Env != nil {
    		// os/exec won't set PWD automatically.
    		setEnv(cmd, "PWD", dir)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 21:52:09 UTC 2023
    - 957 bytes
    - Viewed (0)
  8. src/runtime/signal_riscv64.go

    	c.set_sp(sp)
    	*(*uint64)(unsafe.Pointer(uintptr(sp))) = c.ra()
    
    	pc := gp.sigpc
    
    	if shouldPushSigpanic(gp, pc, uintptr(c.ra())) {
    		// Make it look the like faulting PC called sigpanic.
    		c.set_ra(uint64(pc))
    	}
    
    	// In case we are panicking from external C code
    	c.set_gp(uint64(uintptr(unsafe.Pointer(gp))))
    	c.set_pc(uint64(abi.FuncPCABIInternal(sigpanic)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localVariable.ir.txt

            VALUE_PARAMETER SHARED_VARIABLE_IN_EVALUATOR_FRAGMENT name:p0 index:0 type:kotlin.String [assignable]
            EXPRESSION_BODY
              BLOCK type=kotlin.String origin=null
                SET_VAR 'p0: kotlin.String [assignable] declared in <root>.CodeFragment.run' type=kotlin.Unit origin=null
                  CONST String type=kotlin.String value="O"
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Nov 20 13:36:27 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules

    (ISEL [a] (MOVDconst [0]) y z) => (ISELZ [a^0x4] y z)
    
    // SETBC, SETBCR is supported on ISA 3.1(Power10) and newer, use ISELZ for
    // older targets
    (SETBC [2] cmp) && buildcfg.GOPPC64 <= 9 => (ISELZ [2] (MOVDconst [1]) cmp)
    (SETBCR [2] cmp) && buildcfg.GOPPC64 <= 9 => (ISELZ [6] (MOVDconst [1]) cmp)
    (SETBC [0] cmp) && buildcfg.GOPPC64 <= 9 => (ISELZ [0] (MOVDconst [1]) cmp)
    (SETBCR [0] cmp) && buildcfg.GOPPC64 <= 9 => (ISELZ [4] (MOVDconst [1]) cmp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top