Severity: 8192
Message: Function create_function() is deprecated
Filename: geshi/geshi.php
Line Number: 4698
Backtrace:
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
Severity: Warning
Message: sizeof(): Parameter must be an array or an object that implements Countable
Filename: helpers/language_helper.php
Line Number: 81
Backtrace:
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/helpers/language_helper.php
Line: 81
Function: _error_handler
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/themes/geocities/views/view/view.php
Line: 24
Function: random_expire_msg
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 173
Function: include
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 43
Function: _ci_load
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 700
Function: view
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to access array offset on value of type null
Filename: helpers/language_helper.php
Line Number: 81
Backtrace:
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/helpers/language_helper.php
Line: 81
Function: _error_handler
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/themes/geocities/views/view/view.php
Line: 24
Function: random_expire_msg
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 173
Function: include
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 43
Function: _ci_load
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 700
Function: view
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
' Gambas module file "/sys/bus/i2c/drivers/ee1004/", "/sys/bus/i2c/drivers/at24/", "/home/michal/Dokumenty/SPD/"] DIRECT_RAMBUS = 1, RAMBUS = 2, FPM_DRAM = 3, EDO = 4, PIPELINED_NIBBLE = 5, SDR_SDRAM = 6, MULTIPLEXED_ROM = 7, DDR_SGRAM = 8, DDR_SDRAM = 9, DDR2_SDRAM = 10, DDR3_SDRAM = 11, DDR4_SDRAM = 12, N_RAM_TYPES = 13 "Rambus", "FPM DRAM", "EDO", "Pipelined Nibble", "SDR SDRAM", "Multiplexed ROM", "DDR SGRAM", "DDR SDRAM", "DDR2 SDRAM", "DDR3 SDRAM", "DDR4 SDRAM"] eeprom_file.Close spd_i2c_eeprom_files.Add(spd_i2c_eeprom_dir[i] &/ element &/ eeprom_file_name) eeprom_file.Close find_spd_eeprom_file() spd_size.Add(calculate_spd_size(Variable)) read_spd(spd_i2c_eeprom_files[i]) ram_type_str.Add(ram_types[decode_ram_type(eeprom)]) ram_type_int.Add(decode_ram_type(eeprom)) Case SDR_SDRAM Case DDR_SDRAM Case DDR2_SDRAM Case DDR3_SDRAM spd_revision.Add(decode_ddr3_spd_revision(eeprom)) part_number.Add(decode_ddr3_part_number(eeprom)) module_type.Add(decode_ddr3_module_type(eeprom)) module_speed.Add(decode_ddr3_module_speed(eeprom)) module_size.Add(decode_ddr3_module_size(eeprom)) voltage.Add(decode_ddr3_voltage(eeprom)) module_manufacturer.Add(decode_ddr3_module_manufacturer(eeprom)) module_dram_manufacturer.Add(decode_ddr3_module_dram_manufacturer(eeprom)) module_manufacture_date.Add(decode_ddr3_module_date(eeprom[120], eeprom[121])) 'Print "Manufacturer:" & Hex(eeprom[117] And &h7F) & " " & Hex(eeprom[118]) 'Print CMemVendors.MemVendors[CString(Hex(eeprom[117] And &h7F))][LCase(Hex(eeprom[118]))] 'decode_ddr34_manufacturer(eeprom[117], eeprom[118]) Case DDR4_SDRAM part_number.Add(decode_ddr4_part_number(eeprom)) module_type.Add(decode_ddr4_module_type(eeprom)) module_speed.Add(decode_ddr4_module_speed(eeprom)) module_size.Add(decode_ddr4_module_size(eeprom)) module_manufacturer.Add(decode_ddr4_module_manufacturer(eeprom)) module_dram_manufacturer.Add(decode_ddr4_module_dram_manufacturer(eeprom)) module_manufacture_date.Add(decode_ddr4_module_date(eeprom, spd_size[i], eeprom[323], eeprom[324])) Print "\n" Return partnumber Return partnumber Case 01 type = "RDIMM (Registered Long DIMM)" Case 02 type = "UDIMM (Unbuffered Long DIMM)" Case 03 type = "SODIMM (Small Outline DIMM)" type = Null Return type Case "01" type = "RDIMM (Registered DIMM)" Case "02" type = "UDIMM (Unbuffered DIMM)" Case "03" type = "SODIMM (Small Outline Unbuffered DIMM)" Case "04" type = "LRDIMM (Load-Reduced DIMM)" Case "05" type = "Mini-RDIMM (Mini Registered DIMM)" Case "06" type = "Mini-UDIMM (Mini Unbuffered DIMM)" Case "08" type = "72b-SO-RDIMM (Small Outline Registered DIMM, 72-bit data bus)" Case "09" type = "72b-SO-UDIMM (Small Outline Unbuffered DIMM, 72-bit data bus)" Case "0c" type = "16b-SO-UDIMM (Small Outline Unbuffered DIMM, 16-bit data bus)" Case "0d" type = "32b-SO-UDIMM (Small Outline Unbuffered DIMM, 32-bit data bus)" type = Null Return type ' Dim ctime As Float ' Dim ddrclk As Float ' Dim tbits, pcclk As Integer ' Dim mtb As Float = 0.125 ' ' If (bytes[10] == 1 And bytes[11] == 8) Then mtb = 0.125 ' If (bytes[10] == 1 And bytes[11] == 15) Then mtb = 0.0625 ' ctime = mtb * bytes[12] ' ddrclk = 2 * (1000 / ctime) ' ' tbits = 64 ' Select bytes[8] ' Case 1 ' tbits = 16 ' Case 4 ' tbits = 32 ' Case 3 ' Case 0 ' tbits = 64 ' End Select ' ' pcclk = ddrclk * (tbits / 8) ' pcclk -= pcclk % 100 ' ' Return Subst("DDR3-&1Mhz PC3-&2", CInt(ddrclk), pcclk) Return "DDR3-Unknown Mhz" frequency = (2000000 / (mincycle * 125 + fineadjust)) ' Dim sdr_capacity As Integer = Lsl(256, Hex(bytes[4]) And &hF) ' Dim sdr_width As Integer = Lsl(4, Hex(bytes[7]) And &h7) ' Dim bus_width As Integer = Lsl(8, Hex(bytes[8]) And &h7) ' Dim ranks As Integer = 1 + Lsr(3, Hex(bytes[7]) And &h7) ' Print "sdr_capacity = " & Lsl(256, Bytes[4]) ' Print "sdr_width = " & Lsl(4, bytes[7]) ' Print "bus_width = " & Lsl(8, bytes[8]) ' Print "ranks = " & (Lsr(3, bytes[7]) + 1) ' size = sdr_capacity / 8 * bus_width / sdr_width * ranks cap *= ranks cap *= die_count ' Print "sdram_width: " & sdram_width ' Print "ranks: " & ranks ' Print "signal_loading: " & signal_loading ' Print "die_count: " & die_count ' Print "cap: " & cap ' # Size computation ' my $sdram_width = 4 << ($bytes->[12] & 0x07); ' my $ranks = (($bytes->[12] >> 3) & 0x07) + 1; ' my $signal_loading = $bytes->[6] & 0x03; ' my $die_count = (($bytes->[6] >> 4) & 0x07) + 1; ' my $cap = (256 << ($bytes->[4] & 0x0f)) / 8; ' $cap *= (8 << ($bytes->[13] & 0x07)) / $sdram_width; ' $cap *= $ranks; ' $cap *= $die_count if $signal_loading == 0x02; # 3DS ' printl("Size", $cap . " MB"); Return Manufacturer 'Print syear; " "; sweek 'Print syear; " "; sweek Return "UNKNOWN" 'Print "DDR4 Byte"; syear; " "; sweek 'Print "DDR4 Hex"; syear; " "; sweek Return "Unknown" Return "Unknown" Case 1 Return DIRECT_RAMBUS Case 17 Return RAMBUS Case 1 Return FPM_DRAM Case 2 Return EDO Case 3 Return PIPELINED_NIBBLE Case 4 Return SDR_SDRAM Case 5 Return MULTIPLEXED_ROM Case 6 Return DDR_SGRAM Case 7 Return DDR_SDRAM Case 8 Return DDR2_SDRAM Case 11 Return DDR3_SDRAM Case 12 Return DDR4_SDRAM Return UNKNOWN