Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 2,121 for Case (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * <p>
         * If either or both arrays are {@literal null}, the other array is returned as is.
         * If either or both arrays have a length of {@literal 0}, the other array is returned as is.
         * In any case, the returned array is the same instance as the argument array and is not copied.
         * </p>
         *
         * @param <T>
         *            the type of the array elements
         * @param a
         *            first array
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 41.5K bytes
    - Click Count (0)
  2. 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)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

            Artifact s;
            String[] parts = coords.split(":");
            s = switch (parts.length) {
                case 3 -> new DefaultArtifact(parts[0], parts[1], "*", "*", parts[2]);
                case 4 -> new DefaultArtifact(parts[0], parts[1], "*", parts[2], parts[3]);
                case 5 -> new DefaultArtifact(parts[0], parts[1], parts[2], parts[3], parts[4]);
                default ->
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

        }
    
        /**
         * @param il
         * @return
         */
        private static int mapInformationLevel(final int il) {
            switch (il) {
            case FileSystemInformation.SMB_INFO_ALLOCATION:
                return 0x1;
            case FileSystemInformation.FS_SIZE_INFO:
                return 0x103;
            }
            throw new IllegalArgumentException("Unhandled information level");
        }
    
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. internal/cachevalue/cache_test.go

    package cachevalue
    
    import (
    	"context"
    	"errors"
    	"testing"
    	"time"
    )
    
    func slowCaller(ctx context.Context) error {
    	sl := time.NewTimer(time.Second)
    	defer sl.Stop()
    
    	select {
    	case <-sl.C:
    	case <-ctx.Done():
    		return ctx.Err()
    	}
    
    	return nil
    }
    
    func TestCacheCtx(t *testing.T) {
    	cache := New[time.Time]()
    	t.Parallel()
    	cache.InitOnce(2*time.Second, Opts{},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. cmd/bucket-targets.go

    	}
    	// validate if target credentials are ok
    	exists, err := clnt.BucketExists(ctx, tgt.TargetBucket)
    	if err != nil {
    		switch minio.ToErrorResponse(err).Code {
    		case "NoSuchBucket":
    			return BucketRemoteTargetNotFound{Bucket: tgt.TargetBucket, Err: err}
    		case "AccessDenied":
    			return RemoteTargetConnectionErr{Bucket: tgt.TargetBucket, AccessKey: tgt.Credentials.AccessKey, Err: err}
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

            do {
                final char ch = arr[si];
    
                switch (state) {
                case 0:
                    if (ch == ':') {
                        proto = str.substring(mark, si);
                        mark = si + 1;
                        state = 1;
                    }
                    break;
                case 1:
                    if (ch == '\\') {
                        mark = si + 1;
                        break;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadataManager.java

         * @param localRepository      the local repository to install to first
         * @param deploymentRepository the remote repository to deploy to
         * @throws RepositoryMetadataDeploymentException in case of metadata deployment issue
         */
        void deploy(ArtifactMetadata metadata, ArtifactRepository localRepository, ArtifactRepository deploymentRepository)
                throws RepositoryMetadataDeploymentException;
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  9. cmd/erasure-sets.go

    	defer timer.Stop()
    
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-timer.C:
    			var wg sync.WaitGroup
    			for _, set := range s.sets {
    				wg.Add(1)
    				go func(set *erasureObjects) {
    					defer wg.Done()
    					if set == nil {
    						return
    					}
    					set.cleanupStaleUploads(ctx)
    				}(set)
    			}
    			wg.Wait()
    		case <-staleUploadsCleanupIntervalChangedCh:
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37K bytes
    - Click Count (1)
  10. src/archive/tar/strconv.go

    			return 0
    		}
    		if inv == 0xff {
    			return ^int64(x)
    		}
    		return int64(x)
    	}
    
    	// Normal case is base-8 (octal) format.
    	return p.parseOctal(b)
    }
    
    // formatNumeric encodes x into b using base-8 (octal) encoding if possible.
    // Otherwise it will attempt to use base-256 (binary) encoding.
    func (f *formatter) formatNumeric(b []byte, x int64) {
    	if fitsInOctal(len(b), x) {
    		f.formatOctal(b, x)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Sep 08 17:08:20 GMT 2025
    - 9.1K bytes
    - Click Count (0)
Back to Top