Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,134 for case (0.19 sec)

  1. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt

    package okhttp3.internal.http2.hpackjson
    
    import okhttp3.internal.http2.Header
    import okio.ByteString
    
    /**
     * Representation of an individual case (set of headers and wire format). There are many cases for a
     * single story.  This class is used reflectively with Moshi to parse stories.
     */
    data class Case(
      val seqno: Int = 0,
      val wire: ByteString? = null,
      val headers: List<Map<String, String>>,
    ) : Cloneable {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 23 10:26:25 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. utils/utils.go

    	switch v := value.(type) {
    	case string:
    		return v
    	case int:
    		return strconv.FormatInt(int64(v), 10)
    	case int8:
    		return strconv.FormatInt(int64(v), 10)
    	case int16:
    		return strconv.FormatInt(int64(v), 10)
    	case int32:
    		return strconv.FormatInt(int64(v), 10)
    	case int64:
    		return strconv.FormatInt(v, 10)
    	case uint:
    		return strconv.FormatUint(uint64(v), 10)
    	case uint8:
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Feb 19 03:42:25 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       */
      protected final void notifyFailed(Throwable cause) {
        checkNotNull(cause);
    
        monitor.enter();
        try {
          State previous = state();
          switch (previous) {
            case NEW:
            case TERMINATED:
              throw new IllegalStateException("Failed while in state:" + previous, cause);
            case RUNNING:
            case STARTING:
            case STOPPING:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/LongMath.java

        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(x == floorPow);
            // fall through
          case FLOOR:
          case DOWN:
            return logFloor;
          case CEILING:
          case UP:
            return logFloor + lessThanBranchFree(floorPow, x);
          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
    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)
  5. android/guava/src/com/google/common/math/DoubleMath.java

        boolean increment;
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(isPowerOfTwo(x));
            // fall through
          case FLOOR:
            increment = false;
            break;
          case CEILING:
            increment = !isPowerOfTwo(x);
            break;
          case DOWN:
            increment = exponent < 0 & !isPowerOfTwo(x);
            break;
          case UP:
    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)
  6. src/cmd/asm/internal/lex/tokenizer.go

    		return true
    	case '\u2215': // Represents the slash in runtime/debug.setGCPercent. U+2215 '∕' division slash
    		return true
    	}
    	// Digits are OK only after the first character.
    	return i > 0 && unicode.IsDigit(ch)
    }
    
    func (t *Tokenizer) Text() string {
    	switch t.tok {
    	case LSH:
    		return "<<"
    	case RSH:
    		return ">>"
    	case ARR:
    		return "->"
    	case ROT:
    		return "@>"
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  7. cmd/os-reliable.go

    		switch {
    		case isSysErrNotDir(err) && !osIsNotExist(err):
    			// Windows can have both isSysErrNotDir(err) and osIsNotExist(err) returning
    			// true if the source file path contains an non-existent directory. In that case,
    			// we want to return errFileNotFound instead, which will honored in subsequent
    			// switch cases
    			return errFileAccessDenied
    		case isSysErrPathNotFound(err):
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  8. src/cmd/cgo/ast.go

    			f.walk(&n.Type, ctxType, visit)
    		}
    	case *ast.FieldList:
    		for _, field := range n.List {
    			f.walk(field, context, visit)
    		}
    	case *ast.BadExpr:
    	case *ast.Ident:
    	case *ast.Ellipsis:
    		f.walk(&n.Elt, ctxType, visit)
    	case *ast.BasicLit:
    	case *ast.FuncLit:
    		f.walk(n.Type, ctxType, visit)
    		f.walk(n.Body, ctxStmt, visit)
    	case *ast.CompositeLit:
    		f.walk(&n.Type, ctxType, visit)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  9. internal/s3select/sql/timestampfuncs.go

    	switch what {
    	case timePartYear:
    		return FromInt(int64(t.Year())), nil
    	case timePartMonth:
    		return FromInt(int64(t.Month())), nil
    	case timePartDay:
    		return FromInt(int64(t.Day())), nil
    	case timePartHour:
    		return FromInt(int64(t.Hour())), nil
    	case timePartMinute:
    		return FromInt(int64(t.Minute())), nil
    	case timePartSecond:
    		return FromInt(int64(t.Second())), nil
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  10. maven-core/src/site/apt/offline-mode.apt

      We'll examine the different parts of maven-core on a case-by-case
      basis, below:
    
    *** DefaultLifecycleExecutor
    
      When binding goals to the project's configured lifecycle, each mojo
      descriptor should declare whether it requires online/offline status.
      This value should be a java.lang.Boolean, so it can implement 3VL
      (three value logic: yes, no, don't-care). The requiresOnline
    Plain Text
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top