Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 340 for Empties (0.45 sec)

  1. pkg/config/schema/resource/schema_test.go

    	}{
    		{
    			name: "valid",
    			b: Builder{
    				Kind:         "Empty",
    				Plural:       "Empties",
    				ProtoPackage: "github.com/gogo/protobuf/types",
    				Proto:        "google.protobuf.Empty",
    			},
    			expectError: false,
    		},
    		{
    			name: "invalid kind",
    			b: Builder{
    				Kind:         "",
    				Plural:       "Empties",
    				ProtoPackage: "github.com/gogo/protobuf/types",
    				Proto:        "google.protobuf.Empty",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. pkg/config/schema/collection/schemas_test.go

    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/schema/collection"
    	"istio.io/istio/pkg/config/schema/resource"
    )
    
    var (
    	emptyResource = resource.Builder{
    		Kind:         "Empty",
    		Plural:       "empties",
    		ProtoPackage: "google.golang.org/protobuf/types/known/emptypb",
    		Proto:        "google.protobuf.Empty",
    	}.MustBuild()
    
    	structResource = resource.Builder{
    		Kind:         "Struct",
    		Plural:       "structs",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/OutputFileChangesTest.groovy

    import org.gradle.internal.snapshot.TestSnapshotFixture
    import spock.lang.Specification
    
    class OutputFileChangesTest extends Specification implements TestSnapshotFixture {
    
        def "empties"() {
            expect:
            changes(
                FileSystemSnapshot.EMPTY,
                FileSystemSnapshot.EMPTY
            ) == []
        }
    
        def "equal hash for #current.type"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. src/runtime/mpagecache.go

    	scav := sys.OnesCount64(c.scav & mask)
    	c.cache &^= mask // mark in-use bits
    	c.scav &^= mask  // clear scavenged bits
    	return c.base + uintptr(i*pageSize), uintptr(scav) * pageSize
    }
    
    // flush empties out unallocated free pages in the given cache
    // into s. Then, it clears the cache, such that empty returns
    // true.
    //
    // p.mheapLock must be held.
    //
    // Must run on the system stack because p.mheapLock must be held.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:30:00 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/sets/set.go

    	return set.Insert(items...)
    }
    
    // Delete removes all items from the set.
    func (s Set[T]) Delete(items ...T) Set[T] {
    	for _, item := range items {
    		delete(s, item)
    	}
    	return s
    }
    
    // Clear empties the set.
    // It is preferable to replace the set with a newly constructed set,
    // but not all callers can do that (when there are other references to the map).
    func (s Set[T]) Clear() Set[T] {
    	clear(s)
    	return s
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 19:51:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/runtime/mwbbuf.go

    	// TODO: What is the latency cost of this? Tune this value.
    	wbBufEntries = 512
    
    	// Maximum number of entries that we need to ask from the
    	// buffer in a single call.
    	wbMaxEntriesPerCall = 8
    )
    
    // reset empties b by resetting its next and end pointers.
    func (b *wbBuf) reset() {
    	start := uintptr(unsafe.Pointer(&b.buf[0]))
    	b.next = start
    	if testSmallBuf {
    		// For testing, make the buffer smaller but more than
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. pkg/proxy/endpointschangetracker.go

    	metrics.EndpointChangesPending.Set(0)
    
    	return ect.endpointSliceCache.checkoutChanges()
    }
    
    // checkoutTriggerTimes applies the locally cached trigger times to a map of
    // trigger times that have been passed in and empties the local cache.
    func (ect *EndpointsChangeTracker) checkoutTriggerTimes(lastChangeTriggerTimes *map[types.NamespacedName][]time.Time) {
    	ect.lock.Lock()
    	defer ect.lock.Unlock()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

        AddFetchOperandToMain(
            main_graph_op,
            /*fetch_operand=*/noop_wrapper_island_op.getControl());
    
        symbol_table.erase(init_func_op);
      }
    
      // Empties the "initializers" attribute from the `SessionInitializerOp` since
      // all ops of the initializer ops are cloned into @main.
      session_init_op.setInitializersAttr(ArrayAttr::get(ctx, {}));
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDependencyInferenceIntegrationTest.groovy

    import spock.lang.Issue
    
    class TaskDependencyInferenceIntegrationTest extends AbstractIntegrationSpec implements TasksWithInputsAndOutputs {
        def "dependency declared using task provider implies dependency on task"() {
            buildFile << """
                // verify that eager and lazy providers work
                def providerA = tasks.register("a")
                tasks.create("b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 14:20:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  10. pkg/config/visibility/visibility.go

    // all namespaces or none
    type Instance string
    
    const (
    	// Private implies namespace local config
    	Private Instance = "."
    	// Public implies config is visible to all
    	Public Instance = "*"
    	// None implies service is visible to no one. Used for services only
    	None Instance = "~"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 09 07:58:12 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top