Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2361 - 2370 of 7,017 for string (0.05 seconds)

  1. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

        }
    
        @Test
        @DisplayName("Should create meaningful string representation")
        void testToString() {
            // Given
            String message = "Test CIFS runtime error";
            RuntimeCIFSException exception = new RuntimeCIFSException(message);
    
            // When
            String stringRep = exception.toString();
    
            // Then
            assertNotNull(stringRep);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

         * @param pattern
         *            The pattern string
         * @return The converted {@literal short}
         */
        public static short toPrimitiveShort(final Object o, final String pattern) {
            if (o == null) {
                return 0;
            } else if (o instanceof Number) {
                return ((Number) o).shortValue();
            } else if (o instanceof String) {
                return toPrimitiveShort((String) o);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/StandardSystemProperty.java

      USER_DIR("user.dir");
    
      private final String key;
    
      StandardSystemProperty(String key) {
        this.key = key;
      }
    
      /** Returns the key used to look up this system property. */
      public String key() {
        return key;
      }
    
      /**
       * Returns the current value for this system property by delegating to {@link
       * System#getProperty(String)}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 06 10:03:30 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/exception/ExceptionSummary.java

        private Throwable exception;
    
        private String message;
    
        private String reference;
    
        private List<ExceptionSummary> children;
    
        public ExceptionSummary(Throwable exception, String message, String reference) {
            this(exception, message, reference, null);
        }
    
        public ExceptionSummary(Throwable exception, String message, String reference, List<ExceptionSummary> children) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        UnicodeEscaper spaceEscaper = new PercentEscaper(" ", false);
    
        assertThat(basicEscaper.escape("string with spaces")).isEqualTo("string%20with%20spaces");
        assertThat(plusForSpaceEscaper.escape("string with spaces")).isEqualTo("string+with+spaces");
        assertThat(spaceEscaper.escape("string with spaces")).isEqualTo("string with spaces");
      }
    
      /** Tests that if we add extra 'safe' characters they remain unescaped */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            result = netShareEnum.readDataWireFormat(buffer, 0, 0);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            netShareEnum = new NetShareEnum(realConfig);
    
            String result = netShareEnum.toString();
    
            assertNotNull(result);
            assertTrue(result.startsWith("NetShareEnum["));
            assertTrue(result.endsWith("]"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. cmd/bucket-replication.go

    func filterReplicationStatusMetadata(metadata map[string]string) map[string]string {
    	// Copy on write
    	dst := metadata
    	var copied bool
    	delKey := func(key string) {
    		if _, ok := metadata[key]; !ok {
    			return
    		}
    		if !copied {
    			dst = make(map[string]string, len(metadata))
    			maps.Copy(dst, metadata)
    			copied = true
    		}
    		delete(dst, key)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

         *
         * @param label the item label
         * @param value the item value
         * @return map containing the item
         */
        protected Map<String, String> createItem(final String label, final String value) {
            final Map<String, String> map = new HashMap<>(2);
            map.put(Constants.ITEM_LABEL, label);
            map.put(Constants.ITEM_VALUE, value);
            return map;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  9. cmd/format-erasure_test.go

    				formatMetaV1: formatMetaV1{
    					Version: "2",
    					Format:  "Erasure",
    				},
    				Erasure: struct {
    					Version          string     `json:"version"`
    					This             string     `json:"this"`
    					Sets             [][]string `json:"sets"`
    					DistributionAlgo string     `json:"distributionAlgo"`
    				}{
    					Version: "2",
    				},
    			},
    			false,
    		},
    		// Invalid Erasure format "Unknown".
    		{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

        }
        return result
      }
    
      override fun toString(): String {
        if (!isTls) return "ConnectionSpec()"
    
        return (
          "ConnectionSpec(" +
            "cipherSuites=${Objects.toString(cipherSuites, "[all enabled]")}, " +
            "tlsVersions=${Objects.toString(tlsVersions, "[all enabled]")}, " +
            "supportsTlsExtensions=$supportsTlsExtensions)"
        )
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 09:36:53 GMT 2026
    - 13.5K bytes
    - Click Count (0)
Back to Top