Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 189 for bad (0.01 seconds)

  1. src/bufio/bufio_test.go

    	if isPrefix || err != nil || string(line) != line1 {
    		t.Errorf("bad result for first line: isPrefix=%v err=%v line=%q", isPrefix, err, string(line))
    	}
    	n, err := io.Copy(outbuf, l)
    	if int(n) != len(restData) || err != nil {
    		t.Errorf("bad result for Read: n=%d err=%v", n, err)
    	}
    	if outbuf.String() != restData {
    		t.Errorf("bad result for Read: got %q; expected %q", outbuf.String(), restData)
    	}
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  2. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 18 21:56:31 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  4. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15K bytes
    - Click Count (0)
  5. CODE_OF_CONDUCT.md

    
    ## Conflict Resolution
    
    Conflicts in an open source project can take many forms, from someone having a bad day and using harsh and hurtful language in the issue queue, to more serious instances such as sexist/racist statements or threats of violence, and everything in between.
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Feb 05 18:43:16 GMT 2021
    - 5.2K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                case 5 -> new DefaultArtifact(parts[0], parts[1], parts[2], parts[3], parts[4]);
                default ->
                    throw new IllegalArgumentException("Bad artifact coordinates " + coords
                            + ", expected format is <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>");
            };
            return s;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/reflect/TypesTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link Types}.
     *
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    @NullUnmarked
    public class TypesTest extends TestCase {
      public void testNewParameterizedType_ownerTypeImplied() throws Exception {
        ParameterizedType jvmType =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  8. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/asm/asm.go

    		default:
    			p.errorf("bad int size for DATA argument: %d", sz)
    		}
    	case obj.TYPE_FCONST:
    		switch sz {
    		case 4:
    			nameAddr.Sym.WriteFloat32(p.ctxt, nameAddr.Offset, float32(valueAddr.Val.(float64)))
    		case 8:
    			nameAddr.Sym.WriteFloat64(p.ctxt, nameAddr.Offset, valueAddr.Val.(float64))
    		default:
    			p.errorf("bad float size for DATA argument: %d", sz)
    		}
    	case obj.TYPE_SCONST:
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 21 15:13:08 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests of {@link TypeResolver}.
     *
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    @NullUnmarked
    public class TypeResolverTest extends TestCase {
    
      public void testWhere_noMapping() {
        Type t = aTypeVariable();
        assertEquals(t, new TypeResolver().resolveType(t));
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 9.8K bytes
    - Click Count (0)
Back to Top