Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 384 for Clone (0.55 sec)

  1. internal/http/server.go

    	// Take a copy of server fields.
    	var tlsConfig *tls.Config
    	if srv.TLSConfig != nil {
    		tlsConfig = srv.TLSConfig.Clone()
    	}
    	handler := srv.Handler // if srv.Handler holds non-synced state -> possible data race
    
    	// Create new HTTP listener.
    	var listener *httpListener
    	listener, listenErrs := newHTTPListener(
    		listenCtx,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/HashCode.java

       *
       * @since 15.0 (since 12.0 in HashCodes)
       */
      public static HashCode fromBytes(byte[] bytes) {
        checkArgument(bytes.length >= 1, "A HashCode must contain at least 1 byte.");
        return fromBytesNoCopy(bytes.clone());
      }
    
      /**
       * Creates a {@code HashCode} from a byte array. The array is <i>not</i> copied defensively, so it
       * must be handed-off so as to preserve the immutability contract of {@code HashCode}.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                lineage.add(currentData);
    
                Model rawModel = currentData.getModel();
                currentData.setRawModel(rawModel);
    
                Model tmpModel = rawModel.clone();
                currentData.setModel(tmpModel);
    
                problems.setSource(tmpModel);
    
                // model normalization
                modelNormalizer.mergeDuplicates(tmpModel, request, problems);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/io/ContentCache.java

         */
        public ContentCache(final byte[] data) {
            if (data == null) {
                throw new IllegalArgumentException("data must not be null");
            }
            this.data = data.clone();
            this.file = null;
        }
    
        /**
         * Constructs a ContentCache with the given file.
         *
         * @param file the file containing the content
         * @throws IllegalArgumentException if file is null
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.java

                                Plugin addedPlugin = added.get(key);
                                if (addedPlugin != null) {
                                    Plugin plugin = managedPlugin.clone();
                                    mergePlugin(plugin, addedPlugin, sourceDominant, Collections.emptyMap());
                                    merged.put(key, plugin);
                                }
                            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

                    Plugin plugin,
                    DependencyFilter extensionFilter,
                    List<RemoteRepository> repositories,
                    RepositorySystemSession session) {
                this.plugin = plugin.clone();
                workspace = RepositoryUtils.getWorkspace(session);
                this.localRepo = session.getLocalRepository();
                this.repositories = new ArrayList<>(repositories.size());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. README.md

    3. **Commit** your changes (`git commit -m 'Add amazing feature'`)
    4. **Push** to the branch (`git push origin feature/amazing-feature`)
    5. **Open** a Pull Request
    
    ### Development Setup
    
    ```bash
    # Clone the repository
    git clone https://github.com/codelibs/fess-crawler.git
    cd fess-crawler
    
    # Build the project
    mvn clean install
    
    # Run tests
    mvn test
    
    # Format code before committing
    mvn formatter:format
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. cmd/bucket-replication-stats.go

    		return map[string]BucketReplicationStats{}
    	}
    
    	r.RLock()
    
    	bucketReplicationStats := make(map[string]BucketReplicationStats, len(r.Cache))
    	for k, v := range r.Cache {
    		bucketReplicationStats[k] = v.Clone()
    	}
    	r.RUnlock()
    	for k, v := range bucketReplicationStats {
    		v.QStat = r.qCache.getBucketStats(k)
    		bucketReplicationStats[k] = v
    	}
    
    	return bucketReplicationStats
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            Mockito.when(mockContext.getCredentials()).thenReturn(mockCredentials);
            Mockito.when(mockCredentials.unwrap(Mockito.any())).thenReturn(mockCredentialsInternal);
            Mockito.when(mockCredentialsInternal.clone()).thenReturn(mockCredentialsInternal);
            Mockito.when(mockTransport.acquire()).thenReturn(mockTransport);
        }
    
        /**
         * Test basic session lifecycle management
         */
        @Test
        @Timeout(5)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testRead_putByteArrayOutOfBound() throws Exception {
        byte[] buf = new byte[100];
        byte[] expectedBytes = buf.clone();
        System.arraycopy(testBytes, 0, expectedBytes, 0, testBytes.length);
    
        HashingInputStream in = new HashingInputStream(hashFunction, buffer);
    
        int numOfByteRead = in.read(buf, 0, 100);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top