Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 699 for takeIf (0.05 seconds)

  1. internal/event/targetlist.go

    	if workerCount == 0 {
    		workerCount = runtime.GOMAXPROCS(0)
    	}
    	wk, err := workers.New(workerCount)
    	if err != nil {
    		panic(err)
    	}
    	for range workerCount {
    		wk.Take()
    		go func() {
    			defer wk.Give()
    
    			for {
    				select {
    				case av := <-list.queue:
    					list.sendSync(av.ev, av.targetSet)
    				case <-list.ctx.Done():
    					return
    				}
    			}
    		}()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

                ContiguousSet.closedOpen(Integer.MIN_VALUE, Integer.MIN_VALUE),
                ImmutableSortedSet.of(),
                ImmutableSet.of())
            .testEquals();
        // not testing hashCode for these because it takes forever to compute
        assertEquals(
            ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE),
            ContiguousSet.create(Range.<Integer>all(), integers()));
        assertEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        }
    
        @Test
        @DisplayName("getAddress/getFirstAddress resolution branches and iteration")
        void testAddressResolutionAndIteration() throws Exception {
            // Query parameter 'server' takes precedence
            UniAddress a1 = mock(UniAddress.class);
            when(nsc.getByName("srv-from-query")).thenReturn(a1);
            SmbResourceLocatorImpl l1 = locator("smb://host/share?server=srv-from-query");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            assertArrayEquals(testMac, parsedMac);
    
            // Verify stats were parsed
            // Stats length = rDataLength - (numberOfNames * 18) - 1 = 67 - 54 - 1 = 12
            // But MAC address takes 6 bytes, so actual stats length = 12 - 6 = 6
            Field statsField = NodeStatusResponse.class.getDeclaredField("stats");
            statsField.setAccessible(true);
            byte[] parsedStats = (byte[]) statsField.get(response);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            // The root artifact may, or may not be resolved so we need to check before we attempt to resolve.
            // This is often an artifact like a POM that is taken from disk and we already have hold of the
            // file reference. But this may be a Maven Plugin that we need to resolve from a remote repository
            // as well as its dependencies.
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  6. api/maven-api-model/src/main/mdo/maven.mdo

              <name>optional</name>
              <version>4.0.0+</version>
              <description>
                Indicates the dependency is optional for use of this library. While the
                version of the dependency will be taken into account for dependency calculation if the
                library is used elsewhere, it will not be passed on transitively. Note: While the type
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 17 09:48:21 GMT 2026
    - 133.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/NameServicePacketTest.java

            byte[] src = new byte[20];
            // No pointer, so mockRecordName will be read
            NameServicePacket.writeInt2(NameServicePacket.A, src, 10); // recordType (assuming name takes 10 bytes)
            NameServicePacket.writeInt2(NameServicePacket.IN, src, 12); // recordClass
            NameServicePacket.writeInt4(100, src, 14); // ttl
            NameServicePacket.writeInt2(6, src, 18); // rDataLength
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                            }
                        }
                    }
                }
            }
        }
    
        // org.apache.maven.plugins:maven-remote-resources-plugin:1.0:process
        // TODO take repo mans into account as one may be aggregating prefixes of many
        // TODO collect at the root of the repository, read the one at the root, and fetch remote if something is missing
        // or the user forces the issue
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  9. docs/en/docs/management-tasks.md

    * If a PR seems to be AI generated, and seems like reviewing it would take more time from you than the time it took to write the prompt, mark it as `maybe-ai`, and it will be automatically closed.
    
    * A PR should have a specific use case that it is solving.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

       *
       * <p>The iterator generated by the returned set traverses the entries in the order they were
       * added to the multimap.
       *
       * <p>Each entry is an immutable snapshot of a key-value mapping in the multimap, taken at the
       * time the entry is returned by a method call to the collection or its iterator.
       */
      @Override
      public Set<Entry<K, V>> entries() {
        return super.entries();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
Back to Top