Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 127 for Segment (0.06 seconds)

  1. guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java

      int length;
    
      private Segment<Object, Object> segment;
      private ReferenceEntry<Object, Object> head;
      private @Nullable ReferenceEntry<Object, Object> chain;
    
      @SuppressWarnings("GuardedBy")
      @BeforeExperiment
      void setUp() {
        LocalCache<Object, Object> cache =
            new LocalCache<>(CacheBuilder.newBuilder().concurrencyLevel(1), null);
        segment = cache.segments[0];
        chain = null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                        // don't stop processing in case a future segment explicitly excludes this repo
                    }
                    // check for external:http:*
                    else if (EXTERNAL_HTTP_WILDCARD.equals(repo) && isExternalHttpRepo(originalRepository)) {
                        result = true;
                        // don't stop processing in case a future segment explicitly excludes this repo
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/ByteEncodable.java

        private final int off;
        private final int len;
    
        /**
         * Constructs a ByteEncodable object wrapping a byte array segment.
         *
         * @param b the byte array to wrap
         * @param off the offset in the byte array
         * @param len the length of the segment to use
         */
        public ByteEncodable(final byte[] b, final int off, final int len) {
            this.bytes = b;
            this.off = off;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

        /**
         * Returns aProjectBuildList that contains only items for the specified taskSegment
         * @param taskSegment the requested task segment
         * @return a project build list for the supplied task segment
         */
        public ProjectBuildList getByTaskSegment(TaskSegment taskSegment) {
            return new ProjectBuildList(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     * "/square/okhttp/issues/1486" and decompose into a list of segments like `["square", "okhttp",
     * "issues", "1486"]`.
     *
     * This class offers methods to compose and decompose paths by segment. It composes each path
     * from a list of segments by alternating between "/" and the encoded segment. For example the
     * segments `["a", "b"]` build "/a/b" and the segments `["a", "b", ""]` build "/a/b/".
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 63.5K bytes
    - Click Count (0)
  6. internal/event/config.go

    	"github.com/minio/minio-go/v7/pkg/set"
    )
    
    // ValidateFilterRuleValue - checks if given value is filter rule value or not.
    func ValidateFilterRuleValue(value string) error {
    	for segment := range strings.SplitSeq(value, "/") {
    		if segment == "." || segment == ".." {
    			return &ErrInvalidFilterValue{value}
    		}
    	}
    
    	if len(value) <= 1024 && utf8.ValidString(value) && !strings.Contains(value, `\`) {
    		return nil
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java

    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.project.MavenProject;
    
    /**
     * A build context that matches a Maven project to a given task segment, and the session to be used.
     * <p>
     * A note to the reader;
     * </p>
     * <p>
     * There are several issues/discussions regarding how "aggregator" plugins should be handled.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

            boolean parallel = nThreads > 1;
            // Propagate the parallel flag to the root session and all the cloned sessions in each project segment
            session.setParallel(parallel);
            for (ProjectSegment segment : projectBuilds) {
                segment.getSession().setParallel(parallel);
            }
            ExecutorService executor = Executors.newFixedThreadPool(nThreads, new BuildThreadFactory());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 16 03:42:09 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Segment<Object, Object> segment = cache.localCache.segments[0];
        ConcurrentMap<Object, Object> map = cache.asMap();
    
        Object one = new Object();
        assertThat(cache.getUnchecked(one)).isSameInstanceAs(one);
        assertThat(segment.recencyQueue.isEmpty()).isTrue();
        assertThat(map.get(one)).isSameInstanceAs(one);
        assertThat(segment.recencyQueue.peek().getKey()).isSameInstanceAs(one);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Segment<Object, Object> segment = cache.localCache.segments[0];
        ConcurrentMap<Object, Object> map = cache.asMap();
    
        Object one = new Object();
        assertThat(cache.getUnchecked(one)).isSameInstanceAs(one);
        assertThat(segment.recencyQueue.isEmpty()).isTrue();
        assertThat(map.get(one)).isSameInstanceAs(one);
        assertThat(segment.recencyQueue.peek().getKey()).isSameInstanceAs(one);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top