Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 377 for splits (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/event/arn.go

    func parseARN(s string) (*ARN, error) {
    	// ARN must be in the format of arn:minio:sqs:<REGION>:<ID>:<TYPE>
    	if !strings.HasPrefix(s, "arn:minio:sqs:") {
    		return nil, &ErrInvalidARN{s}
    	}
    
    	tokens := strings.Split(s, ":")
    	if len(tokens) != 6 {
    		return nil, &ErrInvalidARN{s}
    	}
    
    	if tokens[4] == "" || tokens[5] == "" {
    		return nil, &ErrInvalidARN{s}
    	}
    
    	return &ARN{
    		region: tokens[3],
    		TargetID: TargetID{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. tests/multi_primary_keys_test.go

    	sort.Strings(contents)
    	return reflect.DeepEqual(tagContents, contents)
    }
    
    func TestManyToManyWithMultiPrimaryKeys(t *testing.T) {
    	if name := DB.Dialector.Name(); name == "sqlite" || name == "sqlserver" {
    		t.Skip("skip sqlite, sqlserver due to it doesn't support multiple primary keys with auto increment")
    	}
    
    	if name := DB.Dialector.Name(); name == "postgres" || name == "mysql" || name == "gaussdb" {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

            writeShort(1) // question count
            writeShort(0) // answerCount
            writeShort(0) // authorityResourceCount
            writeShort(0) // additional
    
            val nameBuf = Buffer()
            val labels = host.split('.').dropLastWhile { it.isEmpty() }
            for (label in labels) {
              val utf8ByteCount = label.utf8Size()
              require(utf8ByteCount == label.length.toLong()) { "non-ascii hostname: $host" }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

         */
        public String getAccessTokenFromRequest(final HttpServletRequest request) {
            final String token = request.getHeader("Authorization");
            if (token != null) {
                final String[] values = token.trim().split(" ");
                if (values.length == 2 && BEARER.equals(values[0])) {
                    return values[1];
                }
                if (values.length == 1 && !BEARER.equals(values[0])) {
                    return values[0];
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.dataconfig;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.stream.Collectors;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

            sb.setLength(0);
            repeat(sb, BOX_CHAR, size);
            result.add(sb.toString());
            // lines
            for (String line : lines) {
                sb.setLength(0);
                String[] words = S_FILTER.split(line);
                for (String word : words) {
                    if (sb.length() >= remainder - word.length() - (!sb.isEmpty() ? 1 : 0)) {
                        repeat(sb, ' ', remainder - sb.length());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

             */
            protected List<String> getWebConfigIdList() {
                if (StringUtil.isNotBlank(webConfigIds)) {
                    final String[] values = webConfigIds.split(",");
                    return createConfigIdList(values);
                }
                return null;
            }
    
            /**
             * Parses the file configuration IDs string into a list.
             *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 31.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

         * @return true if the value matches allowed protocols, false otherwise
         */
        protected static boolean check(final String[] protocols, final String value) {
            final String[] paths = value.split("[\r\n]");
            for (final String path : paths) {
                if (StringUtil.isNotBlank(path) && !path.trim().startsWith("#")) {
                    boolean flag = false;
                    for (final String protocol : protocols) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            if (StringUtil.isBlank(value)) {
                return Collections.emptyList();
            }
            return split(value, ",").get(stream -> stream.map(String::trim)//
                    .map(s -> clientRuleCache.computeIfAbsent(s, t -> {
                        final String[] values = t.split(":", 2);
                        if (values.length != 2) {
                            return null;
                        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  10. docs_src/security/tutorial005_an_py310.py

            username = payload.get("sub")
            if username is None:
                raise credentials_exception
            scope: str = payload.get("scope", "")
            token_scopes = scope.split(" ")
            token_data = TokenData(scopes=token_scopes, username=username)
        except (InvalidTokenError, ValidationError):
            raise credentials_exception
        user = get_user(fake_users_db, username=token_data.username)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top