Advertising
advertising
related pastes to tag 'switch'
- 1711606 - Style Switcher: wordpress switch style
-
- function setActiveStyleSheet(title) {
- var i, a, main;
- for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
- if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
- a.disabled = true;
- if(a.getAttribute("title") == title) a.disabled = false;
- }
- }
- 964462 - Switch Case.: switch
-
- /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
- package aula1;
- /**
- 941271 - Switch Case.: switch
-
- /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
- package aula1;
- /**
- 723890 - trollboy: php switch speed optimizing
-
- <?php
- /**
- * Results on my box running within ZDE:
- * X-Powered-By: PHP/5.2.0
- * Content-type: text/html
- *
- * case_attempt: 8.367699
- 723887 - trollboy: php switch speed optimizing
-
- <?php
- /**
- * Results on my box running within ZDE:
- * X-Powered-By: PHP/5.2.0
- * Content-type: text/html
- *
- * case_attempt: 8.367699
- 638327 - Hatty: c endian little-endian big-endian pdp-endian switch
-
- #if defined(__WIN32) || defined(__WIN32__) || defined(__WIN64) || \
- defined(__WIN64__)
- /* Windows doesnt have endian.h, and only runs on AMD64/Intel,
- * so it's little endian */
- #define ENDIAN(x) (x & 0xFF000000) | (x & 0x00FF0000) << 8 | \
- (x & 0x00000FF00) << 16 | (x & 0x0000000FF) << 24
- 637808 - Hatty: c endian little-endian big-endian pdp-endian switch
-
- #include <endian.h>
- /* Host byte order <-> Big Endian */
- #if __BYTEORDER == __BIG_ENDIAN
- #define ENDIAN(x) x
- #elif __BYTEORDER == __LITTLE_ENDIAN