Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,554 for docstring (1.08 sec)

  1. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

        return super.hashCode();
      }
    
      /**
       * By default delegates to {@link Object#toString}. The dynamic proxies' {@code toString()} will
       * delegate to this method. Subclasses can override this method to provide custom string
       * representation for the proxies.
       */
      @Override
      public String toString() {
        return super.toString();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            // When
            String s = next.toString();
    
            // Then
            assertTrue(s.startsWith("Trans2FindNext2["), "toString should start with class name");
            assertTrue(s.contains(",sid=" + sid), "toString should include sid in decimal");
            assertTrue(s.contains(",searchCount=" + Trans2FindFirst2.LIST_SIZE), "toString should include searchCount using LIST_SIZE");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            assertTrue(ex instanceof SmbException, "Should be an SmbException");
    
            // toString should include the class name and the message
            String ts = ex.toString();
            assertTrue(ts.contains("SmbUnsupportedOperationException"), "toString should contain class name");
            assertTrue(ts.contains(ex.getMessage()), "toString should contain the detail message");
        }
    
        @ParameterizedTest(name = "Message preserved: [{0}]")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

        }
    
        /**
         * Test toString method behavior - requires valid configuration
         */
        @Test
        @DisplayName("Test toString requires valid configuration")
        public void testToStringRequiresValidConfig() {
            // Constructor with null config throws exception, so we can't test toString with null config
            // Instead, test that toString works with a valid config
    
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

        for (int i = 0; i < ARRAY_SIZE; i++) {
          longs[i] = random();
          divisors[i] = randomDivisor(longs[i]);
          decimalStrings[i] = UnsignedLongs.toString(longs[i]);
          binaryStrings[i] = UnsignedLongs.toString(longs[i], 2);
          hexStrings[i] = UnsignedLongs.toString(longs[i], 16);
          prefixedHexStrings[i] = "0x" + hexStrings[i];
        }
      }
    
      @Benchmark
      long divide(int reps) {
        long tmp = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SIDTest.java

            @Test
            @DisplayName("Textual constructor happy path and toString consistency")
            void testTextualConstructorAndToString() throws Exception {
                // Arrange
                SID sid = new SID("S-1-5-21-1-2-3-1029");
    
                // Act & Assert
                // toString should reconstruct exact textual form
                assertEquals("S-1-5-21-1-2-3-1029", sid.toString());
                // RID is the last subauthority
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Predicates.java

          }
    
          @Override
          public String toString() {
            return "Predicates.alwaysTrue()";
          }
        },
        /**
         * @see Predicates#alwaysFalse()
         */
        ALWAYS_FALSE {
          @Override
          public boolean apply(@Nullable Object o) {
            return false;
          }
    
          @Override
          public String toString() {
            return "Predicates.alwaysFalse()";
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/orig/view/error/redirect.jsp

    		response.sendRedirect(redirectPage.toString());
    	} else {
    		response.sendError(statusCode);
    	}
    } else if("logOut".equals(type)) {
    	redirectPage.append("/login/?type=logout&code=" + statusCode);
    	response.sendRedirect(redirectPage.toString());
    } else if("badRequest".equals(type)) {
    	redirectPage.append("/error/badrequest/");
    	response.sendRedirect(redirectPage.toString());
    } else if(!"badAuth".equals(type)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/error/redirect.jsp

    		response.sendRedirect(redirectPage.toString());
    	} else {
    		response.sendError(statusCode);
    	}
    } else if("logOut".equals(type)) {
    	redirectPage.append("/login/?type=logout&code=" + statusCode);
    	response.sendRedirect(redirectPage.toString());
    } else if("badRequest".equals(type)) {
    	redirectPage.append("/error/badrequest/");
    	response.sendRedirect(redirectPage.toString());
    } else if(!"badAuth".equals(type)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsSearchLogBhv.java

                result.setAccessType(DfTypeUtil.toString(source.get("accessType")));
                result.setClientIp(DfTypeUtil.toString(source.get("clientIp")));
                result.setHitCount(DfTypeUtil.toLong(source.get("hitCount")));
                result.setHitCountRelation(DfTypeUtil.toString(source.get("hitCountRelation")));
                result.setLanguages(DfTypeUtil.toString(source.get("languages")));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top