Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for ch (0.03 sec)

  1. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        // Test ASCII control characters.
        for (char ch = 0; ch < 0x20; ch++) {
          if (ch == '\t' || ch == '\n' || ch == '\r') {
            // Only these whitespace chars are permitted in XML,
            if (shouldEscapeWhitespaceChars) {
              assertEscaping(xmlEscaper, "&#x" + Integer.toHexString(ch).toUpperCase() + ";", ch);
            } else {
              assertUnescaped(xmlEscaper, ch);
            }
          } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/MimeMap.java

                        } else if( ch == '#' ) {
                            state = ST_COMM;
                            break;
                        }
                        state = ST_TYPE;
                    case ST_TYPE:
                        if( ch == ' ' || ch == '\t' ) {
                            state = ST_GAP;
                        } else {
                            type[t++] = ch;
                        }
                        break;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  3. cmd/signature-v4-parser.go

    	if !isValidRegion(sRegion, region) {
    		return ch, ErrAuthorizationHeaderMalformed
    	}
    	if credElements[2] != string(stype) {
    		if stype == serviceSTS {
    			return ch, ErrInvalidServiceSTS
    		}
    		return ch, ErrInvalidServiceS3
    	}
    	cred.scope.service = credElements[2]
    	if credElements[3] != "aws4_request" {
    		return ch, ErrInvalidRequestVersion
    	}
    	cred.scope.request = credElements[3]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/LogbackConfiguration.java

        public void setRootLoggerLevel(Level level) {
            ch.qos.logback.classic.Level value;
            switch (level) {
                case DEBUG:
                    value = ch.qos.logback.classic.Level.DEBUG;
                    break;
    
                case INFO:
                    value = ch.qos.logback.classic.Level.INFO;
                    break;
    
                default:
                    value = ch.qos.logback.classic.Level.ERROR;
                    break;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java

      static {
        int spaceInAscii = 32;
        int sevenBitAsciiMax = 128;
        StringBuilder sb = new StringBuilder(sevenBitAsciiMax - spaceInAscii);
        for (int ch = spaceInAscii; ch < sevenBitAsciiMax; ch++) {
          sb.append((char) ch);
        }
        ASCII_CHARACTERS = sb.toString();
      }
    
      private static final String ALL_DIGITS;
    
      static {
        StringBuilder sb = new StringBuilder();
        String zeros =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/BenchmarkHelpers.java

      static {
        int spaceInAscii = 32;
        int sevenBitAsciiMax = 128;
        StringBuilder sb = new StringBuilder(sevenBitAsciiMax - spaceInAscii);
        for (int ch = spaceInAscii; ch < sevenBitAsciiMax; ch++) {
          sb.append((char) ch);
        }
        ASCII_CHARACTERS = sb.toString();
      }
    
      private static final String ALL_DIGITS;
    
      static {
        StringBuilder sb = new StringBuilder();
        String zeros =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/tokenizer.go

    		line: 1,
    		file: file,
    	}
    }
    
    // We want center dot (·) and division slash (∕) to work as identifier characters.
    func isIdentRune(ch rune, i int) bool {
    	if unicode.IsLetter(ch) {
    		return true
    	}
    	switch ch {
    	case '_': // Underscore; traditional.
    		return true
    	case '\u00B7': // Represents the period in runtime.exit. U+00B7 '·' middle dot
    		return true
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/text/Tokenizer.java

        }
    
        /**
         * 単独で存在する文字として設定します。
         *
         * @param ctype2
         *            文字のタイプの配列
         * @param ch
         *            文字コード
         */
        protected static void ordinaryChar(final byte[] ctype2, final int ch) {
            if (ch >= 0 && ch < ctype2.length) {
                ctype2[ch] = 0;
            }
        }
    
        /**
         * 文字列の値を返します。
         *
         * @return 文字列の値
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. internal/grid/grid.go

    // The context both allows returning errors on writes and to ensure that
    // this isn't abandoned if the channel is no longer being read from.
    func WriterToChannel(ctx context.Context, ch chan<- []byte) io.Writer {
    	return &writerWrapper{ch: ch, ctx: ctx}
    }
    
    // bytesOrLength returns small (<=100b) byte slices as string, otherwise length.
    func bytesOrLength(b []byte) string {
    	if len(b) > 100 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. internal/pubsub/pubsub.go

    	"sync/atomic"
    )
    
    // GetByteBuffer returns a byte buffer from the pool.
    var GetByteBuffer = func() []byte {
    	return make([]byte, 0, 4096)
    }
    
    // Sub - subscriber entity.
    type Sub[T Maskable] struct {
    	ch     chan T
    	types  Mask
    	filter func(entry T) bool
    }
    
    // PubSub holds publishers and subscribers
    type PubSub[T Maskable, M Maskable] struct {
    	// atomics, keep at top:
    	types          uint64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 16:57:30 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top