Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 1,810 for cause (0.02 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                Path projectDir = tempDir.resolve("project");
                Files.createDirectories(projectDir);
    
                // Create a file where .mvn directory should be (to cause creation failure)
                Path mvnFile = projectDir.resolve(".mvn");
                Files.writeString(mvnFile, "blocking file");
    
                UpgradeContext context = createMockContext(projectDir);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

       * display. This includes two values for each extreme.
       *
       * <p>This method (dangerously) assume that the strings {@code "!! a"} and {@code "~~ z"} will
       * work for this purpose, which may cause problems for navigable maps with non-string or unicode
       * generators.
       */
      private static List<String> getExtremeValues() {
        List<String> result = new ArrayList<>();
        result.add("!! a");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            assertEquals(SessionServicePacket.SESSION_REQUEST, readPacket.type);
            assertTrue(bytesRead > 0);
        }
    
        @Test
        @DisplayName("Empty InputStream should cause IOException")
        void testReadTrailerWireFormatEmptyStream() {
            ByteArrayInputStream emptyStream = new ByteArrayInputStream(new byte[0]);
            SessionRequestPacket packet = new SessionRequestPacket(mockConfig);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbSessionImplTest.java

            SmbSessionImpl session = newSession();
    
            // Case 1: digest already set -> false
            SMBSigningDigest dg = mock(SMBSigningDigest.class);
            setField(session, "digest", dg);
            assertFalse(session.isSignatureSetupRequired());
    
            // Case 2: no digest, signing enforced by transport -> true
            setField(session, "digest", null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

              }
            };
        AssertionError actual = null;
        try {
          tester.test();
        } catch (AssertionError e) {
          actual = e;
        }
        assertNotNull("verify() should be able to cause test failure", actual);
        assertTrue(
            "AssertionError should have info about why test failed",
            actual.getCause().getMessage().contains(message));
      }
    
      public void testMissingException() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

            } catch (Exception // sneaky checked exception
                | Error atomicReferenceFieldUpdaterFailure) {
              // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
              // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
              // For these users fallback to a suboptimal implementation, based on synchronized. This
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            ToXContent xContent = new ToXContent() {
                @Override
                public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException {
                    // This may cause IOException due to OpenSearch XContent complexity
                    builder.startObject();
                    builder.field("string", "test");
                    builder.endObject();
                    return builder;
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  8. cmd/erasure-healing-common.go

    func convPartErrToInt(err error) int {
    	err = unwrapAll(err)
    	switch err {
    	case nil:
    		return checkPartSuccess
    	case errFileNotFound, errFileVersionNotFound:
    		return checkPartFileNotFound
    	case errFileCorrupt:
    		return checkPartFileCorrupt
    	case errVolumeNotFound:
    		return checkPartVolumeNotFound
    	case errDiskNotFound:
    		return checkPartDiskNotFound
    	default:
    		return checkPartUnknown
    	}
    }
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

         * </p>
         * <strong>Note:</strong>
         * The logger returned by this method must not be cached in an instance field during the construction of the mojo.
         * This would cause the mojo to use a wrongly configured default logger when being run by Maven. The proper logger
         * gets injected by the Plexus container after the mojo has been constructed. Therefore, simply call this
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     *
     * Each response body is backed by a limited resource like a socket (live network responses) or
     * an open file (for cached responses). Failing to close the response body will leak resources and
     * may ultimately cause the application to slow down or crash.
     *
     * Both this class and [Response] implement [Closeable]. Closing a response simply
     * closes its response body. If you invoke [Call.execute] or implement [Callback.onResponse] you
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K bytes
    - Click Count (0)
Back to Top