Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for isAllow (0.04 sec)

  1. src/test/java/jcifs/ACETest.java

            @DisplayName("Should define isAllow method returning boolean")
            void shouldDefineIsAllow() {
                ACE allowAce = mock(ACE.class);
                ACE denyAce = mock(ACE.class);
                when(allowAce.isAllow()).thenReturn(true);
                when(denyAce.isAllow()).thenReturn(false);
    
                assertTrue(allowAce.isAllow());
                assertFalse(denyAce.isAllow());
                verify(allowAce).isAllow();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer[19] = 0x00;
    
            // Test decode
            int size = ace.decode(testBuffer, 0, testBuffer.length);
    
            // Verify results
            assertEquals(32, size);
            assertTrue(ace.isAllow());
            assertEquals(0x03, ace.getFlags());
            assertEquals(0x001200A9, ace.getAccessMask());
            assertNotNull(ace.getSID());
        }
    
        @Test
        @DisplayName("Test decode with deny ACE")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dtyp/ACE.java

         * Default constructor for ACE
         */
        public ACE() {
            // Default constructor
        }
    
        boolean allow;
        int flags;
        int access;
        SID sid;
    
        @Override
        public boolean isAllow() {
            return this.allow;
        }
    
        @Override
        public boolean isInherited() {
            return (this.flags & FLAGS_INHERITED) != 0;
        }
    
        @Override
        public int getFlags() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/ACE.java

        SID sid;
    
        /**
         * Returns true if this ACE is an allow ACE and false if it is a deny ACE.
         * @return true if this is an allow ACE, false if it is a deny ACE
         */
        public boolean isAllow() {
            return allow;
        }
    
        /**
         * Returns true if this ACE is an inherited ACE and false if it is a direct ACE.
         * <p>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ACE.java

         */
        boolean isInherited();
    
        /**
         * Returns true if this ACE is an allow ACE and false if it is a deny ACE.
         *
         * @return whether this in an allow ACE
         */
        boolean isAllow();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

        try {
          val response = completableFuture.get(10, TimeUnit.SECONDS)
    
          assertEquals(200, response.code)
          assertEquals("h3", response.negotiatedProtocol)
          assertTrue(response.content.contains("Disallow"))
        } catch (ee: ExecutionException) {
          throw ee.cause?.cause ?: ee.cause!!
        }
      }
    
      data class Response(
        val code: Int,
        val negotiatedProtocol: String,
        val content: String,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/header-param-models.md

    {* ../../docs_src/header_param_models/tutorial003_an_py310.py hl[19] *}
    
    /// warning
    
    Before setting `convert_underscores` to `False`, bear in mind that some HTTP proxies and servers disallow the usage of headers with underscores.
    
    ///
    
    ## Summary { #summary }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/header-params.md

    {* ../../docs_src/header_params/tutorial002_an_py310.py hl[10] *}
    
    /// warning
    
    Before setting `convert_underscores` to `False`, bear in mind that some HTTP proxies and servers disallow the usage of headers with underscores.
    
    ///
    
    ## Duplicate headers { #duplicate-headers }
    
    It is possible to receive duplicate headers. That means, the same header with multiple values.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

         */
        protected void initDisallowCompound(final String prop) {
            if (prop == null) {
                return;
            }
            final Set<String> disallow = new HashSet<>();
            final StringTokenizer st = new StringTokenizer(prop, ",");
            while (st.hasMoreTokens()) {
                disallow.add(st.nextToken().trim());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/BaseConfigurationTest.java

            // Check protocol versions
            assertNotNull(testConfig.getMinimumVersion());
            assertNotNull(testConfig.getMaximumVersion());
    
            // Check disallow compound
            assertNotNull(testConfig.disallowCompound);
            assertTrue(testConfig.disallowCompound.contains("Smb2SessionSetupRequest"));
            assertTrue(testConfig.disallowCompound.contains("Smb2TreeConnectRequest"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top