Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 87 for WhiteSpace (0.84 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/ServiceLocatorTest.groovy

            1 * classLoader.loadClass('org.gradle.ImplClass') >> { throw failure }
        }
    
        def "ignores comments and whitespace in service meta data resource"() {
            def serviceFile = stream('''#comment
    
        org.gradle.ImplClass
    ''')
    
            when:
            def result = serviceLocator.findFactory(String.class).create()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java-base/src/testFixtures/groovy/org/gradle/java/compile/AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy

            then:
            succeeds ":b:${language.compileTaskName}"
            executedAndNotSkipped ":a:${language.compileTaskName}", ":b:${language.compileTaskName}"
        }
    
        def "doesn't recompile when comments and whitespace of implementation class changes"() {
            given:
            buildFile << """
                project(':b') {
                    dependencies {
                        implementation project(':a')
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/NoDaemonGradleExecuter.java

                        invocation.args.add(jvmArg);
                    } else {
                        throw new UnsupportedOperationException(String.format("Cannot handle launcher JVM arg '%s' as it contains whitespace. This is not supported by Gradle %s.",
                            jvmArg, getDistribution().getVersion().getVersion()));
                    }
                }
            }
            invocation.implicitLauncherJvmArgs.clear();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 05:38:50 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/PredicatesTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.CharMatcher.whitespace;
    import static com.google.common.collect.Lists.newArrayList;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  5. src/mime/encodedword.go

    			return err
    		}
    		if _, err = io.Copy(buf, r); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // hasNonWhitespace reports whether s (assumed to be ASCII) contains at least
    // one byte of non-whitespace.
    func hasNonWhitespace(s string) bool {
    	for _, b := range s {
    		switch b {
    		// Encoded-words can only be separated by linear white spaces which does
    		// not include vertical tabs (\v).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/CharStreams.java

        }
        return sb;
      }
    
      /**
       * Reads all of the lines from a {@link Readable} object. The lines do not include
       * line-termination characters, but do include other leading and trailing whitespace.
       *
       * <p>Does not close the {@code Readable}. If reading files or resources you should use the {@link
       * Files#readLines} and {@link Resources#readLines} methods.
       *
       * @param r the object to read from
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharStreams.java

        }
        return sb;
      }
    
      /**
       * Reads all of the lines from a {@link Readable} object. The lines do not include
       * line-termination characters, but do include other leading and trailing whitespace.
       *
       * <p>Does not close the {@code Readable}. If reading files or resources you should use the {@link
       * Files#readLines} and {@link Resources#readLines} methods.
       *
       * @param r the object to read from
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  8. src/encoding/base32/base32.go

    // indicates if end-of-message padding was encountered and thus any
    // additional data is an error. This method assumes that src has been
    // stripped of all supported whitespace ('\r' and '\n').
    func (enc *Encoding) decode(dst, src []byte) (n int, end bool, err error) {
    	// Lift the nil check outside of the loop.
    	_ = enc.decodeMap
    
    	dsti := 0
    	olen := len(src)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 16:25:54 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/PredicatesTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.CharMatcher.whitespace;
    import static com.google.common.collect.Lists.newArrayList;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  10. src/encoding/base64/base64.go

    	if len(d.out) > 0 {
    		n = copy(p, d.out)
    		d.out = d.out[n:]
    		return n, nil
    	}
    
    	if d.err != nil {
    		return 0, d.err
    	}
    
    	// This code assumes that d.r strips supported whitespace ('\r' and '\n').
    
    	// Refill buffer.
    	for d.nbuf < 4 && d.readErr == nil {
    		nn := len(p) / 3 * 4
    		if nn < 4 {
    			nn = 4
    		}
    		if nn > len(d.buf) {
    			nn = len(d.buf)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 17.6K bytes
    - Viewed (0)
Back to top