Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 115 for segments (0.05 sec)

  1. tests/test_datastructures.py

        assert response.status_code == 200, response.text
        assert response.json() == {"filename": "test.txt"}
    
        assert testing_file_store
        assert testing_file_store[0].file.closed
    
    
    # For UploadFile coverage, segments copied from Starlette tests
    
    
    @pytest.mark.anyio
    async def test_upload_file():
        stream = io.BytesIO(b"data")
        file = UploadFile(filename="file", file=stream, size=4)
        assert await file.read() == b"data"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/ProjectBuildListTest.java

            final ProjectBuildList byTaskSegment = projectBuildList.getByTaskSegment(taskSegment);
            assertEquals(projectBuildList.size(), byTaskSegment.size()); // TODO Make multiple segments on projectBuildList
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        // of the values gets evicted. With weak keys, we use identity equality, which means using
        // System.identityHashCode, which means the assignment of keys to segments is nondeterministic,
        // so more than (maximumSize / #segments) keys could get assigned to the same segment, which
        // would cause one to be evicted.
        return new CacheBuilderFactory()
            .withKeyStrengths(ImmutableSet.of(Strength.STRONG, Strength.WEAK))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/Builder.java

     * </p>
     * <strong>Note:</strong> This interface is part of work in progress and can be changed or removed without notice.
     */
    public interface Builder {
        //
        // Be nice to whittle this down to Session, maybe add task segments to the session. The session really is
        // the place to store reactor related information.
        //
        void build(
                MavenSession session,
                ReactorContext reactorContext,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/ExtractAndroidStudioTask.kt

                        @Suppress("SpreadOperator")
                        relativePath = RelativePath(true, *relativePath.segments.drop(1).toTypedArray())
                    }
                }
    
                into(outputDir)
            }
        }
    
        fun extractDmg(androidStudioDistribution: File) {
            val volumeDir = "/Volumes/$VOLUME_NAME"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 19 08:02:04 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

                out[2 * i + 1] = (byte) ((chars[i] >> 8) & 0xFF);
            }
            return out;
        }
    
        /**
         * Helper: create a buffer containing the parameter and data segments
         */
        private static byte[] createBuffer(int dataLen, byte[] dataBytes, String params) throws UnsupportedEncodingException {
            final byte[] paramBytes = params.getBytes(SmbConstants.DEFAULT_OEM_ENCODING);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java

    import org.apache.maven.project.MavenProject;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * <p>
     * Calculates the task segments in the build
     * </p>
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     *
     * @since 3.0
     */
    @Named
    @Singleton
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 23:07:01 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        // of the values gets evicted. With weak keys, we use identity equality, which means using
        // System.identityHashCode, which means the assignment of keys to segments is nondeterministic,
        // so more than (maximumSize / #segments) keys could get assigned to the same segment, which
        // would cause one to be evicted.
        return new CacheBuilderFactory()
            .withKeyStrengths(ImmutableSet.of(Strength.STRONG, Strength.WEAK))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (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);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

    import org.opensearch.action.ActionType;
    import org.opensearch.action.admin.cluster.health.ClusterHealthResponse;
    import org.opensearch.action.admin.indices.segments.IndicesSegmentResponse;
    import org.opensearch.action.admin.indices.segments.PitSegmentsRequest;
    import org.opensearch.action.bulk.BulkRequest;
    import org.opensearch.action.bulk.BulkRequestBuilder;
    import org.opensearch.action.bulk.BulkResponse;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 02:01:26 UTC 2025
    - 26.2K bytes
    - Viewed (0)
Back to top