Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for isAllow (0.03 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/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)
  4. 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)
  5. cmd/bucket-object-lock.go

    				return mode, retainDate, legalHold, ErrObjectLocked
    			}
    			mode = r.Mode
    			retainDate = r.RetainUntilDate
    			legalHold = objectlock.GetObjectLegalHoldMeta(objInfo.UserDefined)
    			// Disallow overwriting an object on legal hold
    			if legalHold.Status == objectlock.LegalHoldOn {
    				return mode, retainDate, legalHold, ErrObjectLocked
    			}
    		}
    	}
    
    	if legalHoldRequested {
    		var lerr error
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InternetDomainName.java

        /*
         * Note that we allow (in contravention of a strict interpretation of the relevant RFCs) domain
         * parts other than the last may begin with a digit (for example, "3com.com"). It's important to
         * disallow an initial digit in the last part; it's the only thing that stops an IPv4 numeric
         * address like 127.0.0.1 from looking like a valid domain name.
         */
    
        if (isFinalPart && DIGIT_MATCHER.matches(part.charAt(0))) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  7. cmd/common-main.go

    		dir = getDefaultDir()
    	}
    
    	if dir == "" {
    		if !dirSet {
    			return nil, fmt.Errorf("missing option must be provided")
    		}
    		return nil, fmt.Errorf("provided option cannot be empty")
    	}
    
    	// Disallow relative paths, figure out absolute paths.
    	dirAbs, err := filepath.Abs(dir)
    	if err != nil {
    		return nil, err
    	}
    	err = mkdirAllIgnorePerm(dirAbs)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. cmd/erasure-sets.go

    			return srcSet.CopyObject(ctx, srcBucket, srcObject, dstBucket, dstObject, srcInfo, srcOpts, dstOpts)
    		}
    		// CopyObject optimization where we don't create an entire copy
    		// of the content, instead we add a reference, we disallow legacy
    		// objects to be self referenced in this manner so make sure
    		// that we actually create a new dataDir for legacy objects.
    		if dstOpts.Versioned && srcOpts.VersionID != dstOpts.VersionID && !srcInfo.Legacy {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  9. cmd/xl-storage-disk-id-check.go

    	// Verify if the disk is not stale
    	// - missing format.json (unformatted drive)
    	// - format.json is valid but invalid 'uuid'
    	if err = p.checkDiskStale(); err != nil {
    		return ctx, done, err
    	}
    
    	// Disallow recursive tracking to avoid deadlocks.
    	if ctx.Value(healthDiskCtxKey{}) != nil {
    		done = p.updateStorageMetrics(s, paths...)
    		return ctx, done, nil
    	}
    
    	if contextCanceled(ctx) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/InetAddresses.java

        // contain non-decimal characters.
        int length = end - start;
        if (length <= 0 || length > 3) {
          throw new NumberFormatException();
        }
        // Disallow leading zeroes, because no clear standard exists on
        // whether these should be interpreted as decimal or octal.
        if (length > 1 && ipString.charAt(start) == '0') {
          throw new NumberFormatException();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top