Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,510 for nvalid (0.11 sec)

  1. platforms/documentation/docs-asciidoctor-extensions-base/src/main/java/org/gradle/docs/asciidoctor/IdGenerator.java

    import java.util.regex.Pattern;
    
    /**
     * Generates valid Asciidoctor identifiers from strings.
     * Tries to mimic original Asciidoctor behaviour.
     *
     * @see <a href="https://docs.asciidoctor.org/asciidoc/latest/sections/auto-ids/#how-a-section-id-is-computed">How a section ID is computed</a>
     */
    public class IdGenerator {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. pkg/kubelet/sysctl/allowlist_test.go

    	type Test struct {
    		sysctl           string
    		hostNet, hostIPC bool
    	}
    	valid := []Test{
    		{sysctl: "kernel.shm_rmid_forced"},
    		{sysctl: "kernel/shm_rmid_forced"},
    		{sysctl: "net.ipv4.ip_local_port_range"},
    		{sysctl: "kernel.msgmax"},
    		{sysctl: "kernel.sem"},
    		{sysctl: "kernel/sem"},
    	}
    	invalid := []Test{
    		{sysctl: "kernel.shm_rmid_forced", hostIPC: true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 22:58:54 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/generators/go122-fail-first-gen-first.go

    	t.RawEvent(go122.EvGoCreate, nil, 0 /*timestamp delta*/, 1 /*go ID*/, 0, 0)
    
    	// Write an invalid batch event for the next generation.
    	t.RawEvent(go122.EvEventBatch, nil, 2 /*gen*/, 0 /*thread ID*/, 0 /*timestamp*/, 50 /*batch length (invalid)*/)
    
    	// We should fail at the first issue, not the second one.
    	t.ExpectFailure("expected a proc but didn't have one")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. test/alias2.go

    }
    
    // Invalid type alias declarations.
    
    type _ = reflect.ValueOf // ERROR "reflect.ValueOf .*is not a type|expected type"
    
    func (A1) m() {} // ERROR "cannot define new methods on non-local type|may not define methods on non-local type"
    func (A2) m() {} // ERROR "invalid receiver type"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:09:14 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/lifetime/KtLifetimeToken.kt

    }
    
    public typealias KtLifetimeTokenFactory = KaLifetimeTokenFactory
    
    @Suppress("NOTHING_TO_INLINE")
    public inline fun KaLifetimeToken.assertIsValidAndAccessible() {
        if (!isValid()) {
            throw KaInvalidLifetimeOwnerAccessException("Access to invalid $this: ${getInvalidationReason()}")
        }
        if (!isAccessible()) {
            throw KaInaccessibleLifetimeOwnerAccessException("$this is inaccessible: ${getInaccessibilityReason()}")
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:22:24 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter.go

    		}
    	}
    
    	unstructIn, ok := in.(*unstructured.Unstructured)
    	if !ok {
    		return fmt.Errorf("input type %T in not valid for unstructured conversion to %T", in, out)
    	}
    
    	unstructOut, ok := out.(*unstructured.Unstructured)
    	if !ok {
    		return fmt.Errorf("output type %T in not valid for unstructured conversion from %T", out, in)
    	}
    
    	outGVK := unstructOut.GroupVersionKind()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/handling-errors.md

    These handlers are in charge of returning the default JSON responses when you `raise` an `HTTPException` and when the request has invalid data.
    
    You can override these exception handlers with your own.
    
    ### Override request validation exceptions
    
    When a request contains invalid data, **FastAPI** internally raises a `RequestValidationError`.
    
    And it also includes a default exception handler for it.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionFailureIntegrationTest.groovy

            failure.assertHasCause("Cannot convert string value 'unsupportedValue' to an enum value of type 'SampleTask\$TestEnum' (valid case insensitive values: OPT_1, OPT_2, OPT_3)")
        }
    
        def "decent error for invalid enum list value"() {
            given:
            buildFile << """
                task someTask(type: SampleTask)
    
                ${taskWithSingleOption('List<TestEnum>')}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/encode.go

    		// semantic difference that a text string whose content is an invalid UTF-8 sequence
    		// is itself invalid. We reject all invalid text strings at decode time and do not
    		// validate or sanitize all Go strings at encode time. Encoding Go strings to the
    		// byte string type is comparable to the existing Protobuf behavior and cheaply
    		// ensures that the output is valid CBOR.
    		String: cbor.StringToByteString,
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 15:31:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/DefaultRuleActionAdapterTest.groovy

        }
    
        def "fails to adapt closure with invalid subject" () {
            ruleActionAdapter = new DefaultRuleActionAdapter(noopValidator, "context")
    
            when:
            ruleActionAdapter.createFromClosure(String, {List subject -> })
    
            then:
            def failure = thrown(InvalidUserCodeException)
            failure.message == "The closure provided is not valid as a rule for 'context'."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top