- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 532 for Dummy3 (0.11 sec)
-
src/encoding/json/bench_test.go
// Trigger an error in Marshal with cyclic data. type Dummy struct { Name string Next *Dummy } dummy := Dummy{Name: "Dummy"} dummy.Next = &dummy b.RunParallel(func(pb *testing.PB) { enc := NewEncoder(io.Discard) for pb.Next() { if err := enc.Encode(&codeStruct); err != nil { b.Fatalf("Encode error: %v", err) } if _, err := Marshal(dummy); err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:00:17 UTC 2024 - 12.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/DummyProxy.java
Object dummy = Proxy.newProxyInstance( interfaceClasses.iterator().next().getClassLoader(), interfaceClasses.toArray(new Class<?>[interfaceClasses.size()]), new DummyHandler(interfaceType)); @SuppressWarnings("unchecked") // interfaceType is T T result = (T) dummy; return result; } /** Returns the dummy return value for {@code returnType}. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 08 17:31:55 UTC 2024 - 3.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskRemovalIntegrationTest.groovy
given: buildFile << """ task foo(type: Zip) {} ${code} // need at least one task to execute anything task dummy """ when: fails ("dummy") then: failure.assertHasCause("Removing tasks from the task container is not supported. Disable the tasks or use replace() instead.") where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 2.1K bytes - Viewed (0) -
src/cmd/go/internal/fsys/fsys_test.go
} } } func TestWalkSkipAll(t *testing.T) { initOverlay(t, ` { "Replace": { "dir/subdir1/foo1": "dummy.txt", "dir/subdir1/foo2": "dummy.txt", "dir/subdir1/foo3": "dummy.txt", "dir/subdir2/foo4": "dummy.txt", "dir/zzlast": "dummy.txt" } } -- dummy.txt -- `) var seen []string Walk("dir", func(path string, info fs.FileInfo, err error) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:52:11 UTC 2023 - 29.1K bytes - Viewed (0) -
pilot/pkg/leaderelection/k8sleaderelection/healthzadaptor_test.go
} // Update is a dummy to allow us to have a fakeLock for testing. func (fl *fakeLock) Update(ctx context.Context, ler rl.LeaderElectionRecord) error { return nil } // RecordEvent is a dummy to allow us to have a fakeLock for testing. func (fl *fakeLock) RecordEvent(string) {} // Identity is a dummy to allow us to have a fakeLock for testing. func (fl *fakeLock) Identity() string { return fl.identity }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Sep 12 18:41:53 UTC 2022 - 5.3K bytes - Viewed (0) -
pkg/kubelet/cm/dra/plugin/client_test.go
req := &drapbv1alpha3.NodePrepareResourcesRequest{ Claims: []*drapbv1alpha3.Claim{ { Namespace: "dummy-namespace", Uid: "dummy-uid", Name: "dummy-claim", ResourceHandle: "dummy-resource", }, }, } client.NodePrepareResources(context.TODO(), req) client.(*plugin).Lock() conn := client.(*plugin).conn client.(*plugin).Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 16:27:05 UTC 2024 - 8.1K bytes - Viewed (0) -
src/runtime/testdata/testwinlib/main.go
// The idea here is to reproduce what happens when you attach a debugger to a running program. // It also simulate the behavior of the .Net debugger, which register its exception/continue handlers lazily. // //export Dummy func Dummy() int { return 42 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 08 15:44:05 UTC 2022 - 925 bytes - Viewed (0) -
src/mdo/model-v3.vm
#set ( $dummy = $imports.add( "java.io.Serializable" ) ) #set ( $dummy = $imports.add( "java.util.AbstractList" ) ) #set ( $dummy = $imports.add( "java.util.Collections" ) ) #set ( $dummy = $imports.add( "java.util.HashMap" ) ) #set ( $dummy = $imports.add( "java.util.List" ) ) #set ( $dummy = $imports.add( "java.util.Map" ) ) #set ( $dummy = $imports.add( "java.util.Objects" ) )
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Nov 06 19:04:44 UTC 2023 - 13.1K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/source/NoOpLoggingSystem.java
@Override public Snapshot snapshot() { return dummy(); } @Override public Snapshot setLevel(LogLevel logLevel) { return dummy(); } @Override public Snapshot startCapture() { return dummy(); } @Override public void restore(Snapshot state) {} private Snapshot dummy() { return new Snapshot() {}; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultisetGwtSerializationDependencies.java
* tries to refer to our dummy serializer for the superclass, * ImmutableMultiset_CustomFieldSerializer. But that type has no methods (since it's never actually * used). We could probably fix the problem by adding dummy methods to that class, but that is * starting to sound harder than taking the superclass approach, which I've been coming to like, * anyway, since it doesn't require us to declare dummy methods (though occasionally constructors)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 01 22:07:10 UTC 2021 - 1.9K bytes - Viewed (0)