Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,323 for CASE (0.03 sec)

  1. internal/s3select/sql/statement.go

    	}
    	switch rec := rawVal.(type) {
    	case jstream.KVS:
    		txedRec, _, err := jsonpathEval(e.selectAST.From.Table.PathExpr[1:], rec)
    		if err != nil {
    			return nil, err
    		}
    
    		var kvs jstream.KVS
    		switch v := txedRec.(type) {
    		case jstream.KVS:
    			kvs = v
    
    		case []interface{}:
    			recs := make([]*Record, len(v))
    			for i, val := range v {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                case 0:
                case 1:
                case 2:
                    macSigningKey = new byte[40];
                    auth.getUserSessionKey(transport.server.encryptionKey, macSigningKey, 0);
                    System.arraycopy(auth.getUnicodeHash(transport.server.encryptionKey),
                                0, macSigningKey, 16, 24);
                    break;
                case 3:
                case 4:
                case 5:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7K bytes
    - Viewed (0)
  4. cmd/setup-type.go

    	DistErasureSetupType
    )
    
    func (setupType SetupType) String() string {
    	switch setupType {
    	case FSSetupType:
    		return globalMinioModeFS
    	case ErasureSDSetupType:
    		return globalMinioModeErasureSD
    	case ErasureSetupType:
    		return globalMinioModeErasure
    	case DistErasureSetupType:
    		return globalMinioModeDistErasure
    	}
    
    	return "unknown"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

              private int rep;
    
              @Override
              public @Nullable Integer computeNext() {
                switch (rep++) {
                  case 0:
                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
                  default:
                    throw new AssertionError("Should not have been invoked again");
                }
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

              private int rep;
    
              @Override
              public @Nullable Integer computeNext() {
                switch (rep++) {
                  case 0:
                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
                  default:
                    throw new AssertionError("Should not have been invoked again");
                }
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. internal/s3select/json/record.go

    	for _, kv := range r.KVS {
    		var columnValue string
    		switch val := kv.Value.(type) {
    		case float64:
    			columnValue = jsonFloat(val)
    		case string:
    			columnValue = val
    		case bool, int64:
    			columnValue = fmt.Sprintf("%v", val)
    		case nil:
    			columnValue = ""
    		case RawJSON:
    			columnValue = string([]byte(val))
    		case []interface{}:
    			b, err := json.Marshal(val)
    			if err != nil {
    				return err
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            Mac m;
            byte[] signingKey;
            switch ( dialect ) {
            case Smb2Constants.SMB2_DIALECT_0202:
            case Smb2Constants.SMB2_DIALECT_0210:
                m = Mac.getInstance("HmacSHA256");
                signingKey = sessionKey;
                break;
            case Smb2Constants.SMB2_DIALECT_0300:
            case Smb2Constants.SMB2_DIALECT_0302:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/av/AvPairs.java

            switch ( avId ) {
            case AvPair.MsvAvFlags:
                return new AvFlags(raw);
            case AvPair.MsvAvTimestamp:
                return new AvTimestamp(raw);
            case AvPair.MsvAvTargetName:
                return new AvTargetName(raw);
            case AvPair.MsvAvSingleHost:
                return new AvSingleHost(raw);
            case AvPair.MsvAvChannelBindings:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  10. cmd/site-replication-utils.go

    				sm.Unlock()
    			}
    			sTimer.Reset(siteResyncSaveInterval)
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    // update overall site resync state
    func (sm *siteResyncMetrics) updateState(s SiteResyncStatus) error {
    	if !globalSiteReplicationSys.isEnabled() {
    		return nil
    	}
    	sm.Lock()
    	defer sm.Unlock()
    	switch s.Status {
    	case ResyncStarted:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top