Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 229 for isSetter (0.15 sec)

  1. src/unicode/example_test.go

    	fmt.Printf("%t\n", unicode.IsNumber('Ⅷ'))
    	fmt.Printf("%t\n", unicode.IsNumber('A'))
    	// Output:
    	// true
    	// false
    }
    
    func ExampleIsLetter() {
    	fmt.Printf("%t\n", unicode.IsLetter('A'))
    	fmt.Printf("%t\n", unicode.IsLetter('7'))
    	// Output:
    	// true
    	// false
    }
    
    func ExampleIsLower() {
    	fmt.Printf("%t\n", unicode.IsLower('a'))
    	fmt.Printf("%t\n", unicode.IsLower('A'))
    	// Output:
    	// true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 00:18:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  2. src/strings/example_test.go

    		return !unicode.IsLetter(r) && !unicode.IsNumber(r)
    	}))
    	// Output: Hello, Gophers
    }
    
    func ExampleTrimLeft() {
    	fmt.Print(strings.TrimLeft("¡¡¡Hello, Gophers!!!", "!¡"))
    	// Output: Hello, Gophers!!!
    }
    
    func ExampleTrimLeftFunc() {
    	fmt.Print(strings.TrimLeftFunc("¡¡¡Hello, Gophers!!!", func(r rune) bool {
    		return !unicode.IsLetter(r) && !unicode.IsNumber(r)
    	}))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:05:38 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy

        }
    
        def "picks the generic object setter if the typed setter does not match the value type"() {
            when:
            def property = writeableProperty(JavaTestSubject, "myProperty", File.class)
    
            then:
            property.type == Object.class
        }
    
        def "picks the typed setter if it is the better match"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/cases/info.go

    // isBreak returns whether this rune should introduce a break.
    func (c info) isBreak() bool {
    	return c.cccVal() == cccBreak
    }
    
    // isLetter returns whether the rune is of break type ALetter, Hebrew_Letter,
    // Numeric, ExtendNumLet, or Extend.
    func (c info) isLetter() bool {
    	ccc := c.cccVal()
    	if ccc == cccZero {
    		return !c.isCaseIgnorable()
    	}
    	return ccc != cccBreak
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/resources/org/gradle/test/JavaClass.java

         * An ignored field.
         */
        String ignoreMe1;
    
        /**
         * Another ignored field.
         */
        final long ignoreMe2 = 9;
    
        /**
         * Not a setter.
         */
        public void setIgnoreMe1() {
        }
    
        /**
         * Not a setter.
         */
        public void setIgnoreMe2(String a, int b) {
        }
    
        /**
         * A write-only property.
         */
        public void setWriteOnly(JavaInterface value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go

    		n := field.name
    		help := configHelp[n]
    		var setter func()
    		switch ptr := cfg.fieldPtr(field).(type) {
    		case *bool:
    			f := flag.Bool(n, *ptr, help)
    			setter = func() { *ptr = *f }
    		case *int:
    			f := flag.Int(n, *ptr, help)
    			setter = func() { *ptr = *f }
    		case *float64:
    			f := flag.Float64(n, *ptr, help)
    			setter = func() { *ptr = *f }
    		case *string:
    			if len(field.choices) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolInfoProvider.kt

                    return null
                }
    
                if (descriptor.hasJvmFieldAnnotation()) return descriptor.name
    
                val setter = descriptor.setter ?: return SpecialNames.NO_NAME_PROVIDED
                return Name.identifier(DescriptorUtils.getJvmName(setter) ?: JvmAbi.setterName(descriptor.name.asString()))
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/unicode/graphic.go

    func IsControl(r rune) bool {
    	if uint32(r) <= MaxLatin1 {
    		return properties[uint8(r)]&pC != 0
    	}
    	// All control characters are < MaxLatin1.
    	return false
    }
    
    // IsLetter reports whether the rune is a letter (category [L]).
    func IsLetter(r rune) bool {
    	if uint32(r) <= MaxLatin1 {
    		return properties[uint8(r)]&(pLmask) != 0
    	}
    	return isExcludingLatin(Letter, r)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. src/mdo/java/WrapperList.java

            this.setter = setter;
            this.mapper = mapper;
            this.revMapper = revMapper;
        }
    
        @Override
        public T get(int index) {
            return mapper.apply(getter.get().get(index));
        }
    
        @Override
        public int size() {
            return getter.get().size();
        }
    
        @Override
        public boolean add(T t) {
            Objects.requireNonNull(t);
            if (setter != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 16:30:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/rsc.io/markdown/html.go

    	switch {
    	case strings.HasPrefix(t, "<!--"):
    		end = "-->"
    	case strings.HasPrefix(t, "<?"):
    		end = "?>"
    	case strings.HasPrefix(t, "<![CDATA["):
    		end = "]]>"
    	case strings.HasPrefix(t, "<!") && len(t) >= 3 && isLetter(t[2]):
    		if 'a' <= t[2] && t[2] <= 'z' {
    			// Goldmark and the Dingus only accept <!UPPER> not <!lower>.
    			p.corner = true
    		}
    		end = ">"
    	}
    	if end != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top