Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 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: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. 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: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. 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: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 28K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeMap.java

        this.entriesByLowerBound = Maps.newTreeMap();
      }
    
      private TreeRangeMap(NavigableMap<Cut<K>, RangeMapEntry<K, V>> entriesByLowerBound) {
        this.entriesByLowerBound = entriesByLowerBound;
      }
    
      private static final class RangeMapEntry<K extends Comparable, V>
          extends SimpleImmutableEntry<Range<K>, V> {
        RangeMapEntry(Cut<K> lowerBound, Cut<K> upperBound, V value) {
          this(Range.create(lowerBound, upperBound), value);
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  5. 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: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  6. 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: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. .github/workflows/cleanup-stale-performance-data.yml

            run: |
              # jdbc:mysql://gradle-bt-performance.xyz.eu-central-1.rds.amazonaws.com:3306 -> gradle-bt-performance.xyz.eu-central-1.rds.amazonaws.com
              echo "DB_HOST=$(echo ${PERFORMANCE_DB_URL} | cut -d/ -f3 | cut -d: -f1)" >> $GITHUB_ENV
          
          - name: Clean up stale data and verify results
            run: |
              echo "Cleaning up stale data from both databases..."
              docker run --rm mysql:latest mysql \
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Nov 20 22:15:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/RangeTest.java

        }
      }
    
      public void testOrderingCuts() {
        Cut<Integer> a = Range.lessThan(0).lowerBound;
        Cut<Integer> b = Range.atLeast(0).lowerBound;
        Cut<Integer> c = Range.greaterThan(0).lowerBound;
        Cut<Integer> d = Range.atLeast(1).lowerBound;
        Cut<Integer> e = Range.greaterThan(1).lowerBound;
        Cut<Integer> f = Range.greaterThan(1).upperBound;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. 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: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon May 12 16:07:54 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/RangeTest.java

        }
      }
    
      public void testOrderingCuts() {
        Cut<Integer> a = Range.lessThan(0).lowerBound;
        Cut<Integer> b = Range.atLeast(0).lowerBound;
        Cut<Integer> c = Range.greaterThan(0).lowerBound;
        Cut<Integer> d = Range.atLeast(1).lowerBound;
        Cut<Integer> e = Range.greaterThan(1).lowerBound;
        Cut<Integer> f = Range.greaterThan(1).upperBound;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top