rules are the same as those in Linux.
Mkdir android_sdk_src: create a directory for storing the Android SDK source files
Cd android_sdk_src: Enter the new directory
Git clone git: // android.git.kernel.org/platform/frameworks/base.git download Android SDK source code
Attached Android Resource Distribution Description:
the source code of a single projectPreviously we downloaded the entire android project, including virtual machines, sdks, and ndk. However, for many application developers, it is enough to download the android SDK source code, there is no need to download all the three multi-G sou
First, let's take a look at what repo is. We know the code of the android open-source project and use a repo tool to effectively manage hundreds of git projects under android. In fact, repo is not a program, but a script project... and git is the real version management tool. To put it bluntly, repo is a bunch of batch processing (written in Python). It encapsulates git commands reasonably and aims to manag
, SourceForge, osdir, Free Software Directory, gnu_savanner, objectweb[Edit]
Edit]
Applied Fields 123[
CAX[Edit]
CAD
BRL-CAD-3D solid modeling Computer-Aided Design and much more
Qcad-2D CAD (newer versions are no longer open-source)
Opencascade (SITE)
[Edit]
CAE
Impact (SITE)-finite element program
Code-Aster (SITE)-full-featured 3D finite element simulation cod
This article is mainly divided into 2 parts . The 1th part describes how to download the source code for the Android SDK , and the 2nd part describes how to add the source code of the Android SDK to eclipse .
1th part How to download the Android SDK source
Solve the Problem of deploying the source code downloaded from github to eclipse, githubeclipse
The weather is fine in June 2, 2015Github Official Website: https://github.com/The following uses pdf. js as a case study: https://github.com/mozilla/pdf.js1) Click Download ZIP on the right of the Case website to Download the source
Foreword: A Little! Get the source reason thousands ~ ~ ~
1. Install the Git tool.Git is a distributed version control software created by Linus Torvalds for the development of the manager's Linux kernel.
Download Address: http://code.google.com/p/msysgit/All the way next will be installed to the end.
2. Create a new folder under a disk with larger disk space to store the source code.I am under f: A n
a central database for working by myself, and then I submit my code to it every time? A local copy of the database. Using a distributed version control system is not that troublesome. You can directly use the local database to create a database.
Mercurial is developed using python, so it is very cross-platform. Running on all platforms is very smooth. Unlike subversion, subversion is slow.
Currently, mercurial's largest customers include Google (
clone a Matrix3 (3x3 matrix) object. *////Clone///
Returns the cloned Matrix3 (3x3 matrix) object.
Clone: function () {var te = this. elements; return new THREE. matrix3 (te [0], te [3], te [6], te [1], te [4], te [7], te [2], te [5], te [8]); // returns the cloned Matrix3 (3x3 matrix) object }};
Wuji (http://blog.csdn.net/omni360)
This article follows t
implemented well),Object does not implement Clone (), implements the Hashcode (), the hash is the object instantiation in the heap memory address, with "= =" to compare two objects, is actually the comparison of the memory address is a, that is, hashcode () is equal,By default, the Equals () method of an object is the same as the = = Symbol, which is the comparison of memory addresses, but some objects override the Equals () method, such as string, t
singleton class, through the instanceof operator can detect whether the class has been instantiated)
4. In addition, you need to create a __clone () method to prevent objects from being replicated (clones)
A single example implementation method
Single example class demo source code
/**
* $_instance must be declared as a static private variable
* Constructors and destructors must be declared private to prev
install brackets on Ubuntu, as well as other Ubuntu-based distributions, such as Linux minit, you can use this unofficial PPA source:sudo add-apt-repository ppa:webupd8team/bracketssudo apt-get updatesudo apt-get Install bracketsFor other Linux distributions, you can install it by downloading the source code or the corresponding Linux, OS x and Windows binaries.
Download brackets
Java class set framework-wide list source code analysis
Shortlist
The linked list is implemented based on a two-way cyclic linked list. It can also be used as a stack, queue, or double-end queue for operations. Non-thread security. The following describes the Java Implementation of ArrayList (only part of the code is pasted). The
jQuery.extend = jQuery.fn.extend = function() {2 //code 3 }
Before talking about the source code, let's talk about copying, copying, and copying.
We know that js data types are different.
*Basic Type: Pass by value (undefined, NULL, boolean, String, Number)*Reference Type: Pass the memory address Object
/* Deep copy: all elements and attributes are comple
Three. js source code annotation (34) Texture/Texture. js
I also just started learning. Sorry for the errors in many places.
The following code is a comment on the Texture/Texture. JS file in the THREE. js source code file.
/*** @ Author mrdoob/http://mrdoob.com/* @ auth
, dot, length, and clone. Here, all values are omitted, and only some functions of 3D vectors that are more than 2D vectors are recorded.
The setX (x), setY (y), and setZ (z) functions are used to separately set the values of a certain component.The functions cross (a, B) and crossSelf (v) change the caller to a, B, or the caller and v respectively. A cross-multiplication is a vector perpendicular to the two vectors involved in the cross-multiplicatio
Android SDK )Hardware(mainly hardware adaptation layer HAL code)Libcore(Core library related)NDK (NDK related code. androidndk(Android nativedevelopment Kit)is a series of development tools that allow program developers to embed in Android ApplicationsUnmanaged code that is written into the C + + language. )Out(the output of the
A Distributed Source code management tool, mercurial
Mercurial is widely used as the three mainstream distributed source code management tools. For example, both googlecode.com and codeplex.com support mercurial as source code m
Jquery source code series: append method implementation process
No1:
// Define a local copy of jQueryVar jQuery = function (selector, context ){// The jQuery object is actually just the init constructor 'enabled'Return new jQuery. fn.Init(Selector, context, rootjQuery); // call the second-step init Method},
No2:
JQuery. fn = jQuery. prototype = {Constructor: jQuery,Init: Function (selector, context, rootjQu
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.