Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4541 - 4550 of 5,353 for Return (0.04 sec)

  1. guava-tests/test/com/google/common/collect/TreeBasedTableRowMapTest.java

    @NullMarked
    public class TreeBasedTableRowMapTest extends RowMapTests {
      public TreeBasedTableRowMapTest() {
        super(false, true, true, true);
      }
    
      @Override
      Table<String, Integer, Character> makeTable() {
        return TreeBasedTable.create();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. cmd/os-dirent_ino.go

    //go:build (linux || darwin) && !appengine
    // +build linux darwin
    // +build !appengine
    
    package cmd
    
    import "syscall"
    
    func direntInode(dirent *syscall.Dirent) uint64 {
    	return dirent.Ino
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 953 bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals(183L, MemoryUtil.sizeOf(nestedMap));
        }
    
        public void test_sizeOf_customObjects() {
            // Test fallback case for custom objects (should return 16L)
            assertEquals(16L, MemoryUtil.sizeOf(new Object()));
            assertEquals(16L, MemoryUtil.sizeOf(new CustomTestObject()));
            assertEquals(16L, MemoryUtil.sizeOf(Boolean.TRUE));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. docs/contribute/concurrency.md

    ### Threads
    
    #### Application's calling thread
    
    The application-layer must block on writing I/O. We can't return from a write until we've pushed its bytes onto the socket. Otherwise, if the write fails we are unable to deliver its IOException to the application. We would have told the application layer that the write succeeded, but it didn't!
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

        val certificateFactory = CertificateFactory.getInstance("X.509")
        val certificates =
          certificateFactory
            .generateCertificates(
              Buffer().writeUtf8(this).inputStream(),
            )
    
        return certificates.single() as X509Certificate
      } catch (nsee: NoSuchElementException) {
        throw IllegalArgumentException("failed to decode certificate", nsee)
      } catch (iae: IllegalArgumentException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

        assertEmpty(getMultiset());
      }
    
      /**
       * Returns {@link Method} instances for the read tests that assume multisets support duplicates so
       * that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getElementSetDuplicateInitializingMethods() {
        return asList(
            getMethod(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        map.put(new Object(), Boolean.TRUE);
        GcFinalization.awaitDone(
            new FinalizationPredicate() {
              @Override
              public boolean isDone() {
                return map.isEmpty();
              }
            });
        assertTrue(map.isEmpty());
      }
    
      // ----------------------------------------------------------------
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileTest.java

                when(mockLocator.getUNCPath()).thenReturn("\\localhost\share\newdir");
                when(mockLocator.getShare()).thenReturn("share");
                // Mock tree handle's getConfig() to return our mock config
                when(mockTreeHandle.getConfig()).thenReturn(mockConfig);
            }
    
            @Test
            void testMkdir() throws SmbException, CIFSException {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. tests/lru_test.go

    	if v != "val1" {
    		t.Fatalf("value differs from expected")
    	}
    	if !ok {
    		t.Fatalf("should be true")
    	}
    
    	for {
    		result, ok := lc.Get("key1")
    		if ok && result == "" {
    			t.Fatalf("ok should return a result")
    		}
    		if !ok {
    			break
    		}
    	}
    
    	time.Sleep(time.Millisecond * 100) // wait for expiration reaper
    	if lc.Len() != 0 {
    		t.Fatalf("length differs from expected")
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

    import org.lastaflute.web.direction.FwWebDirection;
    
    public class FessCurtainFinallyHookTest extends UnitFessTestCase {
    
        private FwAssistantDirector createMockAssistantDirector() {
            return new org.codelibs.fess.mylasta.direction.FessFwAssistantDirector();
        }
    
        private FessCurtainFinallyHook curtainFinallyHook;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top