Modular Handling of Loops by Means of Procedure Calls Sample Clauses

Modular Handling of Loops by Means of Procedure Calls. In the literature of program contracts (e.g., Xxxxxxxx et al. [2002], Xxxxxxx et al. [2006], and Xxxxxxx et al. [2004]), either of the following two approaches are taken to handle loops: (1) loop unrolling, where the behavior of each loop is underapproximated by unrolling this loop a finite number of times; or (2) a modular approach using loop invariants, where each loop is associated with its loop invariant that takes a role of the contract for this loop. When using change contracts instead, both approaches can be taken again with adjustments. First, loop unrolling is straightforward. One simply needs to unroll each loop of both versions the same number of times. Meanwhile, substantial adjustment is necessary for the second modular approach. Note that a loop invariant is the program contract for the corresponding loop in the sense that it describes the behavior of an individual loop. However, what we need is the change contract of a loop that describes how the behavior of this loop changes across versions. We use a different specification than a loop invariant to describe the changes of a loop for the same reason that we use a change contract instead of a program contract to describe the changes of a procedure. − → = Figure 12 shows how we specify the behavioral changes of a loop. First, Figure 12(a) shows the two versions of procedure sum. The only difference between them is the operators used for the loop exit conditions (i.e., i < k i < k). As a result, the sum of v1 adds the numbers from 1 to k 1, while its counterpart of v2 adds the numbers from 1 to k. The value of k is given as a parameter of sum. Notice that we annotate these loops with “//@ set s=sum loop(k);”. Apparently, this annotation does not express a loop invariant. It is instead an assignment statement.10 This assignment is used by our static checker and not executed at runtime. The left- hand side of this assignment is variable s whose value changes over the loop. The right- hand side expression “call sum loop(k)” calls an auxiliary specification-purpose procedure sum loop. This procedure sum loop does not exist in the original source code. We use these new-style specifications of loops in interpreting loops in a modular way. Our static checker skips over loops. Instead, it uses the specifications of loops. Since each of these specifications calls a procedure, we can reuse our modular handling of procedure calls. = \ \ \ More specifically, in our example, we assign to a new procedure sum...
AutoNDA by SimpleDocs

Related to Modular Handling of Loops by Means of Procedure Calls

  • Conversion of Live Telephone Exchange Service to Analog 2W Loops The following coordination procedures shall apply to “live” cutovers of VERIZON Customers who are converting their Telephone Exchange Services to SPRINT Telephone Exchange Services provisioned over Analog 2W unbundled Local Loops (“Analog 2W Loops”) to be provided by VERIZON to SPRINT.

  • Specific Order Processes and Requirements 1. Distributor will order Software from SAP using and filling out completely such forms and minimum order requirements as SAP may prescribe from time to time and must comply with any then-current order process for the specific Software product. Where applicable, Distributor agrees to use the electronic means provided by SAP for placing orders.

  • Purpose of Processing The purpose of the data Processing is the provision of the Services pursuant to this Agreement.

  • Transmission and Routing of Telephone Exchange Service Traffic PURSUANT TO SECTION 251(c)(2) ............................... 14 4.1

  • Service Order Process Requirements 53.5.1 CenturyLink will accept orders for As-Is Transfer of services from CenturyLink to CLEC where CenturyLink is the End User’s current local exchange carrier.

  • Additional Wet Weather Procedure 14.15.1 Remaining On Site Where, because of wet weather, the employees are prevented from working:

  • Project Delivery Order Procedures The TIPS Member having approved and signed an interlocal agreement, or other TIPS Membership document, may make a request of the awarded vendor under this Agreement when the TIPS Member has services that need to be undertaken. Notification may occur via phone, the web, email, fax, or in person. Upon notification of a pending request, the awarded vendor shall make contact with the TIPS Member as soon as possible, but must make contact with the TIPS Member within two working days. Scheduling of Projects Scheduling of projects (if applicable) may be accomplished when the TIPS Member issues a Purchase Order and/or an Agreement or Contract that will serve as “the notice to proceed” as agreed by the Vendor and the TIPS Member. The period for the delivery order will include the mobilization, materials purchase, installation and delivery, design, weather, and site cleanup and inspection. No additional claims may be made for delays as a result of these items. When the tasks have been completed the awarded vendor shall notify the client and have the TIPS Member or a designated representative of the TIPS Member inspect the work for acceptance under the scope and terms in the Purchase Order and/or Agreement or Contract. The TIPS Member will issue in writing any corrective actions that are required. Upon completion of these items, the TIPS Member will issue a completion notice and final payment will be issued per the contractual requirements of the project with the TIPS Member. Any Construction contract prepared by the TIPS Member’s Legal Counsel may alter the terms of this subsection, “Scheduling of Projects”.

  • Exclusion of applications on preliminary points of law Any recourse to any Court for the determination of a preliminary point of law arising in the course of the arbitration proceedings is excluded.

  • Traditional IRA-to-Xxxx XXX Conversions If you convert to a Xxxx XXX, the amount of the conversion from your Traditional IRA to your Xxxx XXX will be treated as a distribution for income tax purposes, and is includible in your gross income (except for any nondeductible contributions). Although the conversion amount generally is included in income, the 10 percent early distribution penalty tax will not apply to conversions from a Traditional IRA to a Xxxx XXX, regardless of whether you qualify for any exceptions to the 10 percent penalty tax. If you are required to take a required minimum distribution for the year, you must remove your required minimum distribution before converting your Traditional IRA.

  • Transmission and Routing of Exchange Access Traffic PURSUANT TO 251(c)(2) 13 5.1 Scope of Traffic 13 5.2 Trunk Group Architecture and Traffic Routing 13 5.3 Logical Trunk Groups 13 5.4 End Office Access 13 ARTICLE VI MEET-POINT BILLING ARRANGEMENTS 14 6.1 Meet-Point Billing Services 14 6.2 Data Format and Data Transfer 14 6.3 Errors or Loss of Access Usage Data 15 6.4 Payment 15 6.5 Additional Limitation of Liability Applicable to Meet-Point Billing Arrangements 16 ARTICLE VII BLV/BLVI TRAFFIC 16

Time is Money Join Law Insider Premium to draft better contracts faster.