Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 137 for Res (0.02 sec)

  1. cmd/kms-handlers.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	if res, err := json.Marshal(metrics); err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    	} else {
    		writeSuccessResponseJSON(w, res)
    	}
    }
    
    // KMSAPIsHandler - GET /minio/kms/v1/apis
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. cmd/utils_test.go

    		RequestURI string      `json:"reqURI"`
    		Header     http.Header `json:"header"`
    	}
    	res := jsonResult{}
    	if err = json.Unmarshal([]byte(strings.ReplaceAll(jsonReq, "%%", "%")), &res); err != nil {
    		t.Fatal(err)
    	}
    
    	// Look for expected method.
    	if res.Method != http.MethodGet {
    		t.Fatalf("Unexpected method %s, expected 'GET'", res.Method)
    	}
    
    	// Look for expected query values
    	expectedQuery := url.Values{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/SystemInfoTests.java

            String response = checkGetMethod(searchBody, "").asString();
            final Map<String, Object> res = JsonPath.from(response).getMap("response");
            assertTrue(res.containsKey("env_props"));
            assertTrue(res.containsKey("system_props"));
            assertTrue(res.containsKey("fess_props"));
            assertTrue(res.containsKey("bug_report_props"));
            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. misc/linkcheck/linkcheck.go

    			// Skip off-site redirects.
    			return nil
    		}
    		crawl(newURL.String(), url)
    		return nil
    	}
    	if res.StatusCode != 200 {
    		return errors.New(res.Status)
    	}
    	slurp, err := io.ReadAll(res.Body)
    	res.Body.Close()
    	if err != nil {
    		log.Fatalf("Error reading %s body: %v", url, err)
    	}
    	if *verbose {
    		log.Printf("Len of %s: %d", url, len(slurp))
    	}
    	body := string(slurp)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    			if len(fivs.FreeVersions) > 0 {
    				res["free-versions"] = strconv.Itoa(len(fivs.FreeVersions))
    			}
    
    			if sizeS.versions > 0 {
    				res["versions"] = strconv.FormatUint(sizeS.versions, 10)
    			}
    			res["size"] = strconv.FormatInt(sizeS.totalSize, 10)
    			for name, tier := range sizeS.tiers {
    				res["tier-size-"+name] = strconv.FormatUint(tier.TotalSize, 10)
    				res["tier-versions-"+name] = strconv.Itoa(tier.NumVersions)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  6. cmd/erasure-metadata_test.go

    	}
    
    	mkTest := func(N, parity, agree int) (res struct {
    		metaArr  []FileInfo
    		errs     []error
    		parities []int
    		parity   int
    	},
    	) {
    		res.metaArr = mkMetaArr(N, parity, agree)
    		res.parities = mkParities(N, N-(N/2+1), parity, agree)
    		res.errs = make([]error, N)
    		if agree >= N/2+1 { // simple majority consensus
    			res.parity = N - (N/2 + 1)
    		} else {
    			res.parity = -1
    		}
    		return res
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. cmd/global-heal.go

    		close(results)
    		<-quitting
    	}()
    
    	go func() {
    		for res := range results {
    			if res.entryDone {
    				tracker.setObject(res.name)
    				if time.Since(tracker.getLastUpdate()) > time.Minute {
    					healingLogIf(ctx, tracker.update(ctx))
    				}
    				continue
    			}
    
    			tracker.updateProgress(res.success, res.skipped, res.bytes)
    		}
    
    		healingLogIf(ctx, tracker.update(ctx))
    		close(quitting)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/pseudo_test.go

    package asm
    
    import (
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/lex"
    )
    
    func tokenize(s string) [][]lex.Token {
    	res := [][]lex.Token{}
    	if len(s) == 0 {
    		return res
    	}
    	for _, o := range strings.Split(s, ",") {
    		res = append(res, lex.Tokenize(o))
    	}
    	return res
    }
    
    func TestErroneous(t *testing.T) {
    
    	type errtest struct {
    		pseudo   string
    		operands string
    		expected string
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. internal/s3select/sql/funceval.go

    			err := fmt.Errorf("Negative length argument in %s", sqlFnSubstring)
    			return nil, errIncorrectSQLFunctionArgumentType(err)
    		}
    	}
    
    	res, err := evalSQLSubstring(s, int(startIdx), length)
    	return FromString(res), err
    }
    
    func handleSQLTrim(r Record, e *TrimFunc, tableAlias string) (res *Value, err error) {
    	chars := ""
    	ok := false
    	if e.TrimChars != nil {
    		charsV, cerr := e.TrimChars.evalNode(r, tableAlias)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  10. tests/create_test.go

    	res := DB.FirstOrCreate(&user, "name = ?", user.Name)
    	if res.Error != nil || res.RowsAffected != 1 {
    		t.Fatalf("first or create rows affect err:%v rows:%d", res.Error, res.RowsAffected)
    	}
    
    	res = DB.FirstOrCreate(&user, "name = ?", user.Name)
    	if res.Error != nil || res.RowsAffected != 0 {
    		t.Fatalf("first or create rows affect err:%v rows:%d", res.Error, res.RowsAffected)
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top