Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 477 for Share1 (0.04 seconds)

  1. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

        class HappyPath {
            @Test
            void acceptWithMockedFile() throws Exception {
                SmbFile mockFile = mock(SmbFile.class);
                when(mockFile.getPath()).thenReturn("/share/file.txt");
                assertTrue(ALWAYSACTIVE.accept(mockFile));
            }
        }
    
        @Nested
        @DisplayName("Invalid input – null file handling")
        class InvalidPath {
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            when(mockDir.getPath()).thenReturn("/share/folder/");
    
            // Implementation uses dir.getPath() to check if file should be in that path
            SmbFilenameFilter filter = (dir, name) -> {
                if (dir == null)
                    return false;
                String path = dir.getPath();
                // Accept files in /share/folder/ that are text files
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

        public String getNetName() {
            return netName;
        }
    
        /**
         * Sets the share name to monitor.
         *
         * @param shareName the share name
         */
        public void setShareName(String shareName) {
            this.shareName = shareName;
        }
    
        /**
         * Gets the share name.
         *
         * @return the share name
         */
        public String getShareName() {
            return shareName;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  4. apache-maven/src/assembly/src.xml

            <exclude>**/.idea/**</exclude>
            <exclude>**/.DS_Store</exclude>
            <exclude>**/build/**</exclude>
          </excludes>
        </fileSet>
        <fileSet>
          <directory>${project.build.directory}/maven-shared-archive-resources/META-INF</directory>
          <outputDirectory>/</outputDirectory>
          <includes>
            <include>DEPENDENCIES</include>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Apr 27 13:14:24 GMT 2022
    - 2.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/SmbConstants.java

         * this file is open. This constant may be logically OR'd with other share
         * access flags.
         */
        int FILE_SHARE_READ = 0x01;
        /**
         * When specified as the <code>shareAccess</code> constructor parameter,
         * other SMB clients will be permitted to write to the target file while
         * this file is open. This constant may be logically OR'd with other share
         * access flags.
         */
        int FILE_SHARE_WRITE = 0x02;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

        void testToString() {
            // Given
            exception = new SmbOperationException(SmbOperationException.ErrorCode.ACCESS_DENIED, "Cannot access share");
            exception.withContext("share", "\\\\server\\share");
            exception.withContext("user", "john");
    
            // When
            String str = exception.toString();
    
            // Then
            assertNotNull(str);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            lenient().when(parent.getLocator()).thenReturn(locator);
            lenient().when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir\\"); // ends with \\
    
            // Create URL with registered handler
            URL smbUrl = new URL("smb://server/share/dir/");
            lenient().when(locator.getURL()).thenReturn(smbUrl);
        }
    
        // Helper: reflectively set private/protected field on an object
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/DfsReferralData.java

        /**
         * Get the domain this referral is for
         *
         * @return the domain this referral is for
         */
        String getDomain();
    
        /**
         * Get the share this referral points to
         *
         * @return the share this referral points to
         */
        String getShare();
    
        /**
         * Get the number of characters from the UNC path that were consumed by this referral
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. generics_withresult_test.go

    	"gorm.io/driver/sqlite"
    	"gorm.io/gorm"
    )
    
    type withResultUser struct {
    	ID   uint
    	Name string
    }
    
    func TestWithResultIncludesError(t *testing.T) {
    	db, err := gorm.Open(sqlite.Open("file::memory:?cache=shared"), &gorm.Config{})
    	if err != nil {
    		t.Fatalf("open db failed: %v", err)
    	}
    	if err := db.AutoMigrate(&withResultUser{}); err != nil {
    		t.Fatalf("migrate failed: %v", err)
    	}
    
    	ctx := context.Background()
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:34:24 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/annotations/GwtIncompatible.java

     * the <a href="http://www.gwtproject.org/">Google Web Toolkit</a> (GWT).
     *
     * <p>This annotation behaves identically to <a href=
     * "http://www.gwtproject.org/javadoc/latest/com/google/gwt/core/shared/GwtIncompatible.html">the
     * {@code @GwtIncompatible} annotation in GWT itself</a>.
     *
     * @author Charles Fry
     */
    @Retention(RetentionPolicy.CLASS)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 1.9K bytes
    - Click Count (0)
Back to Top