Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1121 - 1130 of 1,509 for case1 (0.03 sec)

  1. cmd/postpolicyform_test.go

    	}
    	// Validate all the test cases.
    	for i, tt := range testCases {
    		formValues := make(http.Header)
    		formValues.Set("Bucket", tt.Bucket)
    		formValues.Set("Key", tt.Key)
    		formValues.Set("Content-Type", tt.ContentType)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  2. internal/logger/logger.go

    		req = &ReqInfo{
    			API:       "SYSTEM",
    			RequestID: fmt.Sprintf("%X", time.Now().UTC().UnixNano()),
    		}
    	}
    	req.RLock()
    	defer req.RUnlock()
    
    	API := "SYSTEM"
    	switch {
    	case req.API != "":
    		API = req.API
    	case subsystem != "":
    		API += "." + subsystem
    	}
    
    	// Copy tags. We hold read lock already.
    	tags := make(map[string]interface{}, len(req.tags))
    	for _, entry := range req.tags {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

        private static OptionalEntity<SynonymItem> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                final SynonymItem entity = new SynonymItem(0, StringUtil.EMPTY_STRINGS, StringUtil.EMPTY_STRINGS);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

                 * "The parameter is incorrect" error can occur.
                 */
                uid = 0;
        
                do {
                    switch (state) {
                        case 10: /* NTLM */
                            if (auth != NtlmPasswordAuthentication.ANONYMOUS &&
                                    transport.hasCapability(SmbConstants.CAP_EXTENDED_SECURITY)) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  5. tests/sql_builder_test.go

    	sql = strings.ReplaceAll(sql, `'`, `"`)
    
    	// convert dialect special quote into double quote
    	switch DB.Dialector.Name() {
    	case "postgres":
    		sql = strings.ReplaceAll(sql, `"`, `"`)
    	case "mysql", "sqlite":
    		sql = strings.ReplaceAll(sql, "`", `"`)
    	case "sqlserver":
    		sql = strings.ReplaceAll(sql, `'`, `"`)
    	}
    
    	return sql
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. cmd/sts-errors.go

    	stsErrorResponse.RequestID = w.Header().Get(xhttp.AmzRequestID)
    	stsErrorResponse.Error.Message = stsErr.Description
    	if err != nil {
    		stsErrorResponse.Error.Message = err.Error()
    	}
    	switch errCode {
    	case ErrSTSInternalError, ErrSTSUpstreamError:
    		stsLogIf(ctx, err, logger.ErrorKind)
    	}
    	encodedErrorResponse := encodeResponse(stsErrorResponse)
    	writeResponse(w, stsErr.HTTPStatusCode, encodedErrorResponse, mimeXML)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. internal/config/browser/browser.go

    	cfg.HSTSIncludeSubdomains = hstsIncludeSubdomains
    	cfg.HSTSPreload = hstsPreload
    
    	referrerPolicy := env.Get(EnvBrowserReferrerPolicy, kvs.GetWithDefault(browserReferrerPolicy, DefaultKVS))
    	switch referrerPolicy {
    	case "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url":
    		cfg.ReferrerPolicy = referrerPolicy
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 00:58:58 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/security/http-basic-auth.md

    # HTTP Basic Auth
    
    For the simplest cases, you can use HTTP Basic Auth.
    
    In HTTP Basic Auth, the application expects a header that contains a username and a password.
    
    If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error.
    
    And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter.
    
    That tells the browser to show the integrated prompt for a username and password.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:01:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. internal/ioutil/ioutil.go

    	defer cancel()
    
    	c := make(chan ioret[V], 1)
    	go func() {
    		v, err := work(ctx)
    		c <- ioret[V]{val: v, err: err}
    	}()
    
    	select {
    	case v := <-c:
    		return v.val, v.err
    	case <-ctx.Done():
    		var zero V
    		return zero, ctx.Err()
    	}
    }
    
    // DeadlineWorker implements the deadline/timeout resiliency pattern.
    type DeadlineWorker struct {
    	timeout time.Duration
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. cmd/format-erasure.go

    		return formatData, formatFi, nil
    	}
    
    	switch version {
    	case formatErasureVersionV1:
    		formatData, err = formatErasureMigrateV1ToV2(formatData, version)
    		if err != nil {
    			return nil, nil, fmt.Errorf("Drive %s: %w", export, err)
    		}
    		// Migrate successful v1 => v2, proceed to v2 => v3
    		version = formatErasureVersionV2
    		fallthrough
    	case formatErasureVersionV2:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top