Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,639 for ensure (0.51 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/intstr/instr_fuzz.go

    		return
    	}
    	if c.RandBool() {
    		intstr.Type = Int
    		c.Fuzz(&intstr.IntVal)
    		intstr.StrVal = ""
    	} else {
    		intstr.Type = String
    		intstr.IntVal = 0
    		c.Fuzz(&intstr.StrVal)
    	}
    }
    
    // ensure IntOrString implements fuzz.Interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ServiceManagerBridge.java

    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.util.concurrent.Service.State;
    
    /**
     * Superinterface of {@link ServiceManager} to introduce a bridge method for {@code
     * servicesByState()}, to ensure binary compatibility with older Guava versions that specified
     * {@code servicesByState()} to return {@code ImmutableMultimap}.
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ServiceManagerBridge.java

    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.util.concurrent.Service.State;
    
    /**
     * Superinterface of {@link ServiceManager} to introduce a bridge method for {@code
     * servicesByState()}, to ensure binary compatibility with older Guava versions that specified
     * {@code servicesByState()} to return {@code ImmutableMultimap}.
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_fuzz.go

    	// micro second. Leave off nanoseconds because JSON doesn't
    	// represent them so they can't round-trip properly.
    	t.Time = time.Unix(c.Rand.Int63n(1000*365*24*60*60), 1000*c.Rand.Int63n(1000000))
    }
    
    // ensure MicroTime implements fuzz.Interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  5. plugin/pkg/admission/serviceaccount/admission.go

    	// Require container pods to have service accounts
    	if len(pod.Spec.ServiceAccountName) == 0 {
    		return admission.NewForbidden(a, fmt.Errorf("no service account specified for pod %s/%s", a.GetNamespace(), pod.Name))
    	}
    	// Ensure the referenced service account exists
    	serviceAccount, err := s.getServiceAccount(a.GetNamespace(), pod.Spec.ServiceAccountName)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf_test.go

    				t.Fatal(err)
    			}
    			if alloc.allocateCount != 1 {
    				t.Fatalf("expected the Allocate method to be called exactly 1 but it was executed: %v times ", alloc.allocateCount)
    			}
    
    			// to ensure compatibility of the new method with the old one, serialized data must be equal
    			// also we are not testing decoding since "roundtripping" is tested elsewhere for all known types
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 03:17:50 UTC 2022
    - 5K bytes
    - Viewed (0)
  7. src/internal/testlog/exit.go

    // PanicOnExit0 reports whether to panic on a call to os.Exit(0).
    // This is in the testlog package because, like other definitions in
    // package testlog, it is a hook between the testing package and the
    // os package. This is used to ensure that an early call to os.Exit(0)
    // does not cause a test to pass.
    func PanicOnExit0() bool {
    	panicOnExit0.mu.Lock()
    	defer panicOnExit0.mu.Unlock()
    	return panicOnExit0.val
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/img/swift-application-task-graph.dot

      compileDebugSwift -> linkDebug -> assemble -> build [dir=back]
      linkDebug -> assembleDebug [dir=back]
      check -> build [dir=back]
      compileReleaseSwift -> linkRelease -> assembleRelease [dir=back]
      clean
    
      // Ensure ordering
      compileDebugSwift -> compileReleaseSwift -> clean [style=invis]
      {rank=same compileDebugSwift compileReleaseSwift clean}
    
      check -> assemble -> assembleDebug -> assembleRelease [style=invis]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. test/range3.go

    	}
    }
    
    // Issue #63378.
    func testint4() {
    	for i := range -1 {
    		_ = i
    		panic("must not be executed")
    	}
    }
    
    // Issue #64471.
    func testint5() {
    	for i := range 'a' {
    		var _ *rune = &i // ensure i has type rune
    	}
    }
    
    func main() {
    	testint1()
    	testint2()
    	testint3()
    	testint4()
    	testint5()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 17:20:08 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/img/cpp-unit-test-task-graph.dot

      assemble -> build [dir=back]
      tripleDots -> assemble [dir=back]
      clean
    
      compileDebugCpp [style="dashed,filled", fillcolor=grey]
      tripleDots [style="dashed,filled", fillcolor=grey, label="..."]
    
      // Ensure ordering
      compileTestCpp -> compileDebugCpp -> clean [style=invis]
      {rank=same compileDebugCpp compileTestCpp clean}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top