Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3651 - 3660 of 6,434 for fstring (0.04 seconds)

  1. src/test/java/jcifs/pac/PACDecodingExceptionTest.java

            assertNull(e.getMessage());
            assertNull(e.getCause());
        }
    
        /**
         * Test the constructor with a message.
         */
        @Test
        void testMessageConstructor() {
            String errorMessage = "This is a test error message.";
            PACDecodingException e = new PACDecodingException(errorMessage);
            // Expect the message to be set correctly and cause to be null
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
      public BaseComparable(String s) {
        this.s = s;
      }
    
      @Override
      public int hashCode() { // delegate to 's'
        return s.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/ParseResponseWithMoshi.kt

            println(key)
            println(value.content)
          }
        }
      }
    
      @JsonClass(generateAdapter = true)
      data class Gist(
        var files: Map<String, GistFile>?,
      )
    
      @JsonClass(generateAdapter = true)
      data class GistFile(
        var content: String?,
      )
    }
    
    fun main() {
      ParseResponseWithMoshi().run()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PostFile.java

        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostFile().run();
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 25 18:02:55 GMT 2019
    - 1.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/artifact/InvalidDependencyVersionException.java

        public InvalidDependencyVersionException(
                String projectId, Dependency dependency, File pomFile, InvalidVersionSpecificationException cause) {
            super(projectId, formatLocationInPom(dependency), dependency.getVersion(), pomFile, cause);
            this.dependency = dependency;
        }
    
        private static String formatLocationInPom(Dependency dependency) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. tests/test_response_code_no_body.py

                        "required": ["status", "title"],
                        "type": "object",
                        "properties": {
                            "status": {"title": "Status", "type": "string"},
                            "title": {"title": "Title", "type": "string"},
                        },
                    },
                    "JsonApiError": {
                        "title": "JsonApiError",
                        "required": ["errors"],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java

         * @param prefix The prefix string to be used in generating the file's name.
         * @param suffix The suffix string to be used in generating the file's name.
         * @param directory The directory in which the file is to be created, or null if the default temporary-file directory is to be used.
         * @return The created temporary file.
         */
        protected File createTempFile(final String prefix, final String suffix, final File directory) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Wed Nov 19 08:55:01 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

      @JvmStatic
      fun headerEntries(vararg elements: String?): List<Header> = List(elements.size / 2) { Header(elements[it * 2]!!, elements[it * 2 + 1]!!) }
    
      @JvmStatic
      fun repeat(
        c: Char,
        count: Int,
      ): String {
        val array = CharArray(count)
        Arrays.fill(array, c)
        return String(array)
      }
    
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            // Test the toString method
            String pipeName = "\\\\pipe\\testPipe";
            TransWaitNamedPipe pipe = new TransWaitNamedPipe(pipeName);
    
            String result = pipe.toString();
            assertNotNull(result);
            assertTrue(result.contains("TransWaitNamedPipe"), "toString should contain class name");
            assertTrue(result.contains(pipeName), "toString should contain pipe name");
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. cmd/batch-expire.go

    	}
    
    	return nil
    }
    
    //msgp:ignore batchExpireJobError
    type batchExpireJobError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    }
    
    func (e batchExpireJobError) Error() string {
    	return e.Description
    }
    
    // maxBatchRules maximum number of rules a batch-expiry job supports
    const maxBatchRules = 50
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Apr 22 11:16:32 GMT 2025
    - 23K bytes
    - Click Count (0)
Back to Top