Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for caps (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // When
            request = new Smb2NegotiateRequest(mockConfig, 0);
    
            // Then
            int caps = request.getCapabilities();
            int capCount = 0;
            if ((caps & Smb2Constants.SMB2_GLOBAL_CAP_DFS) != 0)
                capCount++;
            if ((caps & Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION) != 0)
                capCount++;
    
            assertEquals(expectedCapabilityCount, capCount);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // When
            int caps = response.getCapabilities();
    
            // Then
            assertEquals(0x7F, caps);
        }
    
        @Test
        @DisplayName("Should return common capabilities")
        void testGetCommonCapabilities() throws Exception {
            // Given
            setPrivateField(response, "commonCapabilities", 0x3F);
    
            // When
            int caps = response.getCommonCapabilities();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        @ValueSource(ints = { -1, 0, 1, 1024 })
        void hasCapability_variousCaps(int cap) throws SmbException {
            when(transport.hasCapability(anyInt())).thenAnswer(inv -> ((int) inv.getArgument(0)) >= 0);
    
            boolean result = transport.hasCapability(cap);
    
            assertEquals(cap >= 0, result);
            verify(transport, times(1)).hasCapability(cap);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#haveCapabilitiy(int)
         */
        @Override
        public boolean haveCapabilitiy(final int cap) {
            return (this.commonCapabilities & cap) == cap;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#isDFSSupported()
         */
        @Override
        public boolean isDFSSupported() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. cmd/tier.go

    func (config *TierConfigMgr) Add(ctx context.Context, tier madmin.TierConfig, ignoreInUse bool) error {
    	config.Lock()
    	defer config.Unlock()
    
    	// check if tier name is in all caps
    	tierName := tier.Name
    	if tierName != strings.ToUpper(tierName) {
    		return errTierNameNotUppercase
    	}
    
    	// check if tier name already in use
    	if _, exists := config.isTierNameInUse(tierName); exists {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        void testHaveCapabilityMultipleFlags() {
            // Arrange
            int cap1 = 0x00000001;
            int cap2 = 0x00000002;
            int cap3 = 0x00000004;
            when(negotiationResponse.haveCapabilitiy(cap1)).thenReturn(true);
            when(negotiationResponse.haveCapabilitiy(cap2)).thenReturn(false);
            when(negotiationResponse.haveCapabilitiy(cap3)).thenReturn(true);
    
            // Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                // Verify the request offset equals the skip value (2)
                ArgumentCaptor<Smb2ReadRequest> cap = ArgumentCaptor.forClass(Smb2ReadRequest.class);
                verify(mockTree).send(cap.capture(), any(RequestParam.class));
                Smb2ReadRequest req = cap.getValue();
    
                // Reflectively inspect the private 'offset' field to assert it used the advanced fp
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        }
    
        @Override
        Set<K> createKeySet() {
          @WeakOuter
          final class KeySetImpl extends Maps.KeySet<K, Collection<V>> {
            KeySetImpl() {
              super(AsMap.this);
            }
    
            @Override
            public boolean removeAll(Collection<?> c) {
              return removeEntriesIf(Maps.<K>keyPredicateOnEntries(in(c)));
            }
    
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/FilteredEntryMultimap.java

        }
    
        @Override
        Set<K> createKeySet() {
          @WeakOuter
          final class KeySetImpl extends Maps.KeySet<K, Collection<V>> {
            KeySetImpl() {
              super(AsMap.this);
            }
    
            @Override
            public boolean removeAll(Collection<?> c) {
              return removeEntriesIf(Maps.<K>keyPredicateOnEntries(in(c)));
            }
    
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(ImmutableMap.class, ImmutableMap.of())
              .put(SortedMap.class, ImmutableSortedMap.of())
              .put(ImmutableSortedMap.class, ImmutableSortedMap.of())
              .put(NavigableMap.class, Maps.unmodifiableNavigableMap(Maps.newTreeMap()))
              .put(Multimap.class, ImmutableMultimap.of())
              .put(ImmutableMultimap.class, ImmutableMultimap.of())
              .put(ListMultimap.class, ImmutableListMultimap.of())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top