Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 349 for recs (0.14 sec)

  1. internal/s3select/sql/jsonpath_test.go

    			// Read only the first json object from the file
    			recs, err := getJSONStructs(b)
    			if err != nil || len(recs) != 3 {
    				t.Fatalf("%v or length was not 3", err)
    			}
    
    			for j, rec := range recs {
    				// fmt.Println(rec)
    				r, _, err := jsonpathEval(jp.PathExpr, rec)
    				if err != nil {
    					t.Errorf("Error: %d %d %v", i, j, err)
    				}
    				if !reflect.DeepEqual(r, tc.res[j]) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  2. internal/s3select/sql/statement.go

    			err := input.Replace(v)
    			if err != nil {
    				return nil, err
    			}
    
    		case []interface{}:
    			recs := make([]*Record, len(v))
    			for i, val := range v {
    				tmpRec := input.Clone(nil)
    				if err = tmpRec.Replace(val); err != nil {
    					return nil, err
    				}
    				recs[i] = &tmpRec
    			}
    			return recs, nil
    
    		default:
    			input.Reset()
    			input, err = input.Set("_1", &Value{value: v})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

          res +=
              System.identityHashCode(
                  hashFunctionEnum
                      .getHashFunction()
                      .newHasher()
                      .putString(strings[i & SAMPLE_MASK], StandardCharsets.UTF_8)
                      .hash());
        }
        return res;
      }
    
      @Benchmark
      int hashUtf8GetBytes(int reps) {
        int res = 0;
        for (int i = 0; i < reps; i++) {
          res +=
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

          res +=
              System.identityHashCode(
                  hashFunctionEnum
                      .getHashFunction()
                      .newHasher()
                      .putString(strings[i & SAMPLE_MASK], StandardCharsets.UTF_8)
                      .hash());
        }
        return res;
      }
    
      @Benchmark
      int hashUtf8GetBytes(int reps) {
        int res = 0;
        for (int i = 0; i < reps; i++) {
          res +=
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DfsImpl.java

             */
    
            CacheEntry<DfsReferralDataInternal> refs;
            synchronized ( this.referralsLock ) {
                refs = this.referrals;
                if ( refs == null || now > refs.expiration ) {
                    refs = new CacheEntry<>(0);
                }
                this.referrals = refs;
            }
            String key = "\\" + domain + "\\" + root;
            if ( !path.equals("\\") ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  6. src/archive/tar/strconv.go

    	}
    
    	// If seconds is negative, then perform correction.
    	sign := ""
    	if secs < 0 {
    		sign = "-"             // Remember sign
    		secs = -(secs + 1)     // Add a second to secs
    		nsecs = -(nsecs - 1e9) // Take that second away from nsecs
    	}
    	return strings.TrimRight(fmt.Sprintf("%s%d.%09d", sign, secs, nsecs), "0")
    }
    
    // parsePAXRecord parses the input PAX record string into a key-value pair.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    		}
    
    		apiRouter.ServeHTTP(rec, req)
    
    		// Check response code (we make only valid requests in
    		// this test)
    		if rec.Code != http.StatusPartialContent && rec.Code != http.StatusOK {
    			bd, err1 := io.ReadAll(rec.Body)
    			t.Fatalf("%s Object: %s Case %d ByteRange: %s: Got response status `%d` and body: %s,%v",
    				instanceType, object, i+1, byteRange, rec.Code, string(bd), err1)
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/popper.min.js.map

    IE11\n  try {\n    if (isIE(10)) {\n      rect = element.getBoundingClientRect();\n      const scrollTop = getScroll(element, 'top');\n      const scrollLeft = getScroll(element, 'left');\n      rect.top += scrollTop;\n      rect.left += scrollLeft;\n      rect.bottom += scrollTop;\n      rect.right += scrollLeft;\n    }\n    else {\n      rect = element.getBoundingClientRect();\n    }\n  }\n  catch(e){}\n\n  const result = {\n    left: rect.left,\n    top: rect.top,\n    width: rect.right - rect.left,\n...
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 121K bytes
    - Viewed (2)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

      }
    
      @Benchmark
      public long timeComplete_Normal(int reps) throws Exception {
        long r = 0;
        List<Facade<Integer>> list = new ArrayList<>(reps);
        for (int i = 0; i < reps; i++) {
          final Facade<Integer> localFuture = impl.newFacade();
          list.add(localFuture);
          localFuture.set(i);
        }
        for (int i = 0; i < reps; i++) {
          r += list.get(i).get();
        }
        return r;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jul 16 17:22:27 GMT 2019
    - 3.6K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

        return datasets[i & 0xFF].clone();
      }
    
      @Benchmark
      double median(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(1, 2, dataset(i));
        }
        return dummy;
      }
    
      @Benchmark
      double percentile90(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(90, 100, dataset(i));
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.1K bytes
    - Viewed (0)
Back to top