Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,230 for clone (0.13 sec)

  1. internal/config/subnet/config.go

    		// when transport is nil, it means we are just validating the
    		// inputs not performing any network calls.
    		return cfg, nil
    	}
    
    	// Make sure to clone the transport before editing the ProxyURL
    	if proxyURL != nil {
    		ctransport := transport.(*http.Transport).Clone()
    		ctransport.Proxy = http.ProxyURL((*url.URL)(proxyURL))
    		cfg.transport = ctransport
    	} else {
    		cfg.transport = transport
    	}
    
    	return cfg, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Requirement.java

        public String getRoleHint() {
            return roleHint;
        }
    
        /**
         * Creates a shallow copy of this requirement.
         */
        @Override
        public Requirement clone() {
            try {
                return (Requirement) super.clone();
            } catch (CloneNotSupportedException e) {
                throw new UnsupportedOperationException(e);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. api/maven-api-metadata/src/main/mdo/metadata.mdo

      <defaults>
        <default>
          <key>package</key>
          <value>org.apache.maven.artifact.repository.metadata</value>
        </default>
      </defaults>
      <classes>
        <class rootElement="true" xml.tagName="metadata" java.clone="deep">
          <name>Metadata</name>
          <version>1.0.0+</version>
          <fields>
            <field xml.attribute="true" xml.tagName="modelVersion">
              <name>modelVersion</name>
              <version>1.1.0+</version>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. util/update_snapshot_docs.sh

    #!/bin/bash
    
    set -e -u
    
    echo "Publishing Javadoc and JDiff..."
    
    cd $HOME
    git clone -q -b gh-pages "https://x-access-token:${GITHUB_TOKEN}@github.com/google/guava.git" gh-pages > /dev/null
    cd gh-pages
    
    git config --global user.name "$GITHUB_ACTOR"
    git config --global user.email "$******@****.***"
    
    ./updaterelease.sh snapshot
    
    git push -fq origin gh-pages > /dev/null
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 16 16:48:28 UTC 2021
    - 439 bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            request.setPluginGroups(settings.getPluginGroups());
    
            request.setLocalRepositoryPath(settings.getLocalRepository());
    
            for (Server server : settings.getServers()) {
                server = server.clone();
    
                request.addServer(server);
            }
    
            //  <proxies>
            //    <proxy>
            //      <active>true</active>
            //      <protocol>http</protocol>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. internal/s3select/simdj/record.go

    // Reset the record.
    func (r *Record) Reset() {
    	r.object = simdjson.Object{}
    }
    
    // Clone the record and if possible use the destination provided.
    func (r *Record) Clone(dst sql.Record) sql.Record {
    	other, ok := dst.(*Record)
    	if !ok {
    		other = &Record{}
    	}
    	other.object = r.object
    	return other
    }
    
    // CloneTo clones the record to a json Record.
    // Values are only unmashaled on object level.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. internal/s3select/sql/statement.go

    		}
    
    		var kvs jstream.KVS
    		switch v := txedRec.(type) {
    		case jstream.KVS:
    			kvs = v
    
    		case []interface{}:
    			recs := make([]*Record, len(v))
    			for i, val := range v {
    				tmpRec := input.Clone(nil)
    				if err = tmpRec.Replace(val); err != nil {
    					return nil, err
    				}
    				recs[i] = &tmpRec
    			}
    			return recs, nil
    
    		default:
    			kvs = jstream.KVS{jstream.KV{Key: "_1", Value: v}}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/MacHashFunction.java

        this.supportsClone = supportsClone(prototype);
      }
    
      @Override
      public int bits() {
        return bits;
      }
    
      private static boolean supportsClone(Mac mac) {
        try {
          Object unused = mac.clone();
          return true;
        } catch (CloneNotSupportedException e) {
          return false;
        }
      }
    
      private static Mac getMac(String algorithmName, Key key) {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 15 22:31:55 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  9. okcurl/README.md

    OkCurl
    ======
    
    _A curl for the next-generation web._
    
    OkCurl is an OkHttp-backed curl clone which allows you to test OkHttp's HTTP engine (including
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 09 21:19:04 UTC 2016
    - 178 bytes
    - Viewed (0)
  10. internal/config/identity/ldap/config.go

    }
    
    // Enabled returns if LDAP is enabled.
    func (l *Config) Enabled() bool {
    	return l.LDAP.Enabled
    }
    
    // Clone returns a cloned copy of LDAP config.
    func (l *Config) Clone() Config {
    	if l == nil {
    		return Config{}
    	}
    	cfg := Config{
    		LDAP:              l.LDAP.Clone(),
    		stsExpiryDuration: l.stsExpiryDuration,
    	}
    	return cfg
    }
    
    // LDAP keys and envs.
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top