Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for picard (0.1 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            e.message == 'Unable to find matching strategy for someOther'
    
            when:
            schema.getMatchingStrategy(Attribute.of('picard', Flavor))
    
            then:
            e = thrown(IllegalArgumentException)
            e.message == 'Unable to find matching strategy for picard'
        }
    
        static class CustomCompatibilityRule implements AttributeCompatibilityRule<Flavor> {
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. src/compress/flate/deflate_test.go

    			break
    		}
    		w, err := NewWriter(io.Discard, level)
    		if err != nil {
    			t.Fatalf("NewWriter: %v", err)
    		}
    		buf := []byte("hello world")
    		n := 1024
    		if testing.Short() {
    			n = 10
    		}
    		for i := 0; i < n; i++ {
    			w.Write(buf)
    		}
    		w.Reset(io.Discard)
    
    		wref, err := NewWriter(io.Discard, level)
    		if err != nil {
    			t.Fatalf("NewWriter: %v", err)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHub.java

     */
    public class MessageHub implements AsyncStoppable {
        private enum State {Running, Stopping, Stopped}
    
        private static final Discard DISCARD = new Discard();
        private final ManagedExecutor workers;
        private final String displayName;
        private final Action<? super Throwable> errorHandler;
        private final Lock lock = new ReentrantLock();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  4. src/net/mail/message_test.go

    				{
    					Name:    `JörgDoe`,
    					Address: "******@****.***",
    				},
    			},
    		},
    		// RFC 2047, Section 8.
    		{
    			`=?ISO-8859-1?Q?Andr=E9?= Pirard <PIRARD@vm1.ulg.ac.be>`,
    			[]*Address{
    				{
    					Name:    `André Pirard`,
    					Address: "PIRARD@vm1.ulg.ac.be",
    				},
    			},
    		},
    		// Custom example of RFC 2047 "B"-encoded ISO-8859-1 address.
    		{
    			`=?ISO-8859-1?B?SvZyZw==?= <******@****.***>`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  5. src/image/gif/writer_test.go

    		Delay: make([]int, 1),
    	}
    	if err := EncodeAll(io.Discard, g0); err == nil {
    		t.Error("expected error from mismatched delay and image slice lengths")
    	}
    
    	g1 := &GIF{
    		Image:    images,
    		Delay:    make([]int, len(images)),
    		Disposal: make([]byte, 1),
    	}
    	for i := range g1.Disposal {
    		g1.Disposal[i] = DisposalNone
    	}
    	if err := EncodeAll(io.Discard, g1); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. src/text/tabwriter/tabwriter_test.go

    		"a\tb\t\td\n" + // hard tabs - do not discard column
    			"a\tb\t\td\te\n" +
    			"a\n" +
    			"a\tb\tc\td\n" +
    			"a\tb\tc\td\te\n",
    
    		"a\tb\t\td\n" +
    			"a\tb\t\td\te\n" +
    			"a\n" +
    			"a\tb\tc\td\n" +
    			"a\tb\tc\td\te\n",
    	},
    
    	{
    		"16c debug",
    		100, 100, 0, '\t', DiscardEmptyColumns | Debug,
    		"a\tb\t\td\n" + // hard tabs - do not discard column
    			"a\tb\t\td\te\n" +
    			"a\n" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

        val request = Request(server.url("/"))
        val response1 = client.newCall(request).execute()
        val response2 = client.newCall(request).execute()
        response1.body.string() // Discard the response body.
        response2.body.string() // Discard the response body.
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
      }
    
      @Test
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/io/io.go

    			return n, err
    		}
    	}
    	return
    }
    
    // Discard is a [Writer] on which all Write calls succeed
    // without doing anything.
    var Discard Writer = discard{}
    
    type discard struct{}
    
    // discard implements ReaderFrom as an optimization so Copy to
    // io.Discard can avoid doing unnecessary work.
    var _ ReaderFrom = discard{}
    
    func (discard) Write(p []byte) (int, error) {
    	return len(p), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. src/flag/flag_test.go

    func (f *flagVar) Set(value string) error {
    	*f = append(*f, value)
    	return nil
    }
    
    func TestUserDefined(t *testing.T) {
    	var flags FlagSet
    	flags.Init("test", ContinueOnError)
    	flags.SetOutput(io.Discard)
    	var v flagVar
    	flags.Var(&v, "v", "usage")
    	if err := flags.Parse([]string{"-v", "1", "-v", "2", "-v=3"}); err != nil {
    		t.Error(err)
    	}
    	if len(v) != 3 {
    		t.Fatal("expected 3 args; got ", len(v))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

    import okhttp3.Interceptor
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.discard
    import okhttp3.internal.http.ExchangeCodec
    import okhttp3.internal.http.HttpMethod
    import okhttp3.internal.http.RealResponseBody
    import okhttp3.internal.http.promisesBody
    import okhttp3.internal.stripBody
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top