Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for fallthrough (0.31 sec)

  1. android/guava/src/com/google/common/math/LongMath.java

       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
       *     is not a power of two
       */
      @SuppressWarnings("fallthrough")
      // TODO(kevinb): remove after this warning is disabled globally
      public static int log2(long x, RoundingMode mode) {
        checkPositive("x", x);
        switch (mode) {
          case UNNECESSARY:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/input.go

    		case scanner.Ident:
    			// Is it a macro name?
    			name := in.Stack.Text()
    			macro := in.macros[name]
    			if macro != nil {
    				nesting++
    				in.invokeMacro(macro)
    				continue
    			}
    			fallthrough
    		default:
    			if tok == scanner.EOF && len(in.ifdefStack) > 0 {
    				// We're skipping text but have run out of input with no #endif.
    				in.Error("unclosed #ifdef or #ifndef")
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/DoubleMath.java

       * @throws IllegalArgumentException if {@code x <= 0.0}, {@code x} is NaN, or {@code x} is
       *     infinite
       */
      @GwtIncompatible // java.lang.Math.getExponent, com.google.common.math.DoubleUtils
      @SuppressWarnings("fallthrough")
      public static int log2(double x, RoundingMode mode) {
        checkArgument(x > 0.0 && isFinite(x), "x must be positive and finite");
        int exponent = getExponent(x);
        if (!isNormal(x)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  4. cmd/format-erasure.go

    		if err != nil {
    			return nil, nil, fmt.Errorf("Drive %s: %w", export, err)
    		}
    		// Migrate successful v1 => v2, proceed to v2 => v3
    		version = formatErasureVersionV2
    		fallthrough
    	case formatErasureVersionV2:
    		formatData, err = formatErasureMigrateV2ToV3(formatData, export, version)
    		if err != nil {
    			return nil, nil, fmt.Errorf("Drive %s: %w", export, err)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.cc

                                            default_value.DebugString())
                    .data());
          }
        } break;
        case tensorflow::AttrValue::kTensor:
          TF_FALLTHROUGH_INTENDED;
        case tensorflow::AttrValue::kPlaceholder:
          TF_FALLTHROUGH_INTENDED;
        case tensorflow::AttrValue::VALUE_NOT_SET:
          TF_SetStatus(
              status, TF_UNIMPLEMENTED,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  6. doc/go1.17_spec.html

    </p>
    
    <h3 id="Fallthrough_statements">Fallthrough statements</h3>
    
    <p>
    A "fallthrough" statement transfers control to the first statement of the
    next case clause in an <a href="#Expression_switches">expression "switch" statement</a>.
    It may be used only as the final non-empty statement in such a clause.
    </p>
    
    <pre class="ebnf">
    FallthroughStmt = "fallthrough" .
    </pre>
    
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. cmd/config-current.go

    			return err
    		}
    	case config.PolicyOPASubSys:
    		// In case legacy OPA config is being set, we treat it as if the
    		// AuthZPlugin is being set.
    		subSys = config.PolicyPluginSubSys
    		fallthrough
    	case config.PolicyPluginSubSys:
    		if ppargs, err := polplugin.LookupConfig(s, GetDefaultConnSettings(), xhttp.DrainBody); err != nil {
    			return err
    		} else if ppargs.URL == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  8. common/scripts/kind_provisioner.sh

        # Patch it
        fixed_coredns=$(
          printf '%s' "${original_coredns}" | sed \
            -e 's/^.*kubernetes cluster\.local/& internal/' \
            -e '/^.*upstream$/d' \
            -e '/^.*fallthrough.*$/d' \
            -e '/^.*forward . \/etc\/resolv.conf$/d' \
            -e '/^.*loop$/d' \
        )
        echo "Patched CoreDNS config:"
        echo "${fixed_coredns}"
        printf '%s' "${fixed_coredns}" | kubectl apply -f -
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  9. finisher_api.go

    			for _, pf := range tx.Statement.Schema.PrimaryFields {
    				if _, isZero := pf.ValueOf(tx.Statement.Context, reflectValue); isZero {
    					return tx.callbacks.Create().Execute(tx)
    				}
    			}
    		}
    
    		fallthrough
    	default:
    		selectedUpdate := len(tx.Statement.Selects) != 0
    		// when updating, use all fields including those zero-value fields
    		if !selectedUpdate {
    			tx.Statement.Selects = append(tx.Statement.Selects, "*")
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/asm.go

    			prog.From = a[0]
    			// Second arg is always a register type on ppc64.
    			prog.Reg = p.getRegister(prog, op, &a[1])
    			prog.AddRestSourceArgs([]obj.Addr{a[2], a[3], a[4]})
    			prog.To = a[5]
    			break
    		}
    		fallthrough
    	default:
    		p.errorf("can't handle %s instruction with %d operands", op, len(a))
    		return
    	}
    
    	p.append(prog, cond, true)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top