Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 817 for Given (0.02 sec)

  1. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

        /**
         * Test case for the encode method when it throws an NdrException.
         * Verifies that the exception is correctly propagated.
         */
        @Test
        void testEncodeThrowsNdrException() {
            // Given
            ndrObject.setThrowOnEncode(true);
    
            // When & Then
            assertThrows(NdrException.class, () -> {
                ndrObject.encode(mockBuffer);
            });
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. cmd/bucket-versioning.go

    	vc, err := sys.Get(bucket)
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	return vc.Enabled()
    }
    
    // PrefixEnabled returns true is versioning is enabled at bucket level and if
    // the given prefix doesn't match any excluded prefixes pattern. This is
    // part of a MinIO versioning configuration extension.
    func (sys *BucketVersioningSys) PrefixEnabled(bucket, prefix string) bool {
    	vc, err := sys.Get(bucket)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * returns a {@link SortedSet}, instead of the {@link Collection} specified in the {@link
       * Multimap} interface.
       */
      @Override
      public SortedSet<V> get(@ParametricNullness K key) {
        return (SortedSet<V>) super.get(key);
      }
    
      /**
       * Removes all values associated with a given key. The returned collection is immutable.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 13:05:10 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DosFileFilterTest.java

                "1, 0, false", // No file attributes
                "0, 0, false" // No attributes on either
        })
        void testAccept(int filterAttributes, int fileAttributes, boolean expectedResult) throws SmbException {
            // Given a DosFileFilter with specific attributes
            dosFileFilter = new DosFileFilter("*.*", filterAttributes);
    
            // and a mock SmbFile with specific attributes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. cmd/bitrot.go

    		logger.CriticalIf(GlobalContext, errors.New("Unsupported bitrot algorithm"))
    		return nil
    	}
    }
    
    // Available reports whether the given algorithm is available.
    func (a BitrotAlgorithm) Available() bool {
    	_, ok := bitrotAlgorithms[a]
    	return ok
    }
    
    // String returns the string identifier for a given bitrot algorithm.
    // If the algorithm is not supported String panics.
    func (a BitrotAlgorithm) String() string {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 19:26:13 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        return new ImmutableLongArray(new long[] {e0});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableLongArray of(long e0, long e1) {
        return new ImmutableLongArray(new long[] {e0, e1});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableLongArray of(long e0, long e1, long e2) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/ImmutableIntArray.java

        return new ImmutableIntArray(new int[] {e0});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableIntArray of(int e0, int e1) {
        return new ImmutableIntArray(new int[] {e0, e1});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableIntArray of(int e0, int e1, int e2) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

        /**
         * Test the constructor of MsrpcDfsRootEnum.
         * Verifies that the object is initialized with the correct default values.
         */
        @Test
        void testConstructor() {
            // Given
            String serverName = "test-server";
    
            // When
            MsrpcDfsRootEnum dfsRootEnum = new MsrpcDfsRootEnum(serverName);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/SmbNegotiationResponse.java

         * @return whether the server supports DFS
         */
        boolean isDFSSupported();
    
        /**
         * Sets up the given request with negotiated parameters.
         *
         * @param request the request to configure
         */
        void setupRequest(CommonServerMessageBlock request);
    
        /**
         * Sets up the given response with negotiated parameters.
         *
         * @param resp the response to configure
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. cmd/dummy-data-generator_test.go

    // bytes from the infinite stream consisting of repeated
    // concatenations of `alphabets`.
    //
    // The skipOffset (generally = 0) can be used to skip a given number
    // of bytes from the beginning of the infinite stream. This is useful
    // to compare such streams of bytes that may be split up, because:
    //
    // Given the function:
    //
    //	f := func(r io.Reader) string {
    //	          b, _ := io.ReadAll(r)
    //	          return string(b)
    //	}
    //
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top