Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for SCOPE (0.41 sec)

  1. src/test/java/jcifs/netbios/NameTest.java

            byte[] dst = new byte[100];
    
            int length = name.writeWireFormat(dst, 0);
    
            // Scope should start at position 33 with a length byte (not '.')
            // The first byte after encoding would be the length of "scope"
            assertEquals(5, dst[33]); // Length of "scope"
    
            // Verify total length includes scope
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/NameServiceClientTest.java

            String scope = "testScope";
            when(nameServiceClient.getNbtByName(host, type, scope)).thenThrow(new UnknownHostException("Host not found"));
    
            // Act & Assert
            assertThrows(UnknownHostException.class, () -> nameServiceClient.getNbtByName(host, type, scope));
            verify(nameServiceClient, times(1)).getNbtByName(host, type, scope);
        }
    
        @Test
        void testGetNbtByName_String() throws UnknownHostException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

        /**
         * Gets the cache scope (ALL or IMMEDIATE_CHILDREN)
         * @return the cache scope
         */
        public DirectoryCacheScope getScope() {
            return scope;
        }
    
        /**
         * Sets the cache scope for this directory cache
         * @param scope the cache scope to set
         */
        public void setScope(DirectoryCacheScope scope) {
            this.scope = scope;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. pom.xml

    			<version>2.2</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.mockito</groupId>
    			<artifactId>mockito-core</artifactId>
    			<version>5.11.0</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.testcontainers</groupId>
    			<artifactId>testcontainers</artifactId>
    			<version>1.21.3</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. fess-crawler/pom.xml

    			<version>1.6.0</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.testcontainers</groupId>
    			<artifactId>testcontainers</artifactId>
    			<version>2.0.2</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.mockito</groupId>
    			<artifactId>mockito-core</artifactId>
    			<version>5.7.0</version>
    			<scope>test</scope>
    		</dependency>
    	</dependencies>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Dec 20 06:34:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         * a fairly complete list of NetBIOS hex codes. Scope is not used but is
         * still functional in other NetBIOS products and so for completeness it has been
         * implemented. A <code>scope</code> of <code>null</code> or <code>""</code>
         * signifies no scope.
         *
         * @param host the name to resolve
         * @param type the hex code of the name
         * @param scope the scope of the name
         * @return the resolved NetBIOS address
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        }
    
        @Override
        public NbtAddress getNbtByName(final String host, final int type, final String scope) throws UnknownHostException {
            return getNbtByName(host, type, scope, null);
        }
    
        @Override
        public NbtAddress getNbtByName(final String host, final int type, final String scope, final InetAddress svr)
                throws UnknownHostException {
    
            if (host == null || host.length() == 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  8. docs/smb3-features/04-directory-leasing-design.md

        private volatile boolean hasChanges;  // True if changes detected
        private DirectoryCacheScope scope;
        private long maxAge;
        
        public DirectoryCacheEntry(String path, Smb2LeaseKey key, DirectoryCacheScope scope) {
            this.directoryPath = path;
            this.leaseKey = key;
            this.scope = scope;
            this.createTime = System.currentTimeMillis();
            this.lastUpdateTime = createTime;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            private final String scope;
    
            TestNetbiosName(String name, int type, String scope) {
                // Ensure names are uppercase and limited to 15 characters
                this.name = name != null && name.length() > 15 ? name.substring(0, 15).toUpperCase() : (name != null ? name.toUpperCase() : "");
                this.type = type;
                this.scope = scope;
            }
    
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            int leaseState = DirectoryLeaseState.DIRECTORY_READ_HANDLE;
            DirectoryCacheScope scope = DirectoryCacheScope.IMMEDIATE_CHILDREN;
    
            DirectoryLeaseContext context = new DirectoryLeaseContext(key, leaseState, scope);
    
            assertEquals(key, context.getLeaseKey());
            assertEquals(leaseState, context.getLeaseState());
            assertEquals(scope, context.getCacheScope());
            assertEquals(30000L, context.getMaxCacheAge());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top