- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 429 for csharp (0.06 sec)
-
cmd/api-headers_test.go
func TestNewRequestID(t *testing.T) { // Ensure that it returns an alphanumeric result of length 16. id := mustGetRequestID(UTCNow()) if len(id) != 16 { t.Fail() } var e rune for _, char := range id { e = char // Ensure that it is alphanumeric, in this case, between 0-9 and A-Z. isAlnum := ('0' <= e && e <= '9') || ('A' <= e && e <= 'Z') if !isAlnum { t.Fail() } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 1.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt
val request2 = Request.Builder().url(server.url("/")).build() val response2 = client.newCall(request2).execute() assertThat(response2.body.string()).isEqualTo("def") // The HTTP calls should share a single connection. assertThat(socksProxy.connectionCount()).isEqualTo(1) } @Test fun proxySelector() { server.enqueue(MockResponse.Builder().body("abc").build()) val proxySelector: ProxySelector =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java
} // The underlying replacement array we can share between multiple escaper // instances. private final char[][] replacementArray; private ArrayBasedEscaperMap(char[][] replacementArray) { this.replacementArray = replacementArray; } // Returns the non-null array of replacements for fast lookup. char[][] getReplacementArray() { return replacementArray; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnum.java
/** * SMB1 NetShareEnum request message for enumerating network shares on a server. * This class implements the SMB1 transaction to retrieve a list of available shares * from the target server, including share names, types, and descriptions. */ public class NetShareEnum extends SmbComTransaction { private static final String DESCR = "WrLeh\u0000B13BWz\u0000"; /** * Constructs a NetShareEnum requestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcShareEnum.java
super("\\\\" + server, 1, new srvsvc.ShareInfoCtr1(), -1, 0, 0); this.ptype = 0; this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } /** * Returns the share entries retrieved from the enumeration. * * @return an array of FileEntry objects representing the shares */ public FileEntry[] getEntries() { /*
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY); final Exception cause = new RuntimeException("Special chars: \n\t\r\f\b"); // Execute final InvalidQueryException exception = new InvalidQueryException(messageCode, message, cause); // Verify special characters are preserved
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/ReferralTest.java
bb.putShort((short) 76); // nodeOffset // Path string at offset 22 (relative to start of referral at position 0) bb.position(22); String path = "\\\\server\\share"; bb.put(path.getBytes(StandardCharsets.UTF_16LE)); bb.putShort((short) 0); // Alt path string at offset 54 bb.position(54); String altPath = "\\\\alt\\path";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 22K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
* capabilities including security descriptors and oplock support. */ public class SmbComNTCreateAndX extends AndXServerMessageBlock implements Request<SmbComNTCreateAndXResponse> { // share access specified in SmbFile // create disposition /* * Creates a new file or supersedes the existing one */ static final int FILE_SUPERSEDE = 0x0; /*
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
} } // Utility to build a minimal locator for connect tests private static SmbResourceLocatorImpl newLocator(CIFSContext ctx) { return new SmbResourceLocatorImpl(ctx, smbUrl("smb://server/share")); } @Test @DisplayName("Constructor with CIFSContext: creates instance") void constructor_withContext_createsInstance() { // Arrange CIFSContext ctx = mock(CIFSContext.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0)