Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for arr (0.02 sec)

  1. internal/s3select/sql/jsonpath.go

    		default:
    			return nil, false, errKeyLookup
    		}
    
    	case p[0].Index != nil:
    		idx := *p[0].Index
    
    		arr, ok := v.([]interface{})
    		if !ok {
    			return nil, false, errIndexLookup
    		}
    
    		if idx >= len(arr) {
    			return nil, false, nil
    		}
    		return jsonpathEval(p[1:], arr[idx])
    
    	case p[0].ObjectWildcard:
    		switch kvs := v.(type) {
    		case jstream.KVS:
    			if len(p[1:]) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            };
    
            checkVersionsArrayEqual(arr);
        }
    
        /**
         * Test all "0" versions are equal when starting with many leading zeroes regardless of string length
         * (related to MNG-6572 optimization)
         */
        @Test
        void testVersionZeroEqualWithLeadingZeroes() {
            // versions with string lengths from 1 to 19
            String[] arr = new String[] {
                "0000000000000000000",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. internal/s3select/json/record.go

    		// Only treat objects and arrays as JSON.
    		if len(b) > 0 && (b[0] == '{' || b[0] == '[') {
    			v = RawJSON(b)
    		} else {
    			v = string(b)
    		}
    	} else if arr, ok := value.ToArray(); ok {
    		v = arr
    	} else {
    		return nil, fmt.Errorf("unsupported sql value %v and type %v", value, value.GetTypeString())
    	}
    
    	name = strings.ReplaceAll(name, "*", "__ALL__")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/BytesTest.java

            Collection<Byte> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            byte[] arr = Bytes.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. internal/s3select/sql/evaluate.go

    		if err != nil {
    			return nil, err
    		}
    	default:
    		return nil, errInvalidASTNode
    	}
    	rhs = *eltVal
    
    	// If RHS is array compare each element.
    	if arr, ok := rhs.ToArray(); ok {
    		for _, element := range arr {
    			// If we have an array we are on the wrong level.
    			if cmp(element, *lhs) {
    				return FromBool(true), nil
    			}
    		}
    		return FromBool(false), nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/CharsTest.java

            Collection<Character> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            char[] arr = Chars.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/BytesTest.java

            Collection<Byte> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            byte[] arr = Bytes.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

            Collection<Double> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            double[] arr = Doubles.toArray(misleadingSize);
            assertThat(arr.length).isEqualTo(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/popper.min.js.map

    @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nexport default function findIndex(arr, prop, value) {\n  // use native findIndex if supported\n  if (Array.prototype.findIndex) {\n    return arr.findIndex(cur => cur[prop] === value);\n  }\n\n  // use `find` + `indexOf` if `findIndex` isn't supported\n  const match = find(arr, obj => obj[prop] === value);\n  return arr.indexOf(match);\n}\n","import isFunction from './isFunction';\nimport...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 120.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/BooleansTest.java

            Collection<Boolean> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            boolean[] arr = Booleans.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top