- Sort Score
- Result 10 results
- Languages All
Results 4761 - 4770 of 5,013 for cstring (0.27 sec)
-
guava-tests/test/com/google/common/primitives/ShortsTest.java
fail("Cast to short should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage(value + " not found in exception text: " + ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } // We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testCompare() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
return ni != null && ni.supportsMulticast(); } catch (SocketException e) { return false; } } @Override public String toString() { return "NetworkInterfaceInfo{" + "address=" + address + ", linkSpeed=" + linkSpeed + " Mbps" + ", capability=0x"
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
// Use reflection to set protected byteCount field setByteCount(response, 8); response.getServerData().oemDomainName = "TEST_DOMAIN"; String result = response.toString(); assertNotNull(result); assertTrue(result.contains("SmbComNegotiateResponse")); assertTrue(result.contains("dialectIndex=0")); assertTrue(result.contains("securityMode=0x1"));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
private ToolchainFactory toolchainFactoryRareType; @Mock private Lookup lookup; @BeforeEach void onSetup() throws Exception { MockitoAnnotations.initMocks(this); Map<String, ToolchainFactory> factories = new HashMap<>(); factories.put("basic", toolchainFactoryBasicType); factories.put("rare", toolchainFactoryRareType);Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 11K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt
if (existingCall != null) call.reuseCallsPerHostFrom(existingCall) } } promoteAndExecute() } private fun findExistingCallWithHost(host: String): AsyncCall? { for (existingCall in runningAsyncCalls) { if (existingCall.host == host) return existingCall } for (existingCall in readyAsyncCalls) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 8.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
T proxy = new FreshValueGenerator().newFreshProxy(interfaceType); assertEquals( "toString() isn't properly forwarded", proxy.toString(), wrapperFunction.apply(proxy).toString()); } private static @Nullable Object[] getParameterValues(Method method) { FreshValueGenerator paramValues = new FreshValueGenerator();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/Maps.java
* <p> * By statically importing this class, you can easily initialize {@literal Map} instances as follows: * </p> * * <pre> * import static org.codelibs.core.collection.Maps.*; * * Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$(); * </pre> * * @author koichik * @param <K> the key type of the {@literal Map} * @param <V> the value type of the {@literal Map} */ public class Maps<K, V> {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
// msg-type [1] INTEGER 14 (AP-REQ) v.add(new DERTaggedObject(true, 1, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_AP_REQ)))); // ap-options [2] BIT STRING v.add(new DERTaggedObject(true, 2, new DERBitString(new byte[] { apOptions }))); // first byte read by impl return new DERSequence(v); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
{* ../../docs_src/body_nested_models/tutorial002_py310.py hl[12] *} ## Set types { #set-types } But then we think about it, and realize that tags shouldn't repeat, they would probably be unique strings. And Python has a special data type for sets of unique items, the `set`. Then we can declare `tags` as a set of strings:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
cmd/erasure-decode_test.go
package cmd import ( "bytes" "context" crand "crypto/rand" "io" "math/rand" "testing" "github.com/dustin/go-humanize" ) func (a badDisk) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) { return 0, errFaultyDisk } var erasureDecodeTests = []struct { dataBlocks int onDisks, offDisks int
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21K bytes - Viewed (0)