Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Images (0.16 sec)

  1. internal/event/rules_test.go

    	}{
    		{"", "", ""},
    		{"*", "", "*"},
    		{"", "*", "*"},
    		{"images/", "", "images/*"},
    		{"images/*", "", "images/*"},
    		{"", "jpg", "*jpg"},
    		{"", "*jpg", "*jpg"},
    		{"images/", "jpg", "images/*jpg"},
    		{"images/*", "jpg", "images/*jpg"},
    		{"images/", "*jpg", "images/*jpg"},
    		{"images/*", "*jpg", "images/*jpg"},
    		{"201*/images/", "jpg", "201*/images/*jpg"},
    	}
    
    	for i, testCase := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.8K bytes
    - Viewed (0)
  2. internal/s3select/message.go

    import (
    	"bytes"
    	"encoding/binary"
    	"fmt"
    	"hash/crc32"
    	"net/http"
    	"strconv"
    	"sync/atomic"
    	"time"
    )
    
    // A message is in the format specified in
    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-frame-overview.png
    // hence the calculation is made accordingly.
    func totalByteLength(headerLength, payloadLength int) int {
    	return 4 + 4 + 4 + headerLength + payloadLength + 4
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  3. internal/s3select/genmessage.go

    }
    
    // Continuation Message
    // ====================
    // Header specification
    // --------------------
    // Continuation messages contain two headers, as follows:
    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-cont.png
    //
    // Payload specification
    // ---------------------
    // Continuation messages have no payload.
    func genContinuationMessage() {
    	buf := new(bytes.Buffer)
    
    	buf.WriteByte(13)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  4. internal/event/config_test.go

    	rulesMapCase2 := NewRulesMap([]Name{ObjectCreatedPut}, "images/*jpg", TargetID{"1", "webhook"})
    
    	rulesMapCase3 := NewRulesMap([]Name{ObjectAccessedAll, ObjectCreatedAll, ObjectRemovedAll}, "*", TargetID{"1", "webhook"})
    	rulesMapCase3.add([]Name{ObjectCreatedPut}, "images/*jpg", TargetID{"2", "amqp"})
    
    	testCases := []struct {
    		config         *Config
    		expectedResult RulesMap
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 29K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest_shared_test.go

    		istioNamespace:    constants.IstioSystemNamespace,
    		watchedNamespaces: constants.IstioSystemNamespace,
    		operatorNamespace: operatorDefaultNamespace,
    		// placeholders, since the fake API server does not actually pull images and create pods.
    		hub: "fake hub",
    		tag: "fake tag",
    	}
    
    	_, mstr, err := renderOperatorManifest(nil, ocArgs)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  6. internal/s3select/select_test.go

      "elements": [
        {
          "element_type": "__elem__image",
          "element_id": "859d09c4-7cf1-4a37-9674-3a7de8b56abc",
          "attributes": {
            "__attr__image_dpi": 300,
            "__attr__image_size": [
              2550,
              3299
            ],
            "__attr__image_index": 1,
            "__attr__image_format": "JPEG",
            "__attr__file_extension": "jpg",
            "__attr__data": null
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue27054/test27054.go

    // license that can be found in the LICENSE file.
    
    package issue27054
    
    /*
    #include "egl.h"
    */
    import "C"
    import (
    	"testing"
    )
    
    func Test27054(t *testing.T) {
    	var (
    		// Note: 0, not nil. That makes sure we use uintptr for these types.
    		_ C.EGLDisplay = 0
    		_ C.EGLConfig  = 0
    	)
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 393 bytes
    - Viewed (0)
  8. operator/cmd/mesh/operator-init.go

    		l.LogAndPrintf("Upgrading operator controller in namespace: %s using image: %s/operator:%s",
    			oiArgs.common.operatorNamespace, oiArgs.common.hub, oiArgs.common.tag)
    	} else {
    		l.LogAndPrintf("Installing operator controller in namespace: %s using image: %s/operator:%s",
    			oiArgs.common.operatorNamespace, oiArgs.common.hub, oiArgs.common.tag)
    	}
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. cmd/data-usage.go

    			scannerLogOnceIf(ctx, err, dataUsageObjNamePath)
    		}
    		attempts++
    	}
    }
    
    var prefixUsageCache = cachevalue.New[map[string]uint64]()
    
    // loadPrefixUsageFromBackend returns prefix usages found in passed buckets
    //
    //	e.g.:  /testbucket/prefix => 355601334
    func loadPrefixUsageFromBackend(ctx context.Context, objAPI ObjectLayer, bucket string) (map[string]uint64, error) {
    	z, ok := objAPI.(*erasureServerPools)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. internal/dsync/dsync-client_test.go

    		return nil
    	}
    
    	switch err.Error() {
    	case errLockConflict.Error():
    		return errLockConflict
    	case errLockNotFound.Error():
    		return errLockNotFound
    	}
    	return err
    }
    
    // Call makes a REST call to the remote endpoint using the msgp codec
    func (restClient *ReconnectRESTClient) Call(method string, args LockArgs) (status bool, err error) {
    	buf, err := args.MarshalMsg(nil)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 20 17:36:09 GMT 2022
    - 4.4K bytes
    - Viewed (0)
Back to top