- Sort Score
- Result 10 results
- Languages All
Results 1421 - 1430 of 6,241 for If (0.03 sec)
-
internal/crypto/header_test.go
if got != test.Expected { t.Errorf("SSE-S3: Test %d: Wanted %v but got %v", i, test.Expected, got) } } for i, test := range ssecIsRequestedTests { _, got := IsRequested(test.Header) if Requested(test.Header) != got { // Test if result matches. t.Errorf("Requested mismatch, want %v, got %v", Requested(test.Header), got) } got = got && SSEC.IsRequested(test.Header) if got != test.Expected {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 13 14:52:15 UTC 2022 - 21.4K bytes - Viewed (0) -
istioctl/pkg/version/version.go
opts.AttachControlPlaneFlags(versionCmd) versionCmd.Flags().VisitAll(func(flag *pflag.Flag) { if flag.Name == "short" { err := flag.Value.Set("true") if err != nil { fmt.Fprintf(os.Stdout, "set flag %q as true failed due to error %v", flag.Name, err) } } if flag.Name == "remote" { err := flag.Value.Set("true") if err != nil { fmt.Fprintf(os.Stdout, "set flag %q as true failed due to error %v", flag.Name, err)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 21:11:35 UTC 2024 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Doubles.java
* @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is * greater than {@code b}; or zero if they are equal */ @InlineMe(replacement = "Double.compare(a, b)") public static int compare(double a, double b) { return Double.compare(a, b); } /** * Returns {@code true} if {@code value} represents a real number. This is equivalent to, but not
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 28.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
@GuardedBy("monitor") private void checkCurrentState(State expected) { State actual = state(); if (actual != expected) { if (actual == FAILED) { // Handle this specially so that we can include the failureCause, if there is one. throw new IllegalStateException( "Expected the service " + this + " to be " + expected + ", but the service has FAILED",
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 20.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java
if (minScore != null) { searchRequestBuilder.setMinScore(minScore); } } protected void buildTrackTotalHits(final FessConfig fessConfig) { if (isScroll) { return; } if (StringUtil.isNotBlank(trackTotalHits)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Oct 20 02:08:03 UTC 2024 - 86.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/PathMapping.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.3K bytes - Viewed (0) -
internal/disk/stat_test.go
tmpfile, err := os.CreateTemp("", "testfile") if err != nil { t.Error(err) } tmpfile.WriteString(testCase.stat) tmpfile.Sync() tmpfile.Close() iostats, err := readDriveStats(tmpfile.Name()) if err != nil && !testCase.expectErr { t.Fatalf("unexpected err; %v", err) } if testCase.expectErr && err == nil { t.Fatal("expected to fail but err is nil")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.5K bytes - Viewed (0) -
istioctl/pkg/util/configdump/route.go
routeDump, err := w.GetRouteConfigDump() if err != nil { return nil, err } drc := routeDump.GetDynamicRouteConfigs() lastUpdated := time.Unix(0, 0) // get the oldest possible timestamp for i := range drc { if drc[i].LastUpdated != nil { drLastUpdated := drc[i].LastUpdated.AsTime() if drLastUpdated.After(lastUpdated) { lastUpdated = drLastUpdated } } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 3.2K bytes - Viewed (0) -
internal/config/dns/etcd_dns.go
if err != nil { return nil, err } if r.Count == 0 { key = strings.TrimSuffix(key, etcdPathSeparator) r, err = c.etcdClient.Get(ctx, key) if err != nil { return nil, err } // only if we are looking at `domain` as true // we should return error here. if domain && r.Count == 0 { return nil, ErrDomainMissing } } var srvRecords []SrvRecord
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 26 15:03:08 UTC 2024 - 8K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
if (logger == null) { System.err.println(message); if (showStackTrace && e != null) { e.printStackTrace(System.err); } return; } if (showStackTrace) { logger.error(message, e); } else { logger.error(message); if (e != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0)