Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4781 - 4790 of 6,031 for AsString (0.07 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       *
       * <p>Suppose {@code x} is a queue known to contain only strings. The following code can be used
       * to dump the queue into a newly allocated array of {@code String}:
       *
       * <pre>
       *     String[] y = x.toArray(new String[0]);</pre>
       *
       * <p>Note that {@code toArray(new Object[0])} is identical in function to {@code toArray()}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java

            assertContentType("application/javascript", "extractor/program/test.js", "test.js");
        }
    
        private void assertContentType(final String expect, final String path, final String name) throws IOException {
            final MimeTypeHelper mimeTypeHelper = container.getComponent("mimeTypeHelper");
            if (path != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

          .isEqualTo("/lookup?ct&dns=AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ")
      }
    
      @Test
      fun failOnExcessiveResponse() {
        val array = CharArray(128 * 1024 + 2) { '0' }
        server.enqueue(dnsResponse(String(array)))
        try {
          dns.lookup("google.com")
          fail<Any>()
        } catch (ioe: IOException) {
          assertThat(ioe.message).isEqualTo("google.com")
          val cause = ioe.cause!!
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/CaseInsensitiveSetTest.java

    /**
     * @author higa
     */
    public class CaseInsensitiveSetTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testContains() throws Exception {
            final Set<String> set = new CaseInsensitiveSet();
            set.add("one");
            assertThat(set.contains("ONE"), is(true));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidator.java

    package org.apache.maven.project.validation;
    
    import org.apache.maven.model.Model;
    
    /**
     * Checks the model for missing or invalid values.
     *
     */
    @Deprecated
    public interface ModelValidator {
    
        String ROLE = ModelValidator.class.getName();
    
        ModelValidationResult validate(Model model);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. internal/disk/disk_windows.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    // SameDisk reports whether di1 and di2 describe the same disk.
    func SameDisk(disk1, disk2 string) (bool, error) {
    	return false, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 951 bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        val e = RuntimeException()
        clientListener.setNextEventDelegate(
          object : WebSocketListener() {
            override fun onMessage(
              webSocket: WebSocket,
              text: String,
            ) {
              throw e
            }
          },
        )
        server.send("Hello, WebSockets!")
        clientListener.assertFailure(e)
        serverListener.assertFailure(EOFException::class.java)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  8. src/archive/zip/zip_test.go

    		})
    	}
    }
    
    func TestSuffixSaver(t *testing.T) {
    	const keep = 10
    	ss := &suffixSaver{keep: keep}
    	ss.Write([]byte("abc"))
    	if got := string(ss.Suffix()); got != "abc" {
    		t.Errorf("got = %q; want abc", got)
    	}
    	ss.Write([]byte("defghijklmno"))
    	if got := string(ss.Suffix()); got != "fghijklmno" {
    		t.Errorf("got = %q; want fghijklmno", got)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

                for ((name, value) in response.headers) {
                  println("$name: $value")
                }
    
                println(response.body.string())
              }
            }
          },
        )
      }
    }
    
    fun main() {
      AsynchronousGet().run()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java

            assertThat(clIndexOutOfBoundsException, is(notNullValue()));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClIndexOutOfBoundsException#SIndexOutOfBoundsException(java.lang.String)}
         * .
         */
        @Test
        public void testSIndexOutOfBoundsExceptionString() {
            final ClIndexOutOfBoundsException clIndexOutOfBoundsException = new ClIndexOutOfBoundsException("hoge");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top