Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 1,926 for add (0.5 sec)

  1. guava-tests/test/com/google/common/base/PreconditionsTest.java

        allOverloads.add(ImmutableList.<Class<?>>of(predicateType));
        allOverloads.add(ImmutableList.<Class<?>>of(predicateType, Object.class));
    
        List<List<Class<?>>> typesLists = new ArrayList<>();
        for (int i = 0; i < 2; i++) {
          typesLists.add(POSSIBLE_PARAM_TYPES);
          for (List<Class<?>> curr : Lists.cartesianProduct(typesLists)) {
            allOverloads.add(
                ImmutableList.<Class<?>>builder()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SetViewTest.java

                      protected Set<String> create(String[] elements) {
                        Set<String> set1 = newHashSet(elements);
                        set1.add(samples().e3());
                        Set<String> set2 = newHashSet(elements);
                        set2.add(samples().e4());
                        return intersection(set1, set2);
                      }
                    })
                .named("set & set")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  3. cmd/local-locker.go

    	locksOverloaded atomic.Int64
    }
    
    // getMutex will lock the mutex.
    // Call the returned function to unlock.
    func (l *localLocker) getMutex() func() {
    	l.waitMutex.Add(1)
    	l.mutex.Lock()
    	l.waitMutex.Add(-1)
    	return l.mutex.Unlock
    }
    
    func (l *localLocker) String() string {
    	return globalEndpoints.Localhost()
    }
    
    func (l *localLocker) canTakeLock(resources ...string) bool {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/archive/zip/example_test.go

    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func ExampleWriter() {
    	// Create a buffer to write our archive to.
    	buf := new(bytes.Buffer)
    
    	// Create a new zip archive.
    	w := zip.NewWriter(buf)
    
    	// Add some files to the archive.
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    		{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 27 00:22:03 UTC 2016
    - 2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolder.java

         */
        public SmbAuthenticationHolder() {
            super();
        }
    
        /**
         * Adds an SMB authentication configuration to the holder.
         * @param auth The SMB authentication configuration to add.
         */
        public void add(final SmbAuthentication auth) {
            authMap.put(auth.getPathPrefix(), auth);
        }
    
        /**
         * Retrieves an SMB authentication configuration that matches the given path.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessFwAssistantDirector.java

        //                                                                              ======
        @Override
        protected void prepareAssistDirection(final FwAssistDirection direction) {
            direction.directConfig(nameList -> nameList.add("fess_config.properties"), "fess_env.properties");
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. docs/features/calls.md

    OkHttp may add headers that are absent from the original request, including `Content-Length`, `Transfer-Encoding`, `User-Agent`, `Host`, `Connection`, and `Content-Type`. It will add an `Accept-Encoding` header for transparent response compression unless the header is already present. If you’ve got cookies, OkHttp will add a `Cookie` header with them.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java

        assertTrue(result.remove(v0()));
    
        assertFalse(multimap().containsKey(k0()));
        assertFalse(multimap().containsEntry(k0(), v0()));
        assertEmpty(result);
    
        assertTrue(result.add(v1()));
        assertTrue(result.add(v2()));
    
        assertContentsAnyOrder(result, v1(), v2());
        assertContentsAnyOrder(multimap().get(k0()), v1(), v2());
        assertTrue(multimap().containsKey(k0()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer[4] = (byte) 0xA9; // Access mask byte 0
            testBuffer[5] = 0x00; // Access mask byte 1
            testBuffer[6] = 0x12; // Access mask byte 2
            testBuffer[7] = 0x00; // Access mask byte 3
    
            // Add minimal SID data (S-1-1-0 - Everyone)
            testBuffer[8] = 0x01; // Revision
            testBuffer[9] = 0x01; // Sub-authority count
            testBuffer[10] = 0x00; // Identifier authority
            testBuffer[11] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            // Different statuses likely have different hashCodes (not guaranteed but typical)
            Set<Integer> hashCodes = new HashSet<>();
            hashCodes.add(CrawlerStatus.INITIALIZING.hashCode());
            hashCodes.add(CrawlerStatus.RUNNING.hashCode());
            hashCodes.add(CrawlerStatus.DONE.hashCode());
    
            // While not guaranteed, typically enum hashCodes are different
            assertTrue(hashCodes.size() > 1);
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top