- Sort Score
- Result 10 results
- Languages All
Results 4491 - 4500 of 7,879 for to (0.02 sec)
-
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
* Empty token causes readObject() to return null, which leads to NullPointerException. */ @Test void testConstructor_EmptyToken() { // 1. GIVEN byte[] emptyToken = new byte[0]; Map<Integer, KerberosKey> keys = new HashMap<>(); // 2. WHEN & 3. THEN // When ASN1InputStream.readObject() returns null due to empty input,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
// Mocking SmbFile constructor is tricky, so we'll just verify the call to the delegate // and ensure no exception is thrown for a valid URL. // The actual SmbFile creation is outside the scope of this wrapper's direct responsibility. // For coverage, we'll ensure the method doesn't throw MalformedURLException for a valid URL // and that it attempts to create an SmbFile.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
assertEquals(0, responseLength); } @Test void testMultipleReadDataWireFormatCalls() throws SMBProtocolDecodingException { // Test multiple calls to readDataWireFormat to ensure buffer is overwritten byte[] firstData = "First data set".getBytes(); byte[] secondData = "Second data set".getBytes(); byte[] buffer1 = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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 *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.SidResolver; import jcifs.dcerpc.rpc; class SIDTest { // Helper to build a minimal sid_t private static rpc.sid_t buildSidT(byte revision, byte[] identAuth, int... subs) { rpc.sid_t s = new rpc.sid_t(); s.revision = revision; s.sub_authority_count = (byte) subs.length;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
int encodedSize = context.encode(buffer, 0); // Assert // Note: size() returns 4 + (2*ciphers.length) but encode only writes 2 + (2*ciphers.length) // This appears to be a bug in the implementation, but we test the actual behavior assertEquals(6, encodedSize); // actual encoded size: 2 bytes count + 2*2 bytes for ciphers
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
tests/associations_many2many_test.go
} newLang := Language{Code: "omitmany2many", Name: "omitmany2many"} if err := DB.Model(&user).Omit("Languages.*").Association("Languages").Replace(&newLang); err == nil { t.Errorf("should failed to insert languages due to constraint failed, error: %v", err) } } func TestMany2ManyAssociationForSlice(t *testing.T) { users := []User{ *GetUser("slice-many2many-1", Config{Languages: 2}),Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Jun 10 13:05:19 UTC 2023 - 13.2K bytes - Viewed (0) -
cmd/bucket-replication-stats.go
type ReplicationStats struct { // map of site deployment ID to site replication status // for site replication - maintain stats at global level srStats *SRStats // active worker stats workers *ActiveWorkerStat // queue stats cache qCache queueCache pCache proxyStatsCache // mrf backlog stats mrfStats ReplicationMRFStats // for bucket replication, continue to use existing cacheRegistered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
assertNotNull(request); assertEquals(0x0B, request.getCommand()); // maxOutputResponse should be set to output buffer length } @Test @DisplayName("Test setFileId method") void testSetFileId() { setupMockConfig();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
} }, MapMakerStrongKeysStrongValues { @Override public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) { // We use a "custom" equivalence to force MapMaker to make a MapMakerInternalMap. ConcurrentMap<K, V> newMap = new MapMaker().keyEquivalence(Equivalence.equals()).makeMap(); checkState(newMap instanceof MapMakerInternalMap); newMap.putAll(map);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 12.5K bytes - Viewed (0)