- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 5,459 for New (0.06 sec)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
TransferResource resource = event.getResource(); transfers.put( new TransferResourceIdentifier(resource), new TransferResourceAndSize(resource, event.getTransferredBytes())); StringBuilder buffer = new StringBuilder(128); buffer.append("Progress (").append(transfers.size()).append("): "); synchronized (transfers) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 11:23:19 UTC 2025 - 5.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java
*/ if (artifact.isSnapshot()) { Snapshot snapshot = new Snapshot(); snapshot.setLocalCopy(true); artifact.addMetadata(new SnapshotArtifactRepositoryMetadata(artifact, snapshot)); } Versioning versioning = new Versioning(); // TODO Should this be changed for MNG-6754 too? versioning.updateTimestamp();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java
/** * Test the readParameterWordsWireFormat method. */ @Test void testReadParameterWordsWireFormat() { SmbComWriteAndXResponse response = new SmbComWriteAndXResponse(); byte[] buffer = new byte[] { 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // count = 10 int bytesRead = response.readParameterWordsWireFormat(buffer, 0); // The count should be read from the buffer.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
public class ServerResponseValidatorTest { private ServerResponseValidator validator; @BeforeEach public void setUp() { validator = new ServerResponseValidator(); } @Test public void testValidBuffer() throws Exception { byte[] buffer = new byte[1024]; validator.validateBuffer(buffer, 100, 2048); // Should pass without exception } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
protected void checkCanCreate() { if (subjectGenerator == null) { throw new IllegalStateException("Call using() before createTestSuite()."); } if (name == null) { throw new IllegalStateException("Call named() before createTestSuite()."); } if (features == null) { throw new IllegalStateException("Call withFeatures() before createTestSuite()."); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
// Given when(mockDelegate.hasNext()).thenReturn(false); CIFSException exception = new CIFSException("Test exception"); doThrow(exception).when(mockDelegate).close(); DirFileEntryAdapterIterator iterator = new DirFileEntryAdapterIterator(mockParent, mockDelegate, null) { @Override protected SmbResource adapt(FileEntry e) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
return new GoodEquals(a, b); } // instance method ignored public Object badIgnored() { return new BadEquals(); } // primitive ignored public int returnsInt() { throw new UnsupportedOperationException(); } // void ignored public void voidMethod() { throw new UnsupportedOperationException(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
if (mergedItems.length == 0) { return new SuggestWriterResult(); } for (final SuggestItem item : mergedItems) { final GetResponse getResponse = client.prepareGet().setIndex(index).setId(item.getId()).get(settings.getIndexTimeout()); if (update && getResponse.isExists()) { final IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, IndexAction.INSTANCE, index);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Nov 20 08:32:33 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
@BeforeEach void setUp() { response = new SrvRequestResumeKeyResponse(); } @Test @DisplayName("Test successful decode with valid resume key") void testDecodeValidResumeKey() throws SMBProtocolDecodingException { // Prepare test data - 24 bytes for resume key + 4 bytes for context length byte[] buffer = new byte[28]; // Fill resume key with test patternRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java
public final class CertificatePinning { private final OkHttpClient client = new OkHttpClient.Builder() .certificatePinner( new CertificatePinner.Builder() .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=") .build()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/robots.txt")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Dec 08 21:30:01 UTC 2019 - 1.7K bytes - Viewed (0)