Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 727 for cloned (0.05 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                                predecessors.put(key, pending);
                                pending = new ArrayList<>();
                            }
                        } else {
                            pending.add(element.clone());
                        }
                    }
    
                    List<Plugin> result = new ArrayList<>(src.size() + tgt.size());
                    for (Map.Entry<Object, Plugin> entry : master.entrySet()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 8K bytes
    - Click Count (0)
  2. internal/grid/stream.go

    // the appropriate error will be returned.
    type Stream struct {
    	// responses from the remote server.
    	// Channel will be closed after error or when remote closes.
    	// All responses *must* be read by the caller until either an error is returned or the channel is closed.
    	// Canceling the context will cause the context cancellation error to be returned.
    	responses <-chan Response
    	cancel    context.CancelCauseFunc
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jun 07 15:51:52 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            char[] plaintext = "SamePassword".toCharArray();
    
            // Encrypt twice
            byte[] encrypted1 = storage.encryptCredentials(plaintext.clone());
            byte[] encrypted2 = storage.encryptCredentials(plaintext.clone());
    
            // Should produce different ciphertexts due to random IV
            assertFalse(Arrays.equals(encrypted1, encrypted2), "Different encryptions should produce different ciphertexts");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

            CloseableUtil.close(out);
        }
    
        private static class NotifyOutputStream extends OutputStream {
            private String notify_;
    
            @Override
            public void write(final int arg0) throws IOException {
            }
    
            @Override
            public void close() throws IOException {
                super.close();
                notify_ = "closed";
            }
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java

            this.contextHandle = contextHandle != null ? contextHandle.clone() : new byte[20];
        }
    
        /**
         * Sets the context handle for unregistration.
         *
         * @param contextHandle the context handle from registration
         */
        public void setContextHandle(byte[] contextHandle) {
            this.contextHandle = contextHandle != null ? contextHandle.clone() : null;
        }
    
        /**
         * Gets the context handle.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

                if (tgt.isEmpty()) {
                    List<Exclusion> src = source.getExclusions();
    
                    for (Exclusion element : src) {
                        Exclusion clone = element.clone();
                        target.addExclusion(clone);
                    }
                }
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/io/PropertiesUtil.java

        /**
         * Do not instantiate.
         */
        protected PropertiesUtil() {
        }
    
        /**
         * Wraps exception handling for {@link Properties#load(InputStream)}.
         * <p>
         * The input stream is not closed.
         * </p>
         *
         * @param props the property set (must not be {@literal null})
         * @param in the input stream (must not be {@literal null})
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. cmd/format-erasure_test.go

    		}
    	}
    
    	format := newFormatErasureV3(1, 8)
    	format.Erasure.DistributionAlgo = formatErasureVersionV2DistributionAlgoV1
    	formats := make([]*formatErasureV3, 8)
    
    	for j := range 8 {
    		newFormat := format.Clone()
    		newFormat.Erasure.This = format.Erasure.Sets[0][j]
    		formats[j] = newFormat
    	}
    
    	formats[1] = nil
    	expThis := formats[2].Erasure.This
    	formats[2].Erasure.This = ""
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

        private long endOfFile;
        private int fileAttributes;
    
        /**
         * Constructs a close response
         *
         * @param config
         *            The configuration to use
         * @param fileId
         *            The file ID that was closed
         * @param fileName
         *            The name of the file that was closed
         */
        public Smb2CloseResponse(final Configuration config, final byte[] fileId, final String fileName) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/io/Files.java

        }
    
        @Override
        public byte[] read() throws IOException {
          Closer closer = Closer.create();
          try {
            FileInputStream in = closer.register(openStream());
            return ByteStreams.toByteArray(in, in.getChannel().size());
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
            closer.close();
          }
        }
    
        @Override
        public String toString() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 20:24:13 GMT 2025
    - 32.8K bytes
    - Click Count (0)
Back to Top