Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,494 for case1 (0.05 sec)

  1. cmd/endpoint_test.go

    	}
    
    	for i, test := range testCases {
    		t.Run(fmt.Sprint("case-", i), func(t *testing.T) {
    			endpoint, err := NewEndpoint(test.arg)
    			if err == nil {
    				err = endpoint.UpdateIsLocal()
    			}
    
    			switch {
    			case test.expectedErr == nil:
    				if err != nil {
    					t.Errorf("error: expected = <nil>, got = %v", err)
    				}
    			case err == nil:
    				t.Errorf("error: expected = %v, got = <nil>", test.expectedErr)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

        }
    
        public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
                Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws ArtifactMetadataRetrievalException {
            throw new UnsupportedOperationException("Cannot get available versions in this test case");
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/BaseEncoding.java

     * <td>Traditional hexadecimal. Defaults to upper case.
     * <tr>
     * <td>{@link #base32()}
     * <td>A-Z 2-7
     * <td>1.60
     * <td>=
     * <td>Human-readable; no possibility of mixing up 0/O or 1/I. Defaults to upper case.
     * <tr>
     * <td>{@link #base32Hex()}
     * <td>0-9 A-V
     * <td>1.60
     * <td>=
     * <td>"Numerical" base 32; extended from the traditional hex alphabet. Defaults to upper case.
     * <tr>
     * <td>{@link #base64()}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  4. cmd/batch-replicate.go

    type BatchJobReplicateResourceType string
    
    // Validate validates if the replicate resource type is recognized and supported
    func (t BatchJobReplicateResourceType) Validate() error {
    	switch t {
    	case BatchJobReplicateResourceMinIO:
    	case BatchJobReplicateResourceS3:
    	default:
    		return errInvalidArgument
    	}
    	return nil
    }
    
    func (t BatchJobReplicateResourceType) isMinio() bool {
    	return t == BatchJobReplicateResourceMinIO
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-utils.go

    		if err := xlMeta.LoadOrConvert(xlMetaBuf); err != nil {
    			return FileInfoVersions{}, err
    		}
    		versions, err = xlMeta.ListVersions(volume, path, allParts)
    	}
    	if err == nil && len(versions) == 0 {
    		// This special case is needed to handle len(xlMeta.versions) == 0
    		versions = []FileInfo{
    			{
    				Volume:   volume,
    				Name:     path,
    				Deleted:  true,
    				IsLatest: true,
    				ModTime:  timeSentinel1970,
    			},
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/simple-oauth2.md

    Any HTTP (error) status code 401 "UNAUTHORIZED" is supposed to also return a `WWW-Authenticate` header.
    
    In the case of bearer tokens (our case), the value of that header should be `Bearer`.
    
    You can actually skip that extra header and it would still work.
    
    But it's provided here to be compliant with the specifications.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. internal/logger/config.go

    func LookupConfigForSubSys(ctx context.Context, scfg config.Config, subSys string) (cfg Config, err error) {
    	switch subSys {
    	case config.LoggerWebhookSubSys:
    		cfg = lookupLegacyConfigForSubSys(ctx, config.LoggerWebhookSubSys)
    		if cfg, err = lookupLoggerWebhookConfig(scfg, cfg); err != nil {
    			return cfg, err
    		}
    	case config.AuditWebhookSubSys:
    		cfg = lookupLegacyConfigForSubSys(ctx, config.AuditWebhookSubSys)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. cmd/erasure-object_test.go

    		}
    	}
    
    	for i, test := range testCases {
    		_, statErr := obj.GetObjectInfo(ctx, test.bucket, test.object, ObjectOptions{
    			VersionID: names[i].ObjectV.VersionID,
    		})
    		switch statErr.(type) {
    		case VersionNotFound:
    		default:
    			t.Fatalf("Object %s is not removed", test.bucket+SlashSeparator+test.object)
    		}
    	}
    
    	if _, err = os.ReadFile(pathJoin(fsDirs[0], bucketName, "dir/obj1", "xl.meta")); err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

           *   called only once, just as it has its Executor.execute override called only once.)
           *
           * - if we return immediately from `execute` (in which case we never get here)
           *
           * - in the "reentrant submit" case of `execute` (in which case we must have started running a
           *   user task -- which means that we already got past this code (or else we exited early
           *   above))
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

        private String[] protocols;
    
        @Override
        public void initialize(final UriType uriType) {
            protocols = switch (uriType.protocolType()) {
            case WEB -> ComponentUtil.getProtocolHelper().getWebProtocols();
            case FILE -> ComponentUtil.getProtocolHelper().getFileProtocols();
            default -> throw new ConstraintDefinitionException("protocolType is emtpy.");
            };
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:37:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top