Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 340 for rval (0.02 seconds)

  1. internal/s3select/sql/evaluate.go

    func jsonToValue(result any) (*Value, error) {
    	switch rval := result.(type) {
    	case string:
    		return FromString(rval), nil
    	case float64:
    		return FromFloat(rval), nil
    	case int64:
    		return FromInt(rval), nil
    	case uint64:
    		if rval <= math.MaxInt64 {
    			return FromInt(int64(rval)), nil
    		}
    		return FromFloat(float64(rval)), nil
    	case bool:
    		return FromBool(rval), nil
    	case jstream.KVS:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12K bytes
    - Click Count (0)
  2. internal/s3select/sql/jsonpath.go

    		var result []any
    		for _, a := range arr {
    			rval, flatten, err := jsonpathEval(p[1:], a)
    			if err != nil {
    				return nil, false, err
    			}
    
    			if flatten {
    				// Flatten if array.
    				if arr, ok := rval.([]any); ok {
    					result = append(result, arr...)
    					continue
    				}
    			}
    			result = append(result, rval)
    		}
    		return result, true, nil
    	}
    	panic("cannot reach here")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. utils/utils.go

    func AssertEqual(x, y interface{}) bool {
    	if reflect.DeepEqual(x, y) {
    		return true
    	}
    	if x == nil || y == nil {
    		return false
    	}
    
    	xval := reflect.ValueOf(x)
    	yval := reflect.ValueOf(y)
    	if xval.Kind() == reflect.Ptr && xval.IsNil() ||
    		yval.Kind() == reflect.Ptr && yval.IsNil() {
    		return false
    	}
    
    	if valuer, ok := x.(driver.Valuer); ok {
    		x, _ = valuer.Value()
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

          val response = response.stripBody()
    
          val reader = ServerSentEventReader(body.source(), this)
          try {
            if (!canceled) {
              listener.onOpen(this, response)
              while (!canceled && reader.processNextEvent()) {
              }
            }
          } catch (e: Exception) {
            val exception =
              when {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  5. internal/s3select/sql/statement.go

    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // Eval - evaluates the Select statement for the given record. It
    // applies only to non-aggregation queries.
    // The function returns whether the statement passed the WHERE clause and should be outputted.
    func (e *SelectStatement) Eval(input, output Record) (Record, error) {
    	ok, err := e.isPassingWhereClause(input)
    	if err != nil || !ok {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. mockwebserver/README.md

      // instance for every unit test.
      val server = MockWebServer()
    
      // Schedule some responses.
      server.enqueue(MockResponse(body = "hello, world!"))
      server.enqueue(MockResponse(body = "sup, bra?"))
      server.enqueue(MockResponse(body = "yo dog"))
    
      // Start the server.
      server.start()
    
      // Ask the server for its URL. You'll need this to make HTTP requests.
      val baseUrl = server.url("/v1/chat/")
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/primitives/Booleans.java

          this.trueValue = trueValue;
          this.toString = toString;
        }
    
        @Override
        public int compare(Boolean a, Boolean b) {
          int aVal = a ? trueValue : 0;
          int bVal = b ? trueValue : 0;
          return bVal - aVal;
        }
    
        @Override
        public String toString() {
          return toString;
        }
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/primitives/Booleans.java

          this.trueValue = trueValue;
          this.toString = toString;
        }
    
        @Override
        public int compare(Boolean a, Boolean b) {
          int aVal = a ? trueValue : 0;
          int bVal = b ? trueValue : 0;
          return bVal - aVal;
        }
    
        @Override
        public String toString() {
          return toString;
        }
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/util/DES.java

                keysi++;
                fval = SP7[work & 0x0000003f];
                fval |= SP5[work >>> 8 & 0x0000003f];
                fval |= SP3[work >>> 16 & 0x0000003f];
                fval |= SP1[work >>> 24 & 0x0000003f];
                work = right ^ keys[keysi++];
                fval |= SP8[work & 0x0000003f];
                fval |= SP6[work >>> 8 & 0x0000003f];
                fval |= SP4[work >>> 16 & 0x0000003f];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  10. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val jna = "net.java.dev.jna:jna"
        val jnaPlatform = "net.java.dev.jna:jna-platform"
        val jnrConstants = "com.github.jnr:jnr-constants"
        val joda = "joda-time:joda-time"
        val jsch = "com.github.mwiede:jsch"
        val jsr305 = "com.google.code.findbugs:jsr305"
        val jspecify = "org.jspecify:jspecify"
        val julToSlf4j = "org.slf4j:jul-to-slf4j"
        val junit = "junit:junit"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:45:52 GMT 2025
    - 15.9K bytes
    - Click Count (0)
Back to Top