Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 560 for clone (0.16 sec)

  1. maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  2. cmd/data-usage-cache.go

    	return hashPath(d.Info.Name)
    }
    
    // clone returns a copy of the cache with no references to the existing.
    func (d *dataUsageCache) clone() dataUsageCache {
    	clone := dataUsageCache{
    		Info:  d.Info,
    		Cache: make(map[string]dataUsageEntry, len(d.Cache)),
    	}
    	for k, v := range d.Cache {
    		clone.Cache[k] = v.clone()
    	}
    	return clone
    }
    
    // merge root of other into d.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  3. statement_test.go

    			s := new(Statement)
    			for w := 0; w < whereCount; w++ {
    				s = s.clone()
    				s.AddClause(clause.Where{
    					Exprs: s.BuildCondition(fmt.Sprintf("where%d", w)),
    				})
    			}
    
    			s1 := s.clone()
    			s1.AddClause(clause.Where{
    				Exprs: s.BuildCondition("FINAL1"),
    			})
    			s2 := s.clone()
    			s2.AddClause(clause.Where{
    				Exprs: s.BuildCondition("FINAL2"),
    			})
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Dec 23 13:19:41 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  4. deploy_website.sh

    # https://squidfunk.github.io/mkdocs-material/
    # It requires python3 to run.
    
    set -ex
    
    REPO="******@****.***:square/okhttp.git"
    DIR=temp-clone
    
    # Delete any existing temporary website clone
    rm -rf $DIR
    
    # Clone the current repo into temp folder
    git clone $REPO $DIR
    # Replace `git clone` with these lines to hack on the website locally
    # cp -a . "../okhttp-website"
    # mv "../okhttp-website" "$DIR"
    
    Shell Script
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Nov 20 15:26:12 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  5. cmd/tier-last-day-stats.go

    		l.Bins[lastIdx] = tierStats{}
    	}
    }
    
    func (l *lastDayTierStats) clone() lastDayTierStats {
    	clone := lastDayTierStats{
    		UpdatedAt: l.UpdatedAt,
    	}
    	copy(clone.Bins[:], l.Bins[:])
    	return clone
    }
    
    func (l lastDayTierStats) merge(m lastDayTierStats) (merged lastDayTierStats) {
    	cl := l.clone()
    	cm := m.clone()
    
    	if cl.UpdatedAt.After(cm.UpdatedAt) {
    		cm.forwardTo(cl.UpdatedAt)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

        private set
    
      val pushPromises: List<PushPromise>
        get() = promises
    
      init {
        setResponseCode(200)
        setHeader("Content-Length", 0L)
      }
    
      public override fun clone(): MockResponse {
        val result = super.clone() as MockResponse
        result.headersBuilder = headersBuilder.build().newBuilder()
        result.promises = promises.toMutableList()
        return result
      }
    
      @JvmName("-deprecated_getStatus")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  7. internal/config/lambda/event/targetidset.go

    type TargetIDSet map[TargetID]struct{}
    
    // IsEmpty returns true if the set is empty.
    func (set TargetIDSet) IsEmpty() bool {
    	return len(set) != 0
    }
    
    // Clone - returns copy of this set.
    func (set TargetIDSet) Clone() TargetIDSet {
    	setCopy := NewTargetIDSet()
    	for k, v := range set {
    		setCopy[k] = v
    	}
    	return setCopy
    }
    
    // add - adds TargetID to the set.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

                        if (desc == null) {
                            desc = supplier.load();
                            descriptors.putIfAbsent(key, clone(desc));
                        }
                    }
                }
                return clone(desc);
            } catch (PluginDescriptorParsingException | PluginResolutionException | InvalidPluginDescriptorException e) {
                throw e;
            }
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. src/cmd/api/testdata/src/pkg/p4/golden.txt

    pkg p4, method (Pair[$0, $1]) Second() $1
    pkg p4, method (Pair[$0, $1]) First() $0
    pkg p4, type Pair[$0 interface{ M }, $1 interface{ ~int }] struct
    pkg p4, func Clone[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jan 26 19:39:32 GMT 2024
    - 329 bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        @Override
        public MavenSession clone() {
            try {
                MavenSession clone = (MavenSession) super.clone();
                // the default must become the current project of the thread that clones this
                MavenProject current = getCurrentProject();
                // we replace the thread local of the clone to prevent write through and enforce the new default value
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
Back to top