Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1861 - 1870 of 2,534 for set1 (0.07 seconds)

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

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

      public static int frequency(Iterable<?> iterable, @Nullable Object element) {
        if ((iterable instanceof Multiset)) {
          return ((Multiset<?>) iterable).count(element);
        } else if ((iterable instanceof Set)) {
          return ((Set<?>) iterable).contains(element) ? 1 : 0;
        }
        return Iterators.frequency(iterable.iterator(), element);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NameServicePacketTest.java

            byte[] dst = new byte[20];
            packet.recordName = packet.questionName; // Set recordName to be the same as questionName
            packet.recordType = NameServicePacket.A;
            packet.recordClass = NameServicePacket.IN;
            packet.ttl = 100;
            packet.rDataLength = 0; // Will be set by writeRDataWireFormat
    
            // TestNameServicePacket.writeRDataWireFormat returns 0
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            assertNotNull(cap.getValue()); // captured request should be present
        }
    
        @Test
        @DisplayName("sendrecv uses TransactNamedPipe when PIPE_TYPE_TRANSACT is set")
        void sendrecv_transact_branch() throws Exception {
            // Arrange
            int type = SmbPipeResource.PIPE_TYPE_TRANSACT | SmbPipeResource.PIPE_TYPE_RDWR;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  4. cmd/iam-etcd-store.go

    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/kms"
    	"github.com/puzpuzpuz/xsync/v3"
    	"go.etcd.io/etcd/api/v3/mvccpb"
    	etcd "go.etcd.io/etcd/client/v3"
    )
    
    var defaultContextTimeout = 30 * time.Second
    
    func etcdKvsToSet(prefix string, kvs []*mvccpb.KeyValue) set.StringSet {
    	users := set.NewStringSet()
    	for _, kv := range kvs {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * </ol>
     *
     * <p>This particular order of operations may be unrealistic, and testing all 3^5 of them may be
     * thought of as overkill; however, it's difficult to determine which proper subset of this massive
     * set would be sufficient to expose any possible bug. Brute force is simpler.
     *
     * <p>To use this class the concrete subclass must implement the {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java

            }
    
            // Verify that setRootLoggerLevel was not called
            assertEquals(0, slf4jConfiguration.setRootLoggerLevelCallCount);
    
            // Verify that system property was not set
            assertNull(System.getProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL));
        }
    
        @Test
        void testVerboseOptionSetsSystemProperty() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. scripts/mkdocs_hooks.py

    
    def on_pre_page(page: Page, *, config: MkDocsConfig, files: Files) -> Page:
        return page
    
    
    def on_page_markdown(
        markdown: str, *, page: Page, config: MkDocsConfig, files: Files
    ) -> str:
        # Set metadata["social"]["cards_layout_options"]["title"] to clean title (without
        # permalink)
        title = page.title
        clean_title = title.split("{ #")[0]
        if clean_title:
            page.meta.setdefault("social", {})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/singlethreaded/SingleThreadedBuilder.java

    import org.apache.maven.lifecycle.internal.TaskSegment;
    import org.apache.maven.lifecycle.internal.builder.Builder;
    
    /**
     * <p>
     * A {@link Builder} encapsulates a strategy for building a set of Maven projects. The default strategy in Maven builds
     * the projects serially, but a {@link Builder} can employ any type of concurrency model to build the projects.
     */
    @Named("singlethreaded")
    @Singleton
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/CreateForm.java

    import jakarta.validation.constraints.Max;
    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for creating data store configurations.
     * Data configs allow administrators to set up crawling of various data sources
     * including databases, CSV files, and other structured data sources.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top