Why is the proxy property set to assign? In order to prevent the generation of the retention ring, assign

Source: Internet
Author: User

Why is the proxy property set to assign? In order to prevent the generation of the retention ring, assign

Loop reference

All reference counting systems have circular application problems, such as the following reference relationship:

1. Object a is created and referenced to object B.

2. object B is created and referenced to object c

3. Object c is created and referenced to object B

At this time, the reference count of B and c is 2 and 1 respectively. When a no longer uses B, call release to release the ownership of B. Because c also references B, the reference count of B is 1, and B is not released. B is not released. The reference count of c is 1, and c is not released. From then on, B and c are always in the memory.

In this case, you must interrupt the circular reference and maintain the reference relationship through other rules. For example, our common delegate is generally an assign attribute instead of a retain attribute. The value assignment does not increase the reference count. It is designed to prevent unnecessary cyclic references at the two ends of delegation. If a UITableViewController object a obtains the ownership of UITableView object B through retain, the delegate of UITableView object B is a. If the delegate is retain, there is basically no chance to release these two objects. Pay attention to this when designing the delegate mode.

Memory leakage caused by cyclic references cannot be discovered by Instrument, so be careful.



BOS settings

English/Chinese
Time/System Time
Date/System Date
Level 2 Cache Level 2 Cache
System Memory
Video Controller
Panel Type LCD Model
Audio Controller
Modem Controller Modem)
Primary Hard Drive
Modular Bay module Bracket
Service Tag
Asset Tag
BIOS Version
Boot Order/Boot Sequence startup Sequence (System Searches for operating system files)
Diskette Drive floppy disk Drive
Internal HDD built-in hard drive
Floppy device
Hard-Disk Drive
USB Storage Device
Drive CD/DVD/CD-RW Drive
CD-ROM device drive
Modular Bay HDD Modular hard drive
Carw.nic carw.bus NIC
Onboard NIC
The level of hardware check during POST during Boot POST: if it is set to "MINIMAL" (default), the system will only perform BIOS update, check is performed only when the memory module is changed or the previous self-check is not completed. If it is set to "THOROUGH", a full set of hardware checks will be performed during self-check.
Config Warnings warning settings: This option is used to set whether to trigger an alarm when the system uses a low-voltage power adapter or other unsupported configurations. It is set to "DISABLED" to disable the alarm, ENABLED
Internal Modem built-in Modem: use this option to enable or disable the built-in Modem. After disabled is disabled, the Modem is invisible to the operating system.
LAN Controller network Controller: use this option to enable or disable the PCI Ethernet Controller. The device is invisible to the operating system after it is disabled.
Pxe bis Policy/pxe bis Default Policy pxe bis Policy: This option controls how the system handles (start the overall service Boot Integrity Services (BIS) authorization requests without authentication. The system can accept or reject BIS requests. When it is set to "Reset", BIS will reinitialize and set it to "Deny" the next time you start the computer ".
Onboard Bluetooth device
MiniPCI Device Mini PCI Device
MiniPCI Status Mini PCI device Status: You can use this option to enable or disable onboard PCI devices when installing a Mini PCI device
Wireless Control: This option can be used to set the Control mode for MiniPCI and Bluetooth Wireless devices. When set to "Application", wireless devices can be enabled or disabled through applications such as "Quickset", and hot keys are unavailable. When it is set to "/Application", wireless devices can be enabled or disabled through applications such as "Quickset" or hot keys. When it is set to "Always Off", the wireless device is disabled and cannot be enabled in the operating system.
Wireless Devices: use this option to enable or disable Wireless devices. This setting can be changed through the "Quickset" or "" hotkey in the operating system. Whether the setting is available depends on "Wireless... the remaining full text>

Settings of the home LAN

In Windows XP, users can share data and exchange information through the LAN. The specific settings are as follows:
(1) configure the LAN
1. Configure the NIC
After you correctly install the NIC and the corresponding driver, Windows XP will create a LAN connection for the NIC it detects.
(1) Open the "Network Connection" item in the control panel and you can see the LAN connection that has been established in the "Network Connection" window.
(2) Right-click the "local connection" icon and select the "properties" command from the shortcut menu to open the "Local Connection Properties" dialog box, the network adapters used for connection are listed at the top of the dialog box. Click "Configure" to open the corresponding dialog box. In this dialog box, you can set the network adapters.
(3) the dialog box contains four tabs: general, advanced, driver, and resource, we can use these four tags to configure the network adapter. The configuration method is similar to Windows 9x/2000.
2. network component settings
Network Components refer to the customer, service, and protocol used for communication when a computer is connected to the network.
(1) installation protocol: After the network adapter is correctly installed, "Internet Protocol" (TCP/IP Protocol) is installed in Windows XP by default. To add other protocols, click the "Install" button to open the "select network component type" dialog box. In this dialog box, you can select the type of the component to be installed.
Double-click the "protocol" option to open the "select Network Protocol" dialog box, which lists the currently available protocols and selects the protocols to be added, click OK.
(2) Set TCP/IP protocol: TCP/IP protocol is the most important communication protocol for the Internet. It provides network services such as remote logon, file transmission, email, and WWW. Is the default installation protocol.
In the "Local Connection Properties" dialog box, double-click "Internet Protocol (TCP/IP)" in the list to open the "Internet Protocol properties" dialog box. In this dialog box, you can set IP addresses, subnet masks, and default gateways.
IP Address: in the LAN, the IP address is generally 192.168.0.X, and X can be 1 ~ Any number between 255, but the IP address of each computer in the LAN should be unique. You can also select "automatically obtain IP addresses" to enable the system to automatically assign an IP address to your LAN.
Subnet Mask: this parameter is generally set to 255.255.255.0 in the LAN.
Default Gateway: if the local computer needs to access the Internet from another computer, set "Default Gateway" to the IP address of the proxy server.
After setting the preceding options, click OK.
3. workgroup settings
Computers in the LAN must belong to the same working group before they can access each other.
(1) Right-click the "my computer" icon and select the "properties" command from the shortcut menu to open the "system features" dialog box.
(2) Click the "Network ID" tab and click the "properties" button to open the "Change ID" dialog box. In the affiliated worker group, click the workgroup option and enter the name of the workgroup in the text box below.
Set each computer in the LAN in the same way.
(2) LAN applications
1. Search for a computer
In a Windows xp lan, if you want to use resources on other computers, you must first find the computer in the LAN. Generally, icons of other computers are displayed in "Network neighbors. If it is not displayed, follow these steps:
(1) Right-click the "Network Neighbor" icon and select the "Find computer" command from the shortcut menu to open the "search result-computer" window.
(2) enter the name of the computer to be searched in the "computer name" box on the left of the window, and click "Search now". If the network configuration is correct, the search result is displayed in the right window.
2. Computer Resources... other full text>

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.