Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 110 for Parsing (0.17 sec)

  1. internal/event/target/elasticsearch.go

    	if err != nil {
    		return err
    	}
    	defer res.Body.Close()
    
    	var v map[string]interface{}
    	found := false
    	if err := json.NewDecoder(res.Body).Decode(&v); err != nil {
    		return fmt.Errorf("Error parsing response body: %v", err)
    	}
    
    	indices, ok := v["indices"].([]interface{})
    	if ok {
    		for _, index := range indices {
    			name := index.(map[string]interface{})["name"]
    			if name == args.Index {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  2. cmd/streaming-signature-v4.go

    //   - http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming.html
    //
    // returns signature, error otherwise if the signature mismatches or any other
    // error while parsing and validating.
    func calculateSeedSignature(r *http.Request, trailers bool) (cred auth.Credentials, signature string, region string, date time.Time, errCode APIErrorCode) {
    	// Copy request.
    	req := *r
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	if anonReq.Method != http.MethodHead {
    		// read the response body.
    		var actualContent []byte
    		actualContent, err = io.ReadAll(rec.Body)
    		if err != nil {
    			t.Fatal(failTestStr(anonTestStr, fmt.Sprintf("Failed parsing response body: <ERROR> %v", err)))
    		}
    
    		actualError := &APIErrorResponse{}
    		if err = xml.Unmarshal(actualContent, actualError); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  4. update-credits.sh

          negligent acts) or agreed to in writing, shall any Contributor be
          liable to You for damages, including any direct, indirect, special,
          incidental, or consequential damages of any character arising as a
          result of this License or out of the use or inability to use the
          Work (including but not limited to damages for loss of goodwill,
          work stoppage, computer failure or malfunction, or any and all
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 11 05:08:38 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  5. docs/docker/README.md

    MinIO needs a persistent volume to store configuration and application data. For testing purposes, you can launch MinIO by simply passing a directory (`/data` in the example below). This directory gets created in the container filesystem at the time of container start. But all the data is lost after container exits.
    
    ```sh
    docker run \
      -p 9000:9000 \
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  6. internal/grid/types.go

    // The recycler should handle nil pointers.
    type Recycler interface {
    	Recycle()
    }
    
    // MSS is a map[string]string that can be serialized.
    // It is not very efficient, but it is only used for easy parameter passing.
    type MSS map[string]string
    
    // Get returns the value for the given key.
    func (m *MSS) Get(key string) string {
    	if m == nil {
    		return ""
    	}
    	return (*m)[key]
    }
    
    // Set a key, value pair.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. docs/sts/web-identity.md

    | *Required*    | *No*                                               |
    
    ### Policy
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  8. cmd/streaming-signature-v4_test.go

    		}
    		if !bytes.Equal(chunkSignature, tt.chunkSignature) {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, string(tt.chunkSignature), string(chunkSignature))
    		}
    	}
    }
    
    // Test parsing s3 chunk extension.
    func TestParseS3ChunkExtension(t *testing.T) {
    	type testCase struct {
    		buf       []byte
    		chunkSize []byte
    		chunkSign []byte
    	}
    
    	tests := []testCase{
    		// Test - 1 valid case.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 5.7K bytes
    - Viewed (0)
  9. cmd/xl-storage-format_test.go

    	}
    	return xlMeta
    }
    
    // Compare the unmarshaled XLMetaV1 with the one obtained from jsoniter parsing.
    func compareXLMetaV1(t *testing.T, unMarshalXLMeta, jsoniterXLMeta xlMetaV1Object) {
    	// Start comparing the fields of xlMetaV1Object obtained from jsoniter parsing with one parsed using json unmarshalling.
    	if unMarshalXLMeta.Version != jsoniterXLMeta.Version {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  10. internal/bucket/replication/replication_test.go

    				t.Fatalf("%d: Expected '%v' during parsing but got '%v'", i+1, tc.expectedParsingErr, err)
    			}
    			if err == nil && tc.expectedParsingErr != nil {
    				t.Fatalf("%d: Expected '%v' during parsing but got '%v'", i+1, tc.expectedParsingErr, err)
    			}
    			if tc.expectedParsingErr != nil {
    				// We already expect a parsing error,
    				// no need to continue this test.
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
Back to top