Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 133 for parseurl (0.08 seconds)

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

  1. src/test/java/jcifs/smb/HandlerTest.java

        }
    
        @Test
        @DisplayName("parseURL: exact 'smb://' sets default port")
        void testParseURL_ExactRoot_DefaultPort() throws MalformedURLException {
            // Arrange & Act: constructing this URL triggers Handler.parseURL("smb://")
            Handler handler = newHandler();
            URL url = new URL(null, "smb://", handler);
    
            // Assert
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/Handler.java

            return SmbConstants.DEFAULT_PORT;
        }
    
        @Override
        public URLConnection openConnection(final URL u) throws IOException {
            return new SmbFile(u);
        }
    
        @Override
        protected void parseURL(final URL u, String spec, final int start, int limit) {
            final String host = u.getHost();
            String path, ref;
            int port;
    
            if (spec.equals("smb1://")) {
                spec = "smb1:////";
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/Handler.java

            if (this.transportContext == null) {
                this.transportContext = SingletonContext.getInstance();
            }
            return this.transportContext;
        }
    
        @Override
        protected void parseURL(final URL u, String spec, final int start, int limit) {
            final String host = u.getHost();
            String path, ref;
            int port;
    
            if (spec.equals("smb://")) {
                spec = "smb:////";
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java

         */
        public void testToJarFilePath() throws Exception {
            final URL url = new URL(null, "zip:/Program Files/foo.zip!/", new URLStreamHandler() {
                @Override
                protected void parseURL(final URL u, final String spec, final int start, final int limit) {
                    setURL(u, "zip", null, 0, null, null, spec.substring(4), null, null);
                }
    
                @Override
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. internal/event/target/mqtt.go

    	QueueLimit           uint64         `json:"queueLimit"`
    }
    
    // Validate MQTTArgs fields
    func (m MQTTArgs) Validate() error {
    	if !m.Enable {
    		return nil
    	}
    	u, err := xnet.ParseURL(m.Broker.String())
    	if err != nil {
    		return err
    	}
    	switch u.Scheme {
    	case "ws", "wss", "tcp", "ssl", "tls", "tcps":
    	default:
    		return errors.New("unknown protocol in broker address")
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 8.2K bytes
    - Click Count (0)
  6. internal/config/notify/parse.go

    		}
    		if !enabled {
    			continue
    		}
    
    		brokerEnv := target.EnvMQTTBroker
    		if k != config.Default {
    			brokerEnv = brokerEnv + config.Default + k
    		}
    
    		brokerURL, err := xnet.ParseURL(env.Get(brokerEnv, kv.Get(target.MqttBroker)))
    		if err != nil {
    			return nil, err
    		}
    
    		reconnectIntervalEnv := target.EnvMQTTReconnectInterval
    		if k != config.Default {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Defines the contract for parsing Maven command-line arguments and creating an execution or invoker requests.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Parser {
        /**
         * Parses the given ParserRequest to create an {@link InvokerRequest}.
         * This method does interpret tool arguments.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 31 20:56:58 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/di/DiTest.java

                assertNotNull(diInjected.parser);
                assertNotNull(diInjected.parsers);
                assertEquals(1, diInjected.parsers.size());
                assertNotNull(diInjected.parsersMap);
                assertEquals(1, diInjected.parsersMap.size());
            }
    
            static class DiInjected {
                @org.apache.maven.api.di.Inject
                ModelParser parser;
    
                @org.apache.maven.api.di.Inject
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Feb 10 23:18:32 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  9. internal/jwt/parser.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 (
    	"bytes"
    	"crypto"
    	"crypto/hmac"
    	"encoding/base64"
    	"errors"
    	"fmt"
    	"hash"
    	"time"
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                spfactory.setFeature(Constants.FEATURE_EXTERNAL_PARAMETER_ENTITIES, false);
                // create a sax parser
                final SAXParser parser = spfactory.newSAXParser();
                try {
                    parser.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, StringUtil.EMPTY);
                    parser.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, StringUtil.EMPTY);
                } catch (final Exception e) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 22 13:28:22 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top