Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 139 for 012345 (0.04 sec)

  1. .github/workflows/smokeshow.yml

              run-id: ${{ github.event.workflow_run.id }}
          # Try 5 times to upload coverage to smokeshow
          - name: Upload coverage to Smokeshow
            run: |
              for i in 1 2 3 4 5; do
                if smokeshow upload htmlcov; then
                    echo "Smokeshow upload success!"
                    break
                fi
                echo "Smokeshow upload error, sleep 1 sec and try again."
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacSidAttributesTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SID;
    
    class PacSidAttributesTest {
    
        private SID sidMock;
        private PacSidAttributes pacSidAttributes;
        private final int attributes = 12345;
    
        @BeforeEach
        void setUp() {
            // Mock the SID object
            sidMock = mock(SID.class);
            // Create a new PacSidAttributes instance before each test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null);
    
            // Build a token with an arbitrary non-kerberos mechanism OID
            ASN1ObjectIdentifier unsupported = new ASN1ObjectIdentifier("1.2.3.4.5");
            byte[] init = spnegoInitWithMechs(unsupported);
    
            // Host is a FQDN to pass the short-name check
            SmbUnsupportedOperationException ex =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java

        @Test
        void testToString() {
            SmbComWriteAndXResponse response = new SmbComWriteAndXResponse();
            response.count = 12345L;
    
            String result = response.toString();
    
            // The toString method should return a string containing the count.
            assertTrue(result.contains("count=12345"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

    public class ContentOutputStreamTest {
    
        @Test
        public void inMemory() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4 });
            assertFalse(cos.done);
            assertTrue(cos.isInMemory());
            cos.close();
            assertFalse(cos.done);
        }
    
        @Test
        public void inFile() throws IOException {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

        private SmbComSetInformationResponse response;
    
        @BeforeEach
        void setUp() {
            // Setup mock configuration to avoid NPE
            when(mockConfig.getPid()).thenReturn(12345);
    
            response = new SmbComSetInformationResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Constructor accepts valid config")
        void constructorValid() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacDataInputStreamTest.java

        }
    
        @Test
        public void testReadShort() throws IOException {
            // Little-endian 0x1234 -> 0x34 0x12
            byte[] data = new byte[] { 0x34, 0x12, 0x00, 0x00 };
            PacDataInputStream pdis = createInputStream(data);
            assertEquals((short) 0x1234, pdis.readShort());
        }
    
        @Test
        public void testReadInt() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. cmd/lock-rest-server-common_test.go

    	testPath, locker, _ := createLockTestServer(ctx, t)
    	defer os.RemoveAll(testPath)
    
    	lockRequesterInfo1 := lockRequesterInfo{
    		Owner:           "owner",
    		Writer:          true,
    		UID:             "0123-4567",
    		Timestamp:       UTCNow().UnixNano(),
    		TimeLastRefresh: UTCNow().UnixNano(),
    	}
    	lockRequesterInfo2 := lockRequesterInfo{
    		Owner:           "owner",
    		Writer:          true,
    		UID:             "89ab-cdef",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void constructor_shouldInitializeValueCorrectly() {
            // Test case 1: Positive value
            int positiveValue = 12345;
            NdrLong ndrLongPositive = new NdrLong(positiveValue);
            assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value.");
    
            // Test case 2: Negative value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

            assertArrayEquals(expected, actualWritten, "wire format should match expectation");
        }
    
        static Stream<Arguments> validParams() {
            // fid 0x1234, lastWriteTime 0 -> UTime all 0xFF
            return Stream.of(Arguments.of(0x1234, 0L, new byte[] { 0x34, 0x12, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),
                    // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top