Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 5,278 for aString (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        TRUE,
      }
    
      static class Foo {
        private final String aString;
        private final int anInt;
        private final @Nullable TriState anEnum;
    
        Foo(String aString, int anInt, @Nullable TriState anEnum) {
          this.aString = aString;
          this.anInt = anInt;
          this.anEnum = anEnum;
        }
    
        @Override
        public String toString() {
          return toStringHelper(this)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 03:05:13 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ComparisonChain.java

     *
     * <p>Example usage of {@code ComparisonChain}:
     *
     * {@snippet :
     * public int compareTo(Foo that) {
     *   return ComparisonChain.start()
     *       .compare(this.aString, that.aString)
     *       .compare(this.anInt, that.anInt)
     *       .compare(this.anEnum, that.anEnum, Ordering.natural().nullsLast())
     *       .result();
     * }
     * }
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/InputValidatorTest.java

            assertEquals("teststring", InputValidator.sanitizeForLogging("test\nstring"));
            assertEquals("teststring", InputValidator.sanitizeForLogging("test\rstring"));
            assertEquals("teststring", InputValidator.sanitizeForLogging("test\tstring"));
    
            // Test long string truncation
            String longString = "a".repeat(1100);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    private
    fun <T> T.getSinceIfMatchesName(candidateName: String): SinceTagStatus? where T : BodyDeclaration<*>, T : NodeWithSimpleName<*> =
        takeIf { it.matchesName(candidateName) }?.getSince()?.let { SinceTagStatus.Present(it) }
    
    
    private
    fun <T : NodeWithSimpleName<*>> T.matchesName(candidateName: String) =
        matchesName(name.asString(), candidateName)
    
    
    private
    fun matchesName(name: String, candidateName: String) =
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. internal/s3select/sql/value.go

    	v.value = f
    }
    
    func (v *Value) setString(s string) {
    	v.value = s
    }
    
    func (v *Value) setBool(b bool) {
    	v.value = b
    }
    
    func (v *Value) setTimestamp(t time.Time) {
    	v.value = t
    }
    
    func (v Value) String() string {
    	return fmt.Sprintf("%#v", v.value)
    }
    
    // CSVString - convert to string for CSV serialization
    func (v Value) CSVString() string {
    	switch x := v.value.(type) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            get() = annotationEntries.any { it.shortName?.asString() == "Incubating" }
    
        private
        val KtNamedDeclaration.typeParametersString: String
            get() = (this as? KtCallableDeclaration)?.typeParameterList?.let { "${it.text} " } ?: ""
    
        private
        val KtNamedDeclaration.fullyQualifiedName: String
            get() = fqName!!.asString()
    
        private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

                return;
            }
            ClassMetaData outerClass = classStack.isEmpty() ? null : getCurrentClass();
            String baseName = typeDeclaration.getNameAsString();
            String className = outerClass == null ? packageName + '.' + baseName : outerClass.getClassName() + '.' + baseName;
            String comment = getJavadocComment(typeDeclaration);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 19 15:07:24 GMT 2024
    - 11.8K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         *   <li>Conflict resolution information (if the dependency was omitted due to conflicts or duplicates)</li>
         * </ul>
         *
         * @return a string representation of this dependency node with optional detailed information
         */
        @Nonnull
        String asString();
    
        /**
         * Obtain a Stream containing this node and all its descendants.
         *
         * @return a stream containing this node and its descendants
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 14:10:11 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. schema/field_test.go

    }
    
    type UserWithPermissionControl struct {
    	ID    uint
    	Name  string `gorm:"-"`
    	Name2 string `gorm:"->"`
    	Name3 string `gorm:"<-"`
    	Name4 string `gorm:"<-:create"`
    	Name5 string `gorm:"<-:update"`
    	Name6 string `gorm:"<-:create,update"`
    	Name7 string `gorm:"->:false;<-:create,update"`
    	Name8 string `gorm:"->;-:migration"`
    }
    
    func TestParseFieldWithPermission(t *testing.T) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Feb 19 09:02:53 GMT 2022
    - 12.7K bytes
    - Click Count (0)
  10. misc/cgo/gmp/gmp.go

    func (z *Int) SetString(s string, base int) error {
    	z.doinit()
    	if base < 2 || base > 36 {
    		return os.ErrInvalid
    	}
    	p := C.CString(s)
    	defer C.free(unsafe.Pointer(p))
    	if C.mpz_set_str(&z.i[0], p, C.int(base)) < 0 {
    		return os.ErrInvalid
    	}
    	return nil
    }
    
    // String returns the decimal representation of z.
    func (z *Int) String() string {
    	if z == nil {
    		return "nil"
    	}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Click Count (0)
Back to Top