Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 300 for setUse (0.11 sec)

  1. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    func (f *WorkFile) AddNewUse(diskPath, modulePath string) {
    	line := f.Syntax.addLine(nil, "use", AutoQuote(diskPath))
    	f.Use = append(f.Use, &Use{Path: diskPath, ModulePath: modulePath, Syntax: line})
    }
    
    func (f *WorkFile) SetUse(dirs []*Use) {
    	need := make(map[string]string)
    	for _, d := range dirs {
    		need[d.Path] = d.ModulePath
    	}
    
    	for _, d := range f.Use {
    		if modulePath, ok := need[d.Path]; ok {
    			d.ModulePath = modulePath
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. platforms/jvm/language-groovy/src/main/java/org/gradle/api/tasks/javadoc/Groovydoc.java

         * Returns whether to create class and package usage pages.
         */
        @Input
        public boolean isUse() {
            return use;
        }
    
        /**
         * Sets whether to create class and package usage pages.
         */
        public void setUse(boolean use) {
            this.use = use;
        }
    
        /**
         * Returns whether to include timestamp within hidden comment in generated HTML (Groovy >= 2.4.6).
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/StandardJavadocDocletOptions.java

         */
        @Input
        public boolean isUse() {
            return use.getValue();
        }
    
        public void setUse(boolean use) {
            this.use.setValue(use);
        }
    
        public StandardJavadocDocletOptions use(boolean use) {
            setUse(use);
            return this;
        }
    
        public StandardJavadocDocletOptions use() {
            return use(true);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/dcl.go

    	}
    	types.CalcSize(typ)
    
    	sym := &types.Sym{
    		Name: autotmpname(len(curfn.Dcl)),
    		Pkg:  types.LocalPkg,
    	}
    	name := curfn.NewLocal(pos, sym, typ)
    	name.SetEsc(ir.EscNever)
    	name.SetUsed(true)
    	name.SetAutoTemp(true)
    
    	return name
    }
    
    var (
    	autotmpnamesmu sync.Mutex
    	autotmpnames   []string
    )
    
    // autotmpname returns the name for an autotmp variable numbered n.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:15:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

        return CartesianSet.create(sets);
      }
    
      /**
       * Returns every possible list that can be formed by choosing one element from each of the given
       * sets in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian
       * product</a>" of the sets. For example:
       *
       * <pre>{@code
       * Sets.cartesianProduct(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Sets.java

        return CartesianSet.create(sets);
      }
    
      /**
       * Returns every possible list that can be formed by choosing one element from each of the given
       * sets in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian
       * product</a>" of the sets. For example:
       *
       * <pre>{@code
       * Sets.cartesianProduct(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. test/typeparam/sets.go

    // The values will be in an indeterminate order.
    func (s _Set[Elem]) Values() []Elem {
    	r := make([]Elem, 0, len(s.m))
    	for v := range s.m {
    		r = append(r, v)
    	}
    	return r
    }
    
    // _Equal reports whether two sets contain the same elements.
    func _Equal[Elem comparable](s1, s2 _Set[Elem]) bool {
    	if len(s1.m) != len(s2.m) {
    		return false
    	}
    	for v1 := range s1.m {
    		if !s2.Contains(v1) {
    			return false
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/closure.go

    	clos := ir.NewCompLitExpr(base.Pos, ir.OCOMPLIT, typ, nil)
    	clos.SetEsc(clo.Esc())
    	clos.List = append([]ir.Node{ir.NewUnaryExpr(base.Pos, ir.OCFUNC, clofn.Nname)}, closureArgs(clo)...)
    	for i, value := range clos.List {
    		clos.List[i] = ir.NewStructKeyExpr(base.Pos, typ.Field(i), value)
    	}
    
    	addr := typecheck.NodAddr(clos)
    	addr.SetEsc(clo.Esc())
    
    	// Force type conversion from *struct to the func type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/testing/jacoco-quickstart/groovy/src/main/java/org/gradle/Person.java

            return surname;
        }
    
        public void setSurname(String surname) {
            this.surname = surname;
        }
    
        public int getAge() {
            return age;
        }
    
        public void setAge(int age) {
            this.age = age;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 369 bytes
    - Viewed (0)
  10. src/runtime/export_windows_test.go

    }
    
    type ContextStub struct {
    	context
    }
    
    func (c ContextStub) GetPC() uintptr {
    	return c.ip()
    }
    
    func NewContextStub() *ContextStub {
    	var ctx context
    	ctx.set_ip(getcallerpc())
    	ctx.set_sp(getcallersp())
    	ctx.set_fp(getcallerfp())
    	return &ContextStub{ctx}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 17:25:00 UTC 2024
    - 759 bytes
    - Viewed (0)
Back to top