- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,351 for testname (0.04 sec)
-
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
srvsvc.ShareInfo0 shareInfo0 = new srvsvc.ShareInfo0(); shareInfo0.netname = null; shareInfo0.encode(mockNdrBuffer); // Verify the encode operations verify(mockNdrBuffer).align(4); verify(mockNdrBuffer).enc_ndr_referent(null, 1); // Should not encode string if netname is null verify(mockDeferredBuffer, never()).enc_ndr_string(anyString()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
utils/utils_test.go
trimLen: -1, expected: []int{1, 2, 3}, }, } for _, testcase := range tests { t.Run(testcase.name, func(t *testing.T) { result := RTrimSlice(testcase.input, testcase.trimLen) if !AssertEqual(result, testcase.expected) { t.Errorf("RTrimSlice(%v, %d) = %v; want %v", testcase.input, testcase.trimLen, result, testcase.expected) } }) }Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0) -
cmd/bucket-policy-handlers_test.go
} // initialize HTTP NewRecorder, this records any mutations to response writer inside the handler. recV2 := httptest.NewRecorder() // construct HTTP request for PUT bucket policy endpoint. reqV2, err := newTestSignedRequestV2(http.MethodPut, getPutPolicyURL("", testCase.bucketName),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt
@Test fun setDate() { val expected = Date(1000) val headers = Headers .Builder() .add("testDate", Date(0L)) .set("testDate", expected) .build() assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT") assertThat(headers.getDate("testDate")).isEqualTo(expected) } @Test fun setInstant() { val expected = Instant.ofEpochMilli(1000L) val headers =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/mail/TestmailPostcard.java
/** * Set the value of hostname, used in parameter comment. <br> * Even if empty string, treated as empty plainly. So "IF pmb != null" is false if empty. * @param hostname The parameter value of hostname. (NotNull) */ public void setHostname(String hostname) { registerVariable("hostname", hostname); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
response = new SmbComQueryInformationResponse(mockConfig, maxOffset); long testTime = 1000000000L; setFieldValue(response, "lastWriteTime", testTime); assertEquals(testTime + maxOffset, response.getCreateTime()); assertEquals(testTime + maxOffset, response.getLastWriteTime()); assertEquals(testTime + maxOffset, response.getLastAccessTime()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt
val SYSTEM: Dns = DnsSystem() private class DnsSystem : Dns { override fun lookup(hostname: String): List<InetAddress> { try { return InetAddress.getAllByName(hostname).toList() } catch (e: NullPointerException) { throw UnknownHostException("Broken system behaviour for dns lookup of $hostname").apply { initCause(e) } } } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsFileAuthentication.java
this.fileConfigId = value; } public String getHostname() { checkSpecifiedProperty("hostname"); return convertEmptyToNull(hostname); } public void setHostname(String value) { registerModifiedProperty("hostname"); this.hostname = value; } public String getParameters() { checkSpecifiedProperty("parameters");Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsWebAuthentication.java
this.createdTime = value; } public String getHostname() { checkSpecifiedProperty("hostname"); return convertEmptyToNull(hostname); } public void setHostname(String value) { registerModifiedProperty("hostname"); this.hostname = value; } public String getParameters() { checkSpecifiedProperty("parameters");Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 9K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
} } } // Test parsing s3 chunk extension. func TestParseS3ChunkExtension(t *testing.T) { type testCase struct { buf []byte chunkSize []byte chunkSign []byte } tests := []testCase{ // Test - 1 valid case. { []byte("10000;chunk-signature=ad80c730a21e5b8d04586a2213dd63b9a0e99e0e2307b0ade35a65485a288648"), []byte("10000"),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.7K bytes - Viewed (0)