Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 315 for badc (0.02 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

        body: RequestBody? = null,
      ) {
        with(override) {
          client =
            client
              .newBuilder()
              // Set the bad override directly on the client
              .withOverride(badValue)
              .addInterceptor { chain ->
                // the only way to stop a bad override of a client is with a good override of an interceptor
                chain
                  .run {
                    if (testItFails) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  2. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        private final Arithmetic arithmetic;
    
        ForwardsToTheWrongMethod(Arithmetic arithmetic) {
          this.arithmetic = arithmetic;
        }
    
        @Override
        public int minus(int a, int b) { // bad!
          return arithmetic.add(a, b);
        }
    
        @Override
        public int add(int a, int b) {
          return arithmetic.add(a, b);
        }
    
        @Override
        public String toString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       * @return this for the builder pattern
       */
      @CanIgnoreReturnValue
      public ThreadFactoryBuilder setNameFormat(String nameFormat) {
        String unused = format(nameFormat, 0); // fail fast if the format is bad or null
        this.nameFormat = nameFormat;
        return this;
      }
    
      /**
       * Sets daemon or not for new threads created with this ThreadFactory.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/dcerpc/DcerpcBinding.java

                        this.minor = Integer.parseInt(iface.substring(p + 1));
                        return;
                    }
                }
                throw new DcerpcException("Bad endpoint: " + this.endpoint);
            }
            if (this.options == null) {
                this.options = new HashMap<>();
            }
            this.options.put(key, val);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                WebApiUtil.setError(201, "Created");
                WebApiUtil.setError(400, "Bad Request");
                WebApiUtil.setError(401, "Unauthorized");
                WebApiUtil.setError(403, "Forbidden");
                WebApiUtil.setError(404, "Not Found");
                WebApiUtil.setError(500, "Internal Server Error");
                WebApiUtil.setError(502, "Bad Gateway");
                WebApiUtil.setError(503, "Service Unavailable");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            m.decode_header(buf);
            assertEquals(0, m.ptype);
        }
    
        @Test
        void testDecodeHeaderInvalidVersion() {
            NdrBuffer buf = new NdrBuffer(new byte[10], 0);
            buf.enc_ndr_small(4); // bad major
            buf.enc_ndr_small(0);
            TestMessage msg = new TestMessage();
            assertThrows(NdrException.class, () -> msg.decode_header(buf));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. cmd/object-lambda-handlers_test.go

    			statusCode:   200,
    			body:         "full-object-data",
    			contentType:  "application/json",
    			expectStatus: 200,
    		},
    		{
    			name:         "Client Error 400",
    			statusCode:   400,
    			body:         "bad-request",
    			contentType:  "application/xml",
    			expectStatus: 400,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 18 21:56:31 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            // Test with chain containing both Errors and Exceptions
            String message = "SSO login complex error chain";
            IllegalStateException innerException = new IllegalStateException("Bad state");
            AssertionError middleError = new AssertionError("Assertion failed", innerException);
            RuntimeException outerException = new RuntimeException("Wrapper exception", middleError);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  9. docs/changelogs/upgrading_to_okhttp_4.md

    #### Internal API changes
    
    The `okhttp3.internal` package is not a published API and we change it frequently without warning.
    Depending on code in this package is bad and will cause you problems with any upgrade! But the 4.x
    will be particularly painful to naughty developers that import from this package! We changed a lot
    to take advantage of sweet Kotlin features.
    
    #### Credentials.basic()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  10. internal/event/target/elasticsearch.go

    	parts := strings.Split(version, ".")
    	if len(parts) < 1 {
    		err = fmt.Errorf("bad ES version string: %s", version)
    		return res, err
    	}
    
    	majorVersion, err := strconv.Atoi(parts[0])
    	if err != nil {
    		err = fmt.Errorf("bad ES version string: %s", version)
    		return res, err
    	}
    
    	switch {
    	case majorVersion <= 6:
    		res = ESSUnsupported
    	default:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15K bytes
    - Click Count (0)
Back to Top