Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 285 for cbad (0.04 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

     */
    public class UpgradeInvoker extends LookupInvoker<UpgradeContext> {
    
        public static final int OK = 0; // OK
        public static final int ERROR = 1; // "generic" error
        public static final int BAD_OPERATION = 2; // bad user input or alike
        public static final int CANCELED = 3; // user canceled
    
        public UpgradeInvoker(Lookup protoLookup, @Nullable Consumer<LookupContext> contextConsumer) {
            super(protoLookup, contextConsumer);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. cmd/generic-handlers.go

    		// under CI/CD test setups ignore empty hosts as invalid hosts
    		return nil
    	}
    	_, err := xnet.ParseHost(host)
    	return err
    }
    
    // Check if the incoming path has bad path components,
    // such as ".." and "."
    func hasBadPathComponent(path string) bool {
    	n := len(path)
    	if n > 32<<10 {
    		// At 32K we are beyond reasonable.
    		return true
    	}
    	i := 0
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.7K bytes
    - Click Count (1)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

          }
        }
      }
    
      abstract val path: Any
    
      /**
       * Reads the public suffix list treating the operation as uninterruptible. We always want to read
       * the list otherwise we'll be left in a bad state. If the thread was interrupted prior to this
       * operation, it will be re-interrupted after the list is read.
       */
      private fun readTheListUninterruptibly() {
        var interrupted = false
        try {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt

        assertThat(response.handshake!!.localPrincipal).isNull()
        assertThat(response.handshake!!.peerCertificates).isEmpty()
        assertThat(response.handshake!!.peerPrincipal).isNull()
      }
    
      @Test fun `bad certificates host in insecureHosts fails with SSLException`() {
        val heldCertificate =
          HeldCertificate
            .Builder()
            .addSubjectAlternativeName("example.com")
            .build()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/RequestParamTest.java

            IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, () -> RequestParam.valueOf(badName));
            assertTrue(ex.getMessage().contains(badName), "Exception message should mention the bad name");
        }
    
        // Edge/Invalid: empty string is invalid for valueOf
        @ParameterizedTest
        @EmptySource
        @DisplayName("valueOf(\"\") throws IllegalArgumentException for empty input")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                byte[] buf = new byte[4];
                assertEquals(0, in.readDirect(buf, 0, 0));
                assertEquals(0, in.read(new byte[0]));
            }
    
            @Test
            @DisplayName("read after close throws 'Bad file descriptor'")
            void readAfterCloseThrows() throws Exception {
                SmbFileInputStream in = newStream();
                // closing should null tmp; subsequent readDirect should fail
                in.close();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  7. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * setException() will be a no-op because the Future is already done.
         *
         * Both scenarios are bad: The output Future might never complete, or, if it does complete, it
         * might not run some of its listeners. The likely result is that the app will hang. (And of
         * course stack overflows are bad news in general. For example, we may have overflowed in the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. .teamcity/README.md

        Otherwise, TeamCity complains "Can't find the previous revision, please commit current settings first".
      - If anything bad happens, feel free to delete the project you created and retry (you may need to apply `Synchronization disabled` before deleting it).  
        
    If no errors, your new pipeline will be displayed on TeamCity web UI:
    
    ```
    Gradle
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 06 23:02:25 GMT 2024
    - 4K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java

        public static final int OK_STATUS_CODE = 200;
    
        /**
         * The HTTP status code for Not Modified.
         */
        public static final int NOT_MODIFIED_STATUS_CODE = 304;
    
        /**
         * The HTTP status code for Bad Request.
         */
        public static final int BAD_REQUEST_STATUS_CODE = 400;
    
        /**
         * The HTTP status code for Forbidden.
         */
        public static final int FORBIDDEN_STATUS_CODE = 403;
    
        /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  10. src/bufio/scan_test.go

    		if j < smallMaxTokenSize {
    			j++
    		} else {
    			j--
    		}
    		line := tmp.String() // We use the string-valued token here, for variety.
    		if s.Text() != line {
    			t.Errorf("%d: bad line: %d %d\n%.100q\n%.100q\n", lineNum, len(s.Bytes()), len(line), s.Text(), line)
    		}
    	}
    	err := s.Err()
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    // Test that the line splitter errors out on a long line.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Click Count (0)
Back to Top