Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 8,832 for copy2 (0.12 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

         */
        public DefaultRepositoryRequest() {
            // enables no-arg constructor
        }
    
        /**
         * Creates a shallow copy of the specified repository request.
         *
         * @param repositoryRequest The repository request to copy from, must not be {@code null}.
         */
        public DefaultRepositoryRequest(RepositoryRequest repositoryRequest) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. cmd/metacache-bucket.go

    	b.mu.RLock()
    	defer b.mu.RUnlock()
    	dst := make(map[string]metacache, len(b.caches))
    	maps.Copy(dst, b.caches)
    	// Copy indexes
    	dst2 := make(map[string][]string, len(b.cachesRoot))
    	for k, v := range b.cachesRoot {
    		tmp := make([]string, len(v))
    		copy(tmp, v)
    		dst2[k] = tmp
    	}
    
    	return dst, dst2
    }
    
    // deleteAll will delete all on disk data for ALL caches.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

                newOutput = output;
            }
        }
    
        /**
         * Returns the array of new input character sequences for update operations.
         * Returns a defensive copy to prevent external modification.
         *
         * @return array of new input sequences (defensive copy), or null if no updates are pending
         */
        public String[] getNewInputs() {
            return newInputs == null ? null : newInputs.clone();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/SmbConstants.java

        // flags for move and copy
        /**
         * Target must be a file flag.
         */
        int FLAGS_TARGET_MUST_BE_FILE = 0x0001;
        /**
         * Target must be a directory flag.
         */
        int FLAGS_TARGET_MUST_BE_DIRECTORY = 0x0002;
        /**
         * Copy target in ASCII mode flag.
         */
        int FLAGS_COPY_TARGET_MODE_ASCII = 0x0004;
        /**
         * Copy source in ASCII mode flag.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableSet.java

       *
       * <p><b>Performance note:</b> This method will sometimes recognize that the actual copy operation
       * is unnecessary; for example, {@code copyOf(copyOf(anArrayList))} will copy the data only once.
       * This reduces the expense of habitually making defensive copies at API boundaries. However, the
       * precise conditions for skipping the copy operation are undefined.
       *
       * @throws NullPointerException if any of {@code elements} is null
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/IoTestCase.java

    /*
     * Copyright (C) 2007 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/Atomics.java

    /*
     * Copyright (C) 2010 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
     * in compliance with the License. You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software distributed under the License
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

            // different filesystem. So we'll incur the small hit to actually copy
            // here and be safe. jvz.
            // ----------------------------------------------------------------------------
    
            try {
                Files.createDirectories(destination.toPath().getParent());
                Files.copy(file.toPath(), destination.toPath());
            } catch (IOException e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/HashMultimapTest.java

        multimap.put("foo", 1);
        multimap.put("bar", 2);
        multimap.put("foo", 3);
        HashMultimap<String, Integer> copy = HashMultimap.create(multimap);
        assertEquals(multimap, copy);
        assertEquals(2, copy.expectedValuesPerKey);
      }
    
      public void testCreateFromSizes() {
        HashMultimap<String, Integer> multimap = HashMultimap.create(20, 15);
        multimap.put("foo", 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/HashMultimapTest.java

        multimap.put("foo", 1);
        multimap.put("bar", 2);
        multimap.put("foo", 3);
        HashMultimap<String, Integer> copy = HashMultimap.create(multimap);
        assertEquals(multimap, copy);
        assertEquals(2, copy.expectedValuesPerKey);
      }
    
      public void testCreateFromSizes() {
        HashMultimap<String, Integer> multimap = HashMultimap.create(20, 15);
        multimap.put("foo", 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top