Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 279 for cloneOf (0.03 sec)

  1. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                final ResourceNameFilter fnf, final ResourceFilter ff) throws CIFSException {
            // clone the locator so that the address index is not modified
            final SmbResourceLocatorImpl locator = parent.fileLocator.clone();
            final CIFSContext tc = parent.getContext();
            final URL u = locator.getURL();
    
            FileEntry[] entries;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. cmd/data-scanner-metric.go

    	}
    	val := p.actionsLatency[a].total()
    	return val
    }
    
    // setCycle updates the current cycle metrics.
    func (p *scannerMetrics) setCycle(c *currentScannerCycle) {
    	if c != nil {
    		c2 := c.clone()
    		c = &c2
    	}
    	p.cycleInfoMu.Lock()
    	p.cycleInfo = c
    	p.cycleInfoMu.Unlock()
    }
    
    // getCycle returns the current cycle metrics.
    // If not nil, the returned value can safely be modified.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 01 06:06:01 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. cmd/site-replication-utils.go

    	TotBuckets                    int                         `json:"totbuckets" msg:"tb"`
    	TargetReplicationResyncStatus `json:"currSt" msg:"cst"`
    }
    
    func (s *SiteResyncStatus) clone() SiteResyncStatus {
    	if s == nil {
    		return SiteResyncStatus{}
    	}
    	o := *s
    	o.BucketStatuses = make(map[string]ResyncStatusType, len(s.BucketStatuses))
    	maps.Copy(o.BucketStatuses, s.BucketStatuses)
    	return o
    }
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/JAASAuthenticator.java

        @Override
        public boolean isGuest() {
            return false;
        }
    
        @Override
        public Kerb5Authenticator clone() {
            JAASAuthenticator auth = new JAASAuthenticator();
            cloneInternal(auth, this);
            return auth;
        }
    
        /**
         * Clone the context
         *
         * @param to the target authenticator
         * @param from the source authenticator
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (1)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java

     * ProjectBuildList.getByTaskSegments). Or maybe they should be introduced in the calculation
     * of the execution plan instead, which seems much nicer.
     * </p>
     * <p>
     * Additionally this class contains a clone of the MavenSession, which is *only* needed
     * because it has as notion of a "current" project.
     * </p>
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java

                    for (PluginExecution element : src) {
                        Object key = getPluginExecutionKey(element);
                        merged.put(key, element.clone());
                    }
    
                    for (PluginExecution element : tgt) {
                        Object key = getPluginExecutionKey(element);
                        PluginExecution existing = merged.get(key);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/Helpers.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    @GwtCompatible
    @NullMarked
    public class Helpers {
      // Clone of Objects.equals
      static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // Clone of Lists.newArrayList
      public static <E extends @Nullable Object> List<E> copyToList(Iterable<? extends E> elements) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

      MinimalCollection(Class<? super @NonNull E> type, boolean allowNulls, E... contents) {
        // TODO: consider making it shuffle the contents to test iteration order.
        this.contents = Platform.clone(contents);
        this.type = type;
        this.allowNulls = allowNulls;
    
        if (!allowNulls) {
          for (Object element : contents) {
            if (element == null) {
              throw new NullPointerException();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. internal/config/lambda/event/targetidset_test.go

    		{NewTargetIDSet(TargetID{"1", "webhook"}, TargetID{"2", "amqp"}), TargetID{"2", "webhook"}},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.set.Clone()
    
    		if !reflect.DeepEqual(result, testCase.set) {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.set, result)
    		}
    
    		result.add(testCase.targetIDToAdd)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

          if (!set.isPartialView()) {
            return set;
          }
        } else if (elements instanceof EnumSet) {
          EnumSet<?> clone = ((EnumSet<?>) elements).clone();
          ImmutableSet<?> untypedResult = ImmutableEnumSet.asImmutable(clone);
          /*
           * The result has the same type argument we started with. We just couldn't express EnumSet<E>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 07 16:09:47 UTC 2025
    - 35.3K bytes
    - Viewed (0)
Back to top