Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,737 for character (0.14 sec)

  1. pkg/apis/resource/validation/validation_resourceclass_test.go

    		},
    		"bad-name": {
    			wantFailures: field.ErrorList{field.Invalid(field.NewPath("metadata", "name"), badName, "a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')")},
    			class:        testClass(badName, goodName),
    		},
    		"generate-name": {
    Registered: 2024-06-15 01:39
    - Last Modified: 2024-06-07 09:18
    - 10.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Chars.java

       *     {@link Character#MAX_VALUE} if it is too large, or {@link Character#MIN_VALUE} if it is too
       *     small
       */
      public static char saturatedCast(long value) {
        if (value > Character.MAX_VALUE) {
          return Character.MAX_VALUE;
        }
        if (value < Character.MIN_VALUE) {
          return Character.MIN_VALUE;
        }
        return (char) value;
      }
    
      /**
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-02-15 16:12
    - 23.5K bytes
    - Viewed (0)
  3. src/text/scanner/scanner.go

    		s.ch = s.next()
    	}
    	return ch
    }
    
    // Peek returns the next Unicode character in the source without advancing
    // the scanner. It returns [EOF] if the scanner's position is at the last
    // character of the source.
    func (s *Scanner) Peek() rune {
    	if s.ch == -2 {
    		// this code is only run for the very first character
    		s.ch = s.next()
    		if s.ch == '\uFEFF' {
    			s.ch = s.next() // ignore BOM
    		}
    	}
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-02-26 20:57
    - 20.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/source.go

    //   recently read characters (typically a Go literal).
    //
    // - r points to the byte immediately following the most recently
    //   read character ch, which starts at r-chw.
    //
    // - e points to the byte immediately following the last byte that
    //   was read into the buffer.
    //
    // The buffer content is terminated at buf[e] with the sentinel
    // character utf8.RuneSelf. This makes it possible to test for
    Registered: 2024-06-12 16:32
    - Last Modified: 2020-03-05 19:25
    - 5.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

          // pass
        }
      }
    
      public void testEmptyMap() {
        Map<Character, String> map = ImmutableMap.of();
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        // Non-null array of zero length.
        assertEquals(0, fem.getReplacementArray().length);
      }
    
      public void testMapLength() {
        Map<Character, String> map =
            ImmutableMap.of(
                'a', "first",
                'z', "last");
    Registered: 2024-06-12 16:38
    - Last Modified: 2022-10-10 19:45
    - 2.5K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java

         */
        ExecutionResult assertOutputContains(String expectedOutput);
    
        /**
         * Asserts that the given content includes the given log message.
         *
         * @param content The content to check
         * @param expectedOutput The expected log message, with line endings normalized to a newline character.
         * @param label The label to use when printing a failure
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-04-04 07:21
    - 7.7K bytes
    - Viewed (0)
  7. platforms/enterprise/enterprise-logging/src/main/java/org/gradle/internal/logging/text/StyledTextOutput.java

             */
            Error
        }
    
        /**
         * Appends a character using the current style.
         *
         * @param c The character
         * @return this
         */
        @Override
        StyledTextOutput append(char c);
    
        /**
         * Appends a sequence of characters using the current style.
         *
         * @param csq The character sequence
         * @return this.
         */
        @Override
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-07-17 10:17
    - 4.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/UrlEscapers.java

       *       the same.
       *   <li>The special characters ".", "-", "*", and "_" remain the same.
       *   <li>The space character " " is converted into a plus sign "+".
       *   <li>All other characters are converted into one or more bytes using UTF-8 encoding and each
       *       byte is then represented by the 3-character string "%XY", where "XY" is the two-digit,
       *       uppercase, hexadecimal representation of the byte value.
       * </ul>
       *
    Registered: 2024-06-12 16:38
    - Last Modified: 2021-04-28 15:04
    - 6.9K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/typeconversion/DefaultTypeConverter.java

            private final Class<Character> target;
    
            public CharacterConverter(Class<Character> boxed, Class<Character> target) {
                super(boxed);
                this.target = target;
            }
    
            @Override
            public void convert(String notation, NotationConvertResult<? super Character> result) throws TypeConversionException {
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-12-11 13:37
    - 12.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Chars.java

       *     {@link Character#MAX_VALUE} if it is too large, or {@link Character#MIN_VALUE} if it is too
       *     small
       */
      public static char saturatedCast(long value) {
        if (value > Character.MAX_VALUE) {
          return Character.MAX_VALUE;
        }
        if (value < Character.MIN_VALUE) {
          return Character.MIN_VALUE;
        }
        return (char) value;
      }
    
      /**
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-02-15 16:12
    - 23.5K bytes
    - Viewed (0)
Back to top