Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 290 for parsers (0.15 sec)

  1. cmd/bucket-quota.go

    		}
    	}
    
    	if len(dui.BucketsUsage) > 0 {
    		bui, ok := dui.BucketsUsage[bucket]
    		if ok {
    			return bui
    		}
    	}
    	return BucketUsageInfo{}
    }
    
    // parseBucketQuota parses BucketQuota from json
    func parseBucketQuota(bucket string, data []byte) (quotaCfg *madmin.BucketQuota, err error) {
    	quotaCfg = &madmin.BucketQuota{}
    	if err = json.Unmarshal(data, quotaCfg); err != nil {
    		return quotaCfg, err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. internal/bucket/versioning/versioning.go

    // prefixes or if ExcludeFolders is true.
    func (v Versioning) PrefixesExcluded() bool {
    	return len(v.ExcludedPrefixes) > 0 || v.ExcludeFolders
    }
    
    // ParseConfig - parses data in given reader to VersioningConfiguration.
    func ParseConfig(reader io.Reader) (*Versioning, error) {
    	var v Versioning
    	if err := xml.NewDecoder(reader).Decode(&v); err != nil {
    		return nil, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. internal/jwt/parser_test.go

    package jwt
    
    // This file is a re-implementation of the original code here with some
    // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1
    // original file https://github.com/golang-jwt/jwt/blob/main/parser.go
    // borrowed under MIT License https://github.com/golang-jwt/jwt/blob/main/LICENSE
    
    import (
    	"fmt"
    	"testing"
    	"time"
    
    	"github.com/golang-jwt/jwt/v4"
    )
    
    var (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Nov 05 19:20:08 UTC 2021
    - 6K bytes
    - Viewed (0)
  4. internal/http/dial_linux.go

    					address = h
    				}
    				// Create socket on specific vrf device.
    				// To catch all kinds of special cases this filters specifically for loopback networks.
    				if ip := net.ParseIP(address); ip != nil && !ip.IsLoopback() {
    					_ = syscall.SetsockoptString(fd, syscall.SOL_SOCKET, syscall.SO_BINDTODEVICE, opts.Interface)
    				}
    			}
    		})
    		return nil
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                                .get())
                        .build());
            }
    
            public CommandLine parse(String[] args) throws ParseException {
                // We need to eat any quotes surrounding arguments...
                String[] cleanArgs = CleanArgument.cleanArgs(args);
                DefaultParser parser = DefaultParser.builder()
                        .setDeprecatedHandler(this::addDeprecatedOption)
                        .build();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. internal/bucket/replication/destination.go

    	if !d.IsValid() {
    		return Errorf("invalid destination")
    	}
    
    	if !wildcard.Match(d.Bucket, bucketName) {
    		return Errorf("bucket name does not match")
    	}
    	return nil
    }
    
    // parseDestination - parses string to Destination.
    func parseDestination(s string) (Destination, error) {
    	if !strings.HasPrefix(s, DestinationARNPrefix) && !strings.HasPrefix(s, DestinationARNMinIOPrefix) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenParser.java

        }
    
        @Override
        protected MavenOptions parseArgs(String source, List<String> args) throws ParserException {
            try {
                return CommonsCliMavenOptions.parse(source, args.toArray(new String[0]));
            } catch (ParseException e) {
                throw new ParserException("Failed to parse source " + source + ": " + e.getMessage(), e.getCause());
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenParser.java

        // TODO: same is in DefaultMavenParser!!! (duplication)
        @Override
        protected MavenOptions parseArgs(String source, List<String> args) throws ParserException {
            try {
                return CommonsCliMavenOptions.parse(source, args.toArray(new String[0]));
            } catch (ParseException e) {
                throw new ParserException("Failed to parse source " + source, e.getCause());
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

                .map { GitHubUser(contributorLineRegex.find(it)!!.groupValues[2], contributorLineRegex.find(it)!!.groupValues[1]) }
                .toSet()
        }
    
        /**
         * Parses the release notes file and returns the triple: (linesBeforeContributors, contributorLines, linesAfterContributors)
         */
        protected
        fun parseReleaseNotes(): Triple<List<String>, List<String>, List<String>> {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            QueryParser queryParser = new QueryParser();
    
            Query query = queryParser.createDefaultFilterChain().parse("fess");
            assertEquals(TermQuery.class, query.getClass());
            assertEquals("_default:fess", ((TermQuery) query).getTerm().toString());
    
            query = queryParser.createDefaultFilterChain().parse("title:fess");
            assertEquals(TermQuery.class, query.getClass());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top