Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 560 for parseRhs (0.28 sec)

  1. src/crypto/x509/pkcs1.go

    	Exp   *big.Int
    	Coeff *big.Int
    }
    
    // pkcs1PublicKey reflects the ASN.1 structure of a PKCS #1 public key.
    type pkcs1PublicKey struct {
    	N *big.Int
    	E int
    }
    
    // ParsePKCS1PrivateKey parses an [RSA] private key in PKCS #1, ASN.1 DER form.
    //
    // This kind of key is commonly encoded in PEM blocks of type "RSA PRIVATE KEY".
    func ParsePKCS1PrivateKey(der []byte) (*rsa.PrivateKey, error) {
    	var priv pkcs1PrivateKey
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/transition.go

    )
    
    // TransitionDate is a embedded type containing time.Time to unmarshal
    // Date in Transition
    type TransitionDate struct {
    	time.Time
    }
    
    // UnmarshalXML parses date from Transition and validates date format
    func (tDate *TransitionDate) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error {
    	var dateStr string
    	err := d.DecodeElement(&dateStr, &startElement)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 10 17:07:49 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/route/message.go

    	// information.
    	SysType() SysType
    }
    
    // A SysType represents a type of operating system-specific
    // information.
    type SysType int
    
    const (
    	SysMetrics SysType = iota
    	SysStats
    )
    
    // ParseRIB parses b as a routing information base and returns a list
    // of routing messages.
    func ParseRIB(typ RIBType, b []byte) ([]Message, error) {
    	if !typ.parseable() {
    		return nil, errUnsupportedMessage
    	}
    	var msgs []Message
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. src/net/error_test.go

    		default:
    			return fmt.Errorf("OpError.Source or Addr is unknown type: %T, %v", addr, e)
    		}
    	}
    	if e.Err == nil {
    		return fmt.Errorf("OpError.Err is empty: %v", e)
    	}
    	return nil
    }
    
    // parseDialError parses nestedErr and reports whether it is a valid
    // error value from Dial, Listen functions.
    // It returns nil when nestedErr is valid.
    func parseDialError(nestedErr error) error {
    	if nestedErr == nil {
    		return nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/ModuleIdentifierNotationConverterTest.groovy

            }
        }
        @Subject parser = NotationParserBuilder.toType(ModuleIdentifier).fromCharSequence(new ModuleIdentifierNotationConverter(moduleIdentifierFactory)).toComposite()
    
        def "parses module identifier notation"() {
            expect:
            parser.parseNotation("org.gradle:gradle-core") == newId("org.gradle", "gradle-core")
            parser.parseNotation(" foo:bar ") == newId("foo", "bar")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go

    // gets confused when trying to advance events on the new thread.
    // The now-dead thread which exited on a GoDestroySyscall still has
    // its P associated and this transfers to the newly-live thread
    // in the parser's state because they share a thread ID.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. maven-artifact/src/site/apt/index.apt

     with its <<<DefaultArtifact>>> implementation ({{{./xref/org/apache/maven/artifact/DefaultArtifact.html}source}}).
    
     The jar file is executable and provides a little tool to display how Maven parses and compares versions:
    
    +----+
    $ java -jar maven-artifact-*.jar 3.2.4-alpha-1 3.2.4-SNAPSHOT 3.2.4.0
    Display parameters as parsed by Maven (in canonical form) and comparison result:
    1. 3.2.4-alpha-1 == 3.2.4.alpha.1
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Nov 30 20:57:07 UTC 2014
    - 1.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/serializer/DependencyVerificationsXmlReader.java

    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import org.xml.sax.XMLReader;
    import org.xml.sax.ext.DefaultHandler2;
    
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.URI;
    import java.net.URISyntaxException;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 13:23:37 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  9. src/cmd/internal/archive/archive.go

    		}}
    	}
    
    	return r.a, nil
    }
    
    // trimSpace removes trailing spaces from b and returns the corresponding string.
    // This effectively parses the form used in archive headers.
    func trimSpace(b []byte) string {
    	return string(bytes.TrimRight(b, " "))
    }
    
    // parseArchive parses a Unix archive of Go object files.
    func (r *objReader) parseArchive(verbose bool) error {
    	r.readFull(r.tmp[:8]) // consume header (already checked)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. pkg/util/parsers/parsers_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package parsers
    
    import (
    	"strings"
    	"testing"
    )
    
    // Based on Docker test case removed in:
    // https://github.com/docker/docker/commit/4352da7803d182a6013a5238ce20a7c749db979a
    func TestParseImageName(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 01:53:43 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top