Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2671 - 2680 of 3,347 for from (0.03 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

          return buildOrThrow();
        }
    
        private ImmutableMap<K, V> build(boolean throwIfDuplicateKeys) {
          if (valueComparator != null) {
            Collections.sort(
                entries, Ordering.from(valueComparator).onResultOf(Maps.<V>valueFunction()));
          }
          return fromEntryList(throwIfDuplicateKeys, entries);
        }
    
        public ImmutableMap<K, V> buildOrThrow() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

      }
    
      // Element Mutation
    
      @Test
      public void addEdge_existingNodes() {
        assume().that(graphIsMutable()).isTrue();
    
        // Adding nodes initially for safety (insulating from possible future
        // modifications to proxy methods)
        addNode(N1);
        addNode(N2);
        assertThat(networkAsMutableNetwork.addEdge(N1, N2, E12)).isTrue();
        assertThat(network.edges()).contains(E12);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. tests/preload_test.go

    	if err != nil {
    		t.Fatalf("failed to preload and find users: %v", err)
    	}
    
    	AssertEqual(t, result, users)
    	AssertEqual(t, len(query), 2) // Check preload queries are merged
    
    	if !regexp.MustCompile(`SELECT \* FROM .*tools.* WHERE .*IN.*`).MatchString(query[0]) {
    		t.Fatalf("Expected first query to preload manager tools, got: %s", query[0])
    	}
    }
    
    func TestNestedPreloadWithPointerJoin(t *testing.T) {
    	type (
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. cmd/erasure.go

    	newDisks, _, healing := er.getOnlineDisksWithHealingAndInfo(inclHealing)
    	return newDisks, healing > 0
    }
    
    // Clean-up previously deleted objects. from .minio.sys/tmp/.trash/
    func (er erasureObjects) cleanupDeletedObjects(ctx context.Context) {
    	var wg sync.WaitGroup
    	for _, disk := range er.getLocalDisks() {
    		if disk == nil {
    			continue
    		}
    		wg.Add(1)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. src/archive/zip/writer_test.go

    	}
    	err := w.AddFS(writeTestsToFS(tests))
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// Add subfolder into fsys to match what we'll read from the zip.
    	tests = append(tests[:2:2], WriteTest{Name: "subfolder", Mode: 0o555 | os.ModeDir}, tests[2])
    
    	// read it back
    	r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len()))
    	if err != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * @param array
         *            the array
         * @param obj
         *            the object to search for
         * @param fromIndex
         *            the index to start the search from
         * @return the index of the first occurrence of the object in the array, or {@literal -1} if not found
         */
        public static <T> int indexOf(final T[] array, final T obj, final int fromIndex) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import java.util.regex.Pattern;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Generates fresh instances of types that are different from each other (if possible).
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullUnmarked
    @SuppressWarnings("nullness")
    class FreshValueGenerator {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/DES.java

    // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    // SUCH DAMAGE.
    //
    
    package jcifs.smb1.util;
    
    /**
     * This code is derived from the above source
     * JCIFS API
     * Norbert Hranitzky
     *
     * <p>and modified again by Michael B. Allen
     */
    
    public class DES {
    
        private final int[] encryptKeys = new int[32];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            }
        }
    
        public void test_sendCommand_withRunningProcess() {
            String sessionId = "test_send_command";
            List<String> cmdList = Arrays.asList("cat"); // cat reads from stdin
            Consumer<ProcessBuilder> pbCall = pb -> {
                pb.redirectErrorStream(true);
            };
    
            try {
                JobProcess jobProcess = processHelper.startProcess(sessionId, cmdList, pbCall);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            mockBhv.setTestData(testData);
    
            relatedContentHelper.load();
    
            // Mock virtual host helper to return empty key (different from host1)
            virtualHostHelper = new VirtualHostHelper() {
                @Override
                public String getVirtualHostKey() {
                    return "";
                }
            };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top