Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 3,508 for should (0.03 sec)

  1. tests/generics_test.go

    			if len(result.Pets) != len(u.Pets) {
    				t.Fatalf("Preload user %v pets should be %v, but got %+v", u.Name, u.Pets, result.Pets)
    			}
    			if len(result.Friends) != len(u.Friends) {
    				t.Fatalf("Preload user %v pets should be %v, but got %+v", u.Name, u.Pets, result.Pets)
    			}
    		} else if len(result.Pets) != 5 || len(result.Friends) == 0 {
    			t.Fatalf("Preload user %v pets should be 5, but got %+v", result.Name, result.Pets)
    		}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfPresent_supportedAbsent() {
        assertNull(
            "computeIfPresent(notPresent, function) should return null",
            getMap()
                .computeIfPresent(
                    k3(),
                    (k, v) -> {
                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. doc/README.md

    glob "*stdlib/*minor" are treated specially. They should be in subdirectories
    corresponding to standard library package paths, and headings for those package
    paths will be generated automatically.
    
    Files in this repo's `api/next` directory must have corresponding files in
    `doc/next/*stdlib/*minor`.
    The files should be in the subdirectory for the package with the new
    API, and should be named after the issue number of the API proposal.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 22 17:55:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            System.out.printf("  Avg release time: %.2f ns%n", avgReleaseTimeNs);
    
            // Verify O(1) performance - should be reasonably fast (allowing for JVM overhead)
            assertTrue(avgAllocTimeNs < 10000, "Average allocation should be under 10000ns (O(1) performance)");
            assertTrue(avgReleaseTimeNs < 10000, "Average release should be under 10000ns (O(1) performance)");
            assertEquals(threadCount * operationsPerThread, allocations.get());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

                // If suppression is disabled, getSuppressed should return empty array
                assertEquals(0, exception.getSuppressed().length);
            } catch (Exception e) {
                // If an exception is thrown when trying to add suppressed, that's also valid
                // since suppression is disabled
            }
    
            // Stack trace should be empty since writableStackTrace is false
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. cmd/metacache-manager.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"fmt"
    	"runtime/debug"
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/logger"
    )
    
    // localMetacacheMgr is the *local* manager for this peer.
    // It should never be used directly since buckets are
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertSame(ndrBuffer.deferred, derivedBuffer.deferred); // Deferred should be the same as original
    
            // Ensure changes to derived buffer don't affect original's index/start
            derivedBuffer.advance(5);
            assertEquals(15, derivedBuffer.index);
            assertEquals(50, ndrBuffer.index); // Original index should be unchanged
        }
    
        @Test
        void testReset() {
            ndrBuffer.advance(100);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/LmhostsTest.java

            }
    
            when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath());
    
            // First call should read the file
            NbtAddress result1 = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result1);
    
            // Second call should use cached data (file not modified)
            NbtAddress result2 = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java

            String result = smbComTreeDisconnect.toString();
    
            // Then
            assertTrue(result.startsWith("SmbComTreeDisconnect["), "toString should start with 'SmbComTreeDisconnect['");
            assertTrue(result.endsWith("]"), "toString should end with ']'");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

        class ResultManagementTests {
    
            @Test
            @DisplayName("getResult should return null for success (result=0)")
            void testGetResultSuccess() {
                message.result = 0;
                assertNull(message.getResult());
            }
    
            @Test
            @DisplayName("getResult should return DcerpcException for non-zero result")
            void testGetResultError() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
Back to top