- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 192 for raerror (0.15 sec)
-
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/LambdaTest.kt
fun `if a lambda is not allowed, a lambda is reported as an error`() { schema.resolve("lambdaNotAllowed(0) { }").isError(ErrorReason.UnresolvedFunctionCallSignature::class) } private fun ResolutionResult.isSuccessful() { assertTrue { errors.isEmpty() } assertTrue { additions.size == 1 } } private fun ResolutionResult.isError(errorReason: KClass<out ErrorReason>) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 26 12:27:49 UTC 2024 - 2.6K bytes - Viewed (0) -
src/math/rand/rand_test.go
if !nearEqual(sr.mean, expected.mean, expected.closeEnough, expected.maxError) { s := fmt.Sprintf("mean %v != %v (allowed error %v, %v)", sr.mean, expected.mean, expected.closeEnough, expected.maxError) fmt.Println(s) return errors.New(s) } if !nearEqual(sr.stddev, expected.stddev, expected.closeEnough, expected.maxError) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.9K bytes - Viewed (0) -
pkg/scheduler/framework/interface_test.go
} if test.status.AsError() == test.expectedAsError { return } if test.status.AsError().Error() != test.expectedAsError.Error() { t.Errorf("expect status.AsError() returns %v, but %v", test.expectedAsError, test.status.AsError()) } }) } } func TestPreFilterResultMerge(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Oct 22 04:41:59 UTC 2023 - 7.3K bytes - Viewed (0) -
internal/event/target/elasticsearch.go
type esClient interface { isAtleastV7() bool createIndex(ElasticsearchArgs) error ping(context.Context, ElasticsearchArgs) (bool, error) stop() entryExists(context.Context, string, string) (bool, error) removeEntry(context.Context, string, string) error updateEntry(context.Context, string, string, event.Event) error addEntry(context.Context, string, event.Event) error } // ElasticsearchArgs - Elasticsearch target arguments.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15K bytes - Viewed (0) -
pkg/controller/volume/expand/expand_controller_test.go
} return true, pvc, nil }) err = expController.syncHandler(context.TODO(), test.pvcKey) if err != nil && !test.hasError { t.Fatalf("for: %s; unexpected error while running handler : %v", test.name, err) } if err == nil && test.hasError { t.Fatalf("for: %s; unexpected success", test.name) } if expansionCalled != test.expansionCalled {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 7.9K bytes - Viewed (0) -
src/syscall/types_illumos_amd64.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build illumos // Illumos consts not present on Solaris. These are added manually rather than // auto-generated by mkerror.sh package syscall const ( LOCK_EX = 0x2 LOCK_NB = 0x4 LOCK_SH = 0x1 LOCK_UN = 0x8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 379 bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go
} }) } } func hasError(errs field.ErrorList, needle string) bool { for _, curr := range errs { if curr.Error() == needle { return true } } return false } func hasPrefixError(errs field.ErrorList, prefix string) bool { for _, curr := range errs { if strings.HasPrefix(curr.Error(), prefix) { return true } } return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 07:48:42 UTC 2023 - 15.2K bytes - Viewed (0) -
src/text/template/option.go
type missingKeyAction int const ( mapInvalid missingKeyAction = iota // Return an invalid reflect.Value. mapZeroValue // Return the zero value for the map element. mapError // Error out ) type option struct { missingKey missingKeyAction } // Option sets options for the template. Options are described by // strings, either a simple string or "key=value". There can be at
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.9K bytes - Viewed (0) -
src/plugin/plugin_dlopen.go
if (h == NULL) { *err = (char*)dlerror(); } return (uintptr_t)h; } static void* pluginLookup(uintptr_t h, const char* name, char** err) { void* r = dlsym((void*)h, name); if (r == NULL) { *err = (char*)dlerror(); } return r; } */ import "C" import ( "errors" "sync" "unsafe" ) func open(name string) (*Plugin, error) { cPath := make([]byte, C.PATH_MAX+1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 16:55:22 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main4.c
if (handle == NULL) { fprintf(stderr, "%s\n", dlerror()); exit(EXIT_FAILURE); } if (verbose) { fprintf(stderr, "calling dlsym\n"); } // Start some goroutines. fn = (void(*)(void))dlsym(handle, "RunGoroutines"); if (fn == NULL) { fprintf(stderr, "%s\n", dlerror()); exit(EXIT_FAILURE); } if (verbose) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 4.2K bytes - Viewed (0)