Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2791 - 2800 of 5,248 for strike (0.25 seconds)

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

        gzipSink.close()
        return result
      }
    
      private fun assertContent(
        expected: String,
        response: Response,
        limit: Int = Int.MAX_VALUE,
      ) {
        assertThat(readAscii(response.body.byteStream(), limit)).isEqualTo(expected)
      }
    
      private fun newSet(vararg elements: String): Set<String> = setOf(*elements)
    
      internal enum class TransferKind {
        CHUNKED {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jun 21 20:36:35 GMT 2025
    - 133.2K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/TestLogHandler.kt

            try {
              base.evaluate()
            } finally {
              afterEach(null)
            }
          }
        }
    
      fun takeAll(): List<String> {
        val list = mutableListOf<String>()
        logs.drainTo(list)
        return list
      }
    
      fun take(): String =
        logs.poll(10, TimeUnit.SECONDS)
          ?: throw AssertionError("Timed out waiting for log message.")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java

         */
        public MojoFailureException(Object source, String shortMessage, String longMessage) {
            super(shortMessage);
            this.source = source;
            this.longMessage = longMessage;
        }
    
        /**
         * Construct a new <code>MojoFailureException</code> exception providing a message.
         *
         * @param message
         */
        public MojoFailureException(String message) {
            super(message);
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifeCyclePluginAnalyzerStub.java

                plugins = Collections.emptySet();
            }
    
            return plugins;
        }
    
        private Plugin newPlugin(String artifactId, String... goals) {
            Plugin plugin = new Plugin();
    
            plugin.setGroupId("org.apache.maven.plugins");
            plugin.setArtifactId(artifactId);
    
            for (String goal : goals) {
                PluginExecution pluginExecution = new PluginExecution();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_query_params_str_validations/test_tutorial015.py

                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                    "type": "array",
                                    "title": "Location",
                                },
                                "msg": {"type": "string", "title": "Message"},
                                "type": {"type": "string", "title": "Error Type"},
                            },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. cmd/site-replication_test.go

    			set.CreateStringSet("dep1", "dep2", "dep3"),
    			set.CreateStringSet("dep1", "dep2", "dep3", "dep4"),
    			[]string{},
    		},
    		// Test3: not currently under site replication.
    		{
    			[]madmin.PeerInfo{},
    			set.CreateStringSet(),
    			set.CreateStringSet("dep1", "dep2", "dep3", "dep4"),
    			[]string{},
    		},
    	}
    
    	for i, tc := range testCases {
    		names := getMissingSiteNames(tc.oldDepIDs, tc.newDepIDs, tc.currSites)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  7. internal/config/dns/types.go

    )
    
    // SrvRecord - represents a DNS service record
    type SrvRecord struct {
    	Host     string      `json:"host,omitempty"`
    	Port     json.Number `json:"port,omitempty"`
    	Priority int         `json:"priority,omitempty"`
    	Weight   int         `json:"weight,omitempty"`
    	Text     string      `json:"text,omitempty"`
    	Mail     bool        `json:"mail,omitempty"` // Be an MX record. Priority becomes Preference.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2K bytes
    - Click Count (0)
  8. internal/config/etcd/etcd_test.go

    import (
    	"reflect"
    	"testing"
    )
    
    // TestParseEndpoints - tests parseEndpoints function with valid and invalid inputs.
    func TestParseEndpoints(t *testing.T) {
    	testCases := []struct {
    		s         string
    		endpoints []string
    		secure    bool
    		success   bool
    	}{
    		// Invalid inputs
    		{"https://localhost:2379,http://localhost:2380", nil, false, false},
    		{",,,", nil, false, false},
    		{"", nil, false, false},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ElementWarningsRenderer.java

    import gradlebuild.docs.dsl.docbook.model.DslElementDoc;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    public class ElementWarningsRenderer {
        public void renderTo(DslElementDoc elementDoc, String type, Element parent) {
            if (elementDoc.isDeprecated()) {
                Document document = parent.getOwnerDocument();
                Element caution = document.createElement("caution");
                parent.appendChild(caution);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTransport.java

         * result[0] = ""
         * result[1] = "fs1.example.com"
         * result[2] = "root5"
         * result[3] = "link2\foo\bar.txt"
         */
        void dfsPathSplit(final String path, final String[] result) {
            int ri = 0;
            final int rlast = result.length - 1;
            int i = 0, b = 0;
            final int len = path.length();
    
            do {
                if (ri == rlast) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
Back to Top