Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 601 for validate0 (0.13 sec)

  1. okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt

     * limitations under the License.
     */
    package okhttp3.testing
    
    import okhttp3.internal.platform.Platform
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * Validates which environment is used by the IDE.
     */
    class PlatformRuleTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @Test
      fun testMode() {
        println(PlatformRule.getPlatformSystemProperty())
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/cmd/gotracevalidate/main.go

    func init() {
    	flag.Usage = func() {
    		fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s\n", os.Args[0])
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "Accepts a trace at stdin and validates it.\n")
    		flag.PrintDefaults()
    	}
    	log.SetFlags(0)
    }
    
    var logEvents = flag.Bool("log-events", false, "whether to log events")
    
    func main() {
    	flag.Parse()
    
    	r, err := trace.NewReader(os.Stdin)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 984 bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/sidecar/selector.go

    	"istio.io/istio/pkg/config/analysis/analyzers/util"
    	"istio.io/istio/pkg/config/analysis/msg"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    // SelectorAnalyzer validates, per namespace, that:
    // * sidecar resources that define a workload selector match at least one pod
    // * there aren't multiple sidecar resources that select overlapping pods
    type SelectorAnalyzer struct{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/preflight/checks_windows.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package preflight
    
    import (
    	"github.com/pkg/errors"
    	"golang.org/x/sys/windows"
    )
    
    // Check validates if a user has elevated (administrator) privileges.
    func (ipuc IsPrivilegedUserCheck) Check() (warnings, errorList []error) {
    	hProcessToken := windows.GetCurrentProcessToken()
    	if hProcessToken.IsElevated() {
    		return nil, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 17:23:02 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/xla_validate_inputs.mlir

    // RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-xla-validate-inputs
    
    // expected-error @+1 {{expects no nested calls of entry functions as they prevent graph traversal in some passes from working correctly}}
    func.func @nested_entry_functions() attributes {tf.entry_function = {}} {
      tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 19:29:14 UTC 2024
    - 818 bytes
    - Viewed (0)
  6. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    	assert.NoError(t, err)
    
    	assert.Equal(t, 4, len(pods))
    	indexPods := make(map[statsapi.PodReference]statsapi.PodStats, len(pods))
    	for _, pod := range pods {
    		indexPods[pod.PodRef] = pod
    	}
    
    	// Validate Pod0 Results
    	ps, found := indexPods[prf0]
    	assert.True(t, found)
    	assert.Len(t, ps.Containers, 2)
    	indexCon := make(map[string]statsapi.ContainerStats, len(ps.Containers))
    	for _, con := range ps.Containers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultResolutionStrategy.java

            }
        }
    
        @Override
        public void setMutationValidator(MutationValidator validator) {
            mutationValidator = validator;
            cachePolicy.setMutationValidator(validator);
            componentSelectionRules.setMutationValidator(validator);
            dependencySubstitutions.setMutationValidator(validator);
        }
    
        @Override
        public Set<ModuleVersionSelector> getForcedModules() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. src/net/lookup.go

    // or more CNAME records.
    // LookupCNAME does not return an error if host does not
    // contain DNS "CNAME" records, as long as host resolves to
    // address records.
    //
    // The returned canonical name is validated to be a properly
    // formatted presentation-format domain name.
    //
    // LookupCNAME uses [context.Background] internally; to specify the context, use
    // [Resolver.LookupCNAME].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  9. src/internal/syscall/unix/siginfo_linux_test.go

    // license that can be found in the LICENSE file.
    
    package unix_test
    
    import (
    	"internal/goarch"
    	"internal/syscall/unix"
    	"runtime"
    	"strings"
    	"testing"
    	"unsafe"
    )
    
    // TestSiginfoChildLayout validates SiginfoChild layout. Modelled after
    // static assertions in linux kernel's arch/*/kernel/signal*.c.
    func TestSiginfoChildLayout(t *testing.T) {
    	var si unix.SiginfoChild
    
    	const host64bit = goarch.PtrSize == 8
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/README.md

    * `gotraceraw` parses traces without validation.
      It can produce a text version of the trace wire format, or convert
      the text format back into bytes.
    * `gotracevalidate` parses traces and validates them.
      It performs more rigorous checks than the parser does on its own,
      which helps for debugging the parser as well.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top