Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1641 - 1650 of 2,488 for toType (0.04 sec)

  1. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

        }
    
        public void test_getOverrideConfPath() {
            // Test when app type is not docker
            OptionalEntity<String> confPath = ResourceUtil.getOverrideConfPath();
            assertNotNull(confPath);
            // Should be empty when not docker app type
            if (!"docker".equalsIgnoreCase(ResourceUtil.getAppType())) {
                assertFalse(confPath.isPresent());
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SecurityBlobTest.java

        @Test
        @DisplayName("equals: null or different type -> false")
        void equals_nullAndDifferentType_false() {
            // Arrange
            SecurityBlob a = new SecurityBlob(new byte[] { 1 });
    
            // Act & Assert
            assertFalse(a.equals(null), "equals(null) should be false");
            assertFalse(a.equals("not a blob"), "equals(other type) should be false");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. cmd/api-errors_test.go

    	{err: errObjectTampered, errCode: ErrObjectTampered},
    
    	{err: nil, errCode: ErrNone},
    	{err: errors.New("Custom error"), errCode: ErrInternalError}, // Case where err type is unknown.
    }
    
    func TestAPIErrCode(t *testing.T) {
    	ctx := t.Context()
    	for i, testCase := range toAPIErrorTests {
    		errCode := toAPIErrorCode(ctx, testCase.err)
    		if errCode != testCase.errCode {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       *
       * (PatternFilenameFilter is of course one of those classes that shouldn't be a publicly visible
       * class to begin with but rather something returned from a static factory method whose declared
       * return type is plain FilenameFilter. If we made such a change, then the annotation we choose
       * here would have no significance to end users, who would be forced to conform to the signature
       * used in FilenameFilter.)
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.7K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/collect/ImmutableMap.java

         * So it makes sense for the parameter (and thus the return type) to be @Nullable.
         *
         * Two other points:
         *
         * 1. We'll want to use something like @PolyNull once we can make that work for the various
         * platforms we target.
         *
         * 2. Kotlin's Map type has a getOrDefault method that accepts and returns a "plain V," in
         * contrast to the "V?" type that we're using. As a result, Kotlin sees a conflict between the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    }
    
    // SealMD5CurrFn seals md5sum with object encryption key and returns sealed
    // md5sum
    type SealMD5CurrFn func([]byte) []byte
    
    // PutObjReader is a type that wraps sio.EncryptReader and
    // underlying hash.Reader in a struct
    type PutObjReader struct {
    	*hash.Reader              // actual data stream
    	rawReader    *hash.Reader // original data stream
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/Subscribe.java

    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Marks a method as an event subscriber.
     *
     * <p>The type of event will be indicated by the method's first (and only) parameter, which cannot
     * be primitive. If this annotation is applied to methods with zero parameters, or more than one
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 15:46:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/CredentialsTest.java

                mockCredentials.getUserDomain();
                mockCredentials.isAnonymous();
                mockCredentials.isGuest();
            });
        }
    
        @Test
        @DisplayName("Should unwrap to correct type")
        void testUnwrap() {
            // Given
            when(mockCredentials.unwrap(Credentials.class)).thenReturn(mockCredentials);
    
            // When
            Credentials unwrapped = mockCredentials.unwrap(Credentials.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. api/maven-api-di/src/main/java/org/apache/maven/api/di/Qualifier.java

    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Meta-annotation that marks other annotations as qualifier annotations.
     * <p>
     * Qualifiers are used to distinguish between multiple beans of the same type,
     * allowing for more precise control over which implementation should be injected.
     * Custom qualifier annotations should be annotated with {@code @Qualifier}.
     * <p>
     * Example of creating a custom qualifier:
     * <pre>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. cmd/iam.go

    	"github.com/minio/pkg/v3/ldap"
    	"github.com/minio/pkg/v3/policy"
    	etcd "go.etcd.io/etcd/client/v3"
    	"golang.org/x/sync/singleflight"
    )
    
    // UsersSysType - defines the type of users and groups system that is
    // active on the server.
    type UsersSysType string
    
    // Types of users configured in the server.
    const (
    	// This mode uses the internal users system in MinIO.
    	MinIOUsersSysType UsersSysType = "MinIOUsersSys"
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
Back to top