- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,036 for real (0.09 sec)
-
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
@Test void testLsarDomainInfoEncode() throws NdrException { lsarpc.LsarDomainInfo domainInfo = new lsarpc.LsarDomainInfo(); domainInfo.name = new rpc.unicode_string(); // Use real object, not mock domainInfo.name.length = 10; domainInfo.name.maximum_length = 20; domainInfo.name.buffer = new short[10]; domainInfo.sid = mock(rpc.sid_t.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
* real problem: The Entry objects are ImmutableMap entries, whose fields are all final and thus * safe to read even when the Entry object is unsafely published. But with a mutable graph, the * Entry object is likely to have a non-final value field, which is not safe to read when
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 32.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
return false; } }); sambaHelper.init(); // Verify method signature exists for SMB1 SID - actual test would require real SMB1 SID instance assertNotNull(sambaHelper); } public void test_createSearchRole_lowercase() { ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.7K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LinearTransformation.java
import com.google.common.annotations.J2ktIncompatible; import com.google.errorprone.annotations.concurrent.LazyInit; import org.jspecify.annotations.Nullable; /** * The representation of a linear transformation between real numbers {@code x} and {@code y}. * Graphically, this is the specification of a straight line on a plane. The transformation can be * expressed as {@code y = m * x + c} for finite {@code m} and {@code c}, unless it is a vertical
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
import org.junit.jupiter.api.Test; import jcifs.dcerpc.rpc; import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; /** * Integration tests for lsarpc classes using real NdrBuffer implementations */ class lsarpcIntegrationTest { @Test void testLsarDomainInfoEncodeDecodeRoundTrip() throws NdrException { // Create a domain info with test data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
} @Test @DisplayName("renew: invokes getSubject and returns self") void testRenewInvokesGetSubjectAndReturnsSelf() { JAASAuthenticator auth = spy(new JAASAuthenticator()); // Avoid real JAAS by stubbing getSubject doReturn(new Subject()).when(auth).getSubject(); // Act CredentialsInternal result = auth.renew(); // Assert interaction and return value
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListeningExecutorService.java
* MoreExecutors#listeningDecorator(ExecutorService)}. * * @author Chris Povirk * @since 10.0 */ @DoNotMock( "Use TestingExecutors.sameThreadScheduledExecutor, or wrap a real Executor from " + "java.util.concurrent.Executors with MoreExecutors.listeningDecorator") @GwtIncompatible public interface ListeningExecutorService extends ExecutorService { /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/NullnessCasts.java
* next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the * code would be responsible for populating a "real" {@code T} (which might still be the value * {@code null}!) before returning it to callers. Depending on how the code is structured, a * nullness analysis might not understand that the field has been populated. To avoid that problem
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
// ISO 8859-1 only has 0-255 (ubyte) representation so throws away UTF-8 characters // greater than 127 (ie with their top bit set). // Don't attempt to do this in real code. assertEquals( fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1))); } public void testPutNonChars() { Hasher hasher = HASH_FN.newHasher();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
LogStream.setInstance(null); }); } @Test void testPrintStreamDelegation() { // Test that LogStream properly delegates to underlying PrintStream // Use a real PrintStream with ByteArrayOutputStream to test delegation ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintStream realStream = new PrintStream(baos);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0)