Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1551 - 1560 of 6,057 for cstring (0.17 sec)

  1. internal/event/rules.go

    package event
    
    import (
    	"strings"
    
    	"github.com/minio/pkg/v3/wildcard"
    )
    
    // NewPattern - create new pattern for prefix/suffix.
    func NewPattern(prefix, suffix string) (pattern string) {
    	if prefix != "" {
    		if !strings.HasSuffix(prefix, "*") {
    			prefix += "*"
    		}
    
    		pattern = prefix
    	}
    
    	if suffix != "" {
    		if !strings.HasPrefix(suffix, "*") {
    			suffix = "*" + suffix
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. cmd/signature-v4-parser_test.go

    	return strings.Join([]string{
    		accessKey,
    		date,
    		region,
    		service,
    		requestVersion,
    	}, SlashSeparator)
    }
    
    // generate CredentialHeader from its fields.
    func generateCredentials(t *testing.T, accessKey string, date string, region, service, requestVersion string) credentialHeader {
    	cred := credentialHeader{
    		accessKey: accessKey,
    	}
    	parsedDate, err := time.Parse(yyyymmdd, date)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            }
        }
    
        protected void loadProtocols(final String basePackage) {
            final List<String> subPackages = new ArrayList<>();
            final String path = basePackage.replace('.', '/');
            final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
            try {
                final Enumeration<URL> resources = classLoader.getResources(path);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_response_model/test_tutorial003_01_py310.py

                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
                                {"title": "Full Name", "type": "string"}
                            ),
                            "password": {"title": "Password", "type": "string"},
                        },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. cmd/batch-rotate_gen.go

    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 3
    	// string "Type"
    	o = append(o, 0x83, 0xa4, 0x54, 0x79, 0x70, 0x65)
    	o = msgp.AppendString(o, string(z.Type))
    	// string "Key"
    	o = append(o, 0xa3, 0x4b, 0x65, 0x79)
    	o = msgp.AppendString(o, z.Key)
    	// string "Context"
    	o = append(o, 0xa7, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74)
    	o = msgp.AppendString(o, z.Context)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_updates/test_tutorial001.py

                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
                    "HTTPValidationError": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_body_updates/test_tutorial001_py310.py

                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
                    "HTTPValidationError": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            List<MavenProject> result = projects;
    
            ProjectActivation projectActivation = request.getProjectActivation();
            Set<String> requiredSelectors = projectActivation.getRequiredActiveProjectSelectors();
            Set<String> optionalSelectors = projectActivation.getOptionalActiveProjectSelectors();
            if (!requiredSelectors.isEmpty() || !optionalSelectors.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. tests/associations_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func AssertAssociationCount(t *testing.T, data interface{}, name string, result int64, reason string) {
    	if count := DB.Model(data).Association(name).Count(); count != result {
    		t.Fatalf("invalid %v count %v, expects: %v got %v", name, reason, result, count)
    	}
    
    	var newUser User
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  10. src/archive/tar/writer_test.go

    	"io/fs"
    	"maps"
    	"os"
    	"path"
    	"slices"
    	"sort"
    	"strings"
    	"testing"
    	"testing/fstest"
    	"testing/iotest"
    	"time"
    )
    
    func bytediff(a, b []byte) string {
    	const (
    		uniqueA  = "-  "
    		uniqueB  = "+  "
    		identity = "   "
    	)
    	var ss []string
    	sa := strings.Split(strings.TrimSpace(hex.Dump(a)), "\n")
    	sb := strings.Split(strings.TrimSpace(hex.Dump(b)), "\n")
    	for len(sa) > 0 && len(sb) > 0 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top