Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 86 for whitespaces (0.19 sec)

  1. android/guava-tests/test/com/google/common/io/ResourcesTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.CharMatcher.whitespace;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Charsets;
    import com.google.common.collect.ImmutableList;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

        val part = parts.nextPart()!!
        assertThat(part.headers).isEqualTo(headersOf())
        assertThat(part.body.readUtf8()).isEqualTo("abcd")
    
        assertThat(parts.nextPart()).isNull()
      }
    
      @Test fun `skip whitespace after boundary`() {
        val multipart =
          """
          |--simple boundary
          |
          |abcd
          |--simple boundary--
          """.trimMargin()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. maven-core/src/test/resources-project-builder/xml-whitespace/pom.xml

      <artifactId>
        parent
      </artifactId>
      <version>
        1.0
      </version>
      <packaging>
        pom
      </packaging>
    
      <name>Maven Integration Test :: MNG-4070</name>
      <description>
        Test that whitespace around artifact coordinates does not change artifact identity.
      </description>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.2K bytes
    - Viewed (0)
  4. common/config/sass-lint.yml

      no-empty-rulesets: 2
      no-extends: 2
      no-ids: 0
      no-invalid-hex: 2
      no-important: 0
      no-mergeable-selectors: 2
      no-misspelled-properties: 2
      no-qualifying-elements: 0
      no-trailing-whitespace: 2
      no-trailing-zero: 2
      no-transition-all: 0
      no-url-domains: 2
      no-url-protocols: 2
      no-warn: 2
      one-declaration-per-line: 2
      placeholder-in-extend: 2
      placeholder-name-format: 2
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Sep 11 23:32:21 GMT 2019
    - 2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

      val result = copyOf(size + 1)
      result[result.lastIndex] = value
      return result as Array<String>
    }
    
    /** Increments [startIndex] until this string is not ASCII whitespace. Stops at [endIndex]. */
    internal fun String.indexOfFirstNonAsciiWhitespace(
      startIndex: Int = 0,
      endIndex: Int = length,
    ): Int {
      for (i in startIndex until endIndex) {
        when (this[i]) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Splitter.java

      }
    
      /**
       * Returns a splitter that behaves equivalently to {@code this} splitter, but automatically
       * removes leading and trailing {@linkplain CharMatcher#whitespace whitespace} from each returned
       * substring; equivalent to {@code trimResults(CharMatcher.whitespace())}. For example, {@code
       * Splitter.on(',').trimResults().split(" a, b ,c ")} returns an iterable containing {@code ["a",
       * "b", "c"]}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  7. maven-core/src/test/resources-project-builder/xml-whitespace/sub/pom.xml

      </parent>
    
      <artifactId>subproject</artifactId>
      <version>1.0</version>
      <packaging>jar</packaging>
    
      <name>Maven Integration Test :: MNG-4070 :: Child</name>
      <description>
        Test that whitespace around artifact coordinates does not change artifact identity.
      </description>
    
      <dependencies>
        <dependency>
          <!-- NOTE: The ugly formatting is essential part of this test! -->
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

     * limitations under the License.
     */
    
    package gradlebuild.docs.dsl.docbook
    
    import spock.lang.Specification
    
    class HtmlToXmlJavadocLexerTest extends Specification {
        def "discards whitespace around block elements"() {
            expect:
            parse(source) == transformed
    
            where:
            source                                             | transformed
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/ecds_test.go

    	gotOut := &bytes.Buffer{}
    	cw := &ConfigWriter{Stdout: gotOut}
    	cd, _ := os.ReadFile("testdata/ecds/configdump.json")
    	cw.Prime(cd)
    	err := cw.PrintEcds("json")
    	assert.NoError(t, err)
    
    	// protojson opt out of whitespace randomization, see more details: https://github.com/golang/protobuf/issues/1082
    	var rm json.RawMessage = gotOut.Bytes()
    	jsonOutput, err := json.MarshalIndent(rm, "", "    ")
    	if err != nil {
    		assert.NoError(t, err)
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Dec 13 01:08:07 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/SplitterTest.java

            .inOrder();
      }
    
      public void testCharacterSplitWithMatcherDelimiter() {
        Iterable<String> testCharacteringMotto =
            Splitter.on(CharMatcher.whitespace()).split("Testing\nrocks\tDebugging sucks");
        assertThat(testCharacteringMotto)
            .containsExactly("Testing", "rocks", "Debugging", "sucks")
            .inOrder();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
Back to top