Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for atom (0.13 sec)

  1. src/net/mail/message.go

    		return "", errors.New("mail: invalid string")
    	}
    	atom, p.s = p.s[:i], p.s[i:]
    	if !permissive {
    		if strings.HasPrefix(atom, ".") {
    			return "", errors.New("mail: leading dot in atom")
    		}
    		if strings.Contains(atom, "..") {
    			return "", errors.New("mail: double dot in atom")
    		}
    		if strings.HasSuffix(atom, ".") {
    			return "", errors.New("mail: trailing dot in atom")
    		}
    	}
    	return atom, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/MediaTypeTest.java

        assertEquals("text", MediaType.parse("text/plain").type());
        assertEquals("application", MediaType.parse("application/atom+xml; charset=utf-8").type());
      }
    
      public void testGetSubtype() {
        assertEquals("plain", MediaType.parse("text/plain").subtype());
        assertEquals("atom+xml", MediaType.parse("application/atom+xml; charset=utf-8").subtype());
      }
    
      private static final ImmutableListMultimap<String, String> PARAMETERS =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/MediaTypeTest.java

        assertEquals("text", MediaType.parse("text/plain").type());
        assertEquals("application", MediaType.parse("application/atom+xml; charset=utf-8").type());
      }
    
      public void testGetSubtype() {
        assertEquals("plain", MediaType.parse("text/plain").subtype());
        assertEquals("atom+xml", MediaType.parse("application/atom+xml; charset=utf-8").subtype());
      }
    
      private static final ImmutableListMultimap<String, String> PARAMETERS =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. src/go/build/constraint/expr.go

    			panic(&SyntaxError{Offset: p.pos, Err: "double negation not allowed"})
    		}
    		return not(p.atom())
    	}
    	return p.atom()
    }
    
    // atom parses a tag or a parenthesized expression.
    // On entry, the next input token HAS been lexed.
    // On exit, the next input token has been lexed and is in p.tok.
    func (p *exprParser) atom() Expr {
    	// first token already in p.tok
    	if p.tok == "(" {
    		pos := p.pos
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. src/encoding/xml/read_test.go

    the link rel=&amp;quot;self&amp;quot;, but the default value for that drops
    the :port from the URL, and I cannot for the life of me
    figure out how to get the Atom generator deep inside
    django not to do that, or even where it is doing that,
    or even what code is running to generate the Atom feed.
    (I thought I knew but I added some assert False statements
    and it kept running!)
    
    Ignoring that particular problem, I would appreciate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  6. operator/pkg/validate/common.go

    	"istio.io/istio/operator/pkg/util"
    	"istio.io/istio/pkg/log"
    )
    
    var (
    	scope = log.RegisterScope("validation", "API validation")
    
    	// alphaNumericRegexp defines the alpha numeric atom, typically a
    	// component of names. This only allows lower case characters and digits.
    	alphaNumericRegexp = match(`[a-z0-9]+`)
    
    	// separatorRegexp defines the separators allowed to be embedded in name
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 11K bytes
    - Viewed (0)
  7. src/crypto/x509/verify.go

    				(35 <= c && c <= 91) ||
    				(93 <= c && c <= 126):
    				// qtext
    				localPartBytes = append(localPartBytes, c)
    
    			default:
    				return mailbox, false
    			}
    		}
    	} else {
    		// Atom ("." Atom)*
    	NextChar:
    		for len(in) > 0 {
    			// atext from RFC 2822, Section 3.2.4
    			c := in[0]
    
    			switch {
    			case c == '\\':
    				// Examples given in RFC 3696 suggest that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  8. src/encoding/xml/xml_test.go

    		Link     string `xml:"link"`
    		AtomLink string `xml:"http://www.w3.org/2005/Atom link"` // Same name in a different name space
    	}
    	testCase := `<example>
    			<title>Example</title>
    			<link>http://example.com/default</link> <!-- not assigned -->
    			<link>http://example.com/home</link> <!-- not assigned -->
    			<ns:link xmlns:ns="http://www.w3.org/2005/Atom">http://example.com/ns</ns:link>
    		</example>`
    
    	var dest ExampleConflict
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/MediaType.java

       *
       * @since 14.0
       */
      public static final MediaType APPLICATION_XML_UTF_8 = createConstantUtf8(APPLICATION_TYPE, "xml");
    
      public static final MediaType ATOM_UTF_8 = createConstantUtf8(APPLICATION_TYPE, "atom+xml");
      public static final MediaType BZIP2 = createConstant(APPLICATION_TYPE, "x-bzip2");
    
      /**
       * Files in the <a href="https://www.dartlang.org/articles/embedding-in-html/">dart</a>
       * programming language.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 07 16:17:10 UTC 2023
    - 46.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/MediaType.java

       *
       * @since 14.0
       */
      public static final MediaType APPLICATION_XML_UTF_8 = createConstantUtf8(APPLICATION_TYPE, "xml");
    
      public static final MediaType ATOM_UTF_8 = createConstantUtf8(APPLICATION_TYPE, "atom+xml");
      public static final MediaType BZIP2 = createConstant(APPLICATION_TYPE, "x-bzip2");
    
      /**
       * Files in the <a href="https://www.dartlang.org/articles/embedding-in-html/">dart</a>
       * programming language.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 07 16:17:10 UTC 2023
    - 46.2K bytes
    - Viewed (0)
Back to top