- Sort Score
- Result 10 results
- Languages All
Results 1341 - 1350 of 6,241 for If (0.06 sec)
-
ci/official/utilities/convert_msys_paths_to_win_paths.py
if blacklist and var_name in blacklist: return False if not whitelist_prefix: return True for prefix in whitelist_prefix: if var_name.startswith(prefix): return True return False def main(parsed_args: argparse.Namespace): converted_vars = {} for var, value in os.environ.items(): if not value or not should_convert(var,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Aug 07 23:01:25 UTC 2024 - 2.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java
if (urlQueue == null) { return; } final String url = urlQueue.getUrl(); if (StringUtil.isBlank(url) || url.startsWith("file:")) { // not target return; } try { final URL u = new URL(url); final String host = u.getHost(); if (host == null) { return;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/configdump_test.go
cd, _ := os.ReadFile(tt.inputFile) err := cw.Prime(cd) if cw.ztunnelDump == nil { if tt.wantConfigs != 0 { t.Errorf("wanted some configs loaded but config dump was nil") } } else if len(cw.ztunnelDump.Workloads) != tt.wantConfigs { t.Errorf("wanted %v configs loaded in got %v", tt.wantConfigs, len(cw.ztunnelDump.Workloads)) } if tt.wantErr { assert.Error(t, err) } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 06 20:18:34 UTC 2024 - 3.6K bytes - Viewed (0) -
cmd/jwt_test.go
defer cancel() obj, fsDir, err := prepareFS(ctx) if err != nil { t.Fatal(err) } defer os.RemoveAll(fsDir) if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil { t.Fatal(err) } creds := globalActiveCred token, err := getTokenString(creds.AccessKey, creds.SecretKey) if err != nil { t.Fatalf("unable get token %s", err) } testCases := []struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 22 07:04:48 UTC 2024 - 4.4K bytes - Viewed (0) -
cmd/bucket-versioning-handler.go
objectAPI := api.ObjectAPI() if objectAPI == nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL) return } if s3Error := checkRequestAuthType(ctx, r, policy.GetBucketVersioningAction, bucket, ""); s3Error != ErrNone { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL) return } // Check if bucket exists.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
if ( data.length <= 8 ) throw new PACDecodingException("Empty PAC"); int bufferCount = pacStream.readInt(); int version = pacStream.readInt(); if ( version != PacConstants.PAC_VERSION ) { throw new PACDecodingException("Unrecognized PAC version " + version);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
} protected int compareTime(final int h1, final int m1, final int h2, final int m2) { if (h1 < h2) { return 1; } if (h1 == h2) { if (m1 == m2) { return 0; } if (m1 < m2) { return 1; } } return -1; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5.8K bytes - Viewed (0) -
docs/sts/web-identity.go
d := DiscoveryDoc{} req, err := http.NewRequest(http.MethodGet, ustr, nil) if err != nil { return d, err } clnt := http.Client{ Transport: http.DefaultTransport, } resp, err := clnt.Do(req) if err != nil { return d, err } defer resp.Body.Close() if resp.StatusCode != http.StatusOK { return d, fmt.Errorf("unexpected error returned by %s : status(%s)", ustr, resp.Status)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 19 09:13:33 UTC 2023 - 7.8K bytes - Viewed (0) -
src/cmd/api/api_test.go
) func TestGolden(t *testing.T) { if *flagCheck { // slow, not worth repeating in -check t.Skip("skipping with -check set") } testenv.MustHaveGoBuild(t) td, err := os.Open("testdata/src/pkg") if err != nil { t.Fatal(err) } fis, err := td.Readdir(0) if err != nil { t.Fatal(err) } for _, fi := range fis { if !fi.IsDir() { continue }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 04 17:31:12 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/lock-rest-client_test.go
if err != nil { t.Fatalf("unexpected error %v", err) } endpointLocal.IsLocal = true ctx, cancel := context.WithCancel(context.Background()) defer cancel() err = initGlobalLockGrid(ctx, []PoolEndpoints{{Endpoints: Endpoints{endpoint, endpointLocal}}}) if err != nil { t.Fatal(err) } lkClient := newlockRESTClient(endpoint) if lkClient.IsOnline() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 2K bytes - Viewed (0)