Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 72 for Segijn (0.19 sec)

  1. cmd/admin-handlers_test.go

    	err = json.NewDecoder(rec.Body).Decode(&results)
    	if err != nil {
    		t.Fatalf("Failed to decode set config result json %v", err)
    	}
    
    	if results.Region != globalMinioDefaultRegion {
    		t.Errorf("Expected %s, got %s", globalMinioDefaultRegion, results.Region)
    	}
    }
    
    // TestToAdminAPIErrCode - test for toAdminAPIErrCode helper function.
    func TestToAdminAPIErrCode(t *testing.T) {
    	testCases := []struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  2. internal/http/listener_test.go

    	certificate, err := getTLSCert()
    	if err != nil {
    		return nil, err
    	}
    	return &certificate, nil
    }
    
    func getTLSCert() (tls.Certificate, error) {
    	keyPEMBlock := []byte(`-----BEGIN RSA PRIVATE KEY-----
    MIIEpAIBAAKCAQEApEkbPrT6wzcWK1W5atQiGptvuBsRdf8MCg4u6SN10QbslA5k
    6BYRdZfFeRpwAwYyzkumug6+eBJatDZEd7+0FF86yxB7eMTSiHKRZ5Mi5ZyCFsez
    dndknGBeK6I80s1jd5ZsLLuMKErvbNwSbfX+X6d2mBeYW8Scv9N+qYnNrHHHohvX
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 12 16:09:28 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    		}
    	}
    }
    
    // ServerProperties holds some server information such as, version, region
    // uptime, etc..
    type ServerProperties struct {
    	Uptime       int64    `json:"uptime"`
    	Version      string   `json:"version"`
    	CommitID     string   `json:"commitID"`
    	DeploymentID string   `json:"deploymentID"`
    	Region       string   `json:"region"`
    	SQSARN       []string `json:"sqsARN"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  4. prepare_stmt.go

    	db.Mux.Unlock()
    
    	// prepare completed
    	defer close(cacheStmt.prepared)
    
    	// Reason why cannot lock conn.PrepareContext
    	// suppose the maxopen is 1, g1 is creating record and g2 is querying record.
    	// 1. g1 begin tx, g1 is requeue because of waiting for the system call, now `db.ConnPool` db.numOpen == 1.
    	// 2. g2 select lock `conn.PrepareContext(ctx, query)`, now db.numOpen == db.maxOpen , wait for release.
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 28 08:47:39 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  5. cmd/sts-handlers.go

    	if !isRequestSignatureV4(r) {
    		return auth.Credentials{}, ErrAccessDenied
    	}
    
    	s3Err := isReqAuthenticated(ctx, r, globalSite.Region, serviceSTS)
    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	user, _, s3Err := getReqAccessKeyV4(r, globalSite.Region, serviceSTS)
    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  6. cni/pkg/plugin/plugin.go

    		return nil
    	}
    
    	for _, excludeNs := range conf.Kubernetes.ExcludeNamespaces {
    		if podNamespace == excludeNs {
    			log.Infof("pod namespace excluded")
    			return nil
    		}
    	}
    
    	// Begin ambient plugin logic
    	// For ambient pods, this is all the logic we need to run
    	if conf.AmbientEnabled {
    		log.Debugf("istio-cni ambient cmdAdd podName: %s - checking if ambient enabled", podName)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. src/archive/tar/common.go

    			return false // Negative values are never okay
    		case cur.Offset > math.MaxInt64-cur.Length:
    			return false // Integer overflow with large length
    		case cur.endOffset() > size:
    			return false // Region extends beyond the actual size
    		case pre.endOffset() > cur.Offset:
    			return false // Regions cannot overlap and must be in order
    		}
    		pre = cur
    	}
    	return true
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  8. cmd/erasure-multipart.go

    	return result, nil
    }
    
    // ListObjectParts - lists all previously uploaded parts for a given
    // object and uploadID.  Takes additional input of part-number-marker
    // to indicate where the listing should begin from.
    //
    // Implements S3 compatible ListObjectParts API. The resulting
    // ListPartsInfo structure is marshaled directly into XML and
    // replied back to the client.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users.go

    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.CreatePolicyAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	vars := mux.Vars(r)
    	policyName := vars["name"]
    
    	// Policy has space characters in begin and end reject such inputs.
    	if hasSpaceBE(policyName) {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminResourceInvalidArgument), r.URL)
    		return
    	}
    
    	// Error out if Content-Length is missing.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    // returns an array of substrings of s or an empty list if s contains only white space.
    // Single quotes and double quotes are recognized to prevent splitting within the
    // quoted region, and are removed from the resulting substrings. If a quote in s
    // isn't closed err will be set and r will have the unclosed argument as the
    // last element. The backslash is used for escaping.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top