Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1321 - 1330 of 1,602 for goString (0.09 sec)

  1. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals("[yam, bam, jam, ham]", Iterators.toString(iterator));
      }
    
      public void testToStringWithNull() {
        Iterator<@Nullable String> iterator =
            Lists.<@Nullable String>newArrayList("hello", null, "world").iterator();
        assertEquals("[hello, null, world]", Iterators.toString(iterator));
      }
    
      public void testToStringEmptyIterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Ascii.java

          String string = seq.toString();
          if (string.length() <= maxLength) {
            return string;
          }
          // if the length of the toString() result was > maxLength for some reason, truncate that
          seq = string;
        }
    
        return new StringBuilder(maxLength)
            .append(seq, 0, truncationLength)
            .append(truncationIndicator)
            .toString();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>The {@code factory}-generated and {@code map} classes determine the multimap iteration
       * order. They also specify the behavior of the {@code equals}, {@code hashCode}, and {@code
       * toString} methods for the multimap and its returned views. However, the multimap's {@code get}
       * method returns instances of a different class than {@code factory.get()} does.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

                    .append(StringEscapeUtils.escapeJson(e.getValue())).append('"'));
            buf.append('}');
            printLog(buf.toString());
        }
    
        protected void printLog(final String message) {
            logger.info(message);
        }
    
        protected String getClientIp() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

                return;
            case 2: /* ptr */
                enc_ndr_long(getDceReferent(obj));
                return;
            }
        }
    
    
        @Override
        public String toString () {
            return "start=" + this.start + ",index=" + this.index + ",length=" + getLength();
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

        while (eventSequence.isNotEmpty()) {
          takeEvent()
        }
      }
    
      private fun logEvent(e: CallEvent) {
        for (lock in forbiddenLocks) {
          assertThat(Thread.holdsLock(lock), lock.toString()).isFalse()
        }
    
        if (enforceOrder) {
          checkForStartEvent(e)
        }
    
        eventSequence.offer(e)
      }
    
      private fun checkForStartEvent(e: CallEvent) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        private final String description;
    
        private Target(Collection<E> toRetain, String description) {
          this.toRetain = toRetain;
          this.description = description;
        }
    
        @Override
        public String toString() {
          return description;
        }
      }
    
      private Target empty;
      private Target disjoint;
      private Target superset;
      private Target nonEmptyProperSubset;
      private Target sameElements;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CookiesTest.kt

        val cookie = HttpCookie("c", "cookie")
        cookie.domain = redirectSourceUrl.host
        cookie.path = "/"
        val portList = redirectSource.port.toString()
        cookie.portlist = portList
        cookieManager.cookieStore.add(redirectSourceUrl.toUri(), cookie)
        client =
          client.newBuilder()
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt

          val builder = StringBuilder()
          val buf = CharArray(10)
          var read: Int
          while (reader.read(buf).also { read = it } != -1) {
            builder.appendRange(buf, 0, read)
          }
          return builder.toString()
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

              catcher.getEvents());
        }
      }
    
      public void testToString() throws Exception {
        EventBus eventBus = new EventBus("a b ; - \" < > / \\ €");
        assertEquals("EventBus{a b ; - \" < > / \\ €}", eventBus.toString());
      }
    
      /**
       * Tests that bridge methods are not subscribed to events. In Java 8, annotations are included on
       * the bridge method in addition to the original method, which causes both the original and bridge
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top