Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for samples (0.16 sec)

  1. docs/bucket/notifications/README.md

    mc event list myminio/images
    arn:minio:sqs::1:nats s3:ObjectCreated:*,s3:ObjectRemoved:* Filter: suffix=”.jpg”
    ```
    
    ### Step 3: Test on NATS
    
    If you use NATS server, check out this sample program below to log the bucket notification added to NATS.
    
    ```go
    package main
    
    // Import Go and NATS packages
    import (
     "log"
     "runtime"
    
     "github.com/nats-io/nats.go"
    )
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  2. internal/bucket/lifecycle/lifecycle_test.go

    			expectedValidationErr: errLifecycleDuplicateID,
    		},
    		// Missing <Tag> in <And>
    		{
    			inputConfig:           `<LifecycleConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Rule><ID>sample-rule-2</ID><Filter><And><Prefix>/a/b/c</Prefix></And></Filter><Status>Enabled</Status><Expiration><Days>1</Days></Expiration></Rule></LifecycleConfiguration>`,
    			expectedParsingErr:    nil,
    			expectedValidationErr: errXMLNotWellFormed,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                //   operator fun Int.invoke(b: Boolean) {}
                //   <expr>x()</expr>
                // }
                // ```
                // The candidates for the call will both be `invoke`. We can keep it simple by getting the name from the callee reference's PSI
                // element (`x` in the above example) if possible.
                return when (val psi = psi) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  4. cmd/bucket-handlers.go

    		// Multiple values for the same key (one map entry, longer slice) are cheaper
    		// than the same number of values for different keys (many map entries), but
    		// using a consistent per-value cost for overhead is simpler.
    		maxMemoryBytes := 2 * int64(10<<20)
    		maxMemoryBytes -= int64(len(name))
    		maxMemoryBytes -= mapEntryOverhead
    		if maxMemoryBytes < 0 {
    			// We can't actually take this path, since nextPart would already have
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    				fmt.Fprintf(writer, "%s%s\n", printSpaces(initPrintNum+printLevel1), newfact)
    				facts++
    			}
    		} else {
    			mismatchNotes = append(mismatchNotes, newfacts...)
    		}
    	}
    
    	// TODO vsSpec.Tls if I can find examples in the wild
    
    	for _, tcpRoute := range vs.Spec.Tcp {
    		routeMatch, newfacts := tcpRouteMatchSvc(vs, tcpRoute, svc)
    		if routeMatch {
    			matches++
    			for _, newfact := range newfacts {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  6. cmd/xl-storage_test.go

    	diskPath := tb.TempDir()
    
    	// Initialize a new xlStorage layer.
    	storage, err := newLocalXLStorageWithDiskIdx(diskPath, 3)
    	if err != nil {
    		return nil, "", err
    	}
    
    	// Create a sample format.json file
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      @ParametricNullness
      private V getDoneValue(Object obj) throws ExecutionException {
        // While this seems like it might be too branch-y, simple benchmarking proves it to be
        // unmeasurable (comparing done AbstractFutures with immediateFuture)
        if (obj instanceof Cancellation) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. cmd/object-api-multipart_test.go

    		{
    			[]CompletePart{
    				{ETag: validPartMD5, PartNumber: 6},
    			},
    		},
    	}
    	s3MD5 := getCompleteMultipartMD5(inputParts[3].parts)
    
    	// Test cases with sample input values for CompleteMultipartUpload.
    	testCases := []struct {
    		bucket   string
    		object   string
    		uploadID string
    		parts    []CompletePart
    		// Expected output of CompleteMultipartUpload.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  9. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // Arrays are zero-indexed.  Fields may appear more than once in an array of
      // causes due to fields having multiple errors.
      // Optional.
      //
      // Examples:
      //   "name" - the field "name" on the current resource
      //   "items[0].name" - the field "name" on the first array entry in "items"
      // +optional
      optional string field = 3;
    }
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    			}
    			opts.claims[k] = v
    		}
    	} else if globalIAMSys.LDAPConfig.Enabled() {
    		// In case of LDAP we need to resolve the targetUser to a DN and
    		// query their groups:
    		opts.claims[ldapUserN] = targetUser // simple username
    		targetUser, targetGroups, err = globalIAMSys.LDAPConfig.LookupUserDN(targetUser)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    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)
Back to top