Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for setVar (0.48 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. dbflute_fess/dfprop/dependencyInjectionMap.dfprop

        #                                                                               Seasar
        #                                                                               ======
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        # o dbfluteDiconNamespace: (NotRequired - Default 'dbflute')
        #  The namespace of DBFlute DI configuration for Seasar.
        #
        # @SeasarOnly
        #; dbfluteDiconNamespace = dbflute
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 6.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. test/range.go

    	}
    }
    
    // test that range evaluates the index and value expressions
    // exactly once per iteration.
    
    var ncalls = 0
    
    func getvar(p *int) *int {
    	ncalls++
    	return p
    }
    
    func testcalls() {
    	var i, v int
    	si := 0
    	sv := 0
    	for *getvar(&i), *getvar(&v) = range [2]int{1, 2} {
    		si += i
    		sv += v
    	}
    	if ncalls != 4 {
    		println("wrong number of calls:", ncalls, "!= 4")
    		panic("fail")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 05:50:54 UTC 2017
    - 8.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                    added("Method", "SourceKt.foo()"),
                    added("Method", "SourceKt.fooExt(java.lang.String)"),
                    added("Method", "SourceKt.fooExt(int)"),
                    added("Method", "SourceKt.getBar()"),
                    added("Method", "SourceKt.getBarExt(java.lang.String)"),
                    added("Method", "SourceKt.getBazar()"),
                    added("Method", "SourceKt.getBazarExt(int)"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top