Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for elseif (0.19 sec)

  1. fastapi/routing.py

                exclude_none=exclude_none,
            )
        elif isinstance(res, list):
            return [
                _prepare_response_content(
                    item,
                    exclude_unset=exclude_unset,
                    exclude_defaults=exclude_defaults,
                    exclude_none=exclude_none,
                )
                for item in res
            ]
        elif isinstance(res, dict):
            return {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    i--;
                }
                return canon.substring( i + 1 );
            } else if( share != null ) {
                return share + '/';
            } else if( url.getHost().length() > 0 ) {
                return url.getHost() + '/';
            } else {
                return "smb1://";
            }
        }
    
    /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  3. cmd/data-usage-cache_gen.go

    			o = msgp.AppendNil(o)
    		} else {
    			o, err = z.ReplicationStats.MarshalMsg(o)
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicationStats")
    				return
    			}
    		}
    	}
    	if (zb0001Mask & 0x100) == 0 { // if not omitted
    		// string "ats"
    		o = append(o, 0xa3, 0x61, 0x74, 0x73)
    		if z.AllTierStats == nil {
    			o = msgp.AppendNil(o)
    		} else {
    			o, err = z.AllTierStats.MarshalMsg(o)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 100.8K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

                metadata.type = TF_ATTR_STRING;
              } else if (typestr == "list(int)") {
                metadata.type = TF_ATTR_INT;
              } else if (typestr == "list(float)") {
                metadata.type = TF_ATTR_FLOAT;
              } else if (typestr == "list(bool)") {
                metadata.type = TF_ATTR_BOOL;
              } else if (typestr == "list(type)") {
                metadata.type = TF_ATTR_TYPE;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

                if (valueReference.isLoading()) {
                  createNewEntry = false;
                } else {
                  V value = valueReference.get();
                  if (value == null) {
                    enqueueNotification(
                        entryKey, hash, value, valueReference.getWeight(), RemovalCause.COLLECTED);
                  } else if (map.isExpired(e, now)) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    			globalBucketTargetSys.markOffline(tgt.EndpointURL())
    		}
    	} else {
    		if dobj.VersionID == "" {
    			rinfo.ReplicationStatus = replication.Completed
    		} else {
    			rinfo.VersionPurgeStatus = Complete
    		}
    	}
    	return
    }
    
    func getCopyObjMetadata(oi ObjectInfo, sc string) map[string]string {
    	meta := make(map[string]string, len(oi.UserDefined))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  7. cmd/storage-datatypes_gen.go

    	}
    	if z.Data == nil { // allownil: if nil
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendBytes(o, z.Data)
    	}
    	o = msgp.AppendInt(o, z.NumVersions)
    	o = msgp.AppendTime(o, z.SuccessorModTime)
    	o = msgp.AppendBool(o, z.Fresh)
    	o = msgp.AppendInt(o, z.Idx)
    	if z.Checksum == nil { // allownil: if nil
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendBytes(o, z.Checksum)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

                if (valueReference.isLoading()) {
                  createNewEntry = false;
                } else {
                  V value = valueReference.get();
                  if (value == null) {
                    enqueueNotification(
                        entryKey, hash, value, valueReference.getWeight(), RemovalCause.COLLECTED);
                  } else if (map.isExpired(e, now)) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    				iamLogIf(ctx, err)
    			} else if foundGroupDN == "" || !underBaseDN {
    				err = errNoSuchGroup
    			}
    			entityName = foundGroupDN
    		} else {
    			var foundUserDN string
    			if foundUserDN, err = globalIAMSys.LDAPConfig.GetValidatedDNForUsername(entityName); err != nil {
    				iamLogIf(ctx, err)
    			} else if foundUserDN == "" {
    				err = errNoSuchUser
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. cmd/admin-handlers.go

    				Host:           local,
    				Err:            err.Error(),
    				CurrentVersion: Version,
    			}
    		} else {
    			peerResults[local] = madmin.ServerPeerUpdateStatus{
    				Host:           local,
    				CurrentVersion: Version,
    				UpdatedVersion: lrTime.Format(MinioReleaseTagTimeLayout),
    			}
    		}
    	} else {
    		peerResults[local] = madmin.ServerPeerUpdateStatus{
    			Host:           local,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top