Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3081 - 3090 of 4,402 for Spring (0.04 sec)

  1. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

        @BeforeEach
        void setUp() {
            // Setup is handled by MockitoExtension
        }
    
        @Test
        void constructor_shouldOpenPolicySuccessfully() throws IOException {
            // Arrange
            String server = "testServer";
            int access = 123;
    
            // Mock the behavior of sendrecv for MsrpcLsarOpenPolicy2
            doAnswer(invocation -> {
                MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DosErrorTest.java

        void messagesOutOfBoundsThrows() {
            // Arrange
            String[] msgs = DosError.DOS_ERROR_MESSAGES;
    
            // Act & Assert: negative index
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                @SuppressWarnings("unused")
                String s = msgs[-1];
            });
    
            // Act & Assert: index equal to length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. utils/utils_unix_test.go

    //go:build unix
    // +build unix
    
    package utils
    
    import (
    	"testing"
    )
    
    func TestSourceDir(t *testing.T) {
    	cases := []struct {
    		file string
    		want string
    	}{
    		{
    			file: "/Users/name/go/pkg/mod/gorm.io/gorm@v1.2.3/utils/utils.go",
    			want: "/Users/name/go/pkg/mod/gorm.io/",
    		},
    		{
    			file: "/go/work/proj/gorm/utils/utils.go",
    			want: "/go/work/proj/gorm/",
    		},
    		{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Nov 21 02:48:13 UTC 2022
    - 731 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/pager/GroupPager.java

        /** Current page number being displayed. */
        private int currentPageNumber;
    
        /** Group ID for search filtering. */
        public String id;
    
        /** Group name for search filtering. */
        public String name;
    
        /** Version number for optimistic locking. */
        public String versionNo;
    
        /**
         * Default constructor for GroupPager.
         * Initializes the pager with default values for pagination settings.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

      }
    
      public void testString() {
        Random random = new Random();
        for (int i = 0; i < 100; i++) {
          byte[] bytes = new byte[64];
          random.nextBytes(bytes);
          String s = new String(bytes, UTF_16LE); // so all random strings are valid
          assertEquals(
              new TestHasher().putUnencodedChars(s).hash(),
              new TestHasher().putBytes(s.getBytes(UTF_16LE)).hash());
          assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/AbstractValueGraph.java

            && edgeValueMap(this).equals(edgeValueMap(other));
      }
    
      @Override
      public final int hashCode() {
        return edgeValueMap(this).hashCode();
      }
    
      /** Returns a string representation of this graph. */
      @Override
      public String toString() {
        return "isDirected: "
            + isDirected()
            + ", allowsSelfLoops: "
            + allowsSelfLoops()
            + ", nodes: "
            + nodes()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingObject.java

       * instance being decorated.
       */
      protected abstract Object delegate();
    
      /** Returns the string representation generated by the delegate's {@code toString} method. */
      @Override
      public String toString() {
        return delegate().toString();
      }
    
      /* No equals or hashCode. See class comments for details. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

                  assertThat(responseA.body.string()).isEqualTo("a")
                }
                chain.proceed(chain.request())
              },
            ).build()
        val requestB =
          Request
            .Builder()
            .url(server.url("/b"))
            .build()
        val responseB = client.newCall(requestB).execute()
        assertThat(responseB.body.string()).isEqualTo("b")
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ExtraObjectsMethodsForWeb.java

    import org.jspecify.annotations.Nullable;
    
    /** Holder for extra methods of {@code Objects} only in web. */
    public abstract class ExtraObjectsMethodsForWeb {
      public static boolean equal(@Nullable String a, @Nullable String b) {
        return a == b;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 883 bytes
    - Viewed (0)
  10. cmd/stserrorcode_string.go

    var _STSErrorCode_index = [...]uint16{0, 7, 22, 41, 65, 91, 118, 145, 171, 192, 219, 244, 261, 281, 297, 313}
    
    func (i STSErrorCode) String() string {
    	if i < 0 || i >= STSErrorCode(len(_STSErrorCode_index)-1) {
    		return "STSErrorCode(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _STSErrorCode_name[_STSErrorCode_index[i]:_STSErrorCode_index[i+1]]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 05 00:29:41 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top