Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for setLink (0.75 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                // Test with mock
                doNothing().when(mockReferralData).setLink(link);
                mockReferralData.setLink(link);
                verify(mockReferralData, times(1)).setLink(link);
    
                // Test with concrete implementation
                concreteImplementation.setLink(link);
                assertEquals(link, concreteImplementation.getLink());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            }
    
            @Test
            @DisplayName("Should get and set link")
            void testLink() {
                assertNull(referralData.getLink());
                referralData.setLink("\\\\server\\share\\link");
                assertEquals("\\\\server\\share\\link", referralData.getLink());
            }
    
            @Test
            @DisplayName("Should get and set key")
            void testKey() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

        @Override
        DfsReferralDataInternal next();
    
        /**
         * Set the UNC path link for this referral
         *
         * @param link the UNC path link to set
         */
        void setLink(String link);
    
        /**
         * Get the cache key for this referral
         *
         * @return cache key
         */
        String getKey();
    
        /**
         * Set the cache key for this referral
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

         */
        public void setDomain(final String domain) {
            this.domain = domain;
        }
    
        @Override
        public String getLink() {
            return this.link;
        }
    
        @Override
        public void setLink(final String link) {
            this.link = link;
        }
    
        /**
         * @return the key
         */
        @Override
        public String getKey() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DfsImpl.java

                        }
    
                        link = path != null && dr.getPathConsumed() > 0 ? path.substring(0, dr.getPathConsumed()) : "\\";
                        dr.setLink(link);
                        if (log.isTraceEnabled()) {
                            log.trace("Have referral " + dr);
                        }
                        links.map.put(link, dr);
                    } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  6. schema/field.go

    			case uint32:
    				field.ReflectValueOf(ctx, value).SetUint(uint64(data))
    			case int64:
    				field.ReflectValueOf(ctx, value).SetUint(uint64(data))
    			case int:
    				field.ReflectValueOf(ctx, value).SetUint(uint64(data))
    			case int8:
    				field.ReflectValueOf(ctx, value).SetUint(uint64(data))
    			case int16:
    				field.ReflectValueOf(ctx, value).SetUint(uint64(data))
    			case int32:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                // We need to override the parent ServerMessageBlock2's encode
                // to properly simulate setting the length field
                int start = dstIndex;
                dstIndex += writeHeaderWireFormat(dst, dstIndex);
                dstIndex += writeBytesWireFormat(dst, dstIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            // Test setting new value
            emptyGenerator.setDirectoryNameLength(10);
            assertEquals(10, emptyGenerator.directoryNameLength);
    
            // Test setting zero value
            emptyGenerator.setDirectoryNameLength(0);
            assertEquals(0, emptyGenerator.directoryNameLength);
    
            // Test setting negative value
            emptyGenerator.setDirectoryNameLength(-1);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. docs/config/README.md

    the scanner will sleep *10x* the time each operation takes.
    
    In most setups this will keep the scanner slow enough to not impact overall system performance. Setting the `delay` key to a *lower* value will make the scanner faster and setting it to 0 will make the scanner run at full speed (not recommended in production). Setting it to a higher value will make the scanner slower, consuming less resources with the trade off of not collecting metrics for operations like healing and disk usage...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.1K bytes
    - Viewed (1)
  10. src/test/java/jcifs/DfsReferralDataTest.java

        void testGetLink() {
            // Given
            String link = "/test/link";
            when(mockReferralData.getLink()).thenReturn(link);
    
            // When
            String result = mockReferralData.getLink();
    
            // Then
            assertEquals(link, result);
            verify(mockReferralData).getLink();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top