Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 2,887 for asString (0.05 seconds)

  1. docs/debugging/pprofgoparser/main.go

    }
    
    func parseGoroutineType2(path string) (map[time.Duration][]string, error) {
    	f, err := os.Open(path)
    	if err != nil {
    		return nil, err
    	}
    
    	bf := bytes.Buffer{}
    
    	save := func(s string) {
    		bf.WriteString(s + "\n")
    	}
    	reset := func() {
    		bf.Reset()
    	}
    
    	ret := make(map[time.Duration][]string)
    
    	s := bufio.NewScanner(f)
    	s.Split(bufio.ScanLines)
    
    	var (
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  2. cmd/admin-handlers.go

    func anonymizeHost(hostAnonymizer map[string]string, endpoint Endpoint, poolNum int, srvrNum int) {
    	if len(endpoint.Host) == 0 {
    		return
    	}
    
    	currentURL := endpoint.String()
    
    	// mapIfNotPresent - Maps the given key to the value only if the key is not present in the map
    	mapIfNotPresent := func(m map[string]string, key string, val string) {
    		_, found := m[key]
    		if !found {
    			m[key] = val
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  3. tests/test_put_no_body.py

                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
                    "HTTPValidationError": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.3K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_events/test_tutorial001.py

                                    "items": {
                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                },
                                "msg": {"title": "Message", "type": "string"},
                                "type": {"title": "Error Type", "type": "string"},
                            },
                        },
                        "HTTPValidationError": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. internal/event/target/nsq.go

    type NSQArgs struct {
    	Enable      bool      `json:"enable"`
    	NSQDAddress xnet.Host `json:"nsqdAddress"`
    	Topic       string    `json:"topic"`
    	TLS         struct {
    		Enable     bool `json:"enable"`
    		SkipVerify bool `json:"skipVerify"`
    	} `json:"tls"`
    	QueueDir   string `json:"queueDir"`
    	QueueLimit uint64 `json:"queueLimit"`
    }
    
    // Validate NSQArgs fields
    func (n NSQArgs) Validate() error {
    	if !n.Enable {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

    public class DefaultMirrorSelector implements MirrorSelector {
    
        private static final String WILDCARD = "*";
    
        private static final String EXTERNAL_WILDCARD = "external:*";
    
        private static final String EXTERNAL_HTTP_WILDCARD = "external:http:*";
    
        @Override
        public Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors) {
            String repoId = repository.getId();
    
            if (repoId != null && mirrors != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestArtifactHandler.java

     */
    class TestArtifactHandler implements ArtifactHandler {
    
        private String type;
    
        private String extension;
    
        TestArtifactHandler(String type) {
            this(type, type);
        }
    
        TestArtifactHandler(String type, String extension) {
            this.type = type;
            this.extension = extension;
        }
    
        @Override
        public String getClassifier() {
            return null;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java

    @Deprecated
    class TestArtifactHandler implements ArtifactHandler {
    
        private String type;
    
        private String extension;
    
        TestArtifactHandler(String type) {
            this(type, type);
        }
    
        TestArtifactHandler(String type, String extension) {
            this.type = type;
            this.extension = extension;
        }
    
        @Override
        public String getClassifier() {
            return null;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

        }
    
        private ArtifactSpec createArtifactSpec(String id, String version, String scope)
                throws InvalidVersionSpecificationException {
            return createArtifactSpec(id, version, scope, null, false);
        }
    
        private ArtifactSpec createArtifactSpec(
                String id, String version, String scope, String inheritedScope, boolean optional)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 43K bytes
    - Click Count (0)
  10. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithMethods.groovy

    package org.gradle.test
    
    class GroovyClassWithMethods {
    
        GroovyClassWithMethods(String prop) {
            this.prop = prop
        }
    
        /**
         * A method that returns String.
         */
        String stringMethod(String stringParam) {
            'value'
        }
    
        /**
         * A method that returns void.
         */
        void voidMethod() {
        }
    
        /**
         * A method that returns a reference type.
         */
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 952 bytes
    - Click Count (0)
Back to Top