- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 90 for testData (0.05 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
Arrays.fill(destData, (byte) 0x00); // Clear destData ndrBuffer.readOctetArray(destData, 1, 3); // Read 0x10, 0x11, 0x12 into destData[1-3] assertEquals(3, ndrBuffer.getIndex()); assertEquals(0x00, destData[0]); assertEquals(0x10, destData[1]); assertEquals(0x11, destData[2]); assertEquals(0x12, destData[3]); assertEquals(0x00, destData[4]); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
tree.connectionState = 2; // Connected state tree.tid = 123; tree.inDfs = true; // Create request with path ServerMessageBlock request = new SmbComOpenAndX("\\testPath", 0x01, 0, null); ServerMessageBlock response = new SmbComOpenAndXResponse(); // Execute send tree.send(request, response); // Verify session.send was calledRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
cmd/lock-rest-server-common_test.go
func TestLockRpcServerRemoveEntry(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel() testPath, locker, _ := createLockTestServer(ctx, t) defer os.RemoveAll(testPath) lockRequesterInfo1 := lockRequesterInfo{ Owner: "owner", Writer: true, UID: "0123-4567", Timestamp: UTCNow().UnixNano(),
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
// Need to include space for actual string data int stringDataStart = 28; // After the referral structure String testPath = "\\server\\share"; byte[] pathBytes = testPath.getBytes(java.nio.charset.StandardCharsets.UTF_16LE); int bufferSize = stringDataStart + pathBytes.length + 2; // +2 for null terminator byte[] buffer = new byte[bufferSize];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// Given - Path with various characters String testPath = "\\\\server\\test123"; Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, testPath); byte[] buffer = new byte[512]; // When req.encode(buffer, 0); // Then - Verify UTF-16LE encoding byte[] expectedBytes = testPath.getBytes(StandardCharsets.UTF_16LE);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/pseudo_test.go
{"PCDATA", "1", "expect two operands for PCDATA"}, } runtimeTests := []errtest{ {"TEXT", "foo<ABIInternal>(SB),0", "TEXT \"foo\": ABIInternal requires NOSPLIT"}, } testcats := []struct { allowABI bool tests []errtest }{ { allowABI: false, tests: nonRuntimeTests, }, { allowABI: true, tests: runtimeTests, }, }Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.1K bytes - Viewed (0) -
tests/test_params_repr.py
from typing import Any from fastapi.params import Body, Cookie, Header, Param, Path, Query test_data: list[Any] = ["teststr", None, ..., 1, []] def get_user(): return {} # pragma: no cover def test_param_repr_str(): assert repr(Param("teststr")) == "Param(teststr)" def test_param_repr_none(): assert repr(Param(None)) == "Param(None)" def test_param_repr_ellipsis():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/log/LoggerTest.java
* @throws Exception */ @Test public void testError() throws Exception { logger.error("error"); } /** * @throws Exception */ @Test public void testFatal() throws Exception { logger.fatal("fatal"); } /** * @throws Exception */ @Test public void testLog() throws Exception { logger.log("ILOGTEST0001"); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.8K bytes - Viewed (0) -
internal/config/dns/etcd_dns_test.go
{[]string{"."}, "."}, } for i, tc := range tests { if x := dnsJoin(tc.in...); x != tc.out { t.Errorf("Test %d, expected %s, got %s", i, tc.out, x) } } } func TestPath(t *testing.T) { for _, path := range []string{"mydns", "skydns"} { result := msgPath("service.staging.skydns.local.", path) if result != etcdPathSeparator+path+"/local/skydns/staging/service" {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 28 17:31:12 UTC 2025 - 2.7K bytes - Viewed (0) -
.teamcity/src/main/kotlin/projects/StageProject.kt
buildType(createPerformancePartialTrigger(model, stage)) } } val docsTestProjects = stage.docsTests.map { DocsTestProject(model, stage, it.os, it.testJava, it.docsTestTypes) } docsTestProjects.forEach(this::subProject) docsTestTriggers = docsTestProjects.map { DocsTestTrigger(model, it) } docsTestTriggers.forEach(this::buildType)
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 16 00:34:25 UTC 2025 - 12.1K bytes - Viewed (0)