Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 2,046 for Case (0.02 sec)

  1. association.go

    			return association.Error
    		}
    
    		// set old associations's foreign key to null
    		switch rel.Type {
    		case schema.BelongsTo:
    			if len(values) == 0 {
    				updateMap := map[string]interface{}{}
    				switch reflectValue.Kind() {
    				case reflect.Slice, reflect.Array:
    					for i := 0; i < reflectValue.Len(); i++ {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. cmd/warm-backend-s3.go

    	if err != nil {
    		return nil, err
    	}
    
    	// Validation code
    	switch {
    	case conf.AWSRoleWebIdentityTokenFile == "" && conf.AWSRoleARN != "" || conf.AWSRoleWebIdentityTokenFile != "" && conf.AWSRoleARN == "":
    		return nil, errors.New("both the token file and the role ARN are required")
    	case conf.AccessKey == "" && conf.SecretKey != "" || conf.AccessKey != "" && conf.SecretKey == "":
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Jun 08 16:13:30 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. cmd/peer-rest-client.go

    		select {
    		case listenCh <- *b:
    		default:
    			// Do not block on slow receivers.
    			b.Recycle()
    		}
    		return nil
    	})
    }
    
    // Listen - listen on peers.
    func (client *peerRESTClient) Listen(ctx context.Context, listenCh chan<- []byte, v url.Values) {
    	go func() {
    		for {
    			client.doListen(ctx, listenCh, v)
    			select {
    			case <-ctx.Done():
    				return
    			default:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheStats.java

     */
    
    package com.google.common.cache;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.math.LongMath.saturatedAdd;
    import static com.google.common.math.LongMath.saturatedSubtract;
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.MoreObjects;
    import java.util.Objects;
    import java.util.concurrent.Callable;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    		case isSysErrNotDir(err) || isSysErrIsDir(err):
    			return nil, dmTime, errFileNotFound
    		case isSysErrHandleInvalid(err):
    			// This case is special and needs to be handled for windows.
    			return nil, dmTime, errFileNotFound
    		case isSysErrIO(err):
    			return nil, dmTime, errFaultyDisk
    		case isSysErrTooManyFiles(err):
    			return nil, dmTime, errTooManyOpenFiles
    		case isSysErrInvalidArg(err):
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  6. cmd/os_windows.go

    				continue
    			}
    		case data.FileAttributes&syscall.FILE_ATTRIBUTE_DIRECTORY != 0:
    			name += SlashSeparator
    		}
    
    		count--
    		entries = append(entries, name)
    	}
    
    	return entries, nil
    }
    
    func globalSync() {
    	// no-op on windows
    }
    
    func syscallErrToFileErr(dirPath string, err error) error {
    	switch err {
    	case nil:
    		return nil
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            case SMB_COM_TRANSACTION_SECONDARY -> "SMB_COM_TRANSACTION_SECONDARY";
            case SMB_COM_FIND_CLOSE2 -> "SMB_COM_FIND_CLOSE2";
            case SMB_COM_TREE_DISCONNECT -> "SMB_COM_TREE_DISCONNECT";
            case SMB_COM_LOGOFF_ANDX -> "SMB_COM_LOGOFF_ANDX";
            case SMB_COM_ECHO -> "SMB_COM_ECHO";
            case SMB_COM_MOVE -> "SMB_COM_MOVE";
            case SMB_COM_RENAME -> "SMB_COM_RENAME";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/TempFileCreator.java

     * the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.StandardSystemProperty.JAVA_IO_TMPDIR;
    import static com.google.common.base.StandardSystemProperty.USER_NAME;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static java.nio.file.attribute.AclEntryFlag.DIRECTORY_INHERIT;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. cmd/prepare-storage.go

    				(len(endpoints)/2)+1, getElapsedTime())
    		case errors.Is(err, errErasureV3ThisEmpty):
    			// need to wait for this error to be healed, so continue.
    		default:
    			// For all other unhandled errors we exit and fail.
    			return nil, nil, err
    		}
    
    		select {
    		case <-ticker.C:
    		case <-globalOSSignalCh:
    			return nil, nil, fmt.Errorf("Initializing data volumes gracefully stopped")
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  10. src/main/java/jcifs/smb1/util/transport/Transport.java

         */
        public synchronized void connect(final long timeout) throws TransportException {
            try {
                switch (state) {
                case 0:
                    break;
                case 3:
                    return; // already connected
                case 4:
                    state = 0;
                    throw new TransportException("Connection in error", te);
                default:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top