Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 437 for case (0.03 sec)

  1. src/cmd/asm/internal/asm/asm.go

    	switch valueAddr.Type {
    	case obj.TYPE_CONST:
    		switch sz {
    		case 1, 2, 4, 8:
    			nameAddr.Sym.WriteInt(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Offset)
    		default:
    			p.errorf("bad int size for DATA argument: %d", sz)
    		}
    	case obj.TYPE_FCONST:
    		switch sz {
    		case 4:
    			nameAddr.Sym.WriteFloat32(p.ctxt, nameAddr.Offset, float32(valueAddr.Val.(float64)))
    		case 8:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                switch (item.getType()) {
                    case INT_ITEM:
                    case LONG_ITEM:
                    case BIGINTEGER_ITEM:
                        return -1; // 1-1 < 1.0.x
    
                    case STRING_ITEM:
                        return 1;
                    case COMBINATION_ITEM:
                        return 1; // 1-1 > 1-sp
    
                    case LIST_ITEM:
                        Iterator<Item> left = iterator();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

        public void setEventType(final int eventType) {
            switch (eventType) {
                case TRANSFER_INITIATED:
                    break;
                case TRANSFER_STARTED:
                    break;
                case TRANSFER_COMPLETED:
                    break;
                case TRANSFER_PROGRESS:
                    break;
                case TRANSFER_ERROR:
                    break;
                default:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. cmd/storage-datatypes_gen.go

    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "id":
    			z.DiskID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "DiskID")
    				return
    			}
    		case "v":
    			z.Volume, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Volume")
    				return
    			}
    		case "fp":
    			z.FilePath, err = dc.ReadString()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v1_gen.go

    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Algorithm":
    			z.Algorithm, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Algorithm")
    				return
    			}
    		case "DataBlocks":
    			z.DataBlocks, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "DataBlocks")
    				return
    			}
    		case "ParityBlocks":
    			z.ParityBlocks, err = dc.ReadInt()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  6. cmd/data-usage-cache_gen.go

    					switch msgp.UnsafeString(field) {
    					case "ts":
    						za0002.TotalSize, err = dc.ReadUint64()
    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001, "TotalSize")
    							return
    						}
    					case "nv":
    						za0002.NumVersions, err = dc.ReadInt()
    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001, "NumVersions")
    							return
    						}
    					case "no":
    						za0002.NumObjects, err = dc.ReadInt()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Stopwatch.java

        switch (unit) {
          case NANOSECONDS:
            return "ns";
          case MICROSECONDS:
            return "\u03bcs"; // μs
          case MILLISECONDS:
            return "ms";
          case SECONDS:
            return "s";
          case MINUTES:
            return "min";
          case HOURS:
            return "h";
          case DAYS:
            return "d";
        }
        throw new AssertionError();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstaller.java

         * @throws ArtifactInstallerException in case of an error
         * @throws IllegalArgumentException in case {@code request} is {@code null}
         */
        void install(@Nonnull ArtifactInstallerRequest request);
    
        /**
         * @param session the repository session
         * @param artifact the {@link ProducedArtifact} to install
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2_gen.go

    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "ID":
    			err = dc.ReadExactBytes((z.VersionID)[:])
    			if err != nil {
    				err = msgp.WrapError(err, "VersionID")
    				return
    			}
    		case "MTime":
    			z.ModTime, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ModTime")
    				return
    			}
    		case "MetaSys":
    			var zb0002 uint32
    			zb0002, err = dc.ReadMapHeader()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
Back to top