Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for Cut (0.02 sec)

  1. android/guava/src/com/google/common/collect/Cut.java

     * always be represented by a pair of {@code Cut} instances.
     *
     * @author Kevin Bourrillion
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtCompatible
    abstract class Cut<C extends Comparable> implements Comparable<Cut<C>>, Serializable {
      final C endpoint;
    
      Cut(C endpoint) {
        this.endpoint = endpoint;
      }
    
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-02-13 17:34
    - 12.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeRangeSet.java

          } else {
            cut = positiveRangesByLowerBound.higherKey(Cut.<C>belowAll());
          }
          Cut<C> firstComplementRangeUpperBound = MoreObjects.firstNonNull(cut, Cut.<C>aboveAll());
          return new AbstractIterator<Entry<Cut<C>, Range<C>>>() {
            Cut<C> nextComplementRangeUpperBound = firstComplementRangeUpperBound;
    
            @Override
            protected @Nullable Entry<Cut<C>, Range<C>> computeNext() {
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-12-28 02:48
    - 32.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeRangeMap.java

      }
    
      private void split(Cut<K> cut) {
        /*
         * The comments for this method will use | to indicate the cut point and ( ) to indicate the
         * bounds of ranges in the range map.
         */
        Entry<Cut<K>, RangeMapEntry<K, V>> mapEntryToSplit = entriesByLowerBound.lowerEntry(cut);
        if (mapEntryToSplit == null) {
          return;
        }
        // we know ( |
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 17:27
    - 26.7K bytes
    - Viewed (0)
  4. src/main/webapp/js/clipboard.min.js

    tion,n=void 0===e?"copy":e,o=t.container,e=t.target,t=t.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==e){if(!e||"object"!==l(e)||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid...
    Registered: 2025-05-26 08:04
    - Last Modified: 2025-01-12 06:14
    - 8.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Range.java

        checkNotNull(lowerType);
        checkNotNull(upperType);
    
        Cut<C> lowerBound =
            (lowerType == BoundType.OPEN) ? Cut.aboveValue(lower) : Cut.belowValue(lower);
        Cut<C> upperBound =
            (upperType == BoundType.OPEN) ? Cut.belowValue(upper) : Cut.aboveValue(upper);
        return create(lowerBound, upperBound);
      }
    
      /**
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-02-13 17:34
    - 28K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeRangeMap.java

      }
    
      private TreeRangeMap(NavigableMap<Cut<K>, RangeMapEntry<K, V>> entriesByLowerBound) {
        this.entriesByLowerBound = entriesByLowerBound;
      }
    
      private static final class RangeMapEntry<K extends Comparable, V>
          extends AbstractMapEntry<Range<K>, V> {
        private final Range<K> range;
        private final V value;
    
        RangeMapEntry(Cut<K> lowerBound, Cut<K> upperBound, V value) {
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 17:27
    - 22.9K bytes
    - Viewed (0)
  7. docs/resiliency/resiliency-verify-script.sh

    	exit 1
    fi
    
    # Check if check sums match for source and destination directories
    CHECK_SUM_SRC=$(sha384sum <(sha384sum "${SRC_DIR}"/* | cut -d " " -f 1 | sort) | cut -d " " -f 1)
    CHECK_SUM_DEST=$(sha384sum <(sha384sum "${DEST_DIR}"/* | cut -d " " -f 1 | sort) | cut -d " " -f 1)
    if [ "${CHECK_SUM_SRC}" != "${CHECK_SUM_DEST}" ]; then
    	echo "Checksum verification of source files and destination files failed"
    	exit 1
    fi
    
    Registered: 2025-05-25 19:28
    - Last Modified: 2024-12-21 04:24
    - 1.5K bytes
    - Viewed (0)
  8. common/scripts/setup_env.sh

    if [[ "${LATEST_CACHED_IMAGE:-}" != "" ]]; then
      prefix="$(<<<"$IMAGE_VERSION" cut -d- -f1)"
      query="${TOOLS_REGISTRY_PROVIDER}/${PROJECT_ID}/${IMAGE_NAME}:${prefix}-*"
      latest="$("${CONTAINER_CLI}" images --filter=reference="${query}" --format "{{.CreatedAt|json}}~{{.Repository}}:{{.Tag}}~{{.CreatedSince}}" | sort -n -r | head -n1)"
      IMG="$(<<<"$latest" cut -d~ -f2)"
      if [[ "${IMG}" == "" ]]; then
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-05-22 13:45
    - 8.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        }
      }
    
      private static final ImmutableList<Cut<Integer>> CUTS_TO_TEST;
    
      static {
        List<Cut<Integer>> cutsToTest = new ArrayList<>();
        for (int i = MIN_BOUND - 1; i <= MAX_BOUND + 1; i++) {
          cutsToTest.add(Cut.belowValue(i));
          cutsToTest.add(Cut.aboveValue(i));
        }
        cutsToTest.add(Cut.<Integer>aboveAll());
        cutsToTest.add(Cut.<Integer>belowAll());
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 17:27
    - 24.4K bytes
    - Viewed (0)
  10. src/bytes/example_test.go

    		before, after, found := bytes.Cut([]byte(s), []byte(sep))
    		fmt.Printf("Cut(%q, %q) = %q, %q, %v\n", s, sep, before, after, found)
    	}
    	show("Gopher", "Go")
    	show("Gopher", "ph")
    	show("Gopher", "er")
    	show("Gopher", "Badger")
    	// Output:
    	// Cut("Gopher", "Go") = "", "pher", true
    	// Cut("Gopher", "ph") = "Go", "er", true
    	// Cut("Gopher", "er") = "Goph", "", true
    	// Cut("Gopher", "Badger") = "Gopher", "", false
    }
    Registered: 2025-05-27 11:13
    - Last Modified: 2025-05-12 16:07
    - 16.5K bytes
    - Viewed (0)
Back to top