Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4961 - 4970 of 7,132 for String (0.16 seconds)

  1. internal/dsync/dsync.go

    // Dsync represents dsync client object which is initialized with
    // authenticated clients, used to initiate lock REST calls.
    type Dsync struct {
    	// List of rest client objects, one per lock server.
    	GetLockers func() ([]NetLocker, string)
    
    	// Timeouts to apply.
    	Timeouts Timeouts
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Mar 01 19:14:28 GMT 2022
    - 1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        suite.addTest(
            QueueTestSuiteBuilder.using(
                    new TestStringQueueGenerator() {
                      @Override
                      protected Queue<String> create(String[] elements) {
                        return MinMaxPriorityQueue.create(asList(elements));
                      }
                    })
                .named("MinMaxPriorityQueue")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  3. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

          .isEqualTo("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!!
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

          if (longs.compareAndSet(i, current, next)) {
            return nextVal;
          }
        }
      }
    
      /**
       * Returns the String representation of the current values of array.
       *
       * @return the String representation of the current values of array
       */
      @Override
      public String toString() {
        int iMax = length() - 1;
        if (iMax == -1) {
          return "[]";
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/netbios/NameTest.java

            name.name = null;
    
            String result = name.toString();
            assertTrue(result.contains("null"));
        }
    
        @Test
        void toString_withMSBrowseName_shouldReplaceSpecialCharacters() {
            Name name = new Name(mockConfig, "\u0001MSBROWSE      ", 0x01, null);
            String result = name.toString();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/InternalJavaRestTestPlugin.java

    /**
     * Apply this plugin to run the Java based REST tests.
     */
    public class InternalJavaRestTestPlugin implements Plugin<Project> {
    
        public static final String SOURCE_SET_NAME = "javaRestTest";
    
        @Override
        public void apply(Project project) {
            project.getPluginManager().apply(RestTestBasePlugin.class);
    
            // create source set
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 18:10:22 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  7. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PomValidationPrecommitPlugin.java

            PublishingExtension publishing = project.getExtensions().getByType(PublishingExtension.class);
            publishing.getPublications().configureEach(publication -> {
                String publicationName = GUtils.capitalize(publication.getName());
                TaskProvider<PomValidationTask> validateTask = project.getTasks()
                    .register("validate" + publicationName + "Pom", PomValidationTask.class);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 11 07:30:51 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

      static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) {
        // URL escapers should throw null pointer exceptions for null input
        try {
          e.escape((String) null);
          fail("Escaping null string should throw exception");
        } catch (NullPointerException x) {
          // pass
        }
    
        // All URL escapers should leave 0-9, A-Z, a-z unescaped
        assertUnescaped(e, 'a');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableListMultimap.java

       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableListMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     new ImmutableListMultimap.Builder<Character, String>()
       *         .put('b', "anana")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  10. clause/returning.go

    package clause
    
    type Returning struct {
    	Columns []Column
    }
    
    // Name where clause name
    func (returning Returning) Name() string {
    	return "RETURNING"
    }
    
    // Build build where clause
    func (returning Returning) Build(builder Builder) {
    	if len(returning.Columns) > 0 {
    		for idx, column := range returning.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    
    			builder.WriteQuoted(column)
    		}
    	} else {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Jan 12 10:18:04 GMT 2025
    - 777 bytes
    - Click Count (0)
Back to Top