Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 2,642 for set (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        Set<Integer> nodes = network.nodes();
        assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
        assertThat(network.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Override
      @Test
      public void edges_checkReturnedSetMutability() {
        Set<String> edges = network.edges();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  2. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/LicensingPlugin.java

                    )
            );
            // Default to the SSPL+Elastic dual license
            project.getExtensions().getExtraProperties().set("licenseCommit", licenseCommitProvider);
            project.getExtensions().getExtraProperties().set("projectLicenses", convention);
        }
    
        private boolean isSnapshotVersion(Project project) {
            return project.getVersion().toString().endsWith("-SNAPSHOT");
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  3. internal/bucket/lifecycle/expiration.go

    		return errXMLNotWellFormed
    	}
    
    	// Both expiration days and date are specified
    	if !e.IsDaysNull() && !e.IsDateNull() {
    		return errLifecycleInvalidExpiration
    	}
    
    	// DeleteAll set without expiration days
    	if e.DeleteAll.set && e.IsDaysNull() {
    		return errLifecycleInvalidDeleteAll
    	}
    
    	return nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. benchmarks/src/main/java/org/elasticsearch/benchmark/fs/AvailableIndexFoldersBenchmark.java

                throw new IllegalStateException("bad size");
            }
        }
    
        @Benchmark
        public Set<String> availableIndexFolderNaive() throws IOException {
            return nodeEnv.availableIndexFoldersForPath(nodePath);
        }
    
        @Benchmark
        public Set<String> availableIndexFolderOptimized() throws IOException {
            return nodeEnv.availableIndexFoldersForPath(nodePath, excludedDirs::contains);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Apr 27 15:29:12 GMT 2021
    - 3K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt

      @Test
      fun largeResponseHeadersList() {
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("Set-Cookie", "a=${"A".repeat(255 * 1024)}")
            .addHeader("Set-Cookie", "b=${"B".repeat(1 * 1024)}")
            .body("I'm not even supposed to be here today.")
            .build(),
        )
        val call = client.newCall(Request(url = server.url("/")))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

    import java.util.Collection;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@link Set} implementation that asserts that a given lock is held whenever one of its methods is
     * called.
     */
    @NullUnmarked
    class LockHeldAssertingSet<E> extends ForwardingSet<E> implements Serializable {
      final Set<E> delegate;
      final Object mutex;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            // We can test the public fields that are set.
            assertEquals(200, dfsRootEnum.level, "The level should be initialized to 200.");
            assertNotNull(dfsRootEnum.info, "The info struct should not be null.");
            assertEquals(200, dfsRootEnum.info.level, "The info.level should be set to the same value as level.");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/server-sent-events.md

    * Set the `Cache-Control: no-cache` header to **prevent caching** of the stream.
    * Set a special header `X-Accel-Buffering: no` to **prevent buffering** in some proxies like Nginx.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
            return new TreeSet<E>(contents);
          }
        },
        UnmodifiableSetImpl {
          @Override
          public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
            return unmodifiableSet(new HashSet<E>(contents));
          }
        },
        SynchronizedSetImpl {
          @Override
          public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ReleaseNotesIndexGenerator.java

    import java.util.Map;
    import java.util.Set;
    import java.util.TreeSet;
    import java.util.stream.Collectors;
    
    import static java.util.Comparator.reverseOrder;
    
    /**
     * This class ensures that the release notes index page has the appropriate anchors and include directives
     * for the current repository version.
     */
    public class ReleaseNotesIndexGenerator {
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 2.1K bytes
    - Click Count (0)
Back to Top