Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 112 for a1234 (0.02 sec)

  1. src/bytes/bytes_test.go

    	{abcd, "", 2, []string{"a", "bcd"}},
    	{abcd, "a", -1, []string{"", "bcd"}},
    	{abcd, "z", -1, []string{"abcd"}},
    	{abcd, "", -1, []string{"a", "b", "c", "d"}},
    	{commas, ",", -1, []string{"1", "2", "3", "4"}},
    	{dots, "...", -1, []string{"1", ".2", ".3", ".4"}},
    	{faces, "☹", -1, []string{"☺☻", ""}},
    	{faces, "~", -1, []string{faces}},
    	{faces, "", -1, []string{"☺", "☻", "☹"}},
    	{"1 2 3 4", " ", 3, []string{"1", "2", "3 4"}},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            sitePath = "c:/home/user/";
            docMap.put(fieldName, urlLink);
            assertEquals(sitePath, viewHelper.getSitePath(docMap));
    
            urlLink = "file://1.2.3.4/user/";
            sitePath = "1.2.3.4/user/";
            docMap.put(fieldName, urlLink);
            assertEquals(sitePath, viewHelper.getSitePath(docMap));
        }
    
        public void test_getContentTitle() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileTest.java

        private SmbFile smbFile;
    
        @BeforeEach
        public void setUp() throws MalformedURLException, CIFSException {
            // Mock configuration methods
            when(mockConfig.getPid()).thenReturn(1234);
            when(mockCifsContext.getConfig()).thenReturn(mockConfig);
    
            // Mock credentials to prevent NPE
            when(mockCredentials.getUserDomain()).thenReturn("DOMAIN");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SpnegoContextTest.java

            when(this.config.isEnforceSpnegoIntegrity()).thenReturn(false);
            when(this.config.isDisableSpnegoIntegrity()).thenReturn(false);
            this.mechs = new ASN1ObjectIdentifier[] { new ASN1ObjectIdentifier("1.2.3.4") };
        }
    
        private SpnegoContext newContext() {
            return new SpnegoContext(this.config, this.mechContext, this.mechs);
        }
    
        @Test
        @DisplayName("getSupportedMechs returns SPNEGO OID")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

        }
    
        @Test
        @DisplayName("Should get challenge from server")
        void testGetChallenge() throws Exception {
            // Given: Mock transport with server key
            byte[] expectedKey = { 1, 2, 3, 4 };
    
            SmbTransportPoolImpl poolSpy = spy(pool);
            when(ctx.getTransportPool()).thenReturn(poolSpy);
    
            SmbTransportImpl mockTransport = mock(SmbTransportImpl.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  6. src/archive/zip/writer_test.go

    func TestWriterDirAttributes(t *testing.T) {
    	var buf bytes.Buffer
    	w := NewWriter(&buf)
    	if _, err := w.CreateHeader(&FileHeader{
    		Name:               "dir/",
    		Method:             Deflate,
    		CompressedSize64:   1234,
    		UncompressedSize64: 5678,
    	}); err != nil {
    		t.Fatal(err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    	b := buf.Bytes()
    
    	var sig [4]byte
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            assertTrue(s1.contains("//u/one"));
            assertTrue(s1.contains("0102"), "Expected hex fileId in string");
    
            SmbFileHandleImpl h2 = new SmbFileHandleImpl(cfg, 77, tree, "//u/two", -1, -2, -3, -4, 0L);
            String s2 = h2.toString();
            assertTrue(s2.contains("//u/two"));
            assertTrue(s2.contains("77"), "Expected numeric fid in string");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

         */
        @Test
        @DisplayName("Test constructor with mock configuration")
        public void testConstructorWithMockConfig() {
            // Setup mock to return a valid PID
            when(mockConfig.getPid()).thenReturn(1234);
    
            // When
            smbComTreeDisconnect = new SmbComTreeDisconnect(mockConfig);
    
            // Then
            assertNotNull(smbComTreeDisconnect);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            // Test when sd_size doesn't match actual array size
            srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502();
            info502.security_descriptor = new byte[] { 1, 2, 3, 4 };
            info502.sd_size = 100; // Mismatched size - SecurityDescriptor will try to read beyond array bounds
    
            // Replace info field
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals("FF", Hexdump.toHexString(255, 2));
    
            // Test larger values
            assertEquals("00001234", Hexdump.toHexString(0x1234, 8));
            assertEquals("1234", Hexdump.toHexString(0x1234, 4));
            assertEquals("34", Hexdump.toHexString(0x1234, 2));
    
            // Test negative values (treated as unsigned)
            assertEquals("FFFFFFFF", Hexdump.toHexString(-1, 8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top