Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 43 for testshare (0.06 seconds)

  1. src/main/java/jcifs/smb/SmbFile.java

         * <code>null</code> will be returned.
         *
         * @return The share component or <code>null</code> if there is no share
         */
        public String getShare() {
            return this.fileLocator.getShare();
        }
    
        /**
         * Retrieve the hostname of the server for this SMB resource. If the resources has been resolved by DFS this will
         * return the target name.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/DfsImpl.java

                    log.debug(String.format("Intermediate referral, server %s share %s refPath %s origPath %s nextPath %s", r.getServer(),
                            r.getShare(), r.getPath(), path, nextPath));
                }
                final DfsReferralData nextstart = resolve(tf, r.getServer(), r.getShare(), nextPath, depthLimit - 1);
                final DfsReferralData next = nextstart;
    
                if (next != null) {
                    do {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 29.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/SmbResourceLocatorTest.java

                return null;
            }
    
            @Override
            public String getURLPath() {
                return null;
            }
    
            @Override
            public String getShare() {
                return null;
            }
    
            @Override
            public String getServerWithDfs() {
                return null;
            }
    
            @Override
            public String getServer() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/SmbResourceLocator.java

         * and <code>smb://server/</code> URLs which do not specify a share,
         * <code>null</code> will be returned.
         *
         * @return The share component or <code>null</code> if there is no share
         */
        String getShare();
    
        /**
         * Retrieve the hostname of the server for this SMB resource. If the resources has been resolved by DFS this will
         * return the target name.
         *
         * @return The server name
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. src/bufio/scan_test.go

    	"io"
    	"strings"
    	"testing"
    	"unicode"
    	"unicode/utf8"
    )
    
    const smallMaxTokenSize = 256 // Much smaller for more efficient testing.
    
    // Test white space table matches the Unicode definition.
    func TestSpace(t *testing.T) {
    	for r := rune(0); r <= utf8.MaxRune; r++ {
    		if IsSpace(r) != unicode.IsSpace(r) {
    			t.Fatalf("white space property disagrees: %#U should be %t", r, unicode.IsSpace(r))
    		}
    	}
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/hash/HashingTest.java

        HashTestUtils.checkNoFunnels(Hashing.md5());
        HashTestUtils.assertInvariants(Hashing.md5());
        assertThat(Hashing.md5().toString()).isEqualTo("Hashing.md5()");
      }
    
      public void testSha1() {
        HashTestUtils.checkAvalanche(Hashing.sha1(), 100, 0.4);
        HashTestUtils.checkNo2BitCharacteristics(Hashing.sha1());
        HashTestUtils.checkNoFunnels(Hashing.sha1());
        HashTestUtils.assertInvariants(Hashing.sha1());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.7K bytes
    - Click Count (2)
  7. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            SmbTreeConnection c = newConn();
            SmbTreeImpl tree = mock(SmbTreeImpl.class);
            when(tree.acquire(false)).thenReturn(tree);
            when(tree.getTreeType()).thenReturn(7);
            when(tree.getShare()).thenReturn("SHARE");
            setTree(c, tree);
    
            assertEquals(7, c.getTreeType());
            assertEquals("SHARE", c.getConnectedShare());
            // try-with-resources closes the acquired tree
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  8. src/main/java/jcifs/http/NetworkExplorer.java

                redir.append('/');
                redir.append(refdata.getServer());
                redir.append('/');
                redir.append(refdata.getShare());
                redir.append('/');
                if (qs != null) {
                    redir.append(req.getQueryString());
                }
                resp.sendRedirect(redir.toString());
                resp.flushBuffer();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  9. tests/update_test.go

    		t.Errorf("failed to save company, got err: %v", err)
    	}
    	if err := DB.Save(&company).Error; err != nil || company.ID != create.ID {
    		t.Errorf("failed to save company, got err: %v", err)
    	}
    }
    
    func TestSave(t *testing.T) {
    	user := *GetUser("save", Config{})
    	DB.Create(&user)
    
    	if err := DB.First(&User{}, "name = ?", "save").Error; err != nil {
    		t.Fatalf("failed to find created user")
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertEquals("file.txt", file.getName(), "Name should be extracted correctly");
            assertTrue(file.getPath().endsWith("/shared/path/file.txt"), "Path should end correctly");
            assertEquals("shared", file.getShare(), "Share should be extracted correctly");
            assertNotNull(file.getParent(), "Parent should not be null");
            assertTrue(file.getParent().endsWith("/shared/path/"), "Parent path should be correct");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
Back to Top