- Sort Score
- Result 10 results
- Languages All
Results 1241 - 1250 of 6,241 for IF (0.02 sec)
-
internal/event/arn_test.go
} for i, testCase := range testCases { data, err := xml.Marshal(testCase.arn) expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if !testCase.expectErr { if !reflect.DeepEqual(data, testCase.expectedData) { t.Fatalf("test %v: data: expected: %v, got: %v", i+1, string(testCase.expectedData), string(data))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/InterruptibleTask.java
Runnable state = get(); Blocker blocker = null; while (state instanceof Blocker || state == PARKED) { if (state instanceof Blocker) { blocker = (Blocker) state; } spinCount++; if (spinCount > MAX_BUSY_WAIT_SPINS) { /* * If we have spun a lot, just park ourselves. This will save CPU while we wait for a slow
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java
if (includedDocUrlPatterns == null || excludedDocUrlPatterns == null) { initDocUrlPattern(); } if (includedDocUrlPatterns.length == 0 && excludedDocUrlPatterns.length == 0) { return Constants.TRUE; } for (final Pattern pattern : includedDocUrlPatterns) { if (pattern.matcher(input).matches()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.8K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
got, err := getServiceAccountSecret(client, c.opts) if err == nil { got.ManagedFields = nil } if c.wantErrStr != "" { if err == nil { tt.Fatalf("wanted error including %q but got none", c.wantErrStr) } else if !strings.Contains(err.Error(), c.wantErrStr) { tt.Fatalf("wanted error including %q but got %v", c.wantErrStr, err) } } else if c.wantErrStr == "" && err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 20.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt
val requestBuilder = userRequest.newBuilder() val body = userRequest.body if (body != null) { val contentType = body.contentType() if (contentType != null) { requestBuilder.header("Content-Type", contentType.toString()) } val contentLength = body.contentLength() if (contentLength != -1L) { requestBuilder.header("Content-Length", contentLength.toString())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
docs/debugging/pprofgoparser/main.go
func main() { flag.Parse() if len(flag.Args()) == 0 { log.Fatal(helpUsage) } var err error goroutinesRE = regexp.MustCompile(`^goroutine [0-9]+ \[[^,]+(, ([0-9]+) minutes)?\]:$`) if searchText != "" { searchRE, err = regexp.Compile(searchText) if err != nil { log.Fatal(err) } } for _, arg := range flag.Args() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Mar 06 11:43:16 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
for (int i = 0; i < reps; i++) { String x = oldRepeat(originalString, count); if (x.length() != (originalString.length() * count)) { throw new RuntimeException("Wrong length: " + x); } } } private static String oldRepeat(String string, int count) { // If this multiplication overflows, a NegativeArraySizeException or // OutOfMemoryError is not far behind
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Sep 17 20:24:24 UTC 2021 - 3.3K bytes - Viewed (0) -
istioctl/pkg/util/formatting/formatter.go
func colorPrefix(m diag.Message, colorize bool) string { if !colorize { return "" } prefix, ok := colorPrefixes[m.Type.Level()] if !ok { return "" } return prefix } func colorSuffix(colorize bool) string { if !colorize { return "" } return "\033[0m" } func IstioctlColorDefault(writer io.Writer) bool { if strings.EqualFold(termEnvVar.Get(), "dumb") { return false
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 11 02:41:45 UTC 2023 - 3.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java
} catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to access to {}", request.getUrl(), e); } if (listener != null) { listener.onException(this, request, count, e); } if (exceptionList == null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/s3select/sql/jsonpath.go
for _, a := range arr { rval, flatten, err := jsonpathEval(p[1:], a) if err != nil { return nil, false, err } if flatten { // Flatten if array. if arr, ok := rval.([]interface{}); ok { result = append(result, arr...) continue } } result = append(result, rval) } return result, true, nil } panic("cannot reach here")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 3.5K bytes - Viewed (0)