Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,863 for addDep (0.15 sec)

  1. staging/src/k8s.io/apimachinery/pkg/watch/filter_test.go

    	"reflect"
    	"testing"
    
    	. "k8s.io/apimachinery/pkg/watch"
    )
    
    func TestFilter(t *testing.T) {
    	table := []Event{
    		{Type: Added, Object: testType("foo")},
    		{Type: Added, Object: testType("bar")},
    		{Type: Added, Object: testType("baz")},
    		{Type: Added, Object: testType("qux")},
    		{Type: Added, Object: testType("zoo")},
    	}
    
    	source := NewFake()
    	filtered := Filter(source, func(e Event) (Event, bool) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 16 11:56:41 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/objfile_test.go

    		s.Set(AttrContentAddressable, true)
    		s.PkgIdx = goobj.PkgIdxHashed
    	}
    	// s3 references s0
    	r := Addrel(syms[3])
    	r.Sym = syms[0]
    	// s4 references s0
    	r = Addrel(syms[4])
    	r.Sym = syms[0]
    	// s5 references s1
    	r = Addrel(syms[5])
    	r.Sym = syms[1]
    	// s6 references s2
    	r = Addrel(syms[6])
    	r.Sym = syms[2]
    
    	// compute hashes
    	h := make([]goobj.HashType, len(syms))
    	w := &writer{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:21:30 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  3. src/cmd/link/internal/loadxcoff/ldxcoff.go

    				rSize = 4
    				rType = objabi.R_CALLPOWER
    				rAdd = 0
    			}
    			r, _ := sb.AddRel(rType)
    			r.SetOff(rOff)
    			r.SetSiz(rSize)
    			r.SetSym(rSym)
    			r.SetAdd(rAdd)
    		}
    	}
    	return textp, nil
    }
    
    // Convert symbol xcoff type to sym.SymKind
    // Returns nil if this shouldn't be added into loader (like .file or .dw symbols )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/DependencyConstraintHandlerScope.kt

            get() = constraints
    
        /**
         * Adds a dependency constraint to the given configuration.
         *
         * @param dependencyConstraintNotation notation for the dependency constraint to be added.
         * @return The dependency constraint.
         * @see [DependencyConstraintHandler.add]
         */
        operator fun String.invoke(dependencyConstraintNotation: Any): DependencyConstraint =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 06:41:25 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/PropertiesTransformerTest.groovy

                props.remove('removed')
                props.changed = 'new'
                props.added = 'value'
            }
            props(changed:'new', added:'value') == result
        }
    
        def 'can use closure as action'() {
            given:
            transformer.addAction action { Properties props ->
                props.added = 'value'
            }
            when:
            def result = transformer.transform(new Properties())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  6. releasenotes/notes/25280.yaml

      - 23868
    
    # releaseNotes is a markdown listing of any user facing changes. This will appear in the
    # release notes.
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 11 21:20:58 UTC 2020
    - 464 bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/RepositoryHandler.java

         * The behavior of this repository is otherwise the same as those added by {@link #maven(org.gradle.api.Action)}.
         * <p>
         * Examples:
         * <pre class='autoTestedWithDeprecations'>
         * repositories {
         *     jcenter()
         * }
         * </pre>
         *
         * @return the added resolver
         * @see #jcenter(Action)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 03:42:11 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. test/typeparam/issue51355.go

    package main
    
    type Cache[E comparable] struct {
    	adder func(...E)
    }
    
    func New[E comparable]() *Cache[E] {
    	c := &Cache[E]{}
    
    	c.adder = func(elements ...E) {
    		for _, value := range elements {
    			value := value
    			go func() {
    				println(value)
    			}()
    		}
    	}
    
    	return c
    }
    
    func main() {
    	c := New[string]()
    	c.adder("test")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 498 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/mod/example.net_pkgadded_v1.2.0.txt

    Written by hand.
    Test module with a root package added in v1.1.0
    and a subpackage added in v1.2.0.
    
    -- .mod --
    module example.net/pkgadded
    
    go 1.16
    -- .info --
    {"Version":"v1.2.0"}
    -- go.mod --
    module example.net/pkgadded
    
    go 1.16
    -- pkgadded.go --
    // Package pkgadded was added in v1.1.0.
    package pkgadded
    -- subpkg/subpkg.go --
    // Package subpkg was added in v1.2.0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 22 17:59:55 UTC 2020
    - 384 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        // Match Add.
        auto add_op =
            dyn_cast_or_null<TFL::AddOp>(fc_op.getInput().getDefiningOp());
        if (!add_op) return failure();
        if (add_op.getFusedActivationFunction() != "NONE") return failure();
    
        // Don't match adds where the added constant is not 1D.
        {
          auto addend_shape = mlir::cast<ShapedType>(add_op.getRhs().getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (1)
Back to top