code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
/******************************************************************************* *Copyright (c) 2009 Eucalyptus Systems, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, only version 3 of the License. * * * This file is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see <http://www.gnu.org/licenses/>. * * Please contact Eucalyptus Systems, Inc., 130 Castilian * Dr., Goleta, CA 93101 USA or visit <http://www.eucalyptus.com/licenses/> * if you need additional information or have any questions. * * This file may incorporate work covered under the following copyright and * permission notice: * * Software License Agreement (BSD License) * * Copyright (c) 2008, Regents of the University of California * All rights reserved. * * Redistribution and use of this software in source and binary forms, with * or without modification, are permitted provided that the following * conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. USERS OF * THIS SOFTWARE ACKNOWLEDGE THE POSSIBLE PRESENCE OF OTHER OPEN SOURCE * LICENSED MATERIAL, COPYRIGHTED MATERIAL OR PATENTED MATERIAL IN THIS * SOFTWARE, AND IF ANY SUCH MATERIAL IS DISCOVERED THE PARTY DISCOVERING * IT MAY INFORM DR. RICH WOLSKI AT THE UNIVERSITY OF CALIFORNIA, SANTA * BARBARA WHO WILL THEN ASCERTAIN THE MOST APPROPRIATE REMEDY, WHICH IN * THE REGENTS' DISCRETION MAY INCLUDE, WITHOUT LIMITATION, REPLACEMENT * OF THE CODE SO IDENTIFIED, LICENSING OF THE CODE SO IDENTIFIED, OR * WITHDRAWAL OF THE CODE CAPABILITY TO THE EXTENT NEEDED TO COMPLY WITH * ANY SUCH LICENSES OR RIGHTS. *******************************************************************************/ /* * * Author: Neil Soman neil@eucalyptus.com */ package edu.ucsb.eucalyptus.cloud.entities; import javax.persistence.Column; import org.hibernate.annotations.Entity; import javax.persistence.PersistenceContext; import javax.persistence.Table; import org.hibernate.annotations.Cache; import org.hibernate.annotations.CacheConcurrencyStrategy; @PersistenceContext(name="eucalyptus_storage") @Table( name = "AOEVolumeInfo" ) @Entity @javax.persistence.Entity @Cache( usage = CacheConcurrencyStrategy.TRANSACTIONAL ) public class AOEVolumeInfo extends LVMVolumeInfo { @Column(name="vbladepid") private Integer vbladePid; @Column(name="majornumber") private Integer majorNumber; @Column(name="minornumber") private Integer minorNumber; public AOEVolumeInfo() {} public AOEVolumeInfo(String volumeId) { this.volumeId = volumeId; } public Integer getVbladePid() { return vbladePid; } public void setVbladePid(Integer vbladePid) { this.vbladePid = vbladePid; } public Integer getMajorNumber() { return majorNumber; } public void setMajorNumber(Integer majorNumber) { this.majorNumber = majorNumber; } public Integer getMinorNumber() { return minorNumber; } public void setMinorNumber(Integer minorNumber) { this.minorNumber = minorNumber; } }
sosilent/euca
clc/modules/core/src/main/java/edu/ucsb/eucalyptus/cloud/entities/AOEVolumeInfo.java
Java
gpl-3.0
4,637
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.10"/> <title>IconMagic: RegistryAccessException Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { init_search(); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">IconMagic &#160;<span id="projectnumber">0.1</span> </div> <div id="projectbrief">Tool to assign custom icons to file types in Windows</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.10 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li><a href="pages.html"><span>Related&#160;Pages</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class&#160;List</span></a></li> <li><a href="classes.html"><span>Class&#160;Index</span></a></li> <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li> <li><a href="functions.html"><span>Class&#160;Members</span></a></li> </ul> </div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> &#124; <a href="class_registry_access_exception-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">RegistryAccessException Class Reference</div> </div> </div><!--header--> <div class="contents"> <div class="dynheader"> Inheritance diagram for RegistryAccessException:</div> <div class="dyncontent"> <div class="center"> <img src="class_registry_access_exception.png" usemap="#RegistryAccessException_map" alt=""/> <map id="RegistryAccessException_map" name="RegistryAccessException_map"> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a1a85d7c94398af682f3b29a022cce704"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1a85d7c94398af682f3b29a022cce704"></a> &#160;</td><td class="memItemRight" valign="bottom"><b>RegistryAccessException</b> (std::string message)</td></tr> <tr class="separator:a1a85d7c94398af682f3b29a022cce704"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a4306a07dd787c0f82e215bd0cb061e09"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4306a07dd787c0f82e215bd0cb061e09"></a> std::string&#160;</td><td class="memItemRight" valign="bottom"><b>what</b> ()</td></tr> <tr class="separator:a4306a07dd787c0f82e215bd0cb061e09"><td class="memSeparator" colspan="2">&#160;</td></tr> </table> <hr/>The documentation for this class was generated from the following files:<ul> <li>D:/Users/Gregory/OneDrive/GitHub/IconMagic/Source/main/Registry/DataAccess/<a class="el" href="_registry_access_exception_8hpp_source.html">RegistryAccessException.hpp</a></li> <li>D:/Users/Gregory/OneDrive/GitHub/IconMagic/Source/main/Registry/DataAccess/<a class="el" href="_registry_access_exception_8cpp.html">RegistryAccessException.cpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by &#160;<a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.10 </small></address> </body> </html>
ThetaSinner/IconMagic
App/documentation/html/class_registry_access_exception.html
HTML
gpl-3.0
5,886
<html lang="en"> <head> <title>Creating a project - Emacs Development Environment</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Emacs Development Environment"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="prev" href="EDE-Mode.html#EDE-Mode" title="EDE Mode"> <link rel="next" href="Modifying-your-project.html#Modifying-your-project" title="Modifying your project"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <!-- This file describes EDE, the Emacs Development Environment. Copyright (C) 1998, 1999, 2000, 2001, 2004, 2005, 2008, 2009, 2010 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' and with the Back-Cover Texts as in (a) below. A copy of the license is included in the section entitled ``GNU Free Documentation License.'' (a) The FSF's Back-Cover Text is: ``You have the freedom to copy and modify this GNU manual. Buying copies from the FSF supports it in developing GNU and promoting software freedom.'' --> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } --></style> </head> <body> <div class="node"> <a name="Creating-a-project"></a> <p> Next:&nbsp;<a rel="next" accesskey="n" href="Modifying-your-project.html#Modifying-your-project">Modifying your project</a>, Previous:&nbsp;<a rel="previous" accesskey="p" href="EDE-Mode.html#EDE-Mode">EDE Mode</a>, Up:&nbsp;<a rel="up" accesskey="u" href="index.html#Top">Top</a> <hr> </div> <h2 class="chapter">3 Creating a project</h2> <p>To create a new project, first visit a file that you want to include in that project. If you have a hierarchy of directories, first visit a file in the topmost directory. From this buffer, type <kbd>M-x ede-new</kbd>, or click on the &lsquo;<samp><span class="samp">Create Project</span></samp>&rsquo; item in the &lsquo;<samp><span class="samp">Development</span></samp>&rsquo; menu. <p>The <samp><span class="command">ede-new</span></samp> command prompts for the type of project you would like to create. Each project type has its own benefits or language specific enhancements. <i>EDE</i> supports four different project types: &lsquo;<samp><span class="samp">Make</span></samp>&rsquo;, &lsquo;<samp><span class="samp">Automake</span></samp>&rsquo;, &lsquo;<samp><span class="samp">direct Automake</span></samp>&rsquo;, and &lsquo;<samp><span class="samp">Simple</span></samp>&rsquo;. <ul> <li>For the &lsquo;<samp><span class="samp">Make</span></samp>&rsquo; project type, <i>EDE</i> creates a <dfn>project file</dfn>, called <samp><span class="file">Project.ede</span></samp>, in each project directory. Information about the project is stored in this file. This project autogenerates a <samp><span class="file">Makefile</span></samp>. <li>For the &lsquo;<samp><span class="samp">Automake</span></samp>&rsquo; project type, <i>EDE</i> creates a <samp><span class="file">Project.ede</span></samp> project file similar to a &lsquo;<samp><span class="samp">Make</span></samp>&rsquo; project. Unlike a &lsquo;<samp><span class="samp">Make</span></samp>&rsquo; project, this project autogenerates a <samp><span class="file">Makefile.am</span></samp> file. <i>EDE</i> handles the Automake bootstrapping routines, which import and maintain a <samp><span class="file">configure.am</span></samp> script and other required files. <li>For the &lsquo;<samp><span class="samp">direct Automake</span></samp>&rsquo; project type, <i>EDE</i> reads directly from the Automake files. <p>You cannot create direct Automake projects with the <samp><span class="command">ede-new</span></samp> command. Instead, when you visit a project with existing Automake files, <i>EDE</i> automatically detects them. <li>The &lsquo;<samp><span class="samp">Simple</span></samp>&rsquo; project type provides light-weight constructs for identifying a project root and looking up files. If you already have a non-<i>EDE</i> project infrastructure, you can use a &lsquo;<samp><span class="samp">Simple</span></samp>&rsquo; project to provide other Emacs packages, such as Semantic, with some information about the project. See <a href="Simple-projects.html#Simple-projects">Simple projects</a>. </ul> <p>A subproject is merely a project in a subdirectory of another project. You can create a subproject by using the <samp><span class="command">ede-new</span></samp> command (or the &lsquo;<samp><span class="samp">Create Project</span></samp>&rsquo; menu item), while visiting a buffer in a subdirectory of the project root. This new project is automatically added to the parent project, and will be automatically loaded when <i>EDE</i> reads the parent project. <p>When using a project command that involves a makefile, <i>EDE</i> uses the top-most project's makefile as a starting place for the build. How the toplevel project handles subprojects in the build process is dependent on that project's type. </body></html>
xfq/aquamacs-emacs
aquamacs/doc/Aquamacs Help/ede/Creating-a-project.html
HTML
gpl-3.0
5,822
/***************************************************************************** * Copyright 2015-2020 Alexander Barthel alex@littlenavmap.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. *****************************************************************************/ #ifndef ATOOLS_XPAIRPORTINDEX_H #define ATOOLS_XPAIRPORTINDEX_H #include "util/str.h" #include <QHash> #include <QSet> #include <QVariant> namespace atools { namespace geo { class Pos; } namespace fs { namespace common { /* * Filled when reading airports in the beginning of the compilation process. * Provides an index from airport ICAO to airport_id and runwayname/airport ICAO to runway_end_id. */ class AirportIndex { public: AirportIndex(); /* Add airport to index. Returns true if it was added. ident should be ICAO for X-Plane. * Uses a different set/hash than getAirportId and addAirportId */ bool addAirportIdent(const QString& airportIdent); /* Add airport id to index. Returns true if it was added. ident should be ICAO for X-Plane. */ bool addAirportId(const QString& airportIdent, int airportId, const atools::geo::Pos& pos); /* Get id packed in a variant or a null integer variant if not found. * Returns null if airport id is ENRT */ QVariant getAirportIdVar(const QString& airportIdent) const; /* As above but -1 for not found */ int getAirportId(const QString& airportIdent) const; /* Airport position or invalid pos if not found */ atools::geo::Pos getAirportPos(const QString& airportIdent) const; /* Add runway end id to index. Returns true if it was added. ident should be ICAO for X-Plane. */ void addRunwayEnd(const QString& airportIdent, const QString& runwayName, int runwayEndId, const atools::geo::Pos& runwayEndPos); /* Get runway end id packed in a variant or a null integer variant if not found. * Returns null if airport id is ENRT */ QVariant getRunwayEndIdVar(const QString& airportIdent, const QString& runwayName) const; /* As above but -1 for not found */ int getRunwayEndId(const QString& airportIdent, const QString& runwayName) const; /* Get position of runway end. Invalid pos if not found */ atools::geo::Pos getRunwayEndPos(const QString& airportIdent, const QString& runwayName) const; void addAirportIls(const QString& airportIdent, const QString& airportRegion, const QString& ilsIdent, int ilsId); int getAirportIlsId(const QString& airportIdent, const QString& airportRegion, const QString& ilsIdent) const; void addSkippedAirportIls(const QString& airportIdent, const QString& airportRegion, const QString& ilsIdent); bool hasSkippedAirportIls(const QString& airportIdent, const QString& airportRegion, const QString& ilsIdent) const; /* Returns true if ICAO duplicates appear */ bool addIdentIcaoMapping(const QString& airportIdent, const QString& icao); void clearSkippedIls() { skippedIlsSet.clear(); } void clear(); typedef atools::util::Str<8> Name; typedef atools::util::StrPair<8> Name2; typedef atools::util::StrTriple<8> Name3; private: // Airport ICAO to airport_id QHash<Name, int> identToIdMap; // Airport idents QSet<Name> airportIdents; // Maps airport idents to ICAO QHash<Name, Name> identToIcaoMap; QHash<Name, atools::geo::Pos> identToPosMap; // Airport ICAO and runway name to runway_end_id QHash<Name2, int> identRunwayNameToEndId; QHash<Name2, atools::geo::Pos> identRunwayNameToEndPos; // Airport ICAO, airport region and ILS ident to ils_id QHash<Name3, int> airportIlsIdMap; QSet<Name3> skippedIlsSet; }; } // namespace common } // namespace fs } // namespace atools Q_DECLARE_TYPEINFO(atools::fs::common::AirportIndex::Name, Q_PRIMITIVE_TYPE); Q_DECLARE_TYPEINFO(atools::fs::common::AirportIndex::Name2, Q_PRIMITIVE_TYPE); Q_DECLARE_TYPEINFO(atools::fs::common::AirportIndex::Name3, Q_PRIMITIVE_TYPE); #endif // ATOOLS_XPAIRPORTINDEX_H
albar965/atools
src/fs/common/airportindex.h
C
gpl-3.0
4,525
# Weather station Collects data from sensors and sends measurements with NTP timestamp to an external server. ## Usage Connect sensors to analog pins and modifiy collector.ino to your pins (Wi-Fi and sensors) and SSID information. ### Builder To generate an ino file, compile and upload to arduino from a YAML configuration: Edit `config/default.yaml` or create a new one. `pip3 install -r requirements.txt` To use default config: `python3 builder.py` To use 'config/my_conf.yaml': `python3 builder.py my_conf` See `Uploading to an Arduino without IDE` for more information ## Uploading to an Arduino without IDE Change `_build/Makefile` to your needs. `make show_boards` for complete list of boards. Install make depedencies `sudo apt-get install arduino-mk`
jdupl/iot
arduino/weather/README.md
Markdown
gpl-3.0
779
/*60142233 °­¹Î°æ * Copyright (C) 2011-2012 Me and My Shadow * * This file is part of Me and My Shadow. * * Me and My Shadow is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Me and My Shadow is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Me and My Shadow. If not, see <http://www.gnu.org/licenses/>. */ #include <stdio.h> #include <iostream> #include <string> #include <vector> #include "Globals.h" #include "FileManager.h" #include "Functions.h" #include <archive.h> #include <archive_entry.h> using namespace std; #ifdef WIN32 #include <windows.h> #include <shlobj.h> #include <shlwapi.h> #include <direct.h> #pragma comment(lib,"shlwapi.lib") #else #include <strings.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <dirent.h> #endif #ifdef WIN32 string userPath,dataPath,appPath,exeName; #else //´Ù¸¥ Ç÷§Æû¿¡¼­ userPath (¼³Á¤ ÆÄÀÏ) ¹× userDataPath (µ¥ÀÌÅÍ ÆÄÀÏ) »çÀÌÀÇ Â÷À̸¦ È®ÀÎ //ij½Ã µ¥ÀÌÅÍ userCachePathÀÇ °æ·Î°¡ÀÖ´Ù. string userPath,userDataPath,userCachePath,dataPath,appPath,exeName; #endif bool configurePaths() { //appPath°ú EXENAME¸¦ °¡Á®¿É´Ï´Ù. { char s[4096]; int i,m; #ifdef WIN32 m=GetModuleFileNameA(NULL,s,sizeof(s)); #else m=readlink("/proc/self/exe",s,sizeof(s)); #endif s[m]=0; for(i=m-1;i>=0;i--){ if(s[i]=='/'||s[i]=='\\'){ s[i]=0; break; } } appPath=s; exeName=s+i+1; } //TODO : userpathÀÌ userPathÀ» ¼³Á¤Çϱâ Àü¿¡ ºñ¾î ÀÖ´ÂÁö È®ÀÎ //userPathÀÌ ºñ¾î ÀÖ´ÂÁö È®ÀÎÇÕ´Ï´Ù. if(getUserPath().empty()){ #ifdef WIN32 //userPath¸¦ °¡Á®¿É´Ï´Ù. char s[1024]; SHGetSpecialFolderPathA(NULL,s,CSIDL_PERSONAL,1); userPath=s; userPath+="\\My Games\\meandmyshadow\\"; #else //NULL ÇÒ´çÀ» ¹æÁöÇÏ´Â µ¥ »ç¿ëµÇ´Â Àӽà º¯¼ö. char* env; //$XDG_CONFIG_HOME env var¸¦ ¾ò´Â´Ù env=getenv("XDG_CONFIG_HOME"); //±×°ÍÀÌ $ HOME / .config /¿¡ ³Î (null) ¼³Á¤ userPath¿¡ ÀÖ´Ù¸é. if(env!=NULL){ userPath=env; }else{ userPath=getenv("HOME"); userPath+="/.config"; } //userPath¿¡ meandmyshadow¸¦ Ãß°¡ ÇÒ ¼ö ÀÖ½À´Ï´Ù. userPath+="/meandmyshadow/"; //$XDG_DATA_HOME env var¸¦ ¾ò´Â´Ù. env=getenv("XDG_DATA_HOME"); //$ HOME /.local/share¿¡ ³Î (null) ¼³Á¤ userDataPathÀÌ ÀÖ´Ù¸é. if(env!=NULL){ userDataPath=env; }else{ userDataPath=getenv("HOME"); userDataPath+="/.local/share"; } //userPath¿¡ meandmyshadow¸¦ Ãß°¡ userDataPath+="/meandmyshadow/"; //$XDG_CACHE_HOME env var¸¦ ¾ò´Â´Ù. env=getenv("XDG_CACHE_HOME"); //$ HOME / .cache¿¡ ³Î (null) ¼³Á¤ userCachePathÀÌ ÀÖ´Ù¸é. if(env!=NULL){ userCachePath=env; }else{ userCachePath=getenv("HOME"); userCachePath+="/.cache"; } //AuserPath¿¡ meandmyshadow¸¦ Ãß°¡ ÇÒ ¼ö ÀÖ½À´Ï´Ù. userCachePath+="/meandmyshadow/"; //null ¼³Á¤ env=NULL; #endif //userPathÀ» Ãâ·Â. cout<<"User preferences will be fetched from: "<<userPath<<endl; #ifndef WIN32 //ºñ Windows ½Ã½ºÅÛÀÇ °æ¿ì¿¡´Â »ç¿ëÀÚ µ¥ÀÌÅÍÀÇ °æ·Î¸¦ ³ªÅ¸³½´Ù. cout<<"User data will be fetched from: "<<userDataPath<<endl; #endif } #ifdef WIN32 //userPath Æú´õ¿Í ´Ù¸¥ ÇÏÀ§ Æú´õ¸¦ ¸¸µì´Ï´Ù. createDirectory(userPath.c_str()); createDirectory((userPath+"levels").c_str()); createDirectory((userPath+"levelpacks").c_str()); createDirectory((userPath+"themes").c_str()); createDirectory((userPath+"progress").c_str()); createDirectory((userPath+"tmp").c_str()); //record Æú´õ createDirectory((userPath+"records").c_str()); createDirectory((userPath+"records\\autosave").c_str()); //±×¸®°í userpath ³»ºÎÀÇ »ç¿ëÀÚ ÁöÁ¤ Æú´õ. createDirectory((userPath+"custom").c_str()); createDirectory((userPath+"custom\\levels").c_str()); createDirectory((userPath+"custom\\levelpacks").c_str()); #else // userPath »ý¼º. createDirectory(userPath.c_str()); createDirectory(userDataPath.c_str()); createDirectory(userCachePath.c_str()); //¶ÇÇÑ userpath¿¡ ´Ù¸¥ Æú´õ¸¦ ¸¸µé ¼ö ÀÖ½À´Ï´Ù. createDirectory((userDataPath+"/levels").c_str()); createDirectory((userDataPath+"/levelpacks").c_str()); createDirectory((userDataPath+"/themes").c_str()); createDirectory((userDataPath+"/progress").c_str()); createDirectory((userCachePath+"/tmp").c_str()); //record Æú´õ createDirectory((userDataPath+"/records").c_str()); createDirectory((userDataPath+"/records/autosave").c_str()); //±×¸®°í userpath ³»ºÎÀÇ »ç¿ëÀÚ ÁöÁ¤ Æú´õ. createDirectory((userDataPath+"/custom").c_str()); createDirectory((userDataPath+"/custom/levels").c_str()); createDirectory((userDataPath+"/custom/levelpacks").c_str()); #endif //º¹¼öÀÇ »ó´ë À§Ä¡¸¦ ½ÃµµÇÏ¿© µ¥ÀÌÅÍ °æ·Î¸¦ °¡Á®¿É´Ï´Ù. { FILE *f; string s; while(true){ //½Ãµµ if(!dataPath.empty()){ s=dataPath+"font/knewave.ttf"; if((f=fopen(s.c_str(),"rb"))!=NULL){ fclose(f); break; } } //try "./" dataPath="./data/"; s=dataPath+"font/knewave.ttf"; if((f=fopen(s.c_str(),"rb"))!=NULL){ fclose(f); break; } //try "../" dataPath="../data/"; s=dataPath+"font/knewave.ttf"; if((f=fopen(s.c_str(),"rb"))!=NULL){ fclose(f); break; } //try App.Path dataPath=getAppPath()+"/data/"; s=dataPath+"font/knewave.ttf"; if((f=fopen(s.c_str(),"rb"))!=NULL){ fclose(f); break; } //try App.Path+"/../" dataPath=getAppPath()+"/../data/"; s=dataPath+"font/knewave.ttf"; if((f=fopen(s.c_str(),"rb"))!=NULL){ fclose(f); break; } //try DATA_PATH #ifdef DATA_PATH dataPath=DATA_PATH; s=dataPath+"font/knewave.ttf"; if((f=fopen(s.c_str(),"rb"))!=NULL){ fclose(f); break; } #endif //¿À·ù : ÆÄÀÏÀ» ãÀ» ¼ö ¾ø½À´Ï´Ù return false; } //µ¥ÀÌÅÍ °æ·Î¸¦ ÀμâÇÕ´Ï´Ù. cout<<"Data files will be fetched from: "<<dataPath<<endl; } return true; } std::vector<std::string> enumAllFiles(std::string path,const char* extension,bool containsPath){ vector<string> v; #ifdef WIN32 string s1; WIN32_FIND_DATAA f; if(!path.empty()){ char c=path[path.size()-1]; if(c!='/'&&c!='\\') path+="\\"; } s1=path; if(extension!=NULL && *extension){ s1+="*."; s1+=extension; }else{ s1+="*"; } HANDLE h=FindFirstFileA(s1.c_str(),&f); if(h==NULL||h==INVALID_HANDLE_VALUE) return v; do{ if(!(f.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)){ if(containsPath){ v.push_back(path+f.cFileName); }else{ v.push_back(f.cFileName); } } }while(FindNextFileA(h,&f)); FindClose(h); return v; #else int len=0; if(extension!=NULL && *extension) len=strlen(extension); if(!path.empty()){ char c=path[path.size()-1]; if(c!='/'&&c!='\\') path+="/"; } DIR *pDir; struct dirent *pDirent; pDir=opendir(path.c_str()); if(pDir==NULL) return v; while((pDirent=readdir(pDir))!=NULL){ if(pDirent->d_name[0]=='.'){ if(pDirent->d_name[1]==0|| (pDirent->d_name[1]=='.'&&pDirent->d_name[2]==0)) continue; } string s1=path+pDirent->d_name; struct stat S_stat; lstat(s1.c_str(),&S_stat); if(!S_ISDIR(S_stat.st_mode)){ if(len>0){ if((int)s1.size()<len+1) continue; if(s1[s1.size()-len-1]!='.') continue; if(strcasecmp(&s1[s1.size()-len],extension)) continue; } if(containsPath){ v.push_back(s1); }else{ v.push_back(string(pDirent->d_name)); } } } closedir(pDir); return v; #endif } std::vector<std::string> enumAllDirs(std::string path,bool containsPath){ vector<string> v; #ifdef WIN32 string s1; WIN32_FIND_DATAA f; if(!path.empty()){ char c=path[path.size()-1]; if(c!='/'&&c!='\\') path+="\\"; } s1=path+"*"; HANDLE h=FindFirstFileA(s1.c_str(),&f); if(h==NULL||h==INVALID_HANDLE_VALUE) return v; do{ // skip '.' and '..' and hidden folders if(f.cFileName[0]=='.'){ /*if(f.cFileName[1]==0|| (f.cFileName[1]=='.'&&f.cFileName[2]==0))*/ continue; } if(f.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY){ if(containsPath){ v.push_back(path+f.cFileName); }else{ v.push_back(f.cFileName); } } }while(FindNextFileA(h,&f)); FindClose(h); return v; #else if(!path.empty()){ char c=path[path.size()-1]; if(c!='/'&&c!='\\') path+="/"; } DIR *pDir; struct dirent *pDirent; pDir=opendir(path.c_str()); if(pDir==NULL) return v; while((pDirent=readdir(pDir))!=NULL){ if(pDirent->d_name[0]=='.'){ if(pDirent->d_name[1]==0|| (pDirent->d_name[1]=='.'&&pDirent->d_name[2]==0)) continue; } string s1=path+pDirent->d_name; struct stat S_stat; lstat(s1.c_str(),&S_stat); if(S_ISDIR(S_stat.st_mode)){ //¼û°ÜÁø Æú´õ¸¦ °Ç³Ê ¶Ý´Ï´Ù. s1=string(pDirent->d_name); if(s1.find('.')==0) continue; //º¤ÅÍ¿¡ °á°ú¸¦ Ãß°¡ÇÕ´Ï´Ù. if(containsPath){ v.push_back(path+pDirent->d_name); }else{ v.push_back(s1); } } } closedir(pDir); return v; #endif } std::string processFileName(const std::string& s){ string prefix=dataPath; //FIXME: Do we still need those last three? //REMARK: maybe 'return prefix+s;' is not needed (?) // ±×·¯ÇÑ ¼öÁØÀÇ ÁøÇà »óȲÀ» ÀúÀåÇÒ ¼ö ¾ø½À´Ï´Ù °°Àº ¸î °¡Áö ¹ö±×°¡ ¹ß»ýÇÕ´Ï´Ù if(s.compare(0,6,"%DATA%")==0){ if(s.size()>6 && (s[6]=='/' || s[6]=='\\')){ return dataPath+s.substr(7); }else{ return dataPath+s.substr(6); } }else if(s.compare(0,6,"%USER%")==0){ if(s.size()>6 && (s[6]=='/' || s[6]=='\\')){ return getUserPath(USER_DATA)+s.substr(7); }else{ return getUserPath(USER_DATA)+s.substr(6); } }else if(s.compare(0,9,"%LVLPACK%")==0){ if(s.size()>9 && (s[9]=='/' || s[9]=='\\')){ return prefix+"levelpacks/"+s.substr(10); }else{ return prefix+"levelpacks/"+s.substr(9); } }else if(s.compare(0,5,"%LVL%")==0){ if(s.size()>5 && (s[5]=='/' || s[5]=='\\')){ return prefix+"levels/"+s.substr(6); }else{ return prefix+"levels/"+s.substr(5); } }else if(s.compare(0,8,"%THEMES%")==0){ if(s.size()>8 && (s[8]=='/' || s[8]=='\\')){ return prefix+"themes/"+s.substr(9); }else{ return prefix+"themes/"+s.substr(8); } }else if(s.size()>0 && (s[0]=='/' || s[0]=='\\')){ return s; #ifdef WIN32 // Another fix for Windows :( }else if(s.size()>1 && (s[1]==':')){ return s; #endif }else{ return prefix+s; } } std::string fileNameFromPath(const std::string &path, const bool webURL){ std::string filename; size_t pos; #ifdef WIN32 // FIXME: '/' in string should be '/' not '\/', // we don't need to escape it if(webURL){ pos = path.find_last_of("/"); }else{ // Âü°í : ¶§¶§·Î WindowsÀÇ °æ·Î ±¸ºÐÀº '/'¸¦ ÇÒ ¼öÀÖ´Ù, // ±×·¡¼­ ¿ì¸®´Â '\'¿Í '/'¸¦ È®ÀÎÇØ¾ßÇÑ´Ù pos = path.find_last_of("\\/"); } #else // FIXME: '/' in string should be '/' not '\/', // we don't need to escape it pos = path.find_last_of("/"); #endif if(pos != std::string::npos) filename.assign(path.begin() + pos + 1, path.end()); else filename=path; return filename; } std::string pathFromFileName(const std::string &filename){ std::string path; // FIXME: '/' in string should be '/' not '\/', // we don't need to escape it #ifdef WIN32 // Âü°í : ¶§¶§·Î WindowsÀÇ °æ·Î ±¸ºÐÀº '/'¸¦ ÇÒ ¼öÀÖ´Ù, // ±×·¡¼­ ¿ì¸®´Â '\'¿Í '/'¸¦ È®ÀÎÇØ¾ßÇÑ´Ù size_t pos = filename.find_last_of("\\/"); #else size_t pos = filename.find_last_of("/"); #endif if(pos != std::string::npos) path.assign(filename.begin(), filename.begin() + pos +1); else path=filename; return path; } bool downloadFile(const string &path, const string &destination) { string filename=fileNameFromPath(path,true); FILE* file = fopen((destination+filename).c_str(), "wb"); bool status=downloadFile(path,file); fclose(file); //±×¸®°í »óŸ¦ ¹ÝȯÇÕ´Ï´Ù. return status; } bool downloadFile(const string &path, FILE* destination) { CURL* curl=curl_easy_init(); // ÇÁ·Ï½Ã Å×½ºÆ® (Å×½ºÆ® Àü¿ë) string internetProxy = getSettings()->getValue("internet-proxy"); size_t pos = internetProxy.find_first_of(":"); if(pos!=string::npos){ curl_easy_setopt(curl,CURLOPT_PROXYPORT,atoi(internetProxy.substr(pos+1).c_str())); internetProxy = internetProxy.substr(0,pos); curl_easy_setopt(curl,CURLOPT_PROXY,internetProxy.c_str()); } curl_easy_setopt(curl,CURLOPT_URL,path.c_str()); curl_easy_setopt(curl,CURLOPT_WRITEFUNCTION,writeData); curl_easy_setopt(curl,CURLOPT_WRITEDATA,destination); CURLcode res = curl_easy_perform(curl); curl_easy_cleanup(curl); return (res==0); } size_t writeData(void *ptr, size_t size, size_t nmemb, void *stream){ return fwrite(ptr, size, nmemb, (FILE *)stream); } bool extractFile(const string &fileName, const string &destination) { //¿ì¸®°¡ ÃßÃâÇÏ´Â ¾ÆÄ«À̺긦 ¸¸µì´Ï´Ù. archive* file=NULL; //¿ì¸®°¡ ÃßÃâÇÏ´Â ´ë»óÀ» ¸¸µì´Ï´Ù. archive* dest=NULL; file=archive_read_new(); dest=archive_write_disk_new(); archive_write_disk_set_options(dest, ARCHIVE_EXTRACT_TIME); archive_read_support_format_zip(file); //ÀÌÁ¦ ¾ÆÄ«À̺긦 Àд´Ù. if(archive_read_open_file(file,fileName.c_str(),10240)) { cerr<<"Error while reading archive "+fileName<<endl; return false; } //ÀÌÁ¦ µð½ºÅ©¿¡ÀÖ´Â ¸ðµç Ç׸ñÀ» ÀÛ¼ºÇÕ´Ï´Ù. int status; archive_entry* entry=NULL; while(true) { status=archive_read_next_header(file,&entry); if(status==ARCHIVE_EOF){ break; } if(status!=ARCHIVE_OK){ cerr<<"Error while reading archive "+fileName<<endl; return false; } archive_entry_copy_pathname(entry,(destination+archive_entry_pathname(entry)).c_str()); status=archive_write_header(dest,entry); if(status!=ARCHIVE_OK){ cerr<<"Error while extracting archive "+fileName<<endl; return false; }else{ copyData(file, dest); status=archive_write_finish_entry(dest); if(status!=ARCHIVE_OK){ cerr<<"Error while extracting archive "+fileName<<endl; return false; } } } //¸¶Áö¸·À¸·Î ¾ÆÄ«À̺긦 ´Ý½À´Ï´Ù. archive_read_close(file); archive_read_finish(file); return true; } bool createDirectory(const char* path){ #ifdef WIN32 char s0[1024],s[1024]; GetCurrentDirectoryA(sizeof(s0),s0); PathCombineA(s,s0,path); for(unsigned int i=0;i<sizeof(s);i++){ if(s[i]=='\0') break; else if(s[i]=='/') s[i]='\\'; } //printf("createDirectory:%s\n",s); return SHCreateDirectoryExA(NULL,s,NULL)!=0; #else return mkdir(path,0777)==0; #endif } bool removeDirectory(const char *path){ #ifdef WIN32 WIN32_FIND_DATAA f; HANDLE h = FindFirstFileA((string(path)+"\\*").c_str(),&f); #else //Á¦°Å ÇÒ Çʿ䰡ÀÖ´Â µð·ºÅ丮¸¦ ¿±´Ï´Ù. DIR* d=opendir(path); #endif //°æ·Î ±æÀ̸¦ °¡Á®¿É´Ï´Ù size_t path_len = strlen(path); //µð·ºÅ丮°¡ ºñ¾îÀÖ´Â °æ¿ì ºÎ¿ï. //True: succees False: failure //µð·ºÅ丮°¡ ºó »óÅ (empty)ÀÇ °æ¿ì while ·çÇÁ¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù,ÇÏÁö¸¸ ¼º°øÀ» °¡Áö°í Àֱ⠶§¹®¿¡ ±âº»°ªÀº true. bool r = true; #ifdef WIN32 if(h!=NULL && h!=INVALID_HANDLE_VALUE) { #else //µð·ºÅ丮°¡ Á¸ÀçÇÏ´ÂÁö È®ÀÎÇÕ´Ï´Ù. if(d) { //µð·ºÅ丮 ¿£Æ®¸®ÀÇ Æ÷ÀÎÅÍ. struct dirent* p; #endif #ifdef WIN32 do{ #else //¿À·ù°¡ ¾ø½À´Ï´Ù °°Àº Á¦°Å ÇÒ Çʿ䰡ÀÖ´Â µð·ºÅ丮ÀÇ Ç׸ñµéÀ» ¹Ýº¹Çضó while(r && (p=readdir(d))) { #endif // Skip the names "." and ".." as we don't want to recurse on them. #ifdef WIN32 if (!strcmp(f.cFileName, ".") || !strcmp(f.cFileName, "..")) { #else if (!strcmp(p->d_name, ".") || !strcmp(p->d_name, "..")) { #endif //The filename is . or .. so we continue to the next entry. continue; } else { //Ç׸ñÀÌ »èÁ¦ µÈ °æ¿ì R2 //True: succees False: failure //±âº»°ªÀº falseÀÔ´Ï´Ù. bool r2 = false; char* buf; size_t len; #ifdef WIN32 //°æ·Î + µð·ºÅ丮 ¿£Æ®¸® À̸§ÀÇ ±æÀ̸¦ °¡Á®¿É´Ï´Ù. len = path_len + strlen(f.cFileName) + 2; #else //°æ·Î + µð·ºÅ丮 ¿£Æ®¸® À̸§ÀÇ ±æÀ̸¦ °¡Á®¿É´Ï´Ù. len = path_len + strlen(p->d_name) + 2; #endif buf = (char*) malloc(len); if(buf) { #ifdef WIN32 _snprintf(buf, len, "%s\\%s", path, f.cFileName); if(f.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY){ r2 = removeDirectory(buf); }else{ r2 = unlink(buf)==0; } #else struct stat statbuf; snprintf(buf, len, "%s/%s", path, p->d_name); if(!stat(buf, &statbuf)){ //Ç׸ñÀÌ µð·ºÅ丮 ³ª ÆÄÀÏÀÎÁö È®ÀÎÇÕ´Ï´Ù. if (S_ISDIR(statbuf.st_mode)){ //¹Ýº¹ÀûÀ¸·Î ÇØ°áÇÒ (removeDirectory)È£Ãâ //¼º°ø¿¡ true¸¦ µ¹·ÁÁÝ´Ï´Ù. r2 = removeDirectory(buf); }else{ //unlink() returns zero on succes so we set r2 to the unlink(buf)==0. r2 = unlink(buf)==0; } } #endif //buf free free(buf); } //R2´Â ÃÖ±Ù »èÁ¦ÀÇ »óŸ¦ Æ÷ÇÔÇϰí Àֱ⠶§¹®¿¡ R2·Î RÀ» ¼³Á¤ÇÕ´Ï´Ù. r = r2; } #ifdef WIN32 }while(r && FindNextFileA(h,&f)); FindClose(h); #else } //µð·ºÅ丮¸¦ ´Ý½À´Ï´Ù. closedir(d); #endif } //while ·çÇÁ´Â ¿ì¸®°¡ (½Ãµµ) ÀǹÌ, Á¾·á´Â µð·ºÅ丮¸¦ »èÁ¦. //rÀº ¿À·ù¸¦ ÀǹÌÇÑ´Ù¸é, rÀº ¿¡·¯¾øÀ½À» ÀǹÌ. µð·ºÅ丮¸¦ »èÁ¦ÇÒ ¼ö ÀÖ½À´Ï´Ù. if(r){ //ÀÌ ¶§ RmDirÀ» ¼º°øÀÇ ¹Ýȯ °ªÀº 0ÀÌ´Ù. r = rmdir(path)==0; } //»óŸ¦ µ¹·ÁÁÝ´Ï´Ù. return r; } bool renameDirectory(const char* oldPath,const char* newPath){ return rename(oldPath,newPath)==0; } void copyData(archive* file, archive* dest) { int status; const void* buff; size_t size; #if ARCHIVE_VERSION_NUMBER < 3000000 off_t offset; #else int64_t offset; #endif while(true) { status=archive_read_data_block(file, &buff, &size, &offset); if(status==ARCHIVE_EOF){ return; } if(status!=ARCHIVE_OK){ cerr<<"Error while writing data to disk."<<endl; return; } status=archive_write_data_block(dest, buff, size, offset); if(status!=ARCHIVE_OK) { cerr<<"Error while writing data to disk."<<endl; return; } } } bool copyFile(const char* source,const char* dest){ //¼Ò½º ÆÄÀÏÀ» ¿±´Ï´Ù. ifstream fin(source,fstream::binary); if(!fin) return false; //DEST ÆÄÀÏÀ» ¿±´Ï´Ù. ofstream fout(dest,fstream::trunc|fstream::binary); if(!fout) return false; //º¹»ç fout<<fin.rdbuf(); return true; } bool removeFile(const char* file){ return remove(file)==0; } bool createFile(const char* file){ //¾²±â ±ÇÇÑÀÌÀÖ´Â ÆÄÀÏÀ» ¿±´Ï ´Ù. FILE* f=fopen(file,"wb"); //¾Æ¹«·± ¹®Á¦°¡¾ø´Â °æ¿ì È®ÀÎÇÕ´Ï´Ù. if(f){ //ÆÄÀϴݱâ fclose(f); return true; }else{ return false; } }
kingdoo9/Team_Project
src/FileManager.cpp
C++
gpl-3.0
18,334
package xyz.stupidwolf.service; import xyz.stupidwolf.domain.Type; import xyz.stupidwolf.exception.CanNotGetBlogListException; import java.util.List; /** * Created by stupidwolf on 2016/8/6. */ public interface IBlogTypeService { List<Type> getTypeList() throws CanNotGetBlogListException; }
stupidwolf/stupid-blog
src/main/java/xyz/stupidwolf/service/IBlogTypeService.java
Java
gpl-3.0
301
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package net.daw.operaciones; import com.google.gson.Gson; import java.util.ArrayList; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.daw.dao.AlumnoDao; import net.daw.helper.Conexion; /** * * @author rafa */ public class AlumnoGetcolumns implements GenericOperation { @Override public String execute(HttpServletRequest request, HttpServletResponse response) throws Exception { ArrayList<String> alColumns = null; try { AlumnoDao oAlumnoDAO = new AlumnoDao(Conexion.getConection()); alColumns = oAlumnoDAO.getColumnsNames(); String data = new Gson().toJson(alColumns); data = "{\"data\":" + data + "}"; return data; } catch (Exception e) { throw new ServletException("AlumnoGetcolumnsJson: View Error: " + e.getMessage()); } } }
AntonioNP/ajax-yield
src/main/java/net/daw/operaciones/AlumnoGetcolumns.java
Java
gpl-3.0
1,133
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> typedef struct{ // All the data used in the functions to manipulate a graph int node; int weight; int visited; int predecessor; }_list_data; typedef struct __list_member{ // The itens in the list _list_data *data; // Pointer to the allocated info struct __list_member *next; // Pointers to the subsequent struct __list_member *prev; // edges of a node struct __list_member *up; // Pointers to the vertices above struct __list_member *down; // and below of the current vertex, respectively }_list_member; typedef struct{ // The header of the list int size; _list_member *first; }_list_header; const int maximum_number = INT_MAX; _list_header *list_create(){ _list_header *list=(_list_header*)malloc(sizeof(_list_header)); if(list!=NULL){ list->size=0; list->first=NULL; return list; }else{ return NULL; } } int list_add_begining(_list_header *list, _list_data *data){ _list_member *new=(_list_member*)malloc(sizeof(_list_member)); _list_data *datanew=(_list_data*)malloc(sizeof(_list_data)); if(new!=NULL && datanew!=NULL){ memcpy(datanew,data,sizeof(_list_data)); new->data=datanew; new->down=list->first; new->prev=NULL; new->up=NULL; new->next=NULL; if(new->down!=NULL) new->down->up=new; list->first=new; list->size++; return list->size; } return 0; } int list_empty(_list_header *list){ if(list->size==0) return 1; else return 0; } void list_add_end(_list_header *list, _list_data *data){ if(list_empty(list)==1){ list_add_begining(list,data); }else{ _list_member *aux=list->first; while(aux->down!=NULL){ aux=aux->down; if (aux->data->node == data->node){ // puts("Well, looks like our sloppy programmer over here has made a noob mistake,\nthere is a node which has already been inserted!\n"); return; } } _list_data *datanew=(_list_data*)malloc(sizeof(_list_data)); _list_member *new=(_list_member*)malloc(sizeof(_list_member)); if(new!=NULL){ new->next=NULL; new->prev=NULL; new->data=datanew; memcpy(new->data,data,sizeof(_list_data)); aux->down=new; new->up=aux; list->size++; return; } } return; } int graph_add_edge(_list_header *list, _list_data *data, int pos){ if ((!list_empty(list)) && (pos < list->size)){ int i = 0; _list_member *new=(_list_member*)malloc(sizeof(_list_member)); _list_data *datanew=(_list_data*)malloc(sizeof(_list_data)); _list_member *aux=list->first; if(new!=NULL && datanew!=NULL){ memcpy(datanew,data,sizeof(_list_data)); new->data=datanew; new->up = NULL; new->down = NULL; while(i != pos){ aux = aux->down; i++; } while(aux->next !=NULL){ aux = aux->next; } aux->next = new; new->prev = aux; new->next = NULL; return 1; } } return 0; } int node_counter(_list_header *graph) { _list_member *aux = graph->first; int i = 0; while(aux != NULL){ i++; aux = aux->down; } return i; } int get_edge_count (_list_header *graph, int node) { _list_member *aux = graph->first; while (aux != NULL && aux->data->node != node) aux = aux->down; if (aux == NULL){ puts("Non-existent node"); return 0; } int i = 0; aux = aux->next; while(aux != NULL){ i++; aux = aux->next; } return i; } int graph_total_edge_count(_list_header *graph) { _list_member *aux2, *aux = graph->first; int i = 0; while (aux != NULL){ aux2 = aux->next; while(aux2 != NULL){ i++; aux2 = aux2->next; } aux = aux->down; } return i; } _list_header *graph_create() { FILE * entrada = fopen ("graph.txt", "r"); _list_header *list = list_create(); _list_data aux, aux2; while (!feof(entrada)){ // This loop will catch line per line of the file fscanf(entrada,"%d",&aux.node); // This separates the vertex from its edges aux.weight = 0; if (aux.node != -1) list_add_end(list,&aux); // Add the caught vertex do { fscanf(entrada,"%d%d",&aux2.node,&aux2.weight); if (aux2.node != -1){ graph_add_edge(list,&aux2,aux.node); } } while (aux2.node != -1); } fclose(entrada); return list; } int **create_adjacency_matrix(_list_header *graph, int n) { int **weights =(int**)malloc(n*sizeof(int*)), i,j; _list_member *aux2, *aux = graph->first; if(weights != NULL){ for(i = 0; i < n; i++){ if ((weights[i] = (int*)malloc(n*sizeof(int)))== NULL) exit(EXIT_FAILURE); } } else exit(EXIT_FAILURE); for (i = 0; i < n; i++){ for (j = 0; j < n; j++) weights[i][j] = 0; } while (aux != NULL){ weights[aux->data->node][aux->data->node] = 0; aux2 = aux->next; while(aux2 != NULL){ weights[aux->data->node][aux2->data->node] = aux2->data->weight; aux2 = aux2->next; } aux = aux->down; } return weights; } void print_int_matrix(int **matrix, int m, int n) { int i, j; for (i = 0; i < m; i++){ for (j = 0; j < n; j++){ printf(" %d",matrix[i][j]); } puts("\n"); } } void graph_print(_list_header *list){ if(list->first != NULL){ _list_member *aux=list->first; _list_member *aux2 = aux; while (aux2!=NULL){ printf("%d --> ", aux->data->node); while(aux->next!=NULL){ aux=aux->next; printf("%d (%d) --> ",aux->data->node,aux->data->weight); } puts("//\n"); aux2=aux2->down; aux = aux2; } return; } puts("Null graph\n"); return; } int *allocate(int n) { int *allocated = (int*)malloc(n* sizeof(int)); return allocated; } int longest_path_recursion(int **graph, int *visited, int *pred, int n, int s, int t, int source) { if (s == t){ int cost = 0, vertex = t, i; while (vertex != source){ //path reconstruction cost+= graph[pred[vertex]][vertex]; vertex = pred[vertex]; } return cost; } int max = -1, maybeMax = -1, i; for (i = 0; i < n; i++){ // apply the DFS for everybody if(visited[i] == 0 && graph[s][i] > 0){ // found a non-visited vertex visited[i] = 1; pred[i] = s; maybeMax = longest_path_recursion(graph,visited,pred,n,i,t,source); if(maybeMax > max){ max = maybeMax; } visited[i] = 0; // we unmark this vertex because now we try it's combinations all over again with another predecessor } } return max; } int longest_path(int **graph, int n, int s, int t, int source) { int *visited = allocate(n), *pred = allocate(n), i; int max; for(i = 0; i < n; i++){ //initialize visited[i] = 0; pred[i] = -1; } visited[s] = 1; // initial vertex is already visited max = longest_path_recursion(graph, visited, pred, n, s, t,source); return max; } int main (int argc, char *argv[]) { _list_header *graph = graph_create(); int n = node_counter(graph); int **matrix = create_adjacency_matrix(graph,n); int s, t; /*print_int_matrix(matrix,n,n);*/ printf("Insira o vértice inicial e final\n"); scanf("%d%d",&s,&t); int longest_path_ = longest_path(matrix,n,s,t,s); //graph_print(graph); //print_int_matrix(matrix,n,n); printf("%d\n",longest_path_); return 0; }
h31nr1ch/CALL-me-maybe
longest_path.c
C
gpl-3.0
8,250
<HTML> <HEAD> <TITLE>CSCI 2025 - 501 Spring 2004</TITLE> </HEAD> <BODY BACKGROUND="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000"> <H1>CSCI 2025 - 501 Spring 2004</H1> <HR> <H3>Announcement: Welcome to CSCI 2025 - 501.</H3> <p><b> The first test is on Saturday, March 13</b></p> <p> You can get the <a href="syllabus.pdf"> syllabus here. </a> </p> <p> Syllabus addendum: Attendance in mandatory as declared by the University Faculty Senate. My policy is that if you miss more than 3 classes, you automatically receive an F. </p> <p> You can get Bloodshed Dev C++ from <a href="http://www.bloodshed.net/devcpp.html"> here. </a></p> <p> <a href="bloodshed.pdf"> Bloodshed Dev C++ Help Guide</a></p> <p> <a href="../1201"> Last semester's CSCI 1201 site </a></p> <p> <a href="linkedlist.zip"> Linked List Implementation for HW 3</a></p> <p> HW 3 hints: use the linked list as your data storage mechanism -- the stack and queue should be built "on top" of the linked list. Feel free to modify the implementation provided (or use your own linked list implementation). Send all bug reports to venkata@cs.uno.edu </p> <H3>Class Notes</H3> <ul> <li> <a href="jan242004.pdf"> Jan 24 2004 </a> <a href="code1.pdf"> Source code </a> </li> <li> <a href="jan312004.pdf"> Jan 31 2004 </a> <a href="code2.pdf"> Source code </a> </li> <li> <a href="codesample1.txt"> Feb 07 2004 </a> <li> <a href="feb142004.pdf"> Feb 14 2004 </a> <a href="code3.pdf"> Source code </a> </li> <li> <a href="feb282004.pdf"> Feb 28 2004 </a> </li> <li> <a href="mar062004.pdf"> Mar 06 2004 </a> </li> <li> <a href="codesample2.txt"> Mar 06 2004 (lab code solutions)</a></li> <li> <a href="mar202004.pdf"> Mar 20 2004 </a> </li> <li> <a href="mar272004.pdf"> Mar 27 2004 </a> </li> <li> <a href="apr032004.pdf"> Apr 03 2004 </a> </li> </ul> <H3>Homework Assignments</H3> <ul> <li> <a href="hw1.pdf"> Homework # 1 </a> </li> <li> <a href="hw2.pdf"> Homework # 2 (addendum: you need a method IntNodePtr getHead() in the list class that returns the head of the list) </a> </li> <li> <a href="hw3.pdf"> Homework # 3 </a> </li> </ul> <p> You will need the free Adobe Acrobat reader from <a href="http://www.adobe.com"> www.adobe.com </a> in order to view these documents. </p> </BODY> </HTML>
fap-/it-sicherheit-ss16
aufgabe1/3-rhino2.log-dumps/index.html
HTML
gpl-3.0
2,270
<?php class PatientRepositoryTest extends TestCase { // public function testCreatePatient() // { // $repo = new \Mi2\Emr\OpenEMR\PatientRepository(); // $id = $repo->create( array( // 'DOB' => '1980-11-11', // 'firstName' => 'Plastic', // 'lastName' => 'Redcup', // )); // } // // public function testUpdatePatient() // { // $repo = new \Mi2\Emr\OpenEMR\PatientRepository(); // $id = $repo->create( array( // 'DOB' => '1980-11-11', // 'firstName' => 'Plastic', // 'lastName' => 'Redcup' // )); // // $repo->update( $id, array( // 'lastName' => 'Bluecup' // )); // } // // public function testFindPatientByUsername() // { // $repo = new \Mi2\Emr\OpenEMR\PatientRepository(); // $patient = $repo->find->byLastName( 'Plastic' ); // } public function testBasicExample() { $this->post('/fhir/patient', ['dateOfBirth' => '1980-10-10'] ) ->seeJson([ 'created' => true, ]); } }
kchapple/emr_api
packages/mi2/Emr/tests/PatientRepositoryTest.php
PHP
gpl-3.0
1,237
# Copyright (C) 2014 - Oscar Campos <oscar.campos@member.fsf.org> # This program is Free Software see LICENSE file for details import os import json import platform from collections import defaultdict from anaconda_go.lib import go from anaconda_go.lib.plugin import typing cachepath = { 'linux': os.path.join('~', '.local', 'share', 'anaconda', 'cache'), 'darwin': os.path.join('~', 'Library', 'Cache', 'anaconda'), 'windows': os.path.join(os.getenv('APPDATA') or '~', 'Anaconda', 'Cache') } cache_directory = os.path.expanduser( cachepath.get(platform.system().lower()) ) PACKAGES_CACHE = defaultdict(lambda: []) def append(package: typing.Dict) -> None: """Append the given package into the cache """ global PACKAGES_CACHE if not package_in_cache(package): PACKAGES_CACHE[go.GOROOT].append(package) def package_in_cache(package: typing.Dict) -> bool: """Look for the given package in the cache and return true if is there """ for pkg in PACKAGES_CACHE[go.GOROOT]: if pkg['ImportPath'] == package['ImportPath']: return True return False def lookup(node_name: str='') -> typing.Dict: """Lookup the given node_name in the cache and return it back """ node = {} if node_name == '': node = PACKAGES_CACHE[go.GOROOT] else: for pkg in PACKAGES_CACHE[go.GOROOT]: guru = pkg.get('Guru') if guru is None: continue path = guru['package'].get('path') if path is not None and path == node_name: node = guru break for member in guru['package'].get('members', []): if member.get('name') == node_name: node = member break for method in member.get('methods', []): if method['name'] == node_name: node = method break return node def persist_package_cache() -> None: """Write the contents of the package cache for this GOROOT into the disk """ gopath = go.GOPATH.replace(os.path.sep, '_') cachefile = os.path.join(cache_directory, gopath, 'packages.cache') if not os.path.exists(os.path.dirname(cachefile)): os.makedirs(os.path.dirname(cachefile)) with open(cachefile, 'w') as fd: json.dump(PACKAGES_CACHE[go.GOROOT], fd) def load_package_cache() -> typing.List: """Load a previously stores package cache file """ global PACKAGES_CACHE gopath = go.GOPATH.replace(os.path.sep, '_') cachefile = os.path.join(cache_directory, gopath, 'packages.cache') try: with open(cachefile, 'r') as fd: PACKAGES_CACHE[go.GOROOT] = json.load(fd) except FileNotFoundError: pass
DamnWidget/anaconda_go
lib/cache.py
Python
gpl-3.0
2,829
# Équation de Burger >> - [Méthode des volumes finis](https://fr.wikipedia.org/wiki/M%C3%A9thode_des_volumes_finis) >> - [Méthode de Crank-Nicolson](https://fr.wikipedia.org/wiki/M%C3%A9thode_de_Crank-Nicolson) >> - [Problème de Riemann](https://fr.wikipedia.org/wiki/Probl%C3%A8me_de_Riemann)
NicovincX2/Python-3.5
Analyse (mathématiques)/Analyse à plusieurs variables/Équation aux dérivées partielles/Équation en dynamique des fluides/Équation de Burger/README.md
Markdown
gpl-3.0
296
# JDACO_dev repository ## ᕕ( ᐛ )ᕗ The framework behind [PPIXpress](https://bioinformatics.oxfordjournals.org/content/32/4/571), [PPICompare](https://bmcsystbiol.biomedcentral.com/articles/10.1186/s12918-017-0400-x), [CompleXChange](https://doi.org/10.1186/s12859-019-2852-z) and JDACO, the scalable Java implementation of the [DACO-algorithm](http://bioinformatics.oxfordjournals.org/content/30/17/i415).
edeltoaster/jdaco_dev
README.md
Markdown
gpl-3.0
411
html { font-family: 'Roboto', sans-serif; } body { margin: 0; font-size: 13px; line-height: 20px; min-width: 700px; min-height: 600px; } form > div { width: 100% !important; } html, body, #app { height: 100%; } #app { overflow-y: scroll; } /* Fonts */ /* roboto-300 - latin */ @font-face { font-family: 'Roboto'; font-style: normal; font-weight: 300; src: url('/assets/fonts/roboto-v15-latin-300.eot'); /* IE9 Compat Modes */ src: local('Roboto Light'), local('Roboto-Light'), url('/assets/fonts/roboto-v15-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('/assets/fonts/roboto-v15-latin-300.woff2') format('woff2'), /* Super Modern Browsers */ url('/assets/fonts/roboto-v15-latin-300.woff') format('woff'), /* Modern Browsers */ url('/assets/fonts/roboto-v15-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */ } /* roboto-regular - latin */ @font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; src: url('/assets/fonts/roboto-v15-latin-regular.eot'); /* IE9 Compat Modes */ src: local('Roboto'), local('Roboto-Regular'), url('/assets/fonts/roboto-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('/assets/fonts/roboto-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('/assets/fonts/roboto-v15-latin-regular.woff') format('woff'), /* Modern Browsers */ url('/assets/fonts/roboto-v15-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */ } /* roboto-500 - latin */ @font-face { font-family: 'Roboto'; font-style: normal; font-weight: 500; src: url('/assets/fonts/roboto-v15-latin-500.eot'); /* IE9 Compat Modes */ src: local('Roboto Medium'), local('Roboto-Medium'), url('/assets/fonts/roboto-v15-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('/assets/fonts/roboto-v15-latin-500.woff2') format('woff2'), /* Super Modern Browsers */ url('/assets/fonts/roboto-v15-latin-500.woff') format('woff'), /* Modern Browsers */ url('/assets/fonts/roboto-v15-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */ }
val92130/Supreme-Auto-Checkout
bot/src/assets/css/main.css
CSS
gpl-3.0
2,109
from rest_framework import status from rest_framework.test import APITestCase, APIClient from django.core.urlresolvers import reverse from cherrymusic.apps.core.models import User, Track from cherrymusic.apps.api.v1.serializers import TrackSerializer from cherrymusic.apps.api.v1.tests.views import UNAUTHENTICATED_RESPONSE class TestTrackView(APITestCase): fixtures = ['directory', 'file', 'playlist', 'track', 'user'] def setUp(self): self.user = User.objects.get(pk=1) self.client = APIClient(enforce_csrf_checks=True) self.client.force_authenticate(user=self.user) self.serializer = TrackSerializer() def test_unauthenticated_track_query(self): url = reverse('api:track-list') client = APIClient() response = client.get(url) self.assertEqual(response.data, UNAUTHENTICATED_RESPONSE) def test_track_query(self): url = reverse('api:track-list') response = self.client.get(url) self.assertEqual(response.status_code, status.HTTP_200_OK) tracks = Track.objects.all() tracks_json = [self.serializer.to_representation(track) for track in tracks] self.assertEqual(response.data, tracks_json) def test_track_detailed(self): pk = 1 url = reverse('api:track-detail', args=[pk]) response = self.client.get(url) self.assertEqual(response.status_code, status.HTTP_200_OK) track = Track.objects.get(pk=pk) track_json = self.serializer.to_representation(track) self.assertEqual(response.data, track_json)
pando85/cherrymusic
web/cherrymusic/apps/api/v1/tests/views/test_track_view.py
Python
gpl-3.0
1,605
#include "crpropa/ParticleMass.h" #include "crpropa/ParticleID.h" #include "crpropa/Common.h" #include <kiss/convert.h> #include <vector> #include <fstream> #include <stdexcept> #include <limits> namespace crpropa { struct NuclearMassTable { std::vector<double> table; NuclearMassTable() { std::string filename = getDataPath("nuclear_mass.txt"); std::ifstream infile(filename.c_str()); if (!infile.good()) throw std::runtime_error("crpropa: could not open file " + filename); int Z, N; double mass; while (infile.good()) { if (infile.peek() != '#') { infile >> Z >> N >> mass; table.push_back(mass); } infile.ignore(std::numeric_limits<std::streamsize>::max(), '\n'); } infile.close(); } }; static NuclearMassTable nuclearMassTable; double nuclearMass(int id) { int A = massNumber(id); int Z = chargeNumber(id); return nuclearMass(A, Z); } double nuclearMass(int A, int Z) { int N = A - Z; double mass = nuclearMassTable.table[Z * 31 + N]; if (mass == 0) throw std::runtime_error("nuclearMass: nucleus not found " + kiss::str(A) + ", " + kiss::str(Z)); return mass; } } // namespace crpropa
cheiter/CRPropa3
src/ParticleMass.cpp
C++
gpl-3.0
1,151
/* * acme4j - Java ACME client * * Copyright (C) 2015 Richard "Shred" Körber * http://acme4j.shredzone.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ //Modified package buttondevteam.website; import buttondevteam.lib.TBMCCoreAPI; import buttondevteam.website.page.AcmeChallengePage; import org.shredzone.acme4j.*; import org.shredzone.acme4j.challenge.Challenge; import org.shredzone.acme4j.challenge.Http01Challenge; import org.shredzone.acme4j.exception.AcmeException; import org.shredzone.acme4j.util.CSRBuilder; import org.shredzone.acme4j.util.KeyPairUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.*; import java.net.URI; import java.security.KeyPair; import java.util.Arrays; import java.util.Collection; /** * A simple client test tool. * <p> * Pass the names of the domains as parameters. */ public class AcmeClient { // File name of the User Key Pair public static final File USER_KEY_FILE = new File("user.key"); // File name of the Domain Key Pair public static final File DOMAIN_KEY_FILE = new File("domain.key"); // File name of the CSR public static final File DOMAIN_CSR_FILE = new File("domain.csr"); // File name of the signed certificate public static final File DOMAIN_CHAIN_FILE = new File("domain-chain.crt"); // RSA key size of generated key pairs private static final int KEY_SIZE = 2048; private static final Logger LOG = LoggerFactory.getLogger(AcmeClient.class); /** * Generates a certificate for the given domains. Also takes care for the registration process. * * @param domains * Domains to get a common certificate for */ public void fetchCertificate(Collection<String> domains) throws IOException, AcmeException { // Load the user key file. If there is no key file, create a new one. // Keep this key pair in a safe place! In a production environment, you will not be // able to access your account again if you should lose the key pair. KeyPair userKeyPair = loadOrCreateKeyPair(USER_KEY_FILE); // Create a session for Let's Encrypt. // Use "acme://letsencrypt.org" for production server Session session = new Session("acme://letsencrypt.org" + (TBMCCoreAPI.IsTestServer() ? "/staging" : "")); // Get the Registration to the account. // If there is no account yet, create a new one. Account acc = findOrRegisterAccount(session, userKeyPair); Order order = acc.newOrder().domains(domains).create(); // Separately authorize every requested domain. for (Authorization auth : order.getAuthorizations()) { authorize(auth); } // Load or create a key pair for the domains. This should not be the userKeyPair! KeyPair domainKeyPair = loadOrCreateKeyPair(DOMAIN_KEY_FILE); // Generate a CSR for all of the domains, and sign it with the domain key pair. CSRBuilder csrb = new CSRBuilder(); csrb.addDomains(domains); csrb.sign(domainKeyPair); // Write the CSR to a file, for later use. try (Writer out = new FileWriter(DOMAIN_CSR_FILE)) { csrb.write(out); } LOG.info("Ordering certificate..."); // Order the certificate order.execute(csrb.getEncoded()); // Wait for the order to complete try { int attempts = 10; while (order.getStatus() != Status.VALID && attempts-- > 0) { // Did the order fail? if (order.getStatus() == Status.INVALID) { throw new AcmeException("Order failed... Giving up."); } // Wait for a few seconds Thread.sleep(3000L); // Then update the status order.update(); if (order.getStatus() != Status.VALID) LOG.info("Not yet..."); } } catch (InterruptedException ex) { LOG.error("interrupted", ex); Thread.currentThread().interrupt(); } // Get the certificate Certificate certificate = order.getCertificate(); if (certificate == null) throw new AcmeException("Certificate is null. Wot."); LOG.info("Success! The certificate for domains " + domains + " has been generated!"); LOG.info("Certificate URL: " + certificate.getLocation()); // Write a combined file containing the certificate and chain. try (FileWriter fw = new FileWriter(DOMAIN_CHAIN_FILE)) { certificate.writeCertificate(fw); } // That's all! Configure your web server to use the DOMAIN_KEY_FILE and // DOMAIN_CHAIN_FILE for the requested domans. } /** * Loads a key pair from specified file. If the file does not exist, a new key pair is generated and saved. * * @return {@link KeyPair}. */ private KeyPair loadOrCreateKeyPair(File file) throws IOException { if (file.exists()) { try (FileReader fr = new FileReader(file)) { return KeyPairUtils.readKeyPair(fr); } } else { KeyPair domainKeyPair = KeyPairUtils.createKeyPair(KEY_SIZE); try (FileWriter fw = new FileWriter(file)) { KeyPairUtils.writeKeyPair(domainKeyPair, fw); } return domainKeyPair; } } /** * Finds your {@link Account} at the ACME server. It will be found by your user's public key. If your key is not known to the server yet, a new registration will be created. * * @param session * {@link Session} to bind with * @param kp The user keypair * @return {@link Account} connected to your account */ private Account findOrRegisterAccount(Session session, KeyPair kp) throws AcmeException, IOException { Account acc; URI loc = ButtonWebsiteModule.getRegistration(); if (loc != null) { LOG.info("Loading account from file"); return new Login(loc.toURL(), kp, session).getAccount(); } // Try to create a new Registration. AccountBuilder ab = new AccountBuilder().useKeyPair(kp); // This is a new account. Let the user accept the Terms of Service. // We won't be able to authorize domains until the ToS is accepted. URI agreement = session.getMetadata().getTermsOfService(); acceptAgreement(ab, agreement); acc = ab.create(session); LOG.info("Registered a new user, URI: " + acc.getLocation()); ButtonWebsiteModule.storeRegistration(acc.getLocation()); return acc; } /** * Authorize a domain. It will be associated with your account, so you will be able to retrieve a signed certificate for the domain later. * <p> * You need separate authorizations for subdomains (e.g. "www" subdomain). Wildcard certificates are not currently supported. * * @param auth * {@link Authorization} for the domain */ private void authorize(Authorization auth) throws AcmeException { LOG.info("Authorization for domain " + auth.getDomain()); // The authorization is already valid. No need to process a challenge. if (auth.getStatus() == Status.VALID) { return; } Challenge challenge = httpChallenge(auth); if (challenge == null) { throw new AcmeException("No challenge found"); } // If the challenge is already verified, there's no need to execute it again. if (challenge.getStatus() == Status.VALID) { return; } // Now trigger the challenge. challenge.trigger(); // Poll for the challenge to complete. try { int attempts = 10; while (challenge.getStatus() != Status.VALID && attempts-- > 0) { // Did the authorization fail? if (challenge.getStatus() == Status.INVALID) { throw new AcmeException("Challenge failed... Giving up."); } // Wait for a few seconds Thread.sleep(3000L); // Then update the status challenge.update(); } } catch (InterruptedException ex) { LOG.error("interrupted", ex); Thread.currentThread().interrupt(); } // All reattempts are used up and there is still no valid authorization? if (challenge.getStatus() != Status.VALID) { throw new AcmeException("Failed to pass the challenge for domain " + auth.getDomain() + ", ... Giving up."); } } /** * Prepares a HTTP challenge. * <p> * The verification of this challenge expects a file with a certain content to be reachable at a given path under the domain to be tested. * <p> * This example outputs instructions that need to be executed manually. In a production environment, you would rather generate this file automatically, or maybe use a servlet that returns * {@link Http01Challenge#getAuthorization()}. * * @param auth * {@link Authorization} to find the challenge in * @return {@link Challenge} to verify */ public Challenge httpChallenge(Authorization auth) throws AcmeException { // Find a single http-01 challenge Http01Challenge challenge = auth.findChallenge(Http01Challenge.TYPE); if (challenge == null) { throw new AcmeException("Found no " + Http01Challenge.TYPE + " challenge, don't know what to do..."); } LOG.info("Storing the challenge data."); LOG.info("It should be reachable at: http://" + auth.getDomain() + "/.well-known/acme-challenge/" + challenge.getToken()); ButtonWebsiteModule.addHttpPage(new AcmeChallengePage(challenge.getToken(), challenge.getAuthorization())); ButtonWebsiteModule.startHttp(); try { Thread.sleep(1000); // Just to make sure } catch (InterruptedException e) { } return challenge; } /** * Presents the user a link to the Terms of Service, and asks for confirmation. If the user denies confirmation, an exception is thrown. * * @param ab * {@link AccountBuilder} for the user * @param agreement * {@link URI} of the Terms of Service */ public void acceptAgreement(AccountBuilder ab, URI agreement) throws AcmeException, IOException { LOG.info("Terms of Service: " + agreement); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Do you accept the terms? (y/n)"); if (br.readLine().equalsIgnoreCase("y\n")) { throw new AcmeException("User did not accept Terms of Service"); } // Motify the Registration and accept the agreement ab.agreeToTermsOfService(); LOG.info("Updated user's ToS"); } /** * Invokes this example. * * @param args * Domains to get a certificate for */ public static void main(String... args) { if (args.length == 0) { TBMCCoreAPI.SendException("Error while doing ACME!", new Exception("No domains given")); return; } LOG.info("Starting up..."); Collection<String> domains = Arrays.asList(args); try { AcmeClient ct = new AcmeClient(); ct.fetchCertificate(domains); } catch (Exception ex) { LOG.error("Failed to get a certificate for domains " + domains, ex); } } }
TBMCPlugins/ButtonWebsiteModule
src/buttondevteam/website/AcmeClient.java
Java
gpl-3.0
10,663
<?php /** * TrcIMPLAN Sitio Web - El IMPLAN somos todos * * Copyright (C) 2017 Guillermo Valdés Lozano <guivaloz@movimientolibre.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * * @package TrcIMPLANSitioWeb */ namespace Blog; /** * Clase ImplanSomosTodos */ class ImplanSomosTodos extends \Base\PublicacionSchemaBlogPosting { /** * Constructor */ public function __construct() { // Ejecutar constructor en el padre parent::__construct(); // Título, autor y fecha $this->nombre = 'El IMPLAN somos todos'; //~ $this->autor = ''; $this->fecha = '2014-10-08T08:05'; // El nombre del archivo a crear $this->archivo = 'implan-somos-todos'; // La descripción y claves dan información a los buscadores y redes sociales $this->descripcion = 'Al iniciar este año se puso en marcha las labores del IMPLAN Torreón, con la firme intención de brindar a la ciudad y su zona metropolitana la posibilidad de crecer de manera ordenada.'; $this->claves = 'IMPLAN, Torreon, Crecimiento, Ordenado'; // Ruta al archivo HTML con el contenido $this->contenido_archivo_html = 'lib/Blog/ImplanSomosTodos.html'; // Para el Organizador $this->categorias = array('Gobierno', 'Participación Ciudadana'); $this->fuentes = array(); $this->regiones = array('La Laguna'); } // constructor } // Clase ImplanSomosTodos ?>
TRCIMPLAN/trcimplan.github.io
lib/Blog/ImplanSomosTodos.php
PHP
gpl-3.0
2,241
package au.gov.naa.digipres.xena.demo.foo; import au.gov.naa.digipres.xena.kernel.normalise.AbstractNormaliser; import au.gov.naa.digipres.xena.kernel.normalise.NormaliserResults; import org.xml.sax.helpers.AttributesImpl; import org.xml.sax.ContentHandler; import org.xml.sax.InputSource; import org.xml.sax.SAXException; import java.io.BufferedReader; import java.io.IOException; public class FooNormaliser extends AbstractNormaliser { public static final String FOO_URI = "http://preservation.naa.gov.au/foo/0.1"; public static final String FOO_OPENING_ELEMENT_LOCAL_NAME = "data"; public static final String FOO_OPENING_ELEMENT_QUALIFIED_NAME = "foo:data"; public static final String FOO_PART_ELEMENT_LOCAL_NAME = "part"; public static final String FOO_PART_ELEMENT_QUALIFIED_NAME = "foo:part"; public void parse(InputSource input, NormaliserResults nr) throws IOException, SAXException { ContentHandler contentHandler = getContentHandler(); AttributesImpl openingAttribute = new AttributesImpl(); contentHandler.startElement(FOO_URI, FOO_OPENING_ELEMENT_LOCAL_NAME, FOO_OPENING_ELEMENT_QUALIFIED_NAME, openingAttribute); AttributesImpl partAttribute = new AttributesImpl(); contentHandler.startElement(FOO_URI, FOO_PART_ELEMENT_LOCAL_NAME, FOO_PART_ELEMENT_QUALIFIED_NAME, partAttribute); BufferedReader reader = new BufferedReader(input.getCharacterStream()); long magicNumberLength = (new Integer(FooGuesser.FOO_MAGIC.length)).longValue(); reader.skip(magicNumberLength); int nextCharVal; while ( (nextCharVal = reader.read() ) != -1) { char currentChar = (char)nextCharVal; if (currentChar == '~') { contentHandler.endElement(FOO_URI, FOO_PART_ELEMENT_LOCAL_NAME, FOO_PART_ELEMENT_QUALIFIED_NAME); reader.mark(1000); char[] FOOTER = {'e','n','d','f','o','o'}; char[] fileContent = new char[FOOTER.length]; if (reader.read(fileContent) != -1) { boolean match = true; for (int i = 0; i < FOOTER.length; i++) { if (FOOTER[i] != fileContent[i]) { match = false; } } if (match == true) { } } reader.reset(); contentHandler.startElement(FOO_URI, FOO_PART_ELEMENT_LOCAL_NAME, FOO_PART_ELEMENT_QUALIFIED_NAME, partAttribute); } else if (currentChar == '\\') { int escapedCharVal = reader.read(); if (escapedCharVal == -1) { break; } char escapedChar = (char)escapedCharVal; char[] escapedCharArray = {escapedChar}; contentHandler.characters(escapedCharArray, 0, 1); } else { char[] newCharArray = {currentChar}; contentHandler.characters(newCharArray, 0, 1); } } contentHandler.endElement(FOO_URI, FOO_PART_ELEMENT_LOCAL_NAME, FOO_PART_ELEMENT_QUALIFIED_NAME); contentHandler.endElement(FOO_URI, FOO_OPENING_ELEMENT_LOCAL_NAME, FOO_OPENING_ELEMENT_QUALIFIED_NAME); } public String getName() { return "Foo"; } }
srnsw/xena
plugins/example/src/au/gov/naa/digipres/xena/demo/foo/FooNormaliser.java
Java
gpl-3.0
3,727
#ifndef PRETTYITEMDELEGATE_H #define PRETTYITEMDELEGATE_H #include <QModelIndex> #include <QStyledItemDelegate> class QPainter; class QProgressBar; class PrettyItemDelegate : public QStyledItemDelegate { Q_OBJECT public: PrettyItemDelegate(QObject* parent, bool downloadInfo = false); ~PrettyItemDelegate(); QSize sizeHint( const QStyleOptionViewItem&, const QModelIndex& ) const; void paint( QPainter*, const QStyleOptionViewItem&, const QModelIndex& ) const; QRect downloadButtonRect(QRect line) const; QRect authorRect(const QModelIndex& index) const; private: void createPlayIcon(); void paintBody( QPainter*, const QStyleOptionViewItem&, const QModelIndex& ) const; void paintDownloadInfo( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const; // active track painting void paintActiveOverlay( QPainter *painter, qreal x, qreal y, qreal w, qreal h ) const; void paintPlayIcon(QPainter *painter) const; // Paints the video duration void drawTime(QPainter *painter, QString time, QRectF line) const; static const qreal THUMB_WIDTH; static const qreal THUMB_HEIGHT; static const qreal PADDING; QPixmap playIcon; QFont boldFont; QFont smallerFont; QFont smallerBoldFont; bool downloadInfo; QProgressBar *progressBar; }; #endif
radekp/minitube
src/playlist/PrettyItemDelegate.h
C
gpl-3.0
1,454
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Newegg.Oversea.Silverlight.ControlPanel.Service.DataContracts { public class QueryEventLogCriteria { public int TopCount { get; set; } public string UserID { get; set; } public string Page { get; set; } public string Action { get; set; } public string Label { get; set; } public string EventDateFrom { get; set; } public string EventDateTo { get; set; } } }
ZeroOne71/ql
02_ECCentral/00_SilverlightFramework/ControlPanel.Service/DataContracts/Statistic/QueryEventLogCriteria.cs
C#
gpl-3.0
532
/* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* * ConcreteClassA.java * Copyright (C) 2017 University of Waikato, Hamilton, NZ */ package nz.ac.waikato.cms.locator.example.pkgA; import nz.ac.waikato.cms.locator.example.AbstractAncestor; /** * Example class. * * @author FracPete (fracpete at waikato dot ac dot nz) * @version $Revision$ */ public class ConcreteClassA extends AbstractAncestor { }
Waikato/jclasslocator
src/main/java/nz/ac/waikato/cms/locator/example/pkgA/ConcreteClassA.java
Java
gpl-3.0
1,040
/** * Copyright 2011-2012 Adrian Stabiszewski, as@nfctools.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.nfctools.llcp; import org.nfctools.llcp.parameter.Miux; import org.nfctools.llcp.parameter.ServiceName; public class LlcpUtils { public static String getServiceNameFromParameters(Object[] parameters) { if (parameters != null) { for (Object parameter : parameters) { if (parameter instanceof ServiceName) { return ((ServiceName)parameter).getName(); } } } return null; } public static int getMiuExtension(Object[] parameters) { if (parameters != null) { for (Object parameter : parameters) { if (parameter instanceof Miux) { return ((Miux)parameter).getValue(); } } } return 0; } }
jypeitao/NFC2
nfctools/nfctools-p2p/src/main/java/org/nfctools/llcp/LlcpUtils.java
Java
gpl-3.0
1,279
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ #pragma once /** * endstops.h - manages endstops */ #include "../inc/MarlinConfig.h" #include <stdint.h> enum EndstopEnum : char { X_MIN, Y_MIN, Z_MIN, Z_MIN_PROBE, X_MAX, Y_MAX, Z_MAX, X2_MIN, X2_MAX, Y2_MIN, Y2_MAX, Z2_MIN, Z2_MAX, Z3_MIN, Z3_MAX, Z4_MIN, Z4_MAX }; class Endstops { public: #if HAS_EXTRA_ENDSTOPS typedef uint16_t esbits_t; TERN_(X_DUAL_ENDSTOPS, static float x2_endstop_adj); TERN_(Y_DUAL_ENDSTOPS, static float y2_endstop_adj); TERN_(Z_MULTI_ENDSTOPS, static float z2_endstop_adj); #if ENABLED(Z_MULTI_ENDSTOPS) && NUM_Z_STEPPER_DRIVERS >= 3 static float z3_endstop_adj; #endif #if ENABLED(Z_MULTI_ENDSTOPS) && NUM_Z_STEPPER_DRIVERS >= 4 static float z4_endstop_adj; #endif #else typedef uint8_t esbits_t; #endif private: static bool enabled, enabled_globally; static esbits_t live_state; static volatile uint8_t hit_state; // Use X_MIN, Y_MIN, Z_MIN and Z_MIN_PROBE as BIT index #if ENDSTOP_NOISE_THRESHOLD static esbits_t validated_live_state; static uint8_t endstop_poll_count; // Countdown from threshold for polling #endif public: Endstops() {}; /** * Initialize the endstop pins */ static void init(); /** * Are endstops or the probe set to abort the move? */ FORCE_INLINE static bool abort_enabled() { return enabled || TERN0(HAS_BED_PROBE, z_probe_enabled); } static inline bool global_enabled() { return enabled_globally; } /** * Periodic call to poll endstops if required. Called from temperature ISR */ static void poll(); /** * Update endstops bits from the pins. Apply filtering to get a verified state. * If abort_enabled() and moving towards a triggered switch, abort the current move. * Called from ISR contexts. */ static void update(); /** * Get Endstop hit state. */ FORCE_INLINE static uint8_t trigger_state() { return hit_state; } /** * Get current endstops state */ FORCE_INLINE static esbits_t state() { return #if ENDSTOP_NOISE_THRESHOLD validated_live_state #else live_state #endif ; } /** * Report endstop hits to serial. Called from loop(). */ static void event_handler(); /** * Report endstop states in response to M119 */ static void report_states(); // Enable / disable endstop checking globally static void enable_globally(const bool onoff=true); // Enable / disable endstop checking static void enable(const bool onoff=true); // Disable / Enable endstops based on ENSTOPS_ONLY_FOR_HOMING and global enable static void not_homing(); #if ENABLED(VALIDATE_HOMING_ENDSTOPS) // If the last move failed to trigger an endstop, call kill static void validate_homing_move(); #else FORCE_INLINE static void validate_homing_move() { hit_on_purpose(); } #endif // Clear endstops (i.e., they were hit intentionally) to suppress the report FORCE_INLINE static void hit_on_purpose() { hit_state = 0; } // Enable / disable endstop z-probe checking #if HAS_BED_PROBE static volatile bool z_probe_enabled; static void enable_z_probe(const bool onoff=true); #endif static void resync(); // Debugging of endstops #if ENABLED(PINS_DEBUGGING) static bool monitor_flag; static void monitor(); static void run_monitor(); #endif #if ENABLED(SPI_ENDSTOPS) typedef struct { union { bool any; struct { bool x:1, y:1, z:1; }; }; } tmc_spi_homing_t; static tmc_spi_homing_t tmc_spi_homing; static void clear_endstop_state(); static bool tmc_spi_homing_check(); #endif }; extern Endstops endstops; /** * A class to save and change the endstop state, * then restore it when it goes out of scope. */ class TemporaryGlobalEndstopsState { bool saved; public: TemporaryGlobalEndstopsState(const bool enable) : saved(endstops.global_enabled()) { endstops.enable_globally(enable); } ~TemporaryGlobalEndstopsState() { endstops.enable_globally(saved); } };
tetious/Marlin
Marlin/src/module/endstops.h
C
gpl-3.0
5,159
package io.github.rockitconsulting.test.rockitizer.exceptions; /** * Test.Rockitizer - API regression testing framework Copyright (C) 2020 * rockit.consulting GmbH * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see http://www.gnu.org/licenses/. * */ public class UnknownEnvironmentException extends RuntimeException { /** * */ private static final long serialVersionUID = -7904130414576315223L; public UnknownEnvironmentException(String environment) { super(" Environment not found : " + environment); } }
rockitconsulting/test.rockitizer
src/main/java/io/github/rockitconsulting/test/rockitizer/exceptions/UnknownEnvironmentException.java
Java
gpl-3.0
1,089
/* file name: ch0501_ptr01.c author: Jung,JaeJoon(rgbi3307@nate.com, http://www.kernel.bz/) comments: Æ÷ÀÎÅÍ ±âÃÊ */ #include <stdio.h> main () { int x = 1, y = 2; int z[7] = {1, 2, 3, 4, 5, 6, 7}; int *ip; //ip´Â int¿¡ ´ëÇÑ Æ÷ÀÎÅÍÀÌ´Ù(ip is a pointer to int) int i; //º¯¼ö x¿Í yÀÇ ÁÖ¼Ò Ãâ·Â printf ("addr: %X, %X\n", &x, &y); //Á¤¼öÇü ¹è¿­ zÀÇ ÁÖ¼Ò Ãâ·Â for (i = 0; i < 7; i++) printf("%X, ", &z[i]); printf("\n"); ip = &x; //ip´Â x¸¦ °¡¸£Å²´Ù(ip points to x) y = *ip; //y´Â 1ÀÌ µÈ´Ù *ip = 0; //x´Â 0ÀÌ µÈ´Ù printf("ip=%X, x=%d, y=%d\n", ip, x, y); ip = &z[0]; //ip´Â z[0]¸¦ °¡¸£Å²´Ù(ip points to z[0]) *ip = *ip + 10; //z[0]°ª¿¡ 10À» ´õÇÑ´Ù y = *ip + 1; //*ip°ª¿¡ 1À» ´õÇÑ´Ù printf("ip=%X, x=%d, y=%d\n", ip, x, y); *ip += 1; //*ip°ª¿¡ 1À» ´õÇÑ´Ù x = ++*ip; //*ip°ª¿¡ 1À» ´õÇÑ´Ù printf("ip=%X, x=%d, y=%d\n", ip, x, y); x = *ip++; //ip ÁÖ¼Ò¸¦ Áõ°¡½ÃŲ´Ù y = (*ip)++; //*ip°ªÀ» Áõ°¡½ÃŲ´Ù. printf("ip=%X, x=%d, y=%d, *ip=%d\n", ip, x, y, *ip); printf("\nPress any key to end..."); getchar(); }
kernel-bz/clang
ch05_ptr/ch0501_ptr01.c
C
gpl-3.0
1,090
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyright and this notice and otherwise comply with the Use Terms. /** * @path ch15/15.2/15.2.3/15.2.3.5/15.2.3.5-4-46.js * @description Object.create - 'enumerable' property of one property in 'Properties' is true (8.10.5 step 3) */ function testcase() { var accessed = false; var newObj = Object.create({}, { prop: { enumerable: true } }); for (var property in newObj) { if (property === "prop") { accessed = true; } } return accessed; } runTestCase(testcase);
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtdeclarative/tests/auto/qml/ecmascripttests/test262/test/suite/ch15/15.2/15.2.3/15.2.3.5/15.2.3.5-4-46.js
JavaScript
gpl-3.0
910
#!/usr/bin/env python # -*- coding: utf-8 -*- # tifffile.py # Copyright (c) 2008-2014, Christoph Gohlke # Copyright (c) 2008-2014, The Regents of the University of California # Produced at the Laboratory for Fluorescence Dynamics # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # * Neither the name of the copyright holders nor the names of any # contributors may be used to endorse or promote products derived # from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. """Read and write image data from and to TIFF files. Image and metadata can be read from TIFF, BigTIFF, OME-TIFF, STK, LSM, NIH, SGI, ImageJ, MicroManager, FluoView, SEQ and GEL files. Only a subset of the TIFF specification is supported, mainly uncompressed and losslessly compressed 2**(0 to 6) bit integer, 16, 32 and 64-bit float, grayscale and RGB(A) images, which are commonly used in bio-scientific imaging. Specifically, reading JPEG and CCITT compressed image data or EXIF, IPTC, GPS, and XMP metadata is not implemented. Only primary info records are read for STK, FluoView, MicroManager, and NIH image formats. TIFF, the Tagged Image File Format, is under the control of Adobe Systems. BigTIFF allows for files greater than 4 GB. STK, LSM, FluoView, SGI, SEQ, GEL, and OME-TIFF, are custom extensions defined by Molecular Devices (Universal Imaging Corporation), Carl Zeiss MicroImaging, Olympus, Silicon Graphics International, Media Cybernetics, Molecular Dynamics, and the Open Microscopy Environment consortium respectively. For command line usage run ``python tifffile.py --help`` :Author: `Christoph Gohlke <http://www.lfd.uci.edu/~gohlke/>`_ :Organization: Laboratory for Fluorescence Dynamics, University of California, Irvine :Version: 2014.08.24 Requirements ------------ * `CPython 2.7 or 3.4 <http://www.python.org>`_ * `Numpy 1.8.2 <http://www.numpy.org>`_ * `Matplotlib 1.4 <http://www.matplotlib.org>`_ (optional for plotting) * `Tifffile.c 2013.11.05 <http://www.lfd.uci.edu/~gohlke/>`_ (recommended for faster decoding of PackBits and LZW encoded strings) Notes ----- The API is not stable yet and might change between revisions. Tested on little-endian platforms only. Other Python packages and modules for reading bio-scientific TIFF files: * `Imread <http://luispedro.org/software/imread>`_ * `PyLibTiff <http://code.google.com/p/pylibtiff>`_ * `SimpleITK <http://www.simpleitk.org>`_ * `PyLSM <https://launchpad.net/pylsm>`_ * `PyMca.TiffIO.py <http://pymca.sourceforge.net/>`_ (same as fabio.TiffIO) * `BioImageXD.Readers <http://www.bioimagexd.net/>`_ * `Cellcognition.io <http://cellcognition.org/>`_ * `CellProfiler.bioformats <https://github.com/CellProfiler/python-bioformats>`_ Acknowledgements ---------------- * Egor Zindy, University of Manchester, for cz_lsm_scan_info specifics. * Wim Lewis for a bug fix and some read_cz_lsm functions. * Hadrien Mary for help on reading MicroManager files. References ---------- (1) TIFF 6.0 Specification and Supplements. Adobe Systems Incorporated. http://partners.adobe.com/public/developer/tiff/ (2) TIFF File Format FAQ. http://www.awaresystems.be/imaging/tiff/faq.html (3) MetaMorph Stack (STK) Image File Format. http://support.meta.moleculardevices.com/docs/t10243.pdf (4) Image File Format Description LSM 5/7 Release 6.0 (ZEN 2010). Carl Zeiss MicroImaging GmbH. BioSciences. May 10, 2011 (5) File Format Description - LSM 5xx Release 2.0. http://ibb.gsf.de/homepage/karsten.rodenacker/IDL/Lsmfile.doc (6) The OME-TIFF format. http://www.openmicroscopy.org/site/support/file-formats/ome-tiff (7) UltraQuant(r) Version 6.0 for Windows Start-Up Guide. http://www.ultralum.com/images%20ultralum/pdf/UQStart%20Up%20Guide.pdf (8) Micro-Manager File Formats. http://www.micro-manager.org/wiki/Micro-Manager_File_Formats (9) Tags for TIFF and Related Specifications. Digital Preservation. http://www.digitalpreservation.gov/formats/content/tiff_tags.shtml Examples -------- >>> data = numpy.random.rand(5, 301, 219) >>> imsave('temp.tif', data) >>> image = imread('temp.tif') >>> numpy.testing.assert_array_equal(image, data) >>> with TiffFile('temp.tif') as tif: ... images = tif.asarray() ... for page in tif: ... for tag in page.tags.values(): ... t = tag.name, tag.value ... image = page.asarray() """ import sys import os import re import glob import math import zlib import time import json import struct import warnings import tempfile import datetime import collections from fractions import Fraction from xml.etree import cElementTree as etree import numpy try: import _tifffile except ImportError: warnings.warn( "failed to import the optional _tifffile C extension module.\n" "Loading of some compressed images will be slow.\n" "Tifffile.c can be obtained at http://www.lfd.uci.edu/~gohlke/") __version__ = '2014.08.24' __docformat__ = 'restructuredtext en' __all__ = ('imsave', 'imread', 'imshow', 'TiffFile', 'TiffWriter', 'TiffSequence') def imsave(filename, data, **kwargs): """Write image data to TIFF file. Refer to the TiffWriter class and member functions for documentation. Parameters ---------- filename : str Name of file to write. data : array_like Input image. The last dimensions are assumed to be image depth, height, width, and samples. kwargs : dict Parameters 'byteorder', 'bigtiff', and 'software' are passed to the TiffWriter class. Parameters 'photometric', 'planarconfig', 'resolution', 'description', 'compress', 'volume', and 'extratags' are passed to the TiffWriter.save function. Examples -------- >>> data = numpy.random.rand(2, 5, 3, 301, 219) >>> description = '{"shape": %s}' % str(list(data.shape)) >>> imsave('temp.tif', data, compress=6, ... extratags=[(270, 's', 0, description, True)]) """ tifargs = {} for key in ('byteorder', 'bigtiff', 'software', 'writeshape'): if key in kwargs: tifargs[key] = kwargs[key] del kwargs[key] if 'writeshape' not in kwargs: kwargs['writeshape'] = True if 'bigtiff' not in tifargs and data.size * \ data.dtype.itemsize > 2000 * 2 ** 20: tifargs['bigtiff'] = True with TiffWriter(filename, **tifargs) as tif: tif.save(data, **kwargs) class TiffWriter(object): """Write image data to TIFF file. TiffWriter instances must be closed using the close method, which is automatically called when using the 'with' statement. Examples -------- >>> data = numpy.random.rand(2, 5, 3, 301, 219) >>> with TiffWriter('temp.tif', bigtiff=True) as tif: ... for i in range(data.shape[0]): ... tif.save(data[i], compress=6) """ TYPES = {'B': 1, 's': 2, 'H': 3, 'I': 4, '2I': 5, 'b': 6, 'h': 8, 'i': 9, 'f': 11, 'd': 12, 'Q': 16, 'q': 17} TAGS = { 'new_subfile_type': 254, 'subfile_type': 255, 'image_width': 256, 'image_length': 257, 'bits_per_sample': 258, 'compression': 259, 'photometric': 262, 'fill_order': 266, 'document_name': 269, 'image_description': 270, 'strip_offsets': 273, 'orientation': 274, 'samples_per_pixel': 277, 'rows_per_strip': 278, 'strip_byte_counts': 279, 'x_resolution': 282, 'y_resolution': 283, 'planar_configuration': 284, 'page_name': 285, 'resolution_unit': 296, 'software': 305, 'datetime': 306, 'predictor': 317, 'color_map': 320, 'tile_width': 322, 'tile_length': 323, 'tile_offsets': 324, 'tile_byte_counts': 325, 'extra_samples': 338, 'sample_format': 339, 'image_depth': 32997, 'tile_depth': 32998} def __init__(self, filename, bigtiff=False, byteorder=None, software='tifffile.py'): """Create a new TIFF file for writing. Use bigtiff=True when creating files greater than 2 GB. Parameters ---------- filename : str Name of file to write. bigtiff : bool If True, the BigTIFF format is used. byteorder : {'<', '>'} The endianness of the data in the file. By default this is the system's native byte order. software : str Name of the software used to create the image. Saved with the first page only. """ if byteorder not in (None, '<', '>'): raise ValueError("invalid byteorder %s" % byteorder) if byteorder is None: byteorder = '<' if sys.byteorder == 'little' else '>' self._byteorder = byteorder self._software = software self._fh = open(filename, 'wb') self._fh.write({'<': b'II', '>': b'MM'}[byteorder]) if bigtiff: self._bigtiff = True self._offset_size = 8 self._tag_size = 20 self._numtag_format = 'Q' self._offset_format = 'Q' self._val_format = '8s' self._fh.write(struct.pack(byteorder + 'HHH', 43, 8, 0)) else: self._bigtiff = False self._offset_size = 4 self._tag_size = 12 self._numtag_format = 'H' self._offset_format = 'I' self._val_format = '4s' self._fh.write(struct.pack(byteorder + 'H', 42)) # first IFD self._ifd_offset = self._fh.tell() self._fh.write(struct.pack(byteorder + self._offset_format, 0)) def save(self, data, photometric=None, planarconfig=None, resolution=None, description=None, volume=False, writeshape=False, compress=0, extratags=()): """Write image data to TIFF file. Image data are written in one stripe per plane. Dimensions larger than 2 to 4 (depending on photometric mode, planar configuration, and SGI mode) are flattened and saved as separate pages. The 'sample_format' and 'bits_per_sample' TIFF tags are derived from the data type. Parameters ---------- data : array_like Input image. The last dimensions are assumed to be image depth, height, width, and samples. photometric : {'minisblack', 'miniswhite', 'rgb'} The color space of the image data. By default this setting is inferred from the data shape. planarconfig : {'contig', 'planar'} Specifies if samples are stored contiguous or in separate planes. By default this setting is inferred from the data shape. 'contig': last dimension contains samples. 'planar': third last dimension contains samples. resolution : (float, float) or ((int, int), (int, int)) X and Y resolution in dots per inch as float or rational numbers. description : str The subject of the image. Saved with the first page only. compress : int Values from 0 to 9 controlling the level of zlib compression. If 0, data are written uncompressed (default). volume : bool If True, volume data are stored in one tile (if applicable) using the SGI image_depth and tile_depth tags. Image width and depth must be multiple of 16. Few software can read this format, e.g. MeVisLab. writeshape : bool If True, write the data shape to the image_description tag if necessary and no other description is given. extratags: sequence of tuples Additional tags as [(code, dtype, count, value, writeonce)]. code : int The TIFF tag Id. dtype : str Data type of items in 'value' in Python struct format. One of B, s, H, I, 2I, b, h, i, f, d, Q, or q. count : int Number of data values. Not used for string values. value : sequence 'Count' values compatible with 'dtype'. writeonce : bool If True, the tag is written to the first page only. """ if photometric not in (None, 'minisblack', 'miniswhite', 'rgb'): raise ValueError("invalid photometric %s" % photometric) if planarconfig not in (None, 'contig', 'planar'): raise ValueError("invalid planarconfig %s" % planarconfig) if not 0 <= compress <= 9: raise ValueError("invalid compression level %s" % compress) fh = self._fh byteorder = self._byteorder numtag_format = self._numtag_format val_format = self._val_format offset_format = self._offset_format offset_size = self._offset_size tag_size = self._tag_size data = numpy.asarray( data, dtype=byteorder + data.dtype.char, order='C') data_shape = shape = data.shape data = numpy.atleast_2d(data) # normalize shape of data samplesperpixel = 1 extrasamples = 0 if volume and data.ndim < 3: volume = False if photometric is None: if planarconfig: photometric = 'rgb' elif data.ndim > 2 and shape[-1] in (3, 4): photometric = 'rgb' elif volume and data.ndim > 3 and shape[-4] in (3, 4): photometric = 'rgb' elif data.ndim > 2 and shape[-3] in (3, 4): photometric = 'rgb' else: photometric = 'minisblack' if planarconfig and len(shape) <= (3 if volume else 2): planarconfig = None photometric = 'minisblack' if photometric == 'rgb': if len(shape) < 3: raise ValueError("not a RGB(A) image") if len(shape) < 4: volume = False if planarconfig is None: if shape[-1] in (3, 4): planarconfig = 'contig' elif shape[-4 if volume else -3] in (3, 4): planarconfig = 'planar' elif shape[-1] > shape[-4 if volume else -3]: planarconfig = 'planar' else: planarconfig = 'contig' if planarconfig == 'contig': data = data.reshape((-1, 1) + shape[(-4 if volume else -3):]) samplesperpixel = data.shape[-1] else: data = data.reshape( (-1,) + shape[(-4 if volume else -3):] + (1,)) samplesperpixel = data.shape[1] if samplesperpixel > 3: extrasamples = samplesperpixel - 3 elif planarconfig and len(shape) > (3 if volume else 2): if planarconfig == 'contig': data = data.reshape((-1, 1) + shape[(-4 if volume else -3):]) samplesperpixel = data.shape[-1] else: data = data.reshape( (-1,) + shape[(-4 if volume else -3):] + (1,)) samplesperpixel = data.shape[1] extrasamples = samplesperpixel - 1 else: planarconfig = None # remove trailing 1s while len(shape) > 2 and shape[-1] == 1: shape = shape[:-1] if len(shape) < 3: volume = False if False and ( len(shape) > (3 if volume else 2) and shape[-1] < 5 and all(shape[-1] < i for i in shape[(-4 if volume else -3):-1])): # DISABLED: non-standard TIFF, e.g. (220, 320, 2) planarconfig = 'contig' samplesperpixel = shape[-1] data = data.reshape((-1, 1) + shape[(-4 if volume else -3):]) else: data = data.reshape( (-1, 1) + shape[(-3 if volume else -2):] + (1,)) if samplesperpixel == 2: warnings.warn("writing non-standard TIFF (samplesperpixel 2)") if volume and (data.shape[-2] % 16 or data.shape[-3] % 16): warnings.warn("volume width or length are not multiple of 16") volume = False data = numpy.swapaxes(data, 1, 2) data = data.reshape( (data.shape[0] * data.shape[1],) + data.shape[2:]) # data.shape is now normalized 5D or 6D, depending on volume # (pages, planar_samples, (depth,) height, width, contig_samples) assert len(data.shape) in (5, 6) shape = data.shape bytestr = bytes if sys.version[0] == '2' else ( lambda x: bytes(x) if isinstance(x, str) else x) tags = [] # list of (code, ifdentry, ifdvalue, writeonce) if volume: # use tiles to save volume data tag_byte_counts = TiffWriter.TAGS['tile_byte_counts'] tag_offsets = TiffWriter.TAGS['tile_offsets'] else: # else use strips tag_byte_counts = TiffWriter.TAGS['strip_byte_counts'] tag_offsets = TiffWriter.TAGS['strip_offsets'] def pack(fmt, *val): return struct.pack(byteorder + fmt, *val) def addtag(code, dtype, count, value, writeonce=False): # Compute ifdentry & ifdvalue bytes from code, dtype, count, value. # Append (code, ifdentry, ifdvalue, writeonce) to tags list. code = int(TiffWriter.TAGS.get(code, code)) try: tifftype = TiffWriter.TYPES[dtype] except KeyError: raise ValueError("unknown dtype %s" % dtype) rawcount = count if dtype == 's': value = bytestr(value) + b'\0' count = rawcount = len(value) value = (value, ) if len(dtype) > 1: count *= int(dtype[:-1]) dtype = dtype[-1] ifdentry = [pack('HH', code, tifftype), pack(offset_format, rawcount)] ifdvalue = None if count == 1: if isinstance(value, (tuple, list)): value = value[0] ifdentry.append(pack(val_format, pack(dtype, value))) elif struct.calcsize(dtype) * count <= offset_size: ifdentry.append(pack(val_format, pack(str(count) + dtype, *value))) else: ifdentry.append(pack(offset_format, 0)) ifdvalue = pack(str(count) + dtype, *value) tags.append((code, b''.join(ifdentry), ifdvalue, writeonce)) def rational(arg, max_denominator=1000000): # return nominator and denominator from float or two integers try: f = Fraction.from_float(arg) except TypeError: f = Fraction(arg[0], arg[1]) f = f.limit_denominator(max_denominator) return f.numerator, f.denominator if self._software: addtag('software', 's', 0, self._software, writeonce=True) self._software = None # only save to first page if description: addtag('image_description', 's', 0, description, writeonce=True) elif writeshape and shape[0] > 1 and shape != data_shape: addtag('image_description', 's', 0, "shape=(%s)" % (",".join('%i' % i for i in data_shape)), writeonce=True) addtag('datetime', 's', 0, datetime.datetime.now().strftime("%Y:%m:%d %H:%M:%S"), writeonce=True) addtag('compression', 'H', 1, 32946 if compress else 1) addtag('orientation', 'H', 1, 1) addtag('image_width', 'I', 1, shape[-2]) addtag('image_length', 'I', 1, shape[-3]) if volume: addtag('image_depth', 'I', 1, shape[-4]) addtag('tile_depth', 'I', 1, shape[-4]) addtag('tile_width', 'I', 1, shape[-2]) addtag('tile_length', 'I', 1, shape[-3]) addtag('new_subfile_type', 'I', 1, 0 if shape[0] == 1 else 2) addtag('sample_format', 'H', 1, {'u': 1, 'i': 2, 'f': 3, 'c': 6}[data.dtype.kind]) addtag('photometric', 'H', 1, {'miniswhite': 0, 'minisblack': 1, 'rgb': 2}[photometric]) addtag('samples_per_pixel', 'H', 1, samplesperpixel) if planarconfig and samplesperpixel > 1: addtag('planar_configuration', 'H', 1, 1 if planarconfig == 'contig' else 2) addtag('bits_per_sample', 'H', samplesperpixel, (data.dtype.itemsize * 8, ) * samplesperpixel) else: addtag('bits_per_sample', 'H', 1, data.dtype.itemsize * 8) if extrasamples: if photometric == 'rgb' and extrasamples == 1: addtag('extra_samples', 'H', 1, 1) # associated alpha channel else: addtag('extra_samples', 'H', extrasamples, (0,) * extrasamples) if resolution: addtag('x_resolution', '2I', 1, rational(resolution[0])) addtag('y_resolution', '2I', 1, rational(resolution[1])) addtag('resolution_unit', 'H', 1, 2) addtag('rows_per_strip', 'I', 1, shape[-3] * (shape[-4] if volume else 1)) # use one strip or tile per plane strip_byte_counts = (data[0, 0].size * data.dtype.itemsize,) * shape[1] addtag(tag_byte_counts, offset_format, shape[1], strip_byte_counts) addtag(tag_offsets, offset_format, shape[1], (0, ) * shape[1]) # add extra tags from users for t in extratags: addtag(*t) # the entries in an IFD must be sorted in ascending order by tag code tags = sorted(tags, key=lambda x: x[0]) if not self._bigtiff and (fh.tell() + data.size * data.dtype.itemsize > 2 ** 31 - 1): raise ValueError("data too large for non-bigtiff file") for pageindex in range(shape[0]): # update pointer at ifd_offset pos = fh.tell() fh.seek(self._ifd_offset) fh.write(pack(offset_format, pos)) fh.seek(pos) # write ifdentries fh.write(pack(numtag_format, len(tags))) tag_offset = fh.tell() fh.write(b''.join(t[1] for t in tags)) self._ifd_offset = fh.tell() fh.write(pack(offset_format, 0)) # offset to next IFD # write tag values and patch offsets in ifdentries, if necessary for tagindex, tag in enumerate(tags): if tag[2]: pos = fh.tell() fh.seek(tag_offset + tagindex * tag_size + offset_size + 4) fh.write(pack(offset_format, pos)) fh.seek(pos) if tag[0] == tag_offsets: strip_offsets_offset = pos elif tag[0] == tag_byte_counts: strip_byte_counts_offset = pos fh.write(tag[2]) # write image data data_offset = fh.tell() if compress: strip_byte_counts = [] for plane in data[pageindex]: plane = zlib.compress(plane, compress) strip_byte_counts.append(len(plane)) fh.write(plane) else: # if this fails try update Python/numpy data[pageindex].tofile(fh) fh.flush() # update strip and tile offsets and byte_counts if necessary pos = fh.tell() for tagindex, tag in enumerate(tags): if tag[0] == tag_offsets: # strip or tile offsets if tag[2]: fh.seek(strip_offsets_offset) strip_offset = data_offset for size in strip_byte_counts: fh.write(pack(offset_format, strip_offset)) strip_offset += size else: fh.seek(tag_offset + tagindex * tag_size + offset_size + 4) fh.write(pack(offset_format, data_offset)) elif tag[0] == tag_byte_counts: # strip or tile byte_counts if compress: if tag[2]: fh.seek(strip_byte_counts_offset) for size in strip_byte_counts: fh.write(pack(offset_format, size)) else: fh.seek(tag_offset + tagindex * tag_size + offset_size + 4) fh.write(pack(offset_format, strip_byte_counts[0])) break fh.seek(pos) fh.flush() # remove tags that should be written only once if pageindex == 0: tags = [t for t in tags if not t[-1]] def close(self): self._fh.close() def __enter__(self): return self def __exit__(self, exc_type, exc_value, traceback): self.close() def imread(files, **kwargs): """Return image data from TIFF file(s) as numpy array. The first image series is returned if no arguments are provided. Parameters ---------- files : str or list File name, glob pattern, or list of file names. key : int, slice, or sequence of page indices Defines which pages to return as array. series : int Defines which series of pages in file to return as array. multifile : bool If True (default), OME-TIFF data may include pages from multiple files. pattern : str Regular expression pattern that matches axes names and indices in file names. kwargs : dict Additional parameters passed to the TiffFile or TiffSequence asarray function. Examples -------- >>> im = imread('test.tif', key=0) >>> im.shape (256, 256, 4) >>> ims = imread(['test.tif', 'test.tif']) >>> ims.shape (2, 256, 256, 4) """ kwargs_file = {} if 'multifile' in kwargs: kwargs_file['multifile'] = kwargs['multifile'] del kwargs['multifile'] else: kwargs_file['multifile'] = True kwargs_seq = {} if 'pattern' in kwargs: kwargs_seq['pattern'] = kwargs['pattern'] del kwargs['pattern'] if isinstance(files, str) and any(i in files for i in '?*'): files = glob.glob(files) if not files: raise ValueError('no files found') if len(files) == 1: files = files[0] if isinstance(files, str): with TiffFile(files, **kwargs_file) as tif: return tif.asarray(**kwargs) else: with TiffSequence(files, **kwargs_seq) as imseq: return imseq.asarray(**kwargs) class lazyattr(object): """Lazy object attribute whose value is computed on first access.""" __slots__ = ('func', ) def __init__(self, func): self.func = func def __get__(self, instance, owner): if instance is None: return self value = self.func(instance) if value is NotImplemented: return getattr(super(owner, instance), self.func.__name__) setattr(instance, self.func.__name__, value) return value class TiffFile(object): """Read image and metadata from TIFF, STK, LSM, and FluoView files. TiffFile instances must be closed using the close method, which is automatically called when using the 'with' statement. Attributes ---------- pages : list All TIFF pages in file. series : list of Records(shape, dtype, axes, TiffPages) TIFF pages with compatible shapes and types. micromanager_metadata: dict Extra MicroManager non-TIFF metadata in the file, if exists. All attributes are read-only. Examples -------- >>> with TiffFile('test.tif') as tif: ... data = tif.asarray() ... data.shape (256, 256, 4) """ def __init__(self, arg, name=None, offset=None, size=None, multifile=True, multifile_close=True): """Initialize instance from file. Parameters ---------- arg : str or open file Name of file or open file object. The file objects are closed in TiffFile.close(). name : str Optional name of file in case 'arg' is a file handle. offset : int Optional start position of embedded file. By default this is the current file position. size : int Optional size of embedded file. By default this is the number of bytes from the 'offset' to the end of the file. multifile : bool If True (default), series may include pages from multiple files. Currently applies to OME-TIFF only. multifile_close : bool If True (default), keep the handles of other files in multifile series closed. This is inefficient when few files refer to many pages. If False, the C runtime may run out of resources. """ self._fh = FileHandle(arg, name=name, offset=offset, size=size) self.offset_size = None self.pages = [] self._multifile = bool(multifile) self._multifile_close = bool(multifile_close) self._files = {self._fh.name: self} # cache of TiffFiles try: self._fromfile() except Exception: self._fh.close() raise @property def filehandle(self): """Return file handle.""" return self._fh @property def filename(self): """Return name of file handle.""" return self._fh.name def close(self): """Close open file handle(s).""" for tif in self._files.values(): tif._fh.close() self._files = {} def _fromfile(self): """Read TIFF header and all page records from file.""" self._fh.seek(0) try: self.byteorder = {b'II': '<', b'MM': '>'}[self._fh.read(2)] except KeyError: raise ValueError("not a valid TIFF file") version = struct.unpack(self.byteorder + 'H', self._fh.read(2))[0] if version == 43: # BigTiff self.offset_size, zero = struct.unpack(self.byteorder + 'HH', self._fh.read(4)) if zero or self.offset_size != 8: raise ValueError("not a valid BigTIFF file") elif version == 42: self.offset_size = 4 else: raise ValueError("not a TIFF file") self.pages = [] while True: try: page = TiffPage(self) self.pages.append(page) except StopIteration: break if not self.pages: raise ValueError("empty TIFF file") if self.is_micromanager: # MicroManager files contain metadata not stored in TIFF tags. self.micromanager_metadata = read_micromanager_metadata(self._fh) if self.is_lsm: self._fix_lsm_strip_offsets() self._fix_lsm_strip_byte_counts() def _fix_lsm_strip_offsets(self): """Unwrap strip offsets for LSM files greater than 4 GB.""" for series in self.series: wrap = 0 previous_offset = 0 for page in series.pages: strip_offsets = [] for current_offset in page.strip_offsets: if current_offset < previous_offset: wrap += 2 ** 32 strip_offsets.append(current_offset + wrap) previous_offset = current_offset page.strip_offsets = tuple(strip_offsets) def _fix_lsm_strip_byte_counts(self): """Set strip_byte_counts to size of compressed data. The strip_byte_counts tag in LSM files contains the number of bytes for the uncompressed data. """ if not self.pages: return strips = {} for page in self.pages: assert len(page.strip_offsets) == len(page.strip_byte_counts) for offset, bytecount in zip(page.strip_offsets, page.strip_byte_counts): strips[offset] = bytecount offsets = sorted(strips.keys()) offsets.append(min(offsets[-1] + strips[offsets[-1]], self._fh.size)) for i, offset in enumerate(offsets[:-1]): strips[offset] = min(strips[offset], offsets[i + 1] - offset) for page in self.pages: if page.compression: page.strip_byte_counts = tuple( strips[offset] for offset in page.strip_offsets) @lazyattr def series(self): """Return series of TiffPage with compatible shape and properties.""" if not self.pages: return [] series = [] page0 = self.pages[0] if self.is_ome: series = self._omeseries() elif self.is_fluoview: dims = {b'X': 'X', b'Y': 'Y', b'Z': 'Z', b'T': 'T', b'WAVELENGTH': 'C', b'TIME': 'T', b'XY': 'R', b'EVENT': 'V', b'EXPOSURE': 'L'} mmhd = list(reversed(page0.mm_header.dimensions)) series = [Record( axes=''.join(dims.get(i[0].strip().upper(), 'Q') for i in mmhd if i[1] > 1), shape=tuple(int(i[1]) for i in mmhd if i[1] > 1), pages=self.pages, dtype=numpy.dtype(page0.dtype))] elif self.is_lsm: lsmi = page0.cz_lsm_info axes = CZ_SCAN_TYPES[lsmi.scan_type] if page0.is_rgb: axes = axes.replace('C', '').replace('XY', 'XYC') axes = axes[::-1] shape = tuple(getattr(lsmi, CZ_DIMENSIONS[i]) for i in axes) pages = [p for p in self.pages if not p.is_reduced] series = [Record(axes=axes, shape=shape, pages=pages, dtype=numpy.dtype(pages[0].dtype))] if len(pages) != len(self.pages): # reduced RGB pages pages = [p for p in self.pages if p.is_reduced] cp = 1 i = 0 while cp < len(pages) and i < len(shape) - 2: cp *= shape[i] i += 1 shape = shape[:i] + pages[0].shape axes = axes[:i] + 'CYX' series.append(Record(axes=axes, shape=shape, pages=pages, dtype=numpy.dtype(pages[0].dtype))) elif self.is_imagej: shape = [] axes = [] ij = page0.imagej_tags if 'frames' in ij: shape.append(ij['frames']) axes.append('T') if 'slices' in ij: shape.append(ij['slices']) axes.append('Z') if 'channels' in ij and not self.is_rgb: shape.append(ij['channels']) axes.append('C') remain = len(self.pages) // (product(shape) if shape else 1) if remain > 1: shape.append(remain) axes.append('I') shape.extend(page0.shape) axes.extend(page0.axes) axes = ''.join(axes) series = [Record(pages=self.pages, shape=tuple(shape), axes=axes, dtype=numpy.dtype(page0.dtype))] elif self.is_nih: if len(self.pages) == 1: shape = page0.shape axes = page0.axes else: shape = (len(self.pages),) + page0.shape axes = 'I' + page0.axes series = [Record(pages=self.pages, shape=shape, axes=axes, dtype=numpy.dtype(page0.dtype))] elif page0.is_shaped: # TODO: shaped files can contain multiple series shape = page0.tags['image_description'].value[7:-1] shape = tuple(int(i) for i in shape.split(b',')) series = [Record(pages=self.pages, shape=shape, axes='Q' * len(shape), dtype=numpy.dtype(page0.dtype))] # generic detection of series if not series: shapes = [] pages = {} for page in self.pages: if not page.shape: continue shape = page.shape + (page.axes, page.compression in TIFF_DECOMPESSORS) if shape not in pages: shapes.append(shape) pages[shape] = [page] else: pages[shape].append(page) series = [Record(pages=pages[s], axes=(('I' + s[-2]) if len(pages[s]) > 1 else s[-2]), dtype=numpy.dtype(pages[s][0].dtype), shape=((len(pages[s]), ) + s[:-2] if len(pages[s]) > 1 else s[:-2])) for s in shapes] # remove empty series, e.g. in MD Gel files series = [s for s in series if sum(s.shape) > 0] return series def asarray(self, key=None, series=None, memmap=False): """Return image data from multiple TIFF pages as numpy array. By default the first image series is returned. Parameters ---------- key : int, slice, or sequence of page indices Defines which pages to return as array. series : int Defines which series of pages to return as array. memmap : bool If True, return an array stored in a binary file on disk if possible. """ if key is None and series is None: series = 0 if series is not None: pages = self.series[series].pages else: pages = self.pages if key is None: pass elif isinstance(key, int): pages = [pages[key]] elif isinstance(key, slice): pages = pages[key] elif isinstance(key, collections.Iterable): pages = [pages[k] for k in key] else: raise TypeError("key must be an int, slice, or sequence") if not len(pages): raise ValueError("no pages selected") if self.is_nih: if pages[0].is_palette: result = stack_pages(pages, colormapped=False, squeeze=False) result = numpy.take(pages[0].color_map, result, axis=1) result = numpy.swapaxes(result, 0, 1) else: result = stack_pages(pages, memmap=memmap, colormapped=False, squeeze=False) elif len(pages) == 1: return pages[0].asarray(memmap=memmap) elif self.is_ome: assert not self.is_palette, "color mapping disabled for ome-tiff" if any(p is None for p in pages): # zero out missing pages firstpage = next(p for p in pages if p) nopage = numpy.zeros_like( firstpage.asarray(memmap=False)) s = self.series[series] if memmap: with tempfile.NamedTemporaryFile() as fh: result = numpy.memmap(fh, dtype=s.dtype, shape=s.shape) result = result.reshape(-1) else: result = numpy.empty(s.shape, s.dtype).reshape(-1) index = 0 class KeepOpen: # keep Tiff files open between consecutive pages def __init__(self, parent, close): self.master = parent self.parent = parent self._close = close def open(self, page): if self._close and page and page.parent != self.parent: if self.parent != self.master: self.parent.filehandle.close() self.parent = page.parent self.parent.filehandle.open() def close(self): if self._close and self.parent != self.master: self.parent.filehandle.close() keep = KeepOpen(self, self._multifile_close) for page in pages: keep.open(page) if page: a = page.asarray(memmap=False, colormapped=False, reopen=False) else: a = nopage try: result[index:index + a.size] = a.reshape(-1) except ValueError as e: warnings.warn("ome-tiff: %s" % e) break index += a.size keep.close() else: result = stack_pages(pages, memmap=memmap) if key is None: try: result.shape = self.series[series].shape except ValueError: try: warnings.warn("failed to reshape %s to %s" % ( result.shape, self.series[series].shape)) # try series of expected shapes result.shape = (-1,) + self.series[series].shape except ValueError: # revert to generic shape result.shape = (-1,) + pages[0].shape else: result.shape = (-1,) + pages[0].shape return result def _omeseries(self): """Return image series in OME-TIFF file(s).""" root = etree.fromstring(self.pages[0].tags['image_description'].value) uuid = root.attrib.get('UUID', None) self._files = {uuid: self} dirname = self._fh.dirname modulo = {} result = [] for element in root: if element.tag.endswith('BinaryOnly'): warnings.warn("ome-xml: not an ome-tiff master file") break if element.tag.endswith('StructuredAnnotations'): for annot in element: if not annot.attrib.get('Namespace', '').endswith('modulo'): continue for value in annot: for modul in value: for along in modul: if not along.tag[:-1].endswith('Along'): continue axis = along.tag[-1] newaxis = along.attrib.get('Type', 'other') newaxis = AXES_LABELS[newaxis] if 'Start' in along.attrib: labels = range( int(along.attrib['Start']), int(along.attrib['End']) + 1, int(along.attrib.get('Step', 1))) else: labels = [label.text for label in along if label.tag.endswith('Label')] modulo[axis] = (newaxis, labels) if not element.tag.endswith('Image'): continue for pixels in element: if not pixels.tag.endswith('Pixels'): continue atr = pixels.attrib dtype = atr.get('Type', None) axes = ''.join(reversed(atr['DimensionOrder'])) shape = list(int(atr['Size' + ax]) for ax in axes) size = product(shape[:-2]) ifds = [None] * size for data in pixels: if not data.tag.endswith('TiffData'): continue atr = data.attrib ifd = int(atr.get('IFD', 0)) num = int(atr.get('NumPlanes', 1 if 'IFD' in atr else 0)) num = int(atr.get('PlaneCount', num)) idx = [int(atr.get('First' + ax, 0)) for ax in axes[:-2]] try: idx = numpy.ravel_multi_index(idx, shape[:-2]) except ValueError: # ImageJ produces invalid ome-xml when cropping warnings.warn("ome-xml: invalid TiffData index") continue for uuid in data: if not uuid.tag.endswith('UUID'): continue if uuid.text not in self._files: if not self._multifile: # abort reading multifile OME series # and fall back to generic series return [] fname = uuid.attrib['FileName'] try: tif = TiffFile(os.path.join(dirname, fname)) except (IOError, ValueError): tif.close() warnings.warn( "ome-xml: failed to read '%s'" % fname) break self._files[uuid.text] = tif if self._multifile_close: tif.close() pages = self._files[uuid.text].pages try: for i in range(num if num else len(pages)): ifds[idx + i] = pages[ifd + i] except IndexError: warnings.warn("ome-xml: index out of range") # only process first uuid break else: pages = self.pages try: for i in range(num if num else len(pages)): ifds[idx + i] = pages[ifd + i] except IndexError: warnings.warn("ome-xml: index out of range") if all(i is None for i in ifds): # skip images without data continue dtype = next(i for i in ifds if i).dtype result.append(Record(axes=axes, shape=shape, pages=ifds, dtype=numpy.dtype(dtype))) for record in result: for axis, (newaxis, labels) in modulo.items(): i = record.axes.index(axis) size = len(labels) if record.shape[i] == size: record.axes = record.axes.replace(axis, newaxis, 1) else: record.shape[i] //= size record.shape.insert(i + 1, size) record.axes = record.axes.replace(axis, axis + newaxis, 1) record.shape = tuple(record.shape) # squeeze dimensions for record in result: record.shape, record.axes = squeeze_axes(record.shape, record.axes) return result def __len__(self): """Return number of image pages in file.""" return len(self.pages) def __getitem__(self, key): """Return specified page.""" return self.pages[key] def __iter__(self): """Return iterator over pages.""" return iter(self.pages) def __str__(self): """Return string containing information about file.""" result = [ self._fh.name.capitalize(), format_size(self._fh.size), {'<': 'little endian', '>': 'big endian'}[self.byteorder]] if self.is_bigtiff: result.append("bigtiff") if len(self.pages) > 1: result.append("%i pages" % len(self.pages)) if len(self.series) > 1: result.append("%i series" % len(self.series)) if len(self._files) > 1: result.append("%i files" % (len(self._files))) return ", ".join(result) def __enter__(self): return self def __exit__(self, exc_type, exc_value, traceback): self.close() @lazyattr def fstat(self): try: return os.fstat(self._fh.fileno()) except Exception: # io.UnsupportedOperation return None @lazyattr def is_bigtiff(self): return self.offset_size != 4 @lazyattr def is_rgb(self): return all(p.is_rgb for p in self.pages) @lazyattr def is_palette(self): return all(p.is_palette for p in self.pages) @lazyattr def is_mdgel(self): return any(p.is_mdgel for p in self.pages) @lazyattr def is_mediacy(self): return any(p.is_mediacy for p in self.pages) @lazyattr def is_stk(self): return all(p.is_stk for p in self.pages) @lazyattr def is_lsm(self): return self.pages[0].is_lsm @lazyattr def is_imagej(self): return self.pages[0].is_imagej @lazyattr def is_micromanager(self): return self.pages[0].is_micromanager @lazyattr def is_nih(self): return self.pages[0].is_nih @lazyattr def is_fluoview(self): return self.pages[0].is_fluoview @lazyattr def is_ome(self): return self.pages[0].is_ome class TiffPage(object): """A TIFF image file directory (IFD). Attributes ---------- index : int Index of page in file. dtype : str {TIFF_SAMPLE_DTYPES} Data type of image, colormapped if applicable. shape : tuple Dimensions of the image array in TIFF page, colormapped and with one alpha channel if applicable. axes : str Axes label codes: 'X' width, 'Y' height, 'S' sample, 'I' image series|page|plane, 'Z' depth, 'C' color|em-wavelength|channel, 'E' ex-wavelength|lambda, 'T' time, 'R' region|tile, 'A' angle, 'P' phase, 'H' lifetime, 'L' exposure, 'V' event, 'Q' unknown, '_' missing tags : TiffTags Dictionary of tags in page. Tag values are also directly accessible as attributes. color_map : numpy array Color look up table, if exists. cz_lsm_scan_info: Record(dict) LSM scan info attributes, if exists. imagej_tags: Record(dict) Consolidated ImageJ description and metadata tags, if exists. uic_tags: Record(dict) Consolidated MetaMorph STK/UIC tags, if exists. All attributes are read-only. Notes ----- The internal, normalized '_shape' attribute is 6 dimensional: 0. number planes (stk) 1. planar samples_per_pixel 2. image_depth Z (sgi) 3. image_length Y 4. image_width X 5. contig samples_per_pixel """ def __init__(self, parent): """Initialize instance from file.""" self.parent = parent self.index = len(parent.pages) self.shape = self._shape = () self.dtype = self._dtype = None self.axes = "" self.tags = TiffTags() self._fromfile() self._process_tags() def _fromfile(self): """Read TIFF IFD structure and its tags from file. File cursor must be at storage position of IFD offset and is left at offset to next IFD. Raises StopIteration if offset (first bytes read) is 0. """ fh = self.parent.filehandle byteorder = self.parent.byteorder offset_size = self.parent.offset_size fmt = {4: 'I', 8: 'Q'}[offset_size] offset = struct.unpack(byteorder + fmt, fh.read(offset_size))[0] if not offset: raise StopIteration() # read standard tags tags = self.tags fh.seek(offset) fmt, size = {4: ('H', 2), 8: ('Q', 8)}[offset_size] try: numtags = struct.unpack(byteorder + fmt, fh.read(size))[0] except Exception: warnings.warn("corrupted page list") raise StopIteration() tagcode = 0 for _ in range(numtags): try: tag = TiffTag(self.parent) # print(tag) except TiffTag.Error as e: warnings.warn(str(e)) continue if tagcode > tag.code: # expected for early LSM and tifffile versions warnings.warn("tags are not ordered by code") tagcode = tag.code if tag.name not in tags: tags[tag.name] = tag else: # some files contain multiple IFD with same code # e.g. MicroManager files contain two image_description i = 1 while True: name = "%s_%i" % (tag.name, i) if name not in tags: tags[name] = tag break pos = fh.tell() if self.is_lsm or (self.index and self.parent.is_lsm): # correct non standard LSM bitspersample tags self.tags['bits_per_sample']._correct_lsm_bitspersample(self) if self.is_lsm: # read LSM info subrecords for name, reader in CZ_LSM_INFO_READERS.items(): try: offset = self.cz_lsm_info['offset_' + name] except KeyError: continue if offset < 8: # older LSM revision continue fh.seek(offset) try: setattr(self, 'cz_lsm_' + name, reader(fh)) except ValueError: pass elif self.is_stk and 'uic1tag' in tags and not tags['uic1tag'].value: # read uic1tag now that plane count is known uic1tag = tags['uic1tag'] fh.seek(uic1tag.value_offset) tags['uic1tag'].value = Record( read_uic1tag(fh, byteorder, uic1tag.dtype, uic1tag.count, tags['uic2tag'].count)) fh.seek(pos) def _process_tags(self): """Validate standard tags and initialize attributes. Raise ValueError if tag values are not supported. """ tags = self.tags for code, (name, default, dtype, count, validate) in TIFF_TAGS.items(): if not (name in tags or default is None): tags[name] = TiffTag(code, dtype=dtype, count=count, value=default, name=name) if name in tags and validate: try: if tags[name].count == 1: setattr(self, name, validate[tags[name].value]) else: setattr(self, name, tuple( validate[value] for value in tags[name].value)) except KeyError: raise ValueError("%s.value (%s) not supported" % (name, tags[name].value)) tag = tags['bits_per_sample'] if tag.count == 1: self.bits_per_sample = tag.value else: # LSM might list more items than samples_per_pixel value = tag.value[:self.samples_per_pixel] if any((v - value[0] for v in value)): self.bits_per_sample = value else: self.bits_per_sample = value[0] tag = tags['sample_format'] if tag.count == 1: self.sample_format = TIFF_SAMPLE_FORMATS[tag.value] else: value = tag.value[:self.samples_per_pixel] if any((v - value[0] for v in value)): self.sample_format = [TIFF_SAMPLE_FORMATS[v] for v in value] else: self.sample_format = TIFF_SAMPLE_FORMATS[value[0]] if 'photometric' not in tags: self.photometric = None if 'image_depth' not in tags: self.image_depth = 1 if 'image_length' in tags: self.strips_per_image = int(math.floor( float(self.image_length + self.rows_per_strip - 1) / self.rows_per_strip)) else: self.strips_per_image = 0 key = (self.sample_format, self.bits_per_sample) self.dtype = self._dtype = TIFF_SAMPLE_DTYPES.get(key, None) if 'image_length' not in self.tags or 'image_width' not in self.tags: # some GEL file pages are missing image data self.image_length = 0 self.image_width = 0 self.image_depth = 0 self.strip_offsets = 0 self._shape = () self.shape = () self.axes = '' if self.is_palette: self.dtype = self.tags['color_map'].dtype[1] self.color_map = numpy.array(self.color_map, self.dtype) dmax = self.color_map.max() if dmax < 256: self.dtype = numpy.uint8 self.color_map = self.color_map.astype(self.dtype) # else: # self.dtype = numpy.uint8 # self.color_map >>= 8 # self.color_map = self.color_map.astype(self.dtype) self.color_map.shape = (3, -1) # determine shape of data image_length = self.image_length image_width = self.image_width image_depth = self.image_depth samples_per_pixel = self.samples_per_pixel if self.is_stk: assert self.image_depth == 1 planes = self.tags['uic2tag'].count if self.is_contig: self._shape = (planes, 1, 1, image_length, image_width, samples_per_pixel) if samples_per_pixel == 1: self.shape = (planes, image_length, image_width) self.axes = 'YX' else: self.shape = (planes, image_length, image_width, samples_per_pixel) self.axes = 'YXS' else: self._shape = (planes, samples_per_pixel, 1, image_length, image_width, 1) if samples_per_pixel == 1: self.shape = (planes, image_length, image_width) self.axes = 'YX' else: self.shape = (planes, samples_per_pixel, image_length, image_width) self.axes = 'SYX' # detect type of series if planes == 1: self.shape = self.shape[1:] elif numpy.all(self.uic2tag.z_distance != 0): self.axes = 'Z' + self.axes elif numpy.all(numpy.diff(self.uic2tag.time_created) != 0): self.axes = 'T' + self.axes else: self.axes = 'I' + self.axes # DISABLED if self.is_palette: assert False, "color mapping disabled for stk" elif self.is_palette: samples = 1 if 'extra_samples' in self.tags: samples += len(self.extra_samples) if self.is_contig: self._shape = (1, 1, image_depth, image_length, image_width, samples) else: self._shape = (1, samples, image_depth, image_length, image_width, 1) if self.color_map.shape[1] >= 2 ** self.bits_per_sample: if image_depth == 1: self.shape = (3, image_length, image_width) self.axes = 'CYX' else: self.shape = (3, image_depth, image_length, image_width) self.axes = 'CZYX' else: warnings.warn("palette cannot be applied") self.is_palette = False if image_depth == 1: self.shape = (image_length, image_width) self.axes = 'YX' else: self.shape = (image_depth, image_length, image_width) self.axes = 'ZYX' elif self.is_rgb or samples_per_pixel > 1: if self.is_contig: self._shape = (1, 1, image_depth, image_length, image_width, samples_per_pixel) if image_depth == 1: self.shape = (image_length, image_width, samples_per_pixel) self.axes = 'YXS' else: self.shape = (image_depth, image_length, image_width, samples_per_pixel) self.axes = 'ZYXS' else: self._shape = (1, samples_per_pixel, image_depth, image_length, image_width, 1) if image_depth == 1: self.shape = (samples_per_pixel, image_length, image_width) self.axes = 'SYX' else: self.shape = (samples_per_pixel, image_depth, image_length, image_width) self.axes = 'SZYX' if False and self.is_rgb and 'extra_samples' in self.tags: # DISABLED: only use RGB and first alpha channel if exists extra_samples = self.extra_samples if self.tags['extra_samples'].count == 1: extra_samples = (extra_samples, ) for exs in extra_samples: if exs in ('unassalpha', 'assocalpha', 'unspecified'): if self.is_contig: self.shape = self.shape[:-1] + (4,) else: self.shape = (4,) + self.shape[1:] break else: self._shape = (1, 1, image_depth, image_length, image_width, 1) if image_depth == 1: self.shape = (image_length, image_width) self.axes = 'YX' else: self.shape = (image_depth, image_length, image_width) self.axes = 'ZYX' if not self.compression and 'strip_byte_counts' not in tags: self.strip_byte_counts = ( product(self.shape) * (self.bits_per_sample // 8), ) assert len(self.shape) == len(self.axes) def asarray(self, squeeze=True, colormapped=True, rgbonly=False, scale_mdgel=False, memmap=False, reopen=True): """Read image data from file and return as numpy array. Raise ValueError if format is unsupported. If any of 'squeeze', 'colormapped', or 'rgbonly' are not the default, the shape of the returned array might be different from the page shape. Parameters ---------- squeeze : bool If True, all length-1 dimensions (except X and Y) are squeezed out from result. colormapped : bool If True, color mapping is applied for palette-indexed images. rgbonly : bool If True, return RGB(A) image without additional extra samples. memmap : bool If True, use numpy.memmap to read arrays from file if possible. For use on 64 bit systems and files with few huge contiguous data. reopen : bool If True and the parent file handle is closed, the file is temporarily re-opened (and closed if no exception occurs). scale_mdgel : bool If True, MD Gel data will be scaled according to the private metadata in the second TIFF page. The dtype will be float32. """ if not self._shape: return if self.dtype is None: raise ValueError("data type not supported: %s%i" % ( self.sample_format, self.bits_per_sample)) if self.compression not in TIFF_DECOMPESSORS: raise ValueError("cannot decompress %s" % self.compression) tag = self.tags['sample_format'] if tag.count != 1 and any((i - tag.value[0] for i in tag.value)): raise ValueError("sample formats don't match %s" % str(tag.value)) fh = self.parent.filehandle closed = fh.closed if closed: if reopen: fh.open() else: raise IOError("file handle is closed") dtype = self._dtype shape = self._shape image_width = self.image_width image_length = self.image_length image_depth = self.image_depth typecode = self.parent.byteorder + dtype bits_per_sample = self.bits_per_sample if self.is_tiled: if 'tile_offsets' in self.tags: byte_counts = self.tile_byte_counts offsets = self.tile_offsets else: byte_counts = self.strip_byte_counts offsets = self.strip_offsets tile_width = self.tile_width tile_length = self.tile_length tile_depth = self.tile_depth if 'tile_depth' in self.tags else 1 tw = (image_width + tile_width - 1) // tile_width tl = (image_length + tile_length - 1) // tile_length td = (image_depth + tile_depth - 1) // tile_depth shape = (shape[0], shape[1], td * tile_depth, tl * tile_length, tw * tile_width, shape[-1]) tile_shape = (tile_depth, tile_length, tile_width, shape[-1]) runlen = tile_width else: byte_counts = self.strip_byte_counts offsets = self.strip_offsets runlen = image_width if any(o < 2 for o in offsets): raise ValueError("corrupted page") if memmap and self._is_memmappable(rgbonly, colormapped): result = fh.memmap_array(typecode, shape, offset=offsets[0]) elif self.is_contiguous: fh.seek(offsets[0]) result = fh.read_array(typecode, product(shape)) result = result.astype('=' + dtype) else: if self.is_contig: runlen *= self.samples_per_pixel if bits_per_sample in (8, 16, 32, 64, 128): if (bits_per_sample * runlen) % 8: raise ValueError("data and sample size mismatch") def unpack(x): try: return numpy.fromstring(x, typecode) except ValueError as e: # strips may be missing EOI warnings.warn("unpack: %s" % e) xlen = ((len(x) // (bits_per_sample // 8)) * (bits_per_sample // 8)) return numpy.fromstring(x[:xlen], typecode) elif isinstance(bits_per_sample, tuple): def unpack(x): return unpackrgb(x, typecode, bits_per_sample) else: def unpack(x): return unpackints(x, typecode, bits_per_sample, runlen) decompress = TIFF_DECOMPESSORS[self.compression] if self.compression == 'jpeg': table = self.jpeg_tables if 'jpeg_tables' in self.tags else b'' decompress = lambda x: decodejpg(x, table, self.photometric) if self.is_tiled: result = numpy.empty(shape, dtype) tw, tl, td, pl = 0, 0, 0, 0 for offset, bytecount in zip(offsets, byte_counts): fh.seek(offset) tile = unpack(decompress(fh.read(bytecount))) tile.shape = tile_shape if self.predictor == 'horizontal': numpy.cumsum(tile, axis=-2, dtype=dtype, out=tile) result[0, pl, td:td + tile_depth, tl:tl + tile_length, tw:tw + tile_width, :] = tile del tile tw += tile_width if tw >= shape[4]: tw, tl = 0, tl + tile_length if tl >= shape[3]: tl, td = 0, td + tile_depth if td >= shape[2]: td, pl = 0, pl + 1 result = result[..., :image_depth, :image_length, :image_width, :] else: strip_size = (self.rows_per_strip * self.image_width * self.samples_per_pixel) result = numpy.empty(shape, dtype).reshape(-1) index = 0 for offset, bytecount in zip(offsets, byte_counts): fh.seek(offset) strip = fh.read(bytecount) strip = decompress(strip) strip = unpack(strip) size = min(result.size, strip.size, strip_size, result.size - index) result[index:index + size] = strip[:size] del strip index += size result.shape = self._shape if self.predictor == 'horizontal' and not (self.is_tiled and not self.is_contiguous): # work around bug in LSM510 software if not (self.parent.is_lsm and not self.compression): numpy.cumsum(result, axis=-2, dtype=dtype, out=result) if colormapped and self.is_palette: if self.color_map.shape[1] >= 2 ** bits_per_sample: # FluoView and LSM might fail here result = numpy.take(self.color_map, result[:, 0, :, :, :, 0], axis=1) elif rgbonly and self.is_rgb and 'extra_samples' in self.tags: # return only RGB and first alpha channel if exists extra_samples = self.extra_samples if self.tags['extra_samples'].count == 1: extra_samples = (extra_samples, ) for i, exs in enumerate(extra_samples): if exs in ('unassalpha', 'assocalpha', 'unspecified'): if self.is_contig: result = result[..., [0, 1, 2, 3 + i]] else: result = result[:, [0, 1, 2, 3 + i]] break else: if self.is_contig: result = result[..., :3] else: result = result[:, :3] if squeeze: try: result.shape = self.shape except ValueError: warnings.warn("failed to reshape from %s to %s" % ( str(result.shape), str(self.shape))) if scale_mdgel and self.parent.is_mdgel: # MD Gel stores private metadata in the second page tags = self.parent.pages[1] if tags.md_file_tag in (2, 128): scale = tags.md_scale_pixel scale = scale[0] / scale[1] # rational result = result.astype('float32') if tags.md_file_tag == 2: result **= 2 # squary root data format result *= scale if closed: # TODO: file remains open if an exception occurred above fh.close() return result def _is_memmappable(self, rgbonly, colormapped): """Return if image data in file can be memory mapped.""" if not self.parent.filehandle.is_file or not self.is_contiguous: return False return not (self.predictor or (rgbonly and 'extra_samples' in self.tags) or (colormapped and self.is_palette) or ({'big': '>', 'little': '<'}[sys.byteorder] != self.parent.byteorder)) @lazyattr def is_contiguous(self): """Return offset and size of contiguous data, else None. Excludes prediction and colormapping. """ if self.compression or self.bits_per_sample not in (8, 16, 32, 64): return if self.is_tiled: if (self.image_width != self.tile_width or self.image_length % self.tile_length or self.tile_width % 16 or self.tile_length % 16): return if ('image_depth' in self.tags and 'tile_depth' in self.tags and (self.image_length != self.tile_length or self.image_depth % self.tile_depth)): return offsets = self.tile_offsets byte_counts = self.tile_byte_counts else: offsets = self.strip_offsets byte_counts = self.strip_byte_counts if len(offsets) == 1: return offsets[0], byte_counts[0] if self.is_stk or all(offsets[i] + byte_counts[i] == offsets[i + 1] # no data/ignore offset or byte_counts[i + 1] == 0 for i in range(len(offsets) - 1)): return offsets[0], sum(byte_counts) def __str__(self): """Return string containing information about page.""" s = ', '.join(s for s in ( ' x '.join(str(i) for i in self.shape), str(numpy.dtype(self.dtype)), '%s bit' % str(self.bits_per_sample), self.photometric if 'photometric' in self.tags else '', self.compression if self.compression else 'raw', '|'.join(t[3:] for t in ( 'is_stk', 'is_lsm', 'is_nih', 'is_ome', 'is_imagej', 'is_micromanager', 'is_fluoview', 'is_mdgel', 'is_mediacy', 'is_sgi', 'is_reduced', 'is_tiled', 'is_contiguous') if getattr(self, t))) if s) return "Page %i: %s" % (self.index, s) def __getattr__(self, name): """Return tag value.""" if name in self.tags: value = self.tags[name].value setattr(self, name, value) return value raise AttributeError(name) @lazyattr def uic_tags(self): """Consolidate UIC tags.""" if not self.is_stk: raise AttributeError("uic_tags") tags = self.tags result = Record() result.number_planes = tags['uic2tag'].count if 'image_description' in tags: result.plane_descriptions = self.image_description.split(b'\x00') if 'uic1tag' in tags: result.update(tags['uic1tag'].value) if 'uic3tag' in tags: result.update(tags['uic3tag'].value) # wavelengths if 'uic4tag' in tags: result.update(tags['uic4tag'].value) # override uic1 tags uic2tag = tags['uic2tag'].value result.z_distance = uic2tag.z_distance result.time_created = uic2tag.time_created result.time_modified = uic2tag.time_modified try: result.datetime_created = [ julian_datetime(*dt) for dt in zip(uic2tag.date_created, uic2tag.time_created)] result.datetime_modified = [ julian_datetime(*dt) for dt in zip(uic2tag.date_modified, uic2tag.time_modified)] except ValueError as e: warnings.warn("uic_tags: %s" % e) return result @lazyattr def imagej_tags(self): """Consolidate ImageJ metadata.""" if not self.is_imagej: raise AttributeError("imagej_tags") tags = self.tags if 'image_description_1' in tags: # MicroManager result = imagej_description(tags['image_description_1'].value) else: result = imagej_description(tags['image_description'].value) if 'imagej_metadata' in tags: try: result.update(imagej_metadata( tags['imagej_metadata'].value, tags['imagej_byte_counts'].value, self.parent.byteorder)) except Exception as e: warnings.warn(str(e)) return Record(result) @lazyattr def is_rgb(self): """True if page contains a RGB image.""" return ('photometric' in self.tags and self.tags['photometric'].value == 2) @lazyattr def is_contig(self): """True if page contains a contiguous image.""" return ('planar_configuration' in self.tags and self.tags['planar_configuration'].value == 1) @lazyattr def is_palette(self): """True if page contains a palette-colored image and not OME or STK.""" try: # turn off color mapping for OME-TIFF and STK if self.is_stk or self.is_ome or self.parent.is_ome: return False except IndexError: pass # OME-XML not found in first page return ('photometric' in self.tags and self.tags['photometric'].value == 3) @lazyattr def is_tiled(self): """True if page contains tiled image.""" return 'tile_width' in self.tags @lazyattr def is_reduced(self): """True if page is a reduced image of another image.""" return bool(self.tags['new_subfile_type'].value & 1) @lazyattr def is_mdgel(self): """True if page contains md_file_tag tag.""" return 'md_file_tag' in self.tags @lazyattr def is_mediacy(self): """True if page contains Media Cybernetics Id tag.""" return ('mc_id' in self.tags and self.tags['mc_id'].value.startswith(b'MC TIFF')) @lazyattr def is_stk(self): """True if page contains UIC2Tag tag.""" return 'uic2tag' in self.tags @lazyattr def is_lsm(self): """True if page contains LSM CZ_LSM_INFO tag.""" return 'cz_lsm_info' in self.tags @lazyattr def is_fluoview(self): """True if page contains FluoView MM_STAMP tag.""" return 'mm_stamp' in self.tags @lazyattr def is_nih(self): """True if page contains NIH image header.""" return 'nih_image_header' in self.tags @lazyattr def is_sgi(self): """True if page contains SGI image and tile depth tags.""" return 'image_depth' in self.tags and 'tile_depth' in self.tags @lazyattr def is_ome(self): """True if page contains OME-XML in image_description tag.""" return ('image_description' in self.tags and self.tags[ 'image_description'].value.startswith(b'<?xml version=')) @lazyattr def is_shaped(self): """True if page contains shape in image_description tag.""" return ('image_description' in self.tags and self.tags[ 'image_description'].value.startswith(b'shape=(')) @lazyattr def is_imagej(self): """True if page contains ImageJ description.""" return ( ('image_description' in self.tags and self.tags['image_description'].value.startswith(b'ImageJ=')) or ('image_description_1' in self.tags and # Micromanager self.tags['image_description_1'].value.startswith(b'ImageJ='))) @lazyattr def is_micromanager(self): """True if page contains Micro-Manager metadata.""" return 'micromanager_metadata' in self.tags class TiffTag(object): """A TIFF tag structure. Attributes ---------- name : string Attribute name of tag. code : int Decimal code of tag. dtype : str Datatype of tag data. One of TIFF_DATA_TYPES. count : int Number of values. value : various types Tag data as Python object. value_offset : int Location of value in file, if any. All attributes are read-only. """ __slots__ = ('code', 'name', 'count', 'dtype', 'value', 'value_offset', '_offset', '_value', '_type') class Error(Exception): pass def __init__(self, arg, **kwargs): """Initialize instance from file or arguments.""" self._offset = None if hasattr(arg, '_fh'): self._fromfile(arg) else: self._fromdata(arg, **kwargs) def _fromdata(self, code, dtype, count, value, name=None): """Initialize instance from arguments.""" self.code = int(code) self.name = name if name else str(code) self.dtype = TIFF_DATA_TYPES[dtype] self.count = int(count) self.value = value self._value = value self._type = dtype def _fromfile(self, parent): """Read tag structure from open file. Advance file cursor.""" fh = parent.filehandle byteorder = parent.byteorder self._offset = fh.tell() self.value_offset = self._offset + parent.offset_size + 4 fmt, size = {4: ('HHI4s', 12), 8: ('HHQ8s', 20)}[parent.offset_size] data = fh.read(size) code, dtype = struct.unpack(byteorder + fmt[:2], data[:4]) count, value = struct.unpack(byteorder + fmt[2:], data[4:]) self._value = value self._type = dtype if code in TIFF_TAGS: name = TIFF_TAGS[code][0] elif code in CUSTOM_TAGS: name = CUSTOM_TAGS[code][0] else: name = str(code) try: dtype = TIFF_DATA_TYPES[self._type] except KeyError: raise TiffTag.Error("unknown tag data type %i" % self._type) fmt = '%s%i%s' % (byteorder, count * int(dtype[0]), dtype[1]) size = struct.calcsize(fmt) if size > parent.offset_size or code in CUSTOM_TAGS: pos = fh.tell() tof = {4: 'I', 8: 'Q'}[parent.offset_size] self.value_offset = offset = struct.unpack( byteorder + tof, value)[0] if offset < 0 or offset > parent.filehandle.size: raise TiffTag.Error("corrupt file - invalid tag value offset") elif offset < 4: raise TiffTag.Error("corrupt value offset for tag %i" % code) fh.seek(offset) if code in CUSTOM_TAGS: readfunc = CUSTOM_TAGS[code][1] value = readfunc(fh, byteorder, dtype, count) if isinstance(value, dict): # numpy.core.records.record value = Record(value) elif code in TIFF_TAGS or dtype[-1] == 's': value = struct.unpack(fmt, fh.read(size)) else: value = read_numpy(fh, byteorder, dtype, count) fh.seek(pos) else: value = struct.unpack(fmt, value[:size]) if code not in CUSTOM_TAGS and code not in (273, 279, 324, 325): # scalar value if not strip/tile offsets/byte_counts if len(value) == 1: value = value[0] if (dtype.endswith('s') and isinstance(value, bytes) and self._type != 7): # TIFF ASCII fields can contain multiple strings, # each terminated with a NUL value = stripascii(value) self.code = code self.name = name self.dtype = dtype self.count = count self.value = value def _correct_lsm_bitspersample(self, parent): """Correct LSM bitspersample tag. Old LSM writers may use a separate region for two 16-bit values, although they fit into the tag value element of the tag. """ if self.code == 258 and self.count == 2: # TODO: test this. Need example file. warnings.warn("correcting LSM bitspersample tag") fh = parent.filehandle tof = {4: '<I', 8: '<Q'}[parent.offset_size] self.value_offset = struct.unpack(tof, self._value)[0] fh.seek(self.value_offset) self.value = struct.unpack("<HH", fh.read(4)) def as_str(self): """Return value as human readable string.""" return ((str(self.value).split('\n', 1)[0]) if (self._type != 7) else '<undefined>') def __str__(self): """Return string containing information about tag.""" return ' '.join(str(getattr(self, s)) for s in self.__slots__) class TiffSequence(object): """Sequence of image files. The data shape and dtype of all files must match. Properties ---------- files : list List of file names. shape : tuple Shape of image sequence. axes : str Labels of axes in shape. Examples -------- >>> tifs = TiffSequence("test.oif.files/*.tif") >>> tifs.shape, tifs.axes ((2, 100), 'CT') >>> data = tifs.asarray() >>> data.shape (2, 100, 256, 256) """ _patterns = { 'axes': r""" # matches Olympus OIF and Leica TIFF series _?(?:(q|l|p|a|c|t|x|y|z|ch|tp)(\d{1,4})) _?(?:(q|l|p|a|c|t|x|y|z|ch|tp)(\d{1,4}))? _?(?:(q|l|p|a|c|t|x|y|z|ch|tp)(\d{1,4}))? _?(?:(q|l|p|a|c|t|x|y|z|ch|tp)(\d{1,4}))? _?(?:(q|l|p|a|c|t|x|y|z|ch|tp)(\d{1,4}))? _?(?:(q|l|p|a|c|t|x|y|z|ch|tp)(\d{1,4}))? _?(?:(q|l|p|a|c|t|x|y|z|ch|tp)(\d{1,4}))? """} class ParseError(Exception): pass def __init__(self, files, imread=TiffFile, pattern='axes', *args, **kwargs): """Initialize instance from multiple files. Parameters ---------- files : str, or sequence of str Glob pattern or sequence of file names. imread : function or class Image read function or class with asarray function returning numpy array from single file. pattern : str Regular expression pattern that matches axes names and sequence indices in file names. By default this matches Olympus OIF and Leica TIFF series. """ if isinstance(files, str): files = natural_sorted(glob.glob(files)) files = list(files) if not files: raise ValueError("no files found") # if not os.path.isfile(files[0]): # raise ValueError("file not found") self.files = files if hasattr(imread, 'asarray'): # redefine imread _imread = imread def imread(fname, *args, **kwargs): with _imread(fname) as im: return im.asarray(*args, **kwargs) self.imread = imread self.pattern = self._patterns.get(pattern, pattern) try: self._parse() if not self.axes: self.axes = 'I' except self.ParseError: self.axes = 'I' self.shape = (len(files),) self._start_index = (0,) self._indices = tuple((i,) for i in range(len(files))) def __str__(self): """Return string with information about image sequence.""" return "\n".join([ self.files[0], '* files: %i' % len(self.files), '* axes: %s' % self.axes, '* shape: %s' % str(self.shape)]) def __len__(self): return len(self.files) def __enter__(self): return self def __exit__(self, exc_type, exc_value, traceback): self.close() def close(self): pass def asarray(self, memmap=False, *args, **kwargs): """Read image data from all files and return as single numpy array. If memmap is True, return an array stored in a binary file on disk. The args and kwargs parameters are passed to the imread function. Raise IndexError or ValueError if image shapes don't match. """ im = self.imread(self.files[0], *args, **kwargs) shape = self.shape + im.shape if memmap: with tempfile.NamedTemporaryFile() as fh: result = numpy.memmap(fh, dtype=im.dtype, shape=shape) else: result = numpy.zeros(shape, dtype=im.dtype) result = result.reshape(-1, *im.shape) for index, fname in zip(self._indices, self.files): index = [i - j for i, j in zip(index, self._start_index)] index = numpy.ravel_multi_index(index, self.shape) im = self.imread(fname, *args, **kwargs) result[index] = im result.shape = shape return result def _parse(self): """Get axes and shape from file names.""" if not self.pattern: raise self.ParseError("invalid pattern") pattern = re.compile(self.pattern, re.IGNORECASE | re.VERBOSE) matches = pattern.findall(self.files[0]) if not matches: raise self.ParseError("pattern doesn't match file names") matches = matches[-1] if len(matches) % 2: raise self.ParseError("pattern doesn't match axis name and index") axes = ''.join(m for m in matches[::2] if m) if not axes: raise self.ParseError("pattern doesn't match file names") indices = [] for fname in self.files: matches = pattern.findall(fname)[-1] if axes != ''.join(m for m in matches[::2] if m): raise ValueError("axes don't match within the image sequence") indices.append([int(m) for m in matches[1::2] if m]) shape = tuple(numpy.max(indices, axis=0)) start_index = tuple(numpy.min(indices, axis=0)) shape = tuple(i - j + 1 for i, j in zip(shape, start_index)) if product(shape) != len(self.files): warnings.warn("files are missing. Missing data are zeroed") self.axes = axes.upper() self.shape = shape self._indices = indices self._start_index = start_index class Record(dict): """Dictionary with attribute access. Can also be initialized with numpy.core.records.record. """ __slots__ = () def __init__(self, arg=None, **kwargs): if kwargs: arg = kwargs elif arg is None: arg = {} try: dict.__init__(self, arg) except (TypeError, ValueError): for i, name in enumerate(arg.dtype.names): v = arg[i] self[name] = v if v.dtype.char != 'S' else stripnull(v) def __getattr__(self, name): return self[name] def __setattr__(self, name, value): self.__setitem__(name, value) def __str__(self): """Pretty print Record.""" s = [] lists = [] for k in sorted(self): try: if k.startswith('_'): # does not work with byte continue except AttributeError: pass v = self[k] if isinstance(v, (list, tuple)) and len(v): if isinstance(v[0], Record): lists.append((k, v)) continue elif isinstance(v[0], TiffPage): v = [i.index for i in v if i] s.append( ("* %s: %s" % (k, str(v))).split("\n", 1)[0] [:PRINT_LINE_LEN].rstrip()) for k, v in lists: l = [] for i, w in enumerate(v): l.append("* %s[%i]\n %s" % (k, i, str(w).replace("\n", "\n "))) s.append('\n'.join(l)) return '\n'.join(s) class TiffTags(Record): """Dictionary of TiffTag with attribute access.""" def __str__(self): """Return string with information about all tags.""" s = [] for tag in sorted(self.values(), key=lambda x: x.code): typecode = "%i%s" % (tag.count * int(tag.dtype[0]), tag.dtype[1]) line = "* %i %s (%s) %s" % ( tag.code, tag.name, typecode, tag.as_str()) s.append(line[:PRINT_LINE_LEN].lstrip()) return '\n'.join(s) class FileHandle(object): """Binary file handle. * Handle embedded files (for CZI within CZI files). * Allow to re-open closed files (for multi file formats such as OME-TIFF). * Read numpy arrays and records from file like objects. Only binary read, seek, tell, and close are supported on embedded files. When initialized from another file handle, do not use it unless this FileHandle is closed. Attributes ---------- name : str Name of the file. path : str Absolute path to file. size : int Size of file in bytes. is_file : bool If True, file has a filno and can be memory mapped. All attributes are read-only. """ __slots__ = ('_fh', '_arg', '_mode', '_name', '_dir', '_offset', '_size', '_close', 'is_file') def __init__(self, arg, mode='rb', name=None, offset=None, size=None): """Initialize file handle from file name or another file handle. Parameters ---------- arg : str, File, or FileHandle File name or open file handle. mode : str File open mode in case 'arg' is a file name. name : str Optional name of file in case 'arg' is a file handle. offset : int Optional start position of embedded file. By default this is the current file position. size : int Optional size of embedded file. By default this is the number of bytes from the 'offset' to the end of the file. """ self._fh = None self._arg = arg self._mode = mode self._name = name self._dir = '' self._offset = offset self._size = size self._close = True self.is_file = False self.open() def open(self): """Open or re-open file.""" if self._fh: return # file is open if isinstance(self._arg, str): # file name self._arg = os.path.abspath(self._arg) self._dir, self._name = os.path.split(self._arg) self._fh = open(self._arg, self._mode) self._close = True if self._offset is None: self._offset = 0 elif isinstance(self._arg, FileHandle): # FileHandle self._fh = self._arg._fh if self._offset is None: self._offset = 0 self._offset += self._arg._offset self._close = False if not self._name: if self._offset: name, ext = os.path.splitext(self._arg._name) self._name = "%s@%i%s" % (name, self._offset, ext) else: self._name = self._arg._name self._dir = self._arg._dir else: # open file object self._fh = self._arg if self._offset is None: self._offset = self._arg.tell() self._close = False if not self._name: try: self._dir, self._name = os.path.split(self._fh.name) except AttributeError: self._name = "Unnamed stream" if self._offset: self._fh.seek(self._offset) if self._size is None: pos = self._fh.tell() self._fh.seek(self._offset, 2) self._size = self._fh.tell() self._fh.seek(pos) try: self._fh.fileno() self.is_file = True except Exception: self.is_file = False def read(self, size=-1): """Read 'size' bytes from file, or until EOF is reached.""" if size < 0 and self._offset: size = self._size return self._fh.read(size) def memmap_array(self, dtype, shape, offset=0, mode='r', order='C'): """Return numpy.memmap of data stored in file.""" if not self.is_file: raise ValueError("Can not memory map file without fileno.") return numpy.memmap(self._fh, dtype=dtype, mode=mode, offset=self._offset + offset, shape=shape, order=order) def read_array(self, dtype, count=-1, sep=""): """Return numpy array from file. Work around numpy issue #2230, "numpy.fromfile does not accept StringIO object" https://github.com/numpy/numpy/issues/2230. """ try: return numpy.fromfile(self._fh, dtype, count, sep) except IOError: if count < 0: size = self._size else: size = count * numpy.dtype(dtype).itemsize data = self._fh.read(size) return numpy.fromstring(data, dtype, count, sep) def read_record(self, dtype, shape=1, byteorder=None): """Return numpy record from file.""" try: rec = numpy.rec.fromfile(self._fh, dtype, shape, byteorder=byteorder) except Exception: dtype = numpy.dtype(dtype) if shape is None: shape = self._size // dtype.itemsize size = product(sequence(shape)) * dtype.itemsize data = self._fh.read(size) return numpy.rec.fromstring(data, dtype, shape, byteorder=byteorder) return rec[0] if shape == 1 else rec def tell(self): """Return file's current position.""" return self._fh.tell() - self._offset def seek(self, offset, whence=0): """Set file's current position.""" if self._offset: if whence == 0: self._fh.seek(self._offset + offset, whence) return elif whence == 2: self._fh.seek(self._offset + self._size + offset, 0) return self._fh.seek(offset, whence) def close(self): """Close file.""" if self._close and self._fh: self._fh.close() self._fh = None self.is_file = False def __enter__(self): return self def __exit__(self, exc_type, exc_value, traceback): self.close() def __getattr__(self, name): """Return attribute from underlying file object.""" if self._offset: warnings.warn( "FileHandle: '%s' not implemented for embedded files" % name) return getattr(self._fh, name) @property def name(self): return self._name @property def dirname(self): return self._dir @property def path(self): return os.path.join(self._dir, self._name) @property def size(self): return self._size @property def closed(self): return self._fh is None def read_bytes(fh, byteorder, dtype, count): """Read tag data from file and return as byte string.""" dtype = 'b' if dtype[-1] == 's' else byteorder + dtype[-1] return fh.read_array(dtype, count).tostring() def read_numpy(fh, byteorder, dtype, count): """Read tag data from file and return as numpy array.""" dtype = 'b' if dtype[-1] == 's' else byteorder + dtype[-1] return fh.read_array(dtype, count) def read_json(fh, byteorder, dtype, count): """Read JSON tag data from file and return as object.""" data = fh.read(count) try: return json.loads(str(stripnull(data), 'utf-8')) except ValueError: warnings.warn("invalid JSON `%s`" % data) def read_mm_header(fh, byteorder, dtype, count): """Read MM_HEADER tag from file and return as numpy.rec.array.""" return fh.read_record(MM_HEADER, byteorder=byteorder) def read_mm_stamp(fh, byteorder, dtype, count): """Read MM_STAMP tag from file and return as numpy.array.""" return fh.read_array(byteorder + 'f8', 8) def read_uic1tag(fh, byteorder, dtype, count, plane_count=None): """Read MetaMorph STK UIC1Tag from file and return as dictionary. Return empty dictionary if plane_count is unknown. """ assert dtype in ('2I', '1I') and byteorder == '<' result = {} if dtype == '2I': # pre MetaMorph 2.5 (not tested) values = fh.read_array('<u4', 2 * count).reshape(count, 2) result = {'z_distance': values[:, 0] / values[:, 1]} elif plane_count: for i in range(count): tagid = struct.unpack('<I', fh.read(4))[0] if tagid in (28, 29, 37, 40, 41): # silently skip unexpected tags fh.read(4) continue name, value = read_uic_tag(fh, tagid, plane_count, offset=True) result[name] = value return result def read_uic2tag(fh, byteorder, dtype, plane_count): """Read MetaMorph STK UIC2Tag from file and return as dictionary.""" assert dtype == '2I' and byteorder == '<' values = fh.read_array('<u4', 6 * plane_count).reshape(plane_count, 6) return { 'z_distance': values[:, 0] / values[:, 1], 'date_created': values[:, 2], # julian days 'time_created': values[:, 3], # milliseconds 'date_modified': values[:, 4], # julian days 'time_modified': values[:, 5], # milliseconds } def read_uic3tag(fh, byteorder, dtype, plane_count): """Read MetaMorph STK UIC3Tag from file and return as dictionary.""" assert dtype == '2I' and byteorder == '<' values = fh.read_array('<u4', 2 * plane_count).reshape(plane_count, 2) return {'wavelengths': values[:, 0] / values[:, 1]} def read_uic4tag(fh, byteorder, dtype, plane_count): """Read MetaMorph STK UIC4Tag from file and return as dictionary.""" assert dtype == '1I' and byteorder == '<' result = {} while True: tagid = struct.unpack('<H', fh.read(2))[0] if tagid == 0: break name, value = read_uic_tag(fh, tagid, plane_count, offset=False) result[name] = value return result def read_uic_tag(fh, tagid, plane_count, offset): """Read a single UIC tag value from file and return tag name and value. UIC1Tags use an offset. """ def read_int(count=1): value = struct.unpack('<%iI' % count, fh.read(4 * count)) return value[0] if count == 1 else value try: name, dtype = UIC_TAGS[tagid] except KeyError: # unknown tag return '_tagid_%i' % tagid, read_int() if offset: pos = fh.tell() if dtype not in (int, None): off = read_int() if off < 8: warnings.warn("invalid offset for uic tag '%s': %i" % (name, off)) return name, off fh.seek(off) if dtype is None: # skip name = '_' + name value = read_int() elif dtype is int: # int value = read_int() elif dtype is Fraction: # fraction value = read_int(2) value = value[0] / value[1] elif dtype is julian_datetime: # datetime value = julian_datetime(*read_int(2)) elif dtype is read_uic_image_property: # ImagePropertyEx value = read_uic_image_property(fh) elif dtype is str: # pascal string size = read_int() if 0 <= size < 2 ** 10: value = struct.unpack('%is' % size, fh.read(size))[0][:-1] value = stripnull(value) elif offset: value = '' warnings.warn("corrupt string in uic tag '%s'" % name) else: raise ValueError("invalid string size %i" % size) elif dtype == '%ip': # sequence of pascal strings value = [] for i in range(plane_count): size = read_int() if 0 <= size < 2 ** 10: string = struct.unpack('%is' % size, fh.read(size))[0][:-1] string = stripnull(string) value.append(string) elif offset: warnings.warn("corrupt string in uic tag '%s'" % name) else: raise ValueError("invalid string size %i" % size) else: # struct or numpy type dtype = '<' + dtype if '%i' in dtype: dtype = dtype % plane_count if '(' in dtype: # numpy type value = fh.read_array(dtype, 1)[0] if value.shape[-1] == 2: # assume fractions value = value[..., 0] / value[..., 1] else: # struct format value = struct.unpack(dtype, fh.read(struct.calcsize(dtype))) if len(value) == 1: value = value[0] if offset: fh.seek(pos + 4) return name, value def read_uic_image_property(fh): """Read UIC ImagePropertyEx tag from file and return as dict.""" # TODO: test this size = struct.unpack('B', fh.read(1))[0] name = struct.unpack('%is' % size, fh.read(size))[0][:-1] flags, prop = struct.unpack('<IB', fh.read(5)) if prop == 1: value = struct.unpack('II', fh.read(8)) value = value[0] / value[1] else: size = struct.unpack('B', fh.read(1))[0] value = struct.unpack('%is' % size, fh.read(size))[0] return dict(name=name, flags=flags, value=value) def read_cz_lsm_info(fh, byteorder, dtype, count): """Read CS_LSM_INFO tag from file and return as numpy.rec.array.""" assert byteorder == '<' magic_number, structure_size = struct.unpack('<II', fh.read(8)) if magic_number not in (50350412, 67127628): raise ValueError("not a valid CS_LSM_INFO structure") fh.seek(-8, 1) if structure_size < numpy.dtype(CZ_LSM_INFO).itemsize: # adjust structure according to structure_size cz_lsm_info = [] size = 0 for name, dtype in CZ_LSM_INFO: size += numpy.dtype(dtype).itemsize if size > structure_size: break cz_lsm_info.append((name, dtype)) else: cz_lsm_info = CZ_LSM_INFO return fh.read_record(cz_lsm_info, byteorder=byteorder) def read_cz_lsm_floatpairs(fh): """Read LSM sequence of float pairs from file and return as list.""" size = struct.unpack('<i', fh.read(4))[0] return fh.read_array('<2f8', count=size) def read_cz_lsm_positions(fh): """Read LSM positions from file and return as list.""" size = struct.unpack('<I', fh.read(4))[0] return fh.read_array('<2f8', count=size) def read_cz_lsm_time_stamps(fh): """Read LSM time stamps from file and return as list.""" size, count = struct.unpack('<ii', fh.read(8)) if size != (8 + 8 * count): raise ValueError("lsm_time_stamps block is too short") # return struct.unpack('<%dd' % count, fh.read(8*count)) return fh.read_array('<f8', count=count) def read_cz_lsm_event_list(fh): """Read LSM events from file and return as list of (time, type, text).""" count = struct.unpack('<II', fh.read(8))[1] events = [] while count > 0: esize, etime, etype = struct.unpack('<IdI', fh.read(16)) etext = stripnull(fh.read(esize - 16)) events.append((etime, etype, etext)) count -= 1 return events def read_cz_lsm_scan_info(fh): """Read LSM scan information from file and return as Record.""" block = Record() blocks = [block] unpack = struct.unpack if 0x10000000 != struct.unpack('<I', fh.read(4))[0]: # not a Recording sub block raise ValueError("not a lsm_scan_info structure") fh.read(8) while True: entry, dtype, size = unpack('<III', fh.read(12)) if dtype == 2: # ascii value = stripnull(fh.read(size)) elif dtype == 4: # long value = unpack('<i', fh.read(4))[0] elif dtype == 5: # rational value = unpack('<d', fh.read(8))[0] else: value = 0 if entry in CZ_LSM_SCAN_INFO_ARRAYS: blocks.append(block) name = CZ_LSM_SCAN_INFO_ARRAYS[entry] newobj = [] setattr(block, name, newobj) block = newobj elif entry in CZ_LSM_SCAN_INFO_STRUCTS: blocks.append(block) newobj = Record() block.append(newobj) block = newobj elif entry in CZ_LSM_SCAN_INFO_ATTRIBUTES: name = CZ_LSM_SCAN_INFO_ATTRIBUTES[entry] setattr(block, name, value) elif entry == 0xffffffff: # end sub block block = blocks.pop() else: # unknown entry setattr(block, "entry_0x%x" % entry, value) if not blocks: break return block def read_nih_image_header(fh, byteorder, dtype, count): """Read NIH_IMAGE_HEADER tag from file and return as numpy.rec.array.""" a = fh.read_record(NIH_IMAGE_HEADER, byteorder=byteorder) a = a.newbyteorder(byteorder) a.xunit = a.xunit[:a._xunit_len] a.um = a.um[:a._um_len] return a def read_micromanager_metadata(fh): """Read MicroManager non-TIFF settings from open file and return as dict. The settings can be used to read image data without parsing the TIFF file. Raise ValueError if file does not contain valid MicroManager metadata. """ fh.seek(0) try: byteorder = {b'II': '<', b'MM': '>'}[fh.read(2)] except IndexError: raise ValueError("not a MicroManager TIFF file") results = {} fh.seek(8) (index_header, index_offset, display_header, display_offset, comments_header, comments_offset, summary_header, summary_length ) = struct.unpack(byteorder + "IIIIIIII", fh.read(32)) if summary_header != 2355492: raise ValueError("invalid MicroManager summary_header") results['summary'] = read_json(fh, byteorder, None, summary_length) if index_header != 54773648: raise ValueError("invalid MicroManager index_header") fh.seek(index_offset) header, count = struct.unpack(byteorder + "II", fh.read(8)) if header != 3453623: raise ValueError("invalid MicroManager index_header") data = struct.unpack(byteorder + "IIIII" * count, fh.read(20 * count)) results['index_map'] = { 'channel': data[::5], 'slice': data[1::5], 'frame': data[2::5], 'position': data[3::5], 'offset': data[4::5]} if display_header != 483765892: raise ValueError("invalid MicroManager display_header") fh.seek(display_offset) header, count = struct.unpack(byteorder + "II", fh.read(8)) if header != 347834724: raise ValueError("invalid MicroManager display_header") results['display_settings'] = read_json(fh, byteorder, None, count) if comments_header != 99384722: raise ValueError("invalid MicroManager comments_header") fh.seek(comments_offset) header, count = struct.unpack(byteorder + "II", fh.read(8)) if header != 84720485: raise ValueError("invalid MicroManager comments_header") results['comments'] = read_json(fh, byteorder, None, count) return results def imagej_metadata(data, bytecounts, byteorder): """Return dict from ImageJ metadata tag value.""" _str = str if sys.version_info[0] < 3 else lambda x: str(x, 'cp1252') def read_string(data, byteorder): return _str(stripnull(data[0 if byteorder == '<' else 1::2])) def read_double(data, byteorder): return struct.unpack(byteorder + ('d' * (len(data) // 8)), data) def read_bytes(data, byteorder): # return struct.unpack('b' * len(data), data) return numpy.fromstring(data, 'uint8') metadata_types = { # big endian b'info': ('info', read_string), b'labl': ('labels', read_string), b'rang': ('ranges', read_double), b'luts': ('luts', read_bytes), b'roi ': ('roi', read_bytes), b'over': ('overlays', read_bytes)} metadata_types.update( # little endian dict((k[::-1], v) for k, v in metadata_types.items())) if not bytecounts: raise ValueError("no ImageJ metadata") if not data[:4] in (b'IJIJ', b'JIJI'): raise ValueError("invalid ImageJ metadata") header_size = bytecounts[0] if header_size < 12 or header_size > 804: raise ValueError("invalid ImageJ metadata header size") ntypes = (header_size - 4) // 8 header = struct.unpack(byteorder + '4sI' * ntypes, data[4:4 + ntypes * 8]) pos = 4 + ntypes * 8 counter = 0 result = {} for mtype, count in zip(header[::2], header[1::2]): values = [] name, func = metadata_types.get(mtype, (_str(mtype), read_bytes)) for _ in range(count): counter += 1 pos1 = pos + bytecounts[counter] values.append(func(data[pos:pos1], byteorder)) pos = pos1 result[name.strip()] = values[0] if count == 1 else values return result def imagej_description(description): """Return dict from ImageJ image_description tag.""" def _bool(val): return {b'true': True, b'false': False}[val.lower()] _str = str if sys.version_info[0] < 3 else lambda x: str(x, 'cp1252') result = {} for line in description.splitlines(): try: key, val = line.split(b'=') except Exception: continue key = key.strip() val = val.strip() for dtype in (int, float, _bool, _str): try: val = dtype(val) break except Exception: pass result[_str(key)] = val return result def _replace_by(module_function, package=None, warn=False): """Try replace decorated function by module.function.""" try: from importlib import import_module except ImportError: warnings.warn('could not import module importlib') return lambda func: func def decorate(func, module_function=module_function, warn=warn): try: module, function = module_function.split('.') if not package: module = import_module(module) else: module = import_module('.' + module, package=package) func, oldfunc = getattr(module, function), func globals()['__old_' + func.__name__] = oldfunc except Exception: if warn: warnings.warn("failed to import %s" % module_function) return func return decorate def decodejpg(encoded, tables=b'', photometric=None, ycbcr_subsampling=None, ycbcr_positioning=None): """Decode JPEG encoded byte string (using _czifile extension module).""" import _czifile image = _czifile.decodejpg(encoded, tables) if photometric == 'rgb' and ycbcr_subsampling and ycbcr_positioning: # TODO: convert YCbCr to RGB pass return image.tostring() @_replace_by('_tifffile.decodepackbits') def decodepackbits(encoded): """Decompress PackBits encoded byte string. PackBits is a simple byte-oriented run-length compression scheme. """ func = ord if sys.version[0] == '2' else lambda x: x result = [] result_extend = result.extend i = 0 try: while True: n = func(encoded[i]) + 1 i += 1 if n < 129: result_extend(encoded[i:i + n]) i += n elif n > 129: result_extend(encoded[i:i + 1] * (258 - n)) i += 1 except IndexError: pass return b''.join(result) if sys.version[0] == '2' else bytes(result) @_replace_by('_tifffile.decodelzw') def decodelzw(encoded): """Decompress LZW (Lempel-Ziv-Welch) encoded TIFF strip (byte string). The strip must begin with a CLEAR code and end with an EOI code. This is an implementation of the LZW decoding algorithm described in (1). It is not compatible with old style LZW compressed files like quad-lzw.tif. """ len_encoded = len(encoded) bitcount_max = len_encoded * 8 unpack = struct.unpack if sys.version[0] == '2': newtable = [chr(i) for i in range(256)] else: newtable = [bytes([i]) for i in range(256)] newtable.extend((0, 0)) def next_code(): """Return integer of `bitw` bits at `bitcount` position in encoded.""" start = bitcount // 8 s = encoded[start:start + 4] try: code = unpack('>I', s)[0] except Exception: code = unpack('>I', s + b'\x00' * (4 - len(s)))[0] code <<= bitcount % 8 code &= mask return code >> shr switchbitch = { # code: bit-width, shr-bits, bit-mask 255: (9, 23, int(9 * '1' + '0' * 23, 2)), 511: (10, 22, int(10 * '1' + '0' * 22, 2)), 1023: (11, 21, int(11 * '1' + '0' * 21, 2)), 2047: (12, 20, int(12 * '1' + '0' * 20, 2)), } bitw, shr, mask = switchbitch[255] bitcount = 0 if len_encoded < 4: raise ValueError("strip must be at least 4 characters long") if next_code() != 256: raise ValueError("strip must begin with CLEAR code") code = 0 oldcode = 0 result = [] result_append = result.append while True: code = next_code() # ~5% faster when inlining this function bitcount += bitw if code == 257 or bitcount >= bitcount_max: # EOI break if code == 256: # CLEAR table = newtable[:] table_append = table.append lentable = 258 bitw, shr, mask = switchbitch[255] code = next_code() bitcount += bitw if code == 257: # EOI break result_append(table[code]) else: if code < lentable: decoded = table[code] newcode = table[oldcode] + decoded[:1] else: newcode = table[oldcode] newcode += newcode[:1] decoded = newcode result_append(decoded) table_append(newcode) lentable += 1 oldcode = code if lentable in switchbitch: bitw, shr, mask = switchbitch[lentable] if code != 257: warnings.warn("unexpected end of lzw stream (code %i)" % code) return b''.join(result) @_replace_by('_tifffile.unpackints') def unpackints(data, dtype, itemsize, runlen=0): """Decompress byte string to array of integers of any bit size <= 32. Parameters ---------- data : byte str Data to decompress. dtype : numpy.dtype or str A numpy boolean or integer type. itemsize : int Number of bits per integer. runlen : int Number of consecutive integers, after which to start at next byte. """ if itemsize == 1: # bitarray data = numpy.fromstring(data, '|B') data = numpy.unpackbits(data) if runlen % 8: data = data.reshape(-1, runlen + (8 - runlen % 8)) data = data[:, :runlen].reshape(-1) return data.astype(dtype) dtype = numpy.dtype(dtype) if itemsize in (8, 16, 32, 64): return numpy.fromstring(data, dtype) if itemsize < 1 or itemsize > 32: raise ValueError("itemsize out of range: %i" % itemsize) if dtype.kind not in "biu": raise ValueError("invalid dtype") itembytes = next(i for i in (1, 2, 4, 8) if 8 * i >= itemsize) if itembytes != dtype.itemsize: raise ValueError("dtype.itemsize too small") if runlen == 0: runlen = len(data) // itembytes skipbits = runlen * itemsize % 8 if skipbits: skipbits = 8 - skipbits shrbits = itembytes * 8 - itemsize bitmask = int(itemsize * '1' + '0' * shrbits, 2) dtypestr = '>' + dtype.char # dtype always big endian? unpack = struct.unpack l = runlen * (len(data) * 8 // (runlen * itemsize + skipbits)) result = numpy.empty((l, ), dtype) bitcount = 0 for i in range(len(result)): start = bitcount // 8 s = data[start:start + itembytes] try: code = unpack(dtypestr, s)[0] except Exception: code = unpack(dtypestr, s + b'\x00' * (itembytes - len(s)))[0] code <<= bitcount % 8 code &= bitmask result[i] = code >> shrbits bitcount += itemsize if (i + 1) % runlen == 0: bitcount += skipbits return result def unpackrgb(data, dtype='<B', bitspersample=(5, 6, 5), rescale=True): """Return array from byte string containing packed samples. Use to unpack RGB565 or RGB555 to RGB888 format. Parameters ---------- data : byte str The data to be decoded. Samples in each pixel are stored consecutively. Pixels are aligned to 8, 16, or 32 bit boundaries. dtype : numpy.dtype The sample data type. The byteorder applies also to the data stream. bitspersample : tuple Number of bits for each sample in a pixel. rescale : bool Upscale samples to the number of bits in dtype. Returns ------- result : ndarray Flattened array of unpacked samples of native dtype. Examples -------- >>> data = struct.pack('BBBB', 0x21, 0x08, 0xff, 0xff) >>> print(unpackrgb(data, '<B', (5, 6, 5), False)) [ 1 1 1 31 63 31] >>> print(unpackrgb(data, '<B', (5, 6, 5))) [ 8 4 8 255 255 255] >>> print(unpackrgb(data, '<B', (5, 5, 5))) [ 16 8 8 255 255 255] """ dtype = numpy.dtype(dtype) bits = int(numpy.sum(bitspersample)) if not (bits <= 32 and all( i <= dtype.itemsize * 8 for i in bitspersample)): raise ValueError("sample size not supported %s" % str(bitspersample)) dt = next(i for i in 'BHI' if numpy.dtype(i).itemsize * 8 >= bits) data = numpy.fromstring(data, dtype.byteorder + dt) result = numpy.empty((data.size, len(bitspersample)), dtype.char) for i, bps in enumerate(bitspersample): t = data >> int(numpy.sum(bitspersample[i + 1:])) t &= int('0b' + '1' * bps, 2) if rescale: o = ((dtype.itemsize * 8) // bps + 1) * bps if o > data.dtype.itemsize * 8: t = t.astype('I') t *= (2 ** o - 1) // (2 ** bps - 1) t //= 2 ** (o - (dtype.itemsize * 8)) result[:, i] = t return result.reshape(-1) def reorient(image, orientation): """Return reoriented view of image array. Parameters ---------- image : numpy array Non-squeezed output of asarray() functions. Axes -3 and -2 must be image length and width respectively. orientation : int or str One of TIFF_ORIENTATIONS keys or values. """ o = TIFF_ORIENTATIONS.get(orientation, orientation) if o == 'top_left': return image elif o == 'top_right': return image[..., ::-1, :] elif o == 'bottom_left': return image[..., ::-1, :, :] elif o == 'bottom_right': return image[..., ::-1, ::-1, :] elif o == 'left_top': return numpy.swapaxes(image, -3, -2) elif o == 'right_top': return numpy.swapaxes(image, -3, -2)[..., ::-1, :] elif o == 'left_bottom': return numpy.swapaxes(image, -3, -2)[..., ::-1, :, :] elif o == 'right_bottom': return numpy.swapaxes(image, -3, -2)[..., ::-1, ::-1, :] def squeeze_axes(shape, axes, skip='XY'): """Return shape and axes with single-dimensional entries removed. Remove unused dimensions unless their axes are listed in 'skip'. >>> squeeze_axes((5, 1, 2, 1, 1), 'TZYXC') ((5, 2, 1), 'TYX') """ if len(shape) != len(axes): raise ValueError("dimensions of axes and shape don't match") shape, axes = zip(*(i for i in zip(shape, axes) if i[0] > 1 or i[1] in skip)) return shape, ''.join(axes) def transpose_axes(data, axes, asaxes='CTZYX'): """Return data with its axes permuted to match specified axes. A view is returned if possible. >>> transpose_axes(numpy.zeros((2, 3, 4, 5)), 'TYXC', asaxes='CTZYX').shape (5, 2, 1, 3, 4) """ for ax in axes: if ax not in asaxes: raise ValueError("unknown axis %s" % ax) # add missing axes to data shape = data.shape for ax in reversed(asaxes): if ax not in axes: axes = ax + axes shape = (1,) + shape data = data.reshape(shape) # transpose axes data = data.transpose([axes.index(ax) for ax in asaxes]) return data def stack_pages(pages, memmap=False, *args, **kwargs): """Read data from sequence of TiffPage and stack them vertically. If memmap is True, return an array stored in a binary file on disk. Additional parameters are passsed to the page asarray function. """ if len(pages) == 0: raise ValueError("no pages") if len(pages) == 1: return pages[0].asarray(memmap=memmap, *args, **kwargs) result = pages[0].asarray(*args, **kwargs) shape = (len(pages),) + result.shape if memmap: with tempfile.NamedTemporaryFile() as fh: result = numpy.memmap(fh, dtype=result.dtype, shape=shape) else: result = numpy.empty(shape, dtype=result.dtype) for i, page in enumerate(pages): result[i] = page.asarray(*args, **kwargs) return result def stripnull(string): """Return string truncated at first null character. Clean NULL terminated C strings. >>> stripnull(b'string\\x00') b'string' """ i = string.find(b'\x00') return string if (i < 0) else string[:i] def stripascii(string): """Return string truncated at last byte that is 7bit ASCII. Clean NULL separated and terminated TIFF strings. >>> stripascii(b'string\\x00string\\n\\x01\\x00') b'string\\x00string\\n' >>> stripascii(b'\\x00') b'' """ # TODO: pythonize this ord_ = ord if sys.version_info[0] < 3 else lambda x: x i = len(string) while i: i -= 1 if 8 < ord_(string[i]) < 127: break else: i = -1 return string[:i + 1] def format_size(size): """Return file size as string from byte size.""" for unit in ('B', 'KB', 'MB', 'GB', 'TB'): if size < 2048: return "%.f %s" % (size, unit) size /= 1024.0 def sequence(value): """Return tuple containing value if value is not a sequence. >>> sequence(1) (1,) >>> sequence([1]) [1] """ try: len(value) return value except TypeError: return value, def product(iterable): """Return product of sequence of numbers. Equivalent of functools.reduce(operator.mul, iterable, 1). >>> product([2**8, 2**30]) 274877906944 >>> product([]) 1 """ prod = 1 for i in iterable: prod *= i return prod def natural_sorted(iterable): """Return human sorted list of strings. E.g. for sorting file names. >>> natural_sorted(['f1', 'f2', 'f10']) ['f1', 'f2', 'f10'] """ def sortkey(x): return [(int(c) if c.isdigit() else c) for c in re.split(numbers, x)] numbers = re.compile(r'(\d+)') return sorted(iterable, key=sortkey) def excel_datetime(timestamp, epoch=datetime.datetime.fromordinal(693594)): """Return datetime object from timestamp in Excel serial format. Convert LSM time stamps. >>> excel_datetime(40237.029999999795) datetime.datetime(2010, 2, 28, 0, 43, 11, 999982) """ return epoch + datetime.timedelta(timestamp) def julian_datetime(julianday, milisecond=0): """Return datetime from days since 1/1/4713 BC and ms since midnight. Convert Julian dates according to MetaMorph. >>> julian_datetime(2451576, 54362783) datetime.datetime(2000, 2, 2, 15, 6, 2, 783) """ if julianday <= 1721423: # no datetime before year 1 return None a = julianday + 1 if a > 2299160: alpha = math.trunc((a - 1867216.25) / 36524.25) a += 1 + alpha - alpha // 4 b = a + (1524 if a > 1721423 else 1158) c = math.trunc((b - 122.1) / 365.25) d = math.trunc(365.25 * c) e = math.trunc((b - d) / 30.6001) day = b - d - math.trunc(30.6001 * e) month = e - (1 if e < 13.5 else 13) year = c - (4716 if month > 2.5 else 4715) hour, milisecond = divmod(milisecond, 1000 * 60 * 60) minute, milisecond = divmod(milisecond, 1000 * 60) second, milisecond = divmod(milisecond, 1000) return datetime.datetime(year, month, day, hour, minute, second, milisecond) def test_tifffile(directory='testimages', verbose=True): """Read all images in directory. Print error message on failure. >>> test_tifffile(verbose=False) """ successful = 0 failed = 0 start = time.time() for f in glob.glob(os.path.join(directory, '*.*')): if verbose: print("\n%s>\n" % f.lower(), end='') t0 = time.time() try: tif = TiffFile(f, multifile=True) except Exception as e: if not verbose: print(f, end=' ') print("ERROR:", e) failed += 1 continue try: img = tif.asarray() except ValueError: try: img = tif[0].asarray() except Exception as e: if not verbose: print(f, end=' ') print("ERROR:", e) failed += 1 continue finally: tif.close() successful += 1 if verbose: print("%s, %s %s, %s, %.0f ms" % ( str(tif), str(img.shape), img.dtype, tif[0].compression, (time.time() - t0) * 1e3)) if verbose: print("\nSuccessfully read %i of %i files in %.3f s\n" % ( successful, successful + failed, time.time() - start)) class TIFF_SUBFILE_TYPES(object): def __getitem__(self, key): result = [] if key & 1: result.append('reduced_image') if key & 2: result.append('page') if key & 4: result.append('mask') return tuple(result) TIFF_PHOTOMETRICS = { 0: 'miniswhite', 1: 'minisblack', 2: 'rgb', 3: 'palette', 4: 'mask', 5: 'separated', # CMYK 6: 'ycbcr', 8: 'cielab', 9: 'icclab', 10: 'itulab', 32803: 'cfa', # Color Filter Array 32844: 'logl', 32845: 'logluv', 34892: 'linear_raw' } TIFF_COMPESSIONS = { 1: None, 2: 'ccittrle', 3: 'ccittfax3', 4: 'ccittfax4', 5: 'lzw', 6: 'ojpeg', 7: 'jpeg', 8: 'adobe_deflate', 9: 't85', 10: 't43', 32766: 'next', 32771: 'ccittrlew', 32773: 'packbits', 32809: 'thunderscan', 32895: 'it8ctpad', 32896: 'it8lw', 32897: 'it8mp', 32898: 'it8bl', 32908: 'pixarfilm', 32909: 'pixarlog', 32946: 'deflate', 32947: 'dcs', 34661: 'jbig', 34676: 'sgilog', 34677: 'sgilog24', 34712: 'jp2000', 34713: 'nef', } TIFF_DECOMPESSORS = { None: lambda x: x, 'adobe_deflate': zlib.decompress, 'deflate': zlib.decompress, 'packbits': decodepackbits, 'lzw': decodelzw, # 'jpeg': decodejpg } TIFF_DATA_TYPES = { 1: '1B', # BYTE 8-bit unsigned integer. 2: '1s', # ASCII 8-bit byte that contains a 7-bit ASCII code; # the last byte must be NULL (binary zero). 3: '1H', # SHORT 16-bit (2-byte) unsigned integer 4: '1I', # LONG 32-bit (4-byte) unsigned integer. 5: '2I', # RATIONAL Two LONGs: the first represents the numerator of # a fraction; the second, the denominator. 6: '1b', # SBYTE An 8-bit signed (twos-complement) integer. 7: '1s', # UNDEFINED An 8-bit byte that may contain anything, # depending on the definition of the field. 8: '1h', # SSHORT A 16-bit (2-byte) signed (twos-complement) integer. 9: '1i', # SLONG A 32-bit (4-byte) signed (twos-complement) integer. 10: '2i', # SRATIONAL Two SLONGs: the first represents the numerator # of a fraction, the second the denominator. 11: '1f', # FLOAT Single precision (4-byte) IEEE format. 12: '1d', # DOUBLE Double precision (8-byte) IEEE format. 13: '1I', # IFD unsigned 4 byte IFD offset. # 14: '', # UNICODE # 15: '', # COMPLEX 16: '1Q', # LONG8 unsigned 8 byte integer (BigTiff) 17: '1q', # SLONG8 signed 8 byte integer (BigTiff) 18: '1Q', # IFD8 unsigned 8 byte IFD offset (BigTiff) } TIFF_SAMPLE_FORMATS = { 1: 'uint', 2: 'int', 3: 'float', # 4: 'void', # 5: 'complex_int', 6: 'complex', } TIFF_SAMPLE_DTYPES = { ('uint', 1): '?', # bitmap ('uint', 2): 'B', ('uint', 3): 'B', ('uint', 4): 'B', ('uint', 5): 'B', ('uint', 6): 'B', ('uint', 7): 'B', ('uint', 8): 'B', ('uint', 9): 'H', ('uint', 10): 'H', ('uint', 11): 'H', ('uint', 12): 'H', ('uint', 13): 'H', ('uint', 14): 'H', ('uint', 15): 'H', ('uint', 16): 'H', ('uint', 17): 'I', ('uint', 18): 'I', ('uint', 19): 'I', ('uint', 20): 'I', ('uint', 21): 'I', ('uint', 22): 'I', ('uint', 23): 'I', ('uint', 24): 'I', ('uint', 25): 'I', ('uint', 26): 'I', ('uint', 27): 'I', ('uint', 28): 'I', ('uint', 29): 'I', ('uint', 30): 'I', ('uint', 31): 'I', ('uint', 32): 'I', ('uint', 64): 'Q', ('int', 8): 'b', ('int', 16): 'h', ('int', 32): 'i', ('int', 64): 'q', ('float', 16): 'e', ('float', 32): 'f', ('float', 64): 'd', ('complex', 64): 'F', ('complex', 128): 'D', ('uint', (5, 6, 5)): 'B', } TIFF_ORIENTATIONS = { 1: 'top_left', 2: 'top_right', 3: 'bottom_right', 4: 'bottom_left', 5: 'left_top', 6: 'right_top', 7: 'right_bottom', 8: 'left_bottom', } # TODO: is there a standard for character axes labels? AXES_LABELS = { 'X': 'width', 'Y': 'height', 'Z': 'depth', 'S': 'sample', # rgb(a) 'I': 'series', # general sequence, plane, page, IFD 'T': 'time', 'C': 'channel', # color, emission wavelength 'A': 'angle', 'P': 'phase', # formerly F # P is Position in LSM! 'R': 'tile', # region, point, mosaic 'H': 'lifetime', # histogram 'E': 'lambda', # excitation wavelength 'L': 'exposure', # lux 'V': 'event', 'Q': 'other', # 'M': 'mosaic', # LSM 6 } AXES_LABELS.update(dict((v, k) for k, v in AXES_LABELS.items())) # Map OME pixel types to numpy dtype OME_PIXEL_TYPES = { 'int8': 'i1', 'int16': 'i2', 'int32': 'i4', 'uint8': 'u1', 'uint16': 'u2', 'uint32': 'u4', 'float': 'f4', # 'bit': 'bit', 'double': 'f8', 'complex': 'c8', 'double-complex': 'c16', } # NIH Image PicHeader v1.63 NIH_IMAGE_HEADER = [ ('fileid', 'a8'), ('nlines', 'i2'), ('pixelsperline', 'i2'), ('version', 'i2'), ('oldlutmode', 'i2'), ('oldncolors', 'i2'), ('colors', 'u1', (3, 32)), ('oldcolorstart', 'i2'), ('colorwidth', 'i2'), ('extracolors', 'u2', (6, 3)), ('nextracolors', 'i2'), ('foregroundindex', 'i2'), ('backgroundindex', 'i2'), ('xscale', 'f8'), ('_x0', 'i2'), ('_x1', 'i2'), ('units_t', 'i2'), # NIH_UNITS_TYPE ('p1', [('x', 'i2'), ('y', 'i2')]), ('p2', [('x', 'i2'), ('y', 'i2')]), ('curvefit_t', 'i2'), # NIH_CURVEFIT_TYPE ('ncoefficients', 'i2'), ('coeff', 'f8', 6), ('_um_len', 'u1'), ('um', 'a15'), ('_x2', 'u1'), ('binarypic', 'b1'), ('slicestart', 'i2'), ('sliceend', 'i2'), ('scalemagnification', 'f4'), ('nslices', 'i2'), ('slicespacing', 'f4'), ('currentslice', 'i2'), ('frameinterval', 'f4'), ('pixelaspectratio', 'f4'), ('colorstart', 'i2'), ('colorend', 'i2'), ('ncolors', 'i2'), ('fill1', '3u2'), ('fill2', '3u2'), ('colortable_t', 'u1'), # NIH_COLORTABLE_TYPE ('lutmode_t', 'u1'), # NIH_LUTMODE_TYPE ('invertedtable', 'b1'), ('zeroclip', 'b1'), ('_xunit_len', 'u1'), ('xunit', 'a11'), ('stacktype_t', 'i2'), # NIH_STACKTYPE_TYPE ] NIH_COLORTABLE_TYPE = ( 'CustomTable', 'AppleDefault', 'Pseudo20', 'Pseudo32', 'Rainbow', 'Fire1', 'Fire2', 'Ice', 'Grays', 'Spectrum') NIH_LUTMODE_TYPE = ( 'PseudoColor', 'OldAppleDefault', 'OldSpectrum', 'GrayScale', 'ColorLut', 'CustomGrayscale') NIH_CURVEFIT_TYPE = ( 'StraightLine', 'Poly2', 'Poly3', 'Poly4', 'Poly5', 'ExpoFit', 'PowerFit', 'LogFit', 'RodbardFit', 'SpareFit1', 'Uncalibrated', 'UncalibratedOD') NIH_UNITS_TYPE = ( 'Nanometers', 'Micrometers', 'Millimeters', 'Centimeters', 'Meters', 'Kilometers', 'Inches', 'Feet', 'Miles', 'Pixels', 'OtherUnits') NIH_STACKTYPE_TYPE = ( 'VolumeStack', 'RGBStack', 'MovieStack', 'HSVStack') # Map Universal Imaging Corporation MetaMorph internal tag ids to name and type UIC_TAGS = { 0: ('auto_scale', int), 1: ('min_scale', int), 2: ('max_scale', int), 3: ('spatial_calibration', int), 4: ('x_calibration', Fraction), 5: ('y_calibration', Fraction), 6: ('calibration_units', str), 7: ('name', str), 8: ('thresh_state', int), 9: ('thresh_state_red', int), 10: ('tagid_10', None), # undefined 11: ('thresh_state_green', int), 12: ('thresh_state_blue', int), 13: ('thresh_state_lo', int), 14: ('thresh_state_hi', int), 15: ('zoom', int), 16: ('create_time', julian_datetime), 17: ('last_saved_time', julian_datetime), 18: ('current_buffer', int), 19: ('gray_fit', None), 20: ('gray_point_count', None), 21: ('gray_x', Fraction), 22: ('gray_y', Fraction), 23: ('gray_min', Fraction), 24: ('gray_max', Fraction), 25: ('gray_unit_name', str), 26: ('standard_lut', int), 27: ('wavelength', int), 28: ('stage_position', '(%i,2,2)u4'), # N xy positions as fractions 29: ('camera_chip_offset', '(%i,2,2)u4'), # N xy offsets as fractions 30: ('overlay_mask', None), 31: ('overlay_compress', None), 32: ('overlay', None), 33: ('special_overlay_mask', None), 34: ('special_overlay_compress', None), 35: ('special_overlay', None), 36: ('image_property', read_uic_image_property), 37: ('stage_label', '%ip'), # N str 38: ('autoscale_lo_info', Fraction), 39: ('autoscale_hi_info', Fraction), 40: ('absolute_z', '(%i,2)u4'), # N fractions 41: ('absolute_z_valid', '(%i,)u4'), # N long 42: ('gamma', int), 43: ('gamma_red', int), 44: ('gamma_green', int), 45: ('gamma_blue', int), 46: ('camera_bin', int), 47: ('new_lut', int), 48: ('image_property_ex', None), 49: ('plane_property', int), 50: ('user_lut_table', '(256,3)u1'), 51: ('red_autoscale_info', int), 52: ('red_autoscale_lo_info', Fraction), 53: ('red_autoscale_hi_info', Fraction), 54: ('red_minscale_info', int), 55: ('red_maxscale_info', int), 56: ('green_autoscale_info', int), 57: ('green_autoscale_lo_info', Fraction), 58: ('green_autoscale_hi_info', Fraction), 59: ('green_minscale_info', int), 60: ('green_maxscale_info', int), 61: ('blue_autoscale_info', int), 62: ('blue_autoscale_lo_info', Fraction), 63: ('blue_autoscale_hi_info', Fraction), 64: ('blue_min_scale_info', int), 65: ('blue_max_scale_info', int), # 66: ('overlay_plane_color', read_uic_overlay_plane_color), } # Olympus FluoView MM_DIMENSION = [ ('name', 'a16'), ('size', 'i4'), ('origin', 'f8'), ('resolution', 'f8'), ('unit', 'a64'), ] MM_HEADER = [ ('header_flag', 'i2'), ('image_type', 'u1'), ('image_name', 'a257'), ('offset_data', 'u4'), ('palette_size', 'i4'), ('offset_palette0', 'u4'), ('offset_palette1', 'u4'), ('comment_size', 'i4'), ('offset_comment', 'u4'), ('dimensions', MM_DIMENSION, 10), ('offset_position', 'u4'), ('map_type', 'i2'), ('map_min', 'f8'), ('map_max', 'f8'), ('min_value', 'f8'), ('max_value', 'f8'), ('offset_map', 'u4'), ('gamma', 'f8'), ('offset', 'f8'), ('gray_channel', MM_DIMENSION), ('offset_thumbnail', 'u4'), ('voice_field', 'i4'), ('offset_voice_field', 'u4'), ] # Carl Zeiss LSM CZ_LSM_INFO = [ ('magic_number', 'u4'), ('structure_size', 'i4'), ('dimension_x', 'i4'), ('dimension_y', 'i4'), ('dimension_z', 'i4'), ('dimension_channels', 'i4'), ('dimension_time', 'i4'), ('data_type', 'i4'), # CZ_DATA_TYPES ('thumbnail_x', 'i4'), ('thumbnail_y', 'i4'), ('voxel_size_x', 'f8'), ('voxel_size_y', 'f8'), ('voxel_size_z', 'f8'), ('origin_x', 'f8'), ('origin_y', 'f8'), ('origin_z', 'f8'), ('scan_type', 'u2'), ('spectral_scan', 'u2'), ('type_of_data', 'u4'), # CZ_TYPE_OF_DATA ('offset_vector_overlay', 'u4'), ('offset_input_lut', 'u4'), ('offset_output_lut', 'u4'), ('offset_channel_colors', 'u4'), ('time_interval', 'f8'), ('offset_channel_data_types', 'u4'), ('offset_scan_info', 'u4'), # CZ_LSM_SCAN_INFO ('offset_ks_data', 'u4'), ('offset_time_stamps', 'u4'), ('offset_event_list', 'u4'), ('offset_roi', 'u4'), ('offset_bleach_roi', 'u4'), ('offset_next_recording', 'u4'), # LSM 2.0 ends here ('display_aspect_x', 'f8'), ('display_aspect_y', 'f8'), ('display_aspect_z', 'f8'), ('display_aspect_time', 'f8'), ('offset_mean_of_roi_overlay', 'u4'), ('offset_topo_isoline_overlay', 'u4'), ('offset_topo_profile_overlay', 'u4'), ('offset_linescan_overlay', 'u4'), ('offset_toolbar_flags', 'u4'), ('offset_channel_wavelength', 'u4'), ('offset_channel_factors', 'u4'), ('objective_sphere_correction', 'f8'), ('offset_unmix_parameters', 'u4'), # LSM 3.2, 4.0 end here ('offset_acquisition_parameters', 'u4'), ('offset_characteristics', 'u4'), ('offset_palette', 'u4'), ('time_difference_x', 'f8'), ('time_difference_y', 'f8'), ('time_difference_z', 'f8'), ('internal_use_1', 'u4'), ('dimension_p', 'i4'), ('dimension_m', 'i4'), ('dimensions_reserved', '16i4'), ('offset_tile_positions', 'u4'), ('reserved_1', '9u4'), ('offset_positions', 'u4'), ('reserved_2', '21u4'), # must be 0 ] # Import functions for LSM_INFO sub-records CZ_LSM_INFO_READERS = { 'scan_info': read_cz_lsm_scan_info, 'time_stamps': read_cz_lsm_time_stamps, 'event_list': read_cz_lsm_event_list, 'channel_colors': read_cz_lsm_floatpairs, 'positions': read_cz_lsm_floatpairs, 'tile_positions': read_cz_lsm_floatpairs, } # Map cz_lsm_info.scan_type to dimension order CZ_SCAN_TYPES = { 0: 'XYZCT', # x-y-z scan 1: 'XYZCT', # z scan (x-z plane) 2: 'XYZCT', # line scan 3: 'XYTCZ', # time series x-y 4: 'XYZTC', # time series x-z 5: 'XYTCZ', # time series 'Mean of ROIs' 6: 'XYZTC', # time series x-y-z 7: 'XYCTZ', # spline scan 8: 'XYCZT', # spline scan x-z 9: 'XYTCZ', # time series spline plane x-z 10: 'XYZCT', # point mode } # Map dimension codes to cz_lsm_info attribute CZ_DIMENSIONS = { 'X': 'dimension_x', 'Y': 'dimension_y', 'Z': 'dimension_z', 'C': 'dimension_channels', 'T': 'dimension_time', } # Description of cz_lsm_info.data_type CZ_DATA_TYPES = { 0: 'varying data types', 1: '8 bit unsigned integer', 2: '12 bit unsigned integer', 5: '32 bit float', } # Description of cz_lsm_info.type_of_data CZ_TYPE_OF_DATA = { 0: 'Original scan data', 1: 'Calculated data', 2: '3D reconstruction', 3: 'Topography height map', } CZ_LSM_SCAN_INFO_ARRAYS = { 0x20000000: "tracks", 0x30000000: "lasers", 0x60000000: "detection_channels", 0x80000000: "illumination_channels", 0xa0000000: "beam_splitters", 0xc0000000: "data_channels", 0x11000000: "timers", 0x13000000: "markers", } CZ_LSM_SCAN_INFO_STRUCTS = { # 0x10000000: "recording", 0x40000000: "track", 0x50000000: "laser", 0x70000000: "detection_channel", 0x90000000: "illumination_channel", 0xb0000000: "beam_splitter", 0xd0000000: "data_channel", 0x12000000: "timer", 0x14000000: "marker", } CZ_LSM_SCAN_INFO_ATTRIBUTES = { # recording 0x10000001: "name", 0x10000002: "description", 0x10000003: "notes", 0x10000004: "objective", 0x10000005: "processing_summary", 0x10000006: "special_scan_mode", 0x10000007: "scan_type", 0x10000008: "scan_mode", 0x10000009: "number_of_stacks", 0x1000000a: "lines_per_plane", 0x1000000b: "samples_per_line", 0x1000000c: "planes_per_volume", 0x1000000d: "images_width", 0x1000000e: "images_height", 0x1000000f: "images_number_planes", 0x10000010: "images_number_stacks", 0x10000011: "images_number_channels", 0x10000012: "linscan_xy_size", 0x10000013: "scan_direction", 0x10000014: "time_series", 0x10000015: "original_scan_data", 0x10000016: "zoom_x", 0x10000017: "zoom_y", 0x10000018: "zoom_z", 0x10000019: "sample_0x", 0x1000001a: "sample_0y", 0x1000001b: "sample_0z", 0x1000001c: "sample_spacing", 0x1000001d: "line_spacing", 0x1000001e: "plane_spacing", 0x1000001f: "plane_width", 0x10000020: "plane_height", 0x10000021: "volume_depth", 0x10000023: "nutation", 0x10000034: "rotation", 0x10000035: "precession", 0x10000036: "sample_0time", 0x10000037: "start_scan_trigger_in", 0x10000038: "start_scan_trigger_out", 0x10000039: "start_scan_event", 0x10000040: "start_scan_time", 0x10000041: "stop_scan_trigger_in", 0x10000042: "stop_scan_trigger_out", 0x10000043: "stop_scan_event", 0x10000044: "stop_scan_time", 0x10000045: "use_rois", 0x10000046: "use_reduced_memory_rois", 0x10000047: "user", 0x10000048: "use_bc_correction", 0x10000049: "position_bc_correction1", 0x10000050: "position_bc_correction2", 0x10000051: "interpolation_y", 0x10000052: "camera_binning", 0x10000053: "camera_supersampling", 0x10000054: "camera_frame_width", 0x10000055: "camera_frame_height", 0x10000056: "camera_offset_x", 0x10000057: "camera_offset_y", 0x10000059: "rt_binning", 0x1000005a: "rt_frame_width", 0x1000005b: "rt_frame_height", 0x1000005c: "rt_region_width", 0x1000005d: "rt_region_height", 0x1000005e: "rt_offset_x", 0x1000005f: "rt_offset_y", 0x10000060: "rt_zoom", 0x10000061: "rt_line_period", 0x10000062: "prescan", 0x10000063: "scan_direction_z", # track 0x40000001: "multiplex_type", # 0 after line; 1 after frame 0x40000002: "multiplex_order", 0x40000003: "sampling_mode", # 0 sample; 1 line average; 2 frame average 0x40000004: "sampling_method", # 1 mean; 2 sum 0x40000005: "sampling_number", 0x40000006: "acquire", 0x40000007: "sample_observation_time", 0x4000000b: "time_between_stacks", 0x4000000c: "name", 0x4000000d: "collimator1_name", 0x4000000e: "collimator1_position", 0x4000000f: "collimator2_name", 0x40000010: "collimator2_position", 0x40000011: "is_bleach_track", 0x40000012: "is_bleach_after_scan_number", 0x40000013: "bleach_scan_number", 0x40000014: "trigger_in", 0x40000015: "trigger_out", 0x40000016: "is_ratio_track", 0x40000017: "bleach_count", 0x40000018: "spi_center_wavelength", 0x40000019: "pixel_time", 0x40000021: "condensor_frontlens", 0x40000023: "field_stop_value", 0x40000024: "id_condensor_aperture", 0x40000025: "condensor_aperture", 0x40000026: "id_condensor_revolver", 0x40000027: "condensor_filter", 0x40000028: "id_transmission_filter1", 0x40000029: "id_transmission1", 0x40000030: "id_transmission_filter2", 0x40000031: "id_transmission2", 0x40000032: "repeat_bleach", 0x40000033: "enable_spot_bleach_pos", 0x40000034: "spot_bleach_posx", 0x40000035: "spot_bleach_posy", 0x40000036: "spot_bleach_posz", 0x40000037: "id_tubelens", 0x40000038: "id_tubelens_position", 0x40000039: "transmitted_light", 0x4000003a: "reflected_light", 0x4000003b: "simultan_grab_and_bleach", 0x4000003c: "bleach_pixel_time", # laser 0x50000001: "name", 0x50000002: "acquire", 0x50000003: "power", # detection_channel 0x70000001: "integration_mode", 0x70000002: "special_mode", 0x70000003: "detector_gain_first", 0x70000004: "detector_gain_last", 0x70000005: "amplifier_gain_first", 0x70000006: "amplifier_gain_last", 0x70000007: "amplifier_offs_first", 0x70000008: "amplifier_offs_last", 0x70000009: "pinhole_diameter", 0x7000000a: "counting_trigger", 0x7000000b: "acquire", 0x7000000c: "point_detector_name", 0x7000000d: "amplifier_name", 0x7000000e: "pinhole_name", 0x7000000f: "filter_set_name", 0x70000010: "filter_name", 0x70000013: "integrator_name", 0x70000014: "channel_name", 0x70000015: "detector_gain_bc1", 0x70000016: "detector_gain_bc2", 0x70000017: "amplifier_gain_bc1", 0x70000018: "amplifier_gain_bc2", 0x70000019: "amplifier_offset_bc1", 0x70000020: "amplifier_offset_bc2", 0x70000021: "spectral_scan_channels", 0x70000022: "spi_wavelength_start", 0x70000023: "spi_wavelength_stop", 0x70000026: "dye_name", 0x70000027: "dye_folder", # illumination_channel 0x90000001: "name", 0x90000002: "power", 0x90000003: "wavelength", 0x90000004: "aquire", 0x90000005: "detchannel_name", 0x90000006: "power_bc1", 0x90000007: "power_bc2", # beam_splitter 0xb0000001: "filter_set", 0xb0000002: "filter", 0xb0000003: "name", # data_channel 0xd0000001: "name", 0xd0000003: "acquire", 0xd0000004: "color", 0xd0000005: "sample_type", 0xd0000006: "bits_per_sample", 0xd0000007: "ratio_type", 0xd0000008: "ratio_track1", 0xd0000009: "ratio_track2", 0xd000000a: "ratio_channel1", 0xd000000b: "ratio_channel2", 0xd000000c: "ratio_const1", 0xd000000d: "ratio_const2", 0xd000000e: "ratio_const3", 0xd000000f: "ratio_const4", 0xd0000010: "ratio_const5", 0xd0000011: "ratio_const6", 0xd0000012: "ratio_first_images1", 0xd0000013: "ratio_first_images2", 0xd0000014: "dye_name", 0xd0000015: "dye_folder", 0xd0000016: "spectrum", 0xd0000017: "acquire", # timer 0x12000001: "name", 0x12000002: "description", 0x12000003: "interval", 0x12000004: "trigger_in", 0x12000005: "trigger_out", 0x12000006: "activation_time", 0x12000007: "activation_number", # marker 0x14000001: "name", 0x14000002: "description", 0x14000003: "trigger_in", 0x14000004: "trigger_out", } # Map TIFF tag code to attribute name, default value, type, count, validator TIFF_TAGS = { 254: ('new_subfile_type', 0, 4, 1, TIFF_SUBFILE_TYPES()), 255: ('subfile_type', None, 3, 1, {0: 'undefined', 1: 'image', 2: 'reduced_image', 3: 'page'}), 256: ('image_width', None, 4, 1, None), 257: ('image_length', None, 4, 1, None), 258: ('bits_per_sample', 1, 3, 1, None), 259: ('compression', 1, 3, 1, TIFF_COMPESSIONS), 262: ('photometric', None, 3, 1, TIFF_PHOTOMETRICS), 266: ('fill_order', 1, 3, 1, {1: 'msb2lsb', 2: 'lsb2msb'}), 269: ('document_name', None, 2, None, None), 270: ('image_description', None, 2, None, None), 271: ('make', None, 2, None, None), 272: ('model', None, 2, None, None), 273: ('strip_offsets', None, 4, None, None), 274: ('orientation', 1, 3, 1, TIFF_ORIENTATIONS), 277: ('samples_per_pixel', 1, 3, 1, None), 278: ('rows_per_strip', 2 ** 32 - 1, 4, 1, None), 279: ('strip_byte_counts', None, 4, None, None), 280: ('min_sample_value', None, 3, None, None), 281: ('max_sample_value', None, 3, None, None), # 2**bits_per_sample 282: ('x_resolution', None, 5, 1, None), 283: ('y_resolution', None, 5, 1, None), 284: ('planar_configuration', 1, 3, 1, {1: 'contig', 2: 'separate'}), 285: ('page_name', None, 2, None, None), 286: ('x_position', None, 5, 1, None), 287: ('y_position', None, 5, 1, None), 296: ('resolution_unit', 2, 4, 1, {1: 'none', 2: 'inch', 3: 'centimeter'}), 297: ('page_number', None, 3, 2, None), 305: ('software', None, 2, None, None), 306: ('datetime', None, 2, None, None), 315: ('artist', None, 2, None, None), 316: ('host_computer', None, 2, None, None), 317: ('predictor', 1, 3, 1, {1: None, 2: 'horizontal'}), 318: ('white_point', None, 5, 2, None), 319: ('primary_chromaticities', None, 5, 6, None), 320: ('color_map', None, 3, None, None), 322: ('tile_width', None, 4, 1, None), 323: ('tile_length', None, 4, 1, None), 324: ('tile_offsets', None, 4, None, None), 325: ('tile_byte_counts', None, 4, None, None), 338: ('extra_samples', None, 3, None, {0: 'unspecified', 1: 'assocalpha', 2: 'unassalpha'}), 339: ('sample_format', 1, 3, 1, TIFF_SAMPLE_FORMATS), 340: ('smin_sample_value', None, None, None, None), 341: ('smax_sample_value', None, None, None, None), 347: ('jpeg_tables', None, 7, None, None), 530: ('ycbcr_subsampling', 1, 3, 2, None), 531: ('ycbcr_positioning', 1, 3, 1, None), 32996: ('sgi_datatype', None, None, 1, None), # use sample_format 32997: ('image_depth', None, 4, 1, None), 32998: ('tile_depth', None, 4, 1, None), 33432: ('copyright', None, 1, None, None), 33445: ('md_file_tag', None, 4, 1, None), 33446: ('md_scale_pixel', None, 5, 1, None), 33447: ('md_color_table', None, 3, None, None), 33448: ('md_lab_name', None, 2, None, None), 33449: ('md_sample_info', None, 2, None, None), 33450: ('md_prep_date', None, 2, None, None), 33451: ('md_prep_time', None, 2, None, None), 33452: ('md_file_units', None, 2, None, None), 33550: ('model_pixel_scale', None, 12, 3, None), 33922: ('model_tie_point', None, 12, None, None), 34665: ('exif_ifd', None, None, 1, None), 34735: ('geo_key_directory', None, 3, None, None), 34736: ('geo_double_params', None, 12, None, None), 34737: ('geo_ascii_params', None, 2, None, None), 34853: ('gps_ifd', None, None, 1, None), 37510: ('user_comment', None, None, None, None), 42112: ('gdal_metadata', None, 2, None, None), 42113: ('gdal_nodata', None, 2, None, None), 50289: ('mc_xy_position', None, 12, 2, None), 50290: ('mc_z_position', None, 12, 1, None), 50291: ('mc_xy_calibration', None, 12, 3, None), 50292: ('mc_lens_lem_na_n', None, 12, 3, None), 50293: ('mc_channel_name', None, 1, None, None), 50294: ('mc_ex_wavelength', None, 12, 1, None), 50295: ('mc_time_stamp', None, 12, 1, None), 50838: ('imagej_byte_counts', None, None, None, None), 65200: ('flex_xml', None, 2, None, None), # code: (attribute name, default value, type, count, validator) } # Map custom TIFF tag codes to attribute names and import functions CUSTOM_TAGS = { 700: ('xmp', read_bytes), 34377: ('photoshop', read_numpy), 33723: ('iptc', read_bytes), 34675: ('icc_profile', read_bytes), 33628: ('uic1tag', read_uic1tag), # Universal Imaging Corporation STK 33629: ('uic2tag', read_uic2tag), 33630: ('uic3tag', read_uic3tag), 33631: ('uic4tag', read_uic4tag), 34361: ('mm_header', read_mm_header), # Olympus FluoView 34362: ('mm_stamp', read_mm_stamp), 34386: ('mm_user_block', read_bytes), 34412: ('cz_lsm_info', read_cz_lsm_info), # Carl Zeiss LSM 43314: ('nih_image_header', read_nih_image_header), # 40001: ('mc_ipwinscal', read_bytes), 40100: ('mc_id_old', read_bytes), 50288: ('mc_id', read_bytes), 50296: ('mc_frame_properties', read_bytes), 50839: ('imagej_metadata', read_bytes), 51123: ('micromanager_metadata', read_json), } # Max line length of printed output PRINT_LINE_LEN = 79 def imshow(data, title=None, vmin=0, vmax=None, cmap=None, bitspersample=None, photometric='rgb', interpolation='nearest', dpi=96, figure=None, subplot=111, maxdim=8192, **kwargs): """Plot n-dimensional images using matplotlib.pyplot. Return figure, subplot and plot axis. Requires pyplot already imported ``from matplotlib import pyplot``. Parameters ---------- bitspersample : int or None Number of bits per channel in integer RGB images. photometric : {'miniswhite', 'minisblack', 'rgb', or 'palette'} The color space of the image data. title : str Window and subplot title. figure : matplotlib.figure.Figure (optional). Matplotlib to use for plotting. subplot : int A matplotlib.pyplot.subplot axis. maxdim : int maximum image size in any dimension. kwargs : optional Arguments for matplotlib.pyplot.imshow. """ # if photometric not in ('miniswhite', 'minisblack', 'rgb', 'palette'): # raise ValueError("Can't handle %s photometrics" % photometric) # TODO: handle photometric == 'separated' (CMYK) isrgb = photometric in ('rgb', 'palette') data = numpy.atleast_2d(data.squeeze()) data = data[(slice(0, maxdim), ) * len(data.shape)] dims = data.ndim if dims < 2: raise ValueError("not an image") elif dims == 2: dims = 0 isrgb = False else: if isrgb and data.shape[-3] in (3, 4): data = numpy.swapaxes(data, -3, -2) data = numpy.swapaxes(data, -2, -1) elif not isrgb and (data.shape[-1] < data.shape[-2] // 16 and data.shape[-1] < data.shape[-3] // 16 and data.shape[-1] < 5): data = numpy.swapaxes(data, -3, -1) data = numpy.swapaxes(data, -2, -1) isrgb = isrgb and data.shape[-1] in (3, 4) dims -= 3 if isrgb else 2 if photometric == 'palette' and isrgb: datamax = data.max() if datamax > 255: data >>= 8 # possible precision loss data = data.astype('B') elif data.dtype.kind in 'ui': if not (isrgb and data.dtype.itemsize <= 1) or bitspersample is None: try: bitspersample = int(math.ceil(math.log(data.max(), 2))) except Exception: bitspersample = data.dtype.itemsize * 8 elif not isinstance(bitspersample, int): # bitspersample can be tuple, e.g. (5, 6, 5) bitspersample = data.dtype.itemsize * 8 datamax = 2 ** bitspersample if isrgb: if bitspersample < 8: data <<= 8 - bitspersample elif bitspersample > 8: data >>= bitspersample - 8 # precision loss data = data.astype('B') elif data.dtype.kind == 'f': datamax = data.max() if isrgb and datamax > 1.0: if data.dtype.char == 'd': data = data.astype('f') data /= datamax elif data.dtype.kind == 'b': datamax = 1 elif data.dtype.kind == 'c': raise NotImplementedError("complex type") # TODO: handle complex types if not isrgb: if vmax is None: vmax = datamax if vmin is None: if data.dtype.kind == 'i': dtmin = numpy.iinfo(data.dtype).min vmin = numpy.min(data) if vmin == dtmin: vmin = numpy.min(data > dtmin) if data.dtype.kind == 'f': dtmin = numpy.finfo(data.dtype).min vmin = numpy.min(data) if vmin == dtmin: vmin = numpy.min(data > dtmin) else: vmin = 0 pyplot = sys.modules['matplotlib.pyplot'] if figure is None: pyplot.rc('font', family='sans-serif', weight='normal', size=8) figure = pyplot.figure(dpi=dpi, figsize=(10.3, 6.3), frameon=True, facecolor='1.0', edgecolor='w') try: figure.canvas.manager.window.title(title) except Exception: pass pyplot.subplots_adjust(bottom=0.03 * (dims + 2), top=0.9, left=0.1, right=0.95, hspace=0.05, wspace=0.0) subplot = pyplot.subplot(subplot) if title: try: title = str(title, 'Windows-1252') except TypeError: pass pyplot.title(title, size=11) if cmap is None: if data.dtype.kind in 'ubf' or vmin == 0: cmap = 'cubehelix' else: cmap = 'coolwarm' if photometric == 'miniswhite': cmap += '_r' image = pyplot.imshow(data[(0, ) * dims].squeeze(), vmin=vmin, vmax=vmax, cmap=cmap, interpolation=interpolation, **kwargs) if not isrgb: pyplot.colorbar() # panchor=(0.55, 0.5), fraction=0.05 def format_coord(x, y): # callback function to format coordinate display in toolbar x = int(x + 0.5) y = int(y + 0.5) try: if dims: return "%s @ %s [%4i, %4i]" % (cur_ax_dat[1][y, x], current, x, y) else: return "%s @ [%4i, %4i]" % (data[y, x], x, y) except IndexError: return "" pyplot.gca().format_coord = format_coord if dims: current = list((0, ) * dims) cur_ax_dat = [0, data[tuple(current)].squeeze()] sliders = [pyplot.Slider( pyplot.axes([0.125, 0.03 * (axis + 1), 0.725, 0.025]), 'Dimension %i' % axis, 0, data.shape[axis] - 1, 0, facecolor='0.5', valfmt='%%.0f [%i]' % data.shape[axis]) for axis in range(dims)] for slider in sliders: slider.drawon = False def set_image(current, sliders=sliders, data=data): # change image and redraw canvas cur_ax_dat[1] = data[tuple(current)].squeeze() image.set_data(cur_ax_dat[1]) for ctrl, index in zip(sliders, current): ctrl.eventson = False ctrl.set_val(index) ctrl.eventson = True figure.canvas.draw() def on_changed(index, axis, data=data, current=current): # callback function for slider change event index = int(round(index)) cur_ax_dat[0] = axis if index == current[axis]: return if index >= data.shape[axis]: index = 0 elif index < 0: index = data.shape[axis] - 1 current[axis] = index set_image(current) def on_keypressed(event, data=data, current=current): # callback function for key press event key = event.key axis = cur_ax_dat[0] if str(key) in '0123456789': on_changed(key, axis) elif key == 'right': on_changed(current[axis] + 1, axis) elif key == 'left': on_changed(current[axis] - 1, axis) elif key == 'up': cur_ax_dat[0] = 0 if axis == len(data.shape) - 1 else axis + 1 elif key == 'down': cur_ax_dat[0] = len(data.shape) - 1 if axis == 0 else axis - 1 elif key == 'end': on_changed(data.shape[axis] - 1, axis) elif key == 'home': on_changed(0, axis) figure.canvas.mpl_connect('key_press_event', on_keypressed) for axis, ctrl in enumerate(sliders): ctrl.on_changed(lambda k, a=axis: on_changed(k, a)) return figure, subplot, image def _app_show(): """Block the GUI. For use as skimage plugin.""" pyplot = sys.modules['matplotlib.pyplot'] pyplot.show() def main(argv=None): """Command line usage main function.""" if float(sys.version[0:3]) < 2.6: print("This script requires Python version 2.6 or better.") print("This is Python version %s" % sys.version) return 0 if argv is None: argv = sys.argv import optparse parser = optparse.OptionParser( usage="usage: %prog [options] path", description="Display image data in TIFF files.", version="%%prog %s" % __version__) opt = parser.add_option opt('-p', '--page', dest='page', type='int', default=-1, help="display single page") opt('-s', '--series', dest='series', type='int', default=-1, help="display series of pages of same shape") opt('--nomultifile', dest='nomultifile', action='store_true', default=False, help="don't read OME series from multiple files") opt('--noplot', dest='noplot', action='store_true', default=False, help="don't display images") opt('--interpol', dest='interpol', metavar='INTERPOL', default='bilinear', help="image interpolation method") opt('--dpi', dest='dpi', type='int', default=96, help="set plot resolution") opt('--debug', dest='debug', action='store_true', default=False, help="raise exception on failures") opt('--test', dest='test', action='store_true', default=False, help="try read all images in path") opt('--doctest', dest='doctest', action='store_true', default=False, help="runs the docstring examples") opt('-v', '--verbose', dest='verbose', action='store_true', default=True) opt('-q', '--quiet', dest='verbose', action='store_false') settings, path = parser.parse_args() path = ' '.join(path) if settings.doctest: import doctest doctest.testmod() return 0 if not path: parser.error("No file specified") if settings.test: test_tifffile(path, settings.verbose) return 0 if any(i in path for i in '?*'): path = glob.glob(path) if not path: print('no files match the pattern') return 0 # TODO: handle image sequences # if len(path) == 1: path = path[0] print("Reading file structure...", end=' ') start = time.time() try: tif = TiffFile(path, multifile=not settings.nomultifile) except Exception as e: if settings.debug: raise else: print("\n", e) sys.exit(0) print("%.3f ms" % ((time.time() - start) * 1e3)) if tif.is_ome: settings.norgb = True images = [(None, tif[0 if settings.page < 0 else settings.page])] if not settings.noplot: print("Reading image data... ", end=' ') def notnone(x): return next(i for i in x if i is not None) start = time.time() try: if settings.page >= 0: images = [(tif.asarray(key=settings.page), tif[settings.page])] elif settings.series >= 0: images = [(tif.asarray(series=settings.series), notnone(tif.series[settings.series].pages))] else: images = [] for i, s in enumerate(tif.series): try: images.append( (tif.asarray(series=i), notnone(s.pages))) except ValueError as e: images.append((None, notnone(s.pages))) if settings.debug: raise else: print("\n* series %i failed: %s... " % (i, e), end='') print("%.3f ms" % ((time.time() - start) * 1e3)) except Exception as e: if settings.debug: raise else: print(e) tif.close() print("\nTIFF file:", tif) print() for i, s in enumerate(tif.series): print("Series %i" % i) print(s) print() for i, page in images: print(page) print(page.tags) if page.is_palette: print("\nColor Map:", page.color_map.shape, page.color_map.dtype) for attr in ('cz_lsm_info', 'cz_lsm_scan_info', 'uic_tags', 'mm_header', 'imagej_tags', 'micromanager_metadata', 'nih_image_header'): if hasattr(page, attr): print("", attr.upper(), Record(getattr(page, attr)), sep="\n") print() if page.is_micromanager: print('MICROMANAGER_FILE_METADATA') print(Record(tif.micromanager_metadata)) if images and not settings.noplot: try: import matplotlib matplotlib.use('TkAgg') from matplotlib import pyplot except ImportError as e: warnings.warn("failed to import matplotlib.\n%s" % e) else: for img, page in images: if img is None: continue vmin, vmax = None, None if 'gdal_nodata' in page.tags: try: vmin = numpy.min(img[img > float(page.gdal_nodata)]) except ValueError: pass if page.is_stk: try: vmin = page.uic_tags['min_scale'] vmax = page.uic_tags['max_scale'] except KeyError: pass else: if vmax <= vmin: vmin, vmax = None, None title = "%s\n %s" % (str(tif), str(page)) imshow(img, title=title, vmin=vmin, vmax=vmax, bitspersample=page.bits_per_sample, photometric=page.photometric, interpolation=settings.interpol, dpi=settings.dpi) pyplot.show() TIFFfile = TiffFile # backwards compatibility if sys.version_info[0] > 2: basestring = str, bytes unicode = str if __name__ == "__main__": sys.exit(main())
to266/hyperspy
hyperspy/external/tifffile.py
Python
gpl-3.0
172,696
using System; namespace System.Net.NetworkInformation { public enum TcpState : int { Unknown = 0, Closed = 1, Listen = 2, SynSent = 3, SynReceived = 4, Established = 5, FinWait1 = 6, FinWait2 = 7, CloseWait = 8, Closing = 9, LastAck = 10, TimeWait = 11, DeleteTcb = 12 } }
zebraxxl/CIL2Java
StdLibs/System/System/Net/NetworkInformation/TcpState.cs
C#
gpl-3.0
390
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <title>CodePen - Gray Spiral Delaunay with Texture</title> <link rel="stylesheet" href="./style.css"> </head> <body> <!-- partial:index.partial.html --> <canvas id="canvas" title="Click to generate new pattern"></canvas> <!-- partial --> <script src='https://codepen.io/DonKarlssonSan/pen/JjPbdKp.js'></script> <script src='https://codepen.io/DonKarlssonSan/pen/bLGjLm.js'></script><script src="./script.js"></script> </body> </html>
thm-projects/arsnova-flashcards
public/gameBackgrounds/background15/index.html
HTML
gpl-3.0
509
/** * Stylesheet for Mahara's Raw theme. * * @author Catalyst IT Ltd * @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later * @copyright For copyright information on Mahara, please see the README file distributed with this software. * * This file is licensed under the same terms as Mahara itself */ /******************** General rules ********************/ /* reset styles */ html { margin: 0; padding: 0; } .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .ui-widget, .ui-widget button { font-family: inherit; } body, caption, th, td, input, textarea, select, option, legend, fieldset, button { font-family: Arial, "Nimbus Sans L", Helvetica, sans-serif; } #container, .sitemessage, #switchwrap { /* Use a 12px base font size with a 16px line height */ font-size: 0.75em; /* 16px x .75 = 12px */ line-height: 1.333em; /* 12px x 1.333 = 16px */ } pre, code, tt { font-size: 1em; font-family: "Courier New", "DejaVu Sans Mono", monospace; white-space: pre-wrap; } blockquote { margin: 10px 30px; border-left: 2px solid #999999; padding-left: 1em; } acronym { border-bottom: 1px dotted #D1D1D1; } img { border: 0; } ul, ol { margin: 5px 0 10px 0; padding: 0; } ul li { margin: 0 0 3px 20px; } ol li { margin: 0 0 3px 30px; } p { margin: 10px 0; } p span { line-height: 1.333em; } .backtrace { font: normal 110%/1.5em monospace; } /* links styling for accessibility */ :focus { outline: 2px solid #FFFF00; } html:focus { outline: 0; } a, a:hover, a:active { outline: none; } /******************** Body ********************/ body { color: #333333; font-family: Arial, "Nimbus Sans L", Helvetica, sans-serif; font-size: 100%; margin: 0; padding: 0; } body#micro { background-color: #EEEEEE; } /******************** General headings ********************/ h1, h2, h3, h4, h5, h6 { margin: 15px 0 10px 0; line-height: 1.25em; white-space: normal; word-wrap: break-word; } h1 { font-size: 2em; /* 24px */ } h2 { font-size: 1.667em; /* 20px */ } h3 { font-size: 1.5em; /* 18px */ } h4 { font-size: 1.333em; /* 16px */ } h5 { font-size: 1.167em; /* 14px */ } h6 { font-size: 1em; /* 12px */ } h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child { margin-top: 0; } /******************** Placement ********************/ .left { text-align: left; } .center { text-align: center; } .right { text-align: right; } .fl { float: left; } .fr { float: right; } .cl { clear: left; } .cr { clear: right; } .cb { clear: both; } .fullwidth { width: 100%; } .halfwidth { width: 50%; } .onethirdwidth { width: 33%; } form.oneline.inline div, .inline { display: inline; } .hidefocus:focus, .hidefocus:active { outline: 0; } /* Hides the element but leaves it accessible to screen readers */ .accessible-hidden { display: inline; position: absolute !important; clip: rect(1px, 1px, 1px, 1px); overflow: hidden; } .hidden, .dontshow { display: none; } /* Hides without being "destructive" - element + children still have full width/height */ .safe-hidden { position: absolute; visibility: hidden; top: 0; } .nojs-hidden-inline, .nojs-hidden-block, .nojs-hidden-table, .nojs-hidden-table-cell { display: none; } .bar-before { border-left: 1px solid #D1D1D1; } #footer-nav .bar-before { border-left: 1px solid #5B5C5C; } .dont-collapse:after { content: "."; visibility: hidden; } /******************** Loading ********************/ #loading-box { background-color: #DDDDDD; display: none; padding: 5px 10px; position: absolute; top: 0; color: #333333; left: 48%; -webkit-box-shadow: 0px 0px 5px 0px #333333; box-shadow: 0px 0px 5px 0px #333333; } /******************** Overlay ********************/ #overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.7; background-color: #000000; filter: alpha(opacity=70); z-index: 11; } img.close:focus { border: 1px solid #FFFF00; } /******************** Ajax login ********************/ #ajax-login-form { border: 5px solid #DDDDDD; background-color: #FFFFFF; position: absolute; top: 150px; left: 20%; width: 250px; z-index: 1000; text-align: left; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } /******************** Help ********************/ .help { vertical-align: top; } .help a { display: inline-block; } .help a:hover { cursor: help; } .contextualHelp { padding: 10px; margin: 0; width: 500px; max-height: 400px; overflow: auto; background-color: #F9F9F9; border: 1px solid #B2B2B2; z-index: 2000; -webkit-box-shadow: 0px 0px 5px 0px #888888; box-shadow: 0px 0px 5px 0px #888888; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } .help-dismiss { vertical-align: top; } /**************** Messages ****************/ div.ok { background: #E6F6E0 url(../images/success.png) no-repeat 4px 4px; padding: 5px 5px 5px 26px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; line-height: 1.333em; margin-bottom: 3px; font-size: 1em; color: #333333; } div.error, span.error { background: #FEE7E7 url(../images/failure.png) no-repeat 4px 4px; padding: 5px 5px 5px 27px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; line-height: 1.333em; margin-bottom: 3px; font-size: 1em; color: #333333; } div.info { background: #E5ECF4 url(../images/info.png) no-repeat 4px 4px; padding: 5px 5px 5px 27px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; line-height: 1.333em; margin-bottom: 3px; font-size: 1em; color: #333333; } div.warning, .errmsg { background: #FFF3E0 url(../images/warning.png) no-repeat 4px 3px; padding: 5px 5px 5px 26px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; line-height: 1.333em; margin-bottom: 3px; font-size: 1em; color: #333333; } /* system messages between nav and main content */ #messages { padding: 0; margin: 10px 0; } /* system messages */ .message { margin: 5px 0; padding: 5px; background: #F6F6F6; color: #333333; text-align: center; } .message p:first-child { margin-top: 0; } .message p:last-child { margin-bottom: 0; } /* warning messages without icon */ .attentionmessage { background: #FFF3E0; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin: 5px 0; padding: 5px; text-align: center; } .attentionform { margin: 10px auto 5px auto; } /* delete messages without icon */ .deletemessage { background: #FEE7E7; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin: 5px 0; padding: 5px; text-align: center; } .deletemessage .deletebuttonwrap { padding: 5px; } /******************** General text ********************/ .s { font-size: 0.917em; } .description, .unvalidated, .postdetails { font-size: 0.917em; color: #707070; font-weight: normal; } .nowrap { white-space: nowrap; } .dull { color: #707070; } .tags { margin: 20px 0 10px 0; } /* some common listing text styles */ .title, .title:first-child { font-size: 1.167em; margin: 3px 0; } .detail { margin: 3px 0; } .detail br { line-height: 1px; height: 1px; content: " "; } .postedon { font-size: 0.917em; line-height: 1.167em; } ul.listing { list-style: none; } .listing .listrow { padding: 3px 5px; margin: 0; } .listing .listrow h3.title { display: inline-block; } .listing .tags { margin: 3px 0; } /******************** Tables ********************/ table { border-spacing: 0; border-collapse: collapse; } table.fixwidth { table-layout: fixed; } th { padding: 3px 5px; text-align: left; line-height: 1.25em; vertical-align: top; } thead th { white-space: nowrap; border-bottom: 1px solid #CCCCCC; font-size: 1.167em; } /* those that need to align with td */ .file th, .html th, .text th, .tags th, .select th, .wysiwyg th, .filebrowser th, .textarea th, .userlist th, .emaillist th, .calendar th, .radio th, .checkbox th, .expiry th, .bytes th, .date th, .password th, .multitext th { padding-top: 8px; } td { padding: 3px 5px; vertical-align: top; } .valign { padding: 6px 5px 3px 5px; } tfoot td { padding: 5px 0; } /* small td for tickboxes and icons */ td.narrow { padding: 3px; width: 25px; } /* to align tag in edit tables */ tr.tags td div div { line-height: 2em; } /* Alternative row background */ .r0, .r0 td, .d0 { background-color: #F9F9F9; } .r1, .r1 td, .d1 { background-color: #F3F3F3; } /* Highlight row background */ tr.highlight td, tr.highlight-file td { background-color: #FFFCD8; } /* icon container (icons are 24px wide) */ td.icon-container { vertical-align: top; width: 25px; text-align: center; } td.icon-container img { max-width: 25px; } /* profile icon alignments */ .profile-icon-container { vertical-align: middle; margin-right: 2px; } .profile-icon-left { margin-right: 10px; margin-bottom: 10px; float: left; } .profile-icon-right { margin-left: 10px; margin-bottom: 10px; float: right; } /* table with preserved whitespace */ .messagebody { white-space: pre-wrap; overflow: auto; } .messagebody-newpost, .messagebody-feedback { white-space: normal; } /* expandable */ .valign-middle { vertical-align: middle; } .expandable-head th { font-size: 1em; white-space: normal; } table.attachments thead.expandable-head td { background-color: #DDDDDD; } .expandable-head a.toggle { font-weight: bold; background-image: url(../images/expand.png); background-repeat: no-repeat; background-position: 2px 50%; padding-left: 18px; display: inline-block; } .expandable-head a.toggle.textonly { background-image: none; padding-left: inherit; } .expandable-head a.toggle.expanded { background-image: url(../images/expanded.png); background-position: 2px 50%; } .expandable-head a.toggle.textonly.expanded { background-image: none; } /******************** Forms ********************/ form { margin: 0; padding: 0; } /* required */ .requiredmarker { color: #EE0000; } /* description */ .pieform td.description { padding-top: 0 !important; } /* label */ label { font-weight: bold; } .radio td label { font-weight: normal; line-height: 1.667em; } .checkboxes td label { font-weight: normal; } /* fieldset */ fieldset { padding: 10px 15px; margin: 10px 0; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; border: 1px solid #d1d1d1; } fieldset.collapsible { padding: 10px 15px; margin: 5px 0; } fieldset.collapsed { padding: 0 15px; margin: 5px 0; border-left: 0; border-right: 0; border-bottom: 0; border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0; } .no-js fieldset.collapsed { padding: 10px 15px; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; border: 1px solid #d1d1d1; } fieldset.collapsed div, fieldset.collapsed table { position: absolute; display: none; padding: 0; border: 0; margin: 0; } .no-js fieldset.collapsed div, .no-js fieldset.collapsed table { display: inherit; position: inherit; } .tabbed-fieldsets fieldset { border: none; padding: 0; } /* legend */ legend { font-weight: bold; font-size: 1.333em; } legend h4 { font-size: 1em; margin: 0; } fieldset.collapsible legend { font-size: 1.167em; } fieldset.collapsible legend a { padding-left: 15px; background: url(../images/expanded.png) 0 center no-repeat; text-decoration: none; } fieldset legend a:hover { text-decoration: none; } fieldset.collapsed legend a { background: url(../images/expand.png) 0 center no-repeat; } .no-js fieldset.collapsed legend a { background: url(../images/expanded.png) 0 center no-repeat; } /* select */ select { margin-right: 3px; padding: 4px 3px 3px 3px; border-top: 1px solid #ABADB3; border-right: 1px solid #DBDFE6; border-bottom: 1px solid #E3E9EF; border-left: 1px solid #E2E3EA; font-size: 1em; } @media screen and (-webkit-min-device-pixel-ratio:0) { select { padding: 3px 3px 3px 3px; } } select:focus { outline: 2px solid #FFFF00; } div.select, .no-js div.select { margin-bottom: 3px; } .column select { max-width: 80%; } #institution_authplugin_container select#dummySelect, select#edituser_site_authinstance, select#edituser_institution_addinstitution, select#uploadcsv_authinstance, select#adduser_authinstance { max-width: 380px; } /* radio & checkbox */ .radio, .checkbox { vertical-align: top; } .radio td div.radio { display: inline; } /* horizontal rule */ hr { border-bottom: 1px dotted #D1D1D1; border-top: 0; border-right: 0; border-left: 0; } /* textarea */ textarea { padding: 0; margin: 0; border-top: 1px solid #ABADB3; border-right: 1px solid #DBDFE6; border-bottom: 1px solid #E3E9EF; border-left: 1px solid #E2E3EA; resize: none; font-size: 1em; } textarea:focus { outline: 2px solid #FFFF00; } /* resizable textbox */ .resizable-textarea { max-width: 100% !important; } div.grippie { background: #EEEEEE url(../images/grippie.png) no-repeat scroll 100% 50%; cursor: s-resize; height: 14px; padding: 3px 0 0 0; } /* inputs */ input.text, input.password, input[type=text], input[type=password] { padding: 3px 3px 4px 3px; border-top: 1px solid #ABADB3; border-right: 1px solid #DBDFE6; border-bottom: 1px solid #E3E9EF; border-left: 1px solid #E2E3EA; } input.text:focus, input.password:focus, input[type=text]:focus, input[type=password]:focus { outline: 2px solid #FFFF00; } input.submit:focus { outline: none; } /* hidden */ .no-js .nojs-hidden-inline { display: none; } /* file browser in IE */ input.file/*\**/ { background: #FFFFFF\9; } input.file[disabled="disabled"] { background/*\**/: #f0f0f0\9; } /* input error */ input.error, textarea.error { background-color: #FFF2F2; } /* calendar */ input.calendar { margin-right: 5px; } button.ui-datepicker-trigger { vertical-align: bottom; cursor: pointer; border: none !important; background: none !important; padding: 0 !important; } input.calendar.required { background-color: #FFF2F2; } /* mceEditor */ .mceEditor { display: inline-block; } #mce_fullscreen_container .mceEditor { display: block; } .mce-widget.mce-btn i.tooltoggle-icon { background-image: url(../../../../js/tinymce/plugins/tooltoggle/img/toolbars.gif); } .mce-stack-layout-item .hidden { display: none; } /* files */ a.btn-addfile { display: inline-block; margin-top: 5px; } /******************** Buttons ********************/ /* Default buttons */ /* default state */ input.submit, input.cancel, button, .buttondk, input.button, input.select, input#files_filebrowser_edit_artefact, .btn, .btn:link, .btn:visited, ul.groupuserstatus li.invite span, ul.groupuserstatus li.jointhisgroup form { font-size: 1em; line-height: 1.333em; border: 1px solid #919191; margin: 0 5px 0 0; padding: 4px 5px 3px 5px; background: url(../images/btn_bkgd.png) repeat-x 0 50%; text-decoration: none; cursor: default; color: #333333; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; white-space: nowrap; } /* hover state */ input.submit:hover, input.cancel:hover, button:hover, .buttondk:hover, input.button:hover, input.select:hover, input#files_filebrowser_edit_artefact:hover, .btn:hover, ul.groupuserstatus li.invite span:hover, ul.groupuserstatus li.jointhisgroup form:hover { border-color: #3C7FB1; background: url(../images/btn_bkgd_hover.png) repeat-x 0 50%; text-decoration: none; cursor: default; color: #333333; } /* focus state */ input.submit:focus, input.cancel:focus, button:focus, .buttondk:focus, input.button:focus, input.select:focus, input#files_filebrowser_edit_artefact:focus, .btn:focus, ul.groupuserstatus li.invite span:focus, ul.groupuserstatus li.jointhisgroup form:focus { border-color: #3C7FB1; background: url(../images/btn_bkgd_hover.png) repeat-x 0 50%; text-decoration: none; cursor: default; color: #333333; outline: none; } /* depress state */ input.submit:active, input.cancel:active, button:active, .buttondk:active, input.button:active, input.select:active, input#files_filebrowser_edit_artefact:active, .btn:active, ul.groupuserstatus li.invite span:active, ul.groupuserstatus li.jointhisgroup form:active { border-color: #3C7FB1; background: url(../images/btn_bkgd_focus.png) repeat-x 0 50%; color: #333333; } /* Delete/suspend buttons (red) */ /* default state */ .deletemessage a.delete, #delete_tag_submit, #close_site_submit, #suspenddelete #delete #edituser_delete_submit, #institution_suspend_submit, #networkingform_deletesubmit, input#buttons_delete, input#delete_delete, input#deletetaskform_submit, input#deleteprofileform_submit, input#delete_all_notifications_submit, #activitylist input.btn-del, input#edituser_institution_rhmoodle_remove, input#settings_delete, input#edituser_institution_massey_remove, input#account_delete_submit { border-color: #707070; background: url(../images/btn_bkgd_red.png) repeat-x 0 50%; color: #000000; } /* hover state */ .deletemessage a.delete:hover, #delete_tag_submit:hover, #close_site_submit:hover, #suspenddelete #delete #edituser_delete_submit:hover, #institution_suspend_submit:hover, #networkingform_deletesubmit:hover, input#buttons_delete:hover, input#delete_delete:hover, input#deletetaskform_submit:hover, input#deleteprofileform_submit:hover, input#delete_all_notifications_submit:hover, #activitylist input.btn-del:hover, input#edituser_institution_rhmoodle_remove:hover, input#settings_delete:hover, input#edituser_institution_massey_remove:hover, input#account_delete_submit:hover { border-color: #950000; background: url(../images/btn_bkgd_red_hover.png) repeat-x 0 50%; color: #FFFFFF; } /* focus state */ .deletemessage a.delete:focus, #delete_tag_submit:focus, #close_site_submit:focus, #suspenddelete #delete #edituser_delete_submit:focus, #institution_suspend_submit:focus, #networkingform_deletesubmit:focus, input#buttons_delete:focus, input#delete_delete:focus, input#deletetaskform_submit:focus, input#delete_all_notifications_submit:focus, #activitylist input.btn-del:focus, input#edituser_institution_rhmoodle_remove:focus, input#settings_delete:focus, input#edituser_institution_massey_remove:focus, input#account_delete_submit:focus { border-color: #950000; background: url(../images/btn_bkgd_red_hover.png) repeat-x 0 50%; color: #FFFFFF; } /* depress state */ .deletemessage a.delete:active, #delete_tag_submit:active, #close_site_submit:active, #suspenddelete #delete #edituser_delete_submit:active, #institution_suspend_submit:active, #networkingform_deletesubmit:active, input#buttons_delete:active, input#delete_delete:active, input#deletetaskform_submit:active, input#deleteprofileform_submit:active, input#delete_all_notifications_submit:active, #activitylist input.btn-del:active, input#edituser_institution_rhmoodle_remove:active, input#settings_delete:active, input#edituser_institution_massey_remove:active, input#account_delete_submit:active { border-color: #F23131; background: url(../images/btn_bkgd_red_focus.png) repeat-x 0 50%; color: #FFFFFF; } table#socialprofilelist { width:100%; table-layout:fixed; } table#socialprofilelist th.icons { width: 32px; } /* Other button customisation */ /* bolding some buttons */ #editgroup #editgroup_submit, #editblog #editblog_submit, #editpost #editpost_submitpost, .fileedittable #files_filebrowser_edit_artefact, #view-wizard-controls input.submit, #editview #editview_submit, #viewlayout input.submit, #add_feedback_form #add_feedback_form_submit, #objection_form #objection_form_submit, .submitcancel .submit, #export #export_submit, #forumbtns a.editforumtitle, #viewforum a.newforumtopic, #forumbtns a.newforum, .groupuserstatus .admincontrol .btn-editgroup, input#login_submit, input#files_filebrowser_upload, input#instconf_artefactids_upload, input#instconf_artefactid_upload, input#designskinform_submit, input#viewskin_submit, input#import_submit { font-weight: bold; } /* bigger buttons */ #profileform #profileform_submit, table.fileedittable input#files_filebrowser_edit_artefact, table.fileedittable input#files_filebrowser_edit_cancel, .rbuttons .btn, .userviewrbuttons .btn, tr.submit input.submit, tr.submitcancel input.submit, tr.submitcancel input.cancel, #resumewrap tr.button input.button, #resumewrap div button, #view-wizard-controls input.submit, #viewlayout .submitwrap input, #collectiondonewrap a.btn, .submitcancel input.submitcancel, input#export_submit, div#groupbox div.jointype a.btn, input#edituser_delete_submit, form#sitelicenses a.btn, input#close_site_submit, input#login_submit, input#delete_tag_submit, .upgrade .btn, .viewrbuttons .btn, .viewrbuttons .btn:link, .viewrbuttons .btn:visited, input#instconf_artefactids_edit_artefact, input#instconf_artefactids_edit_cancel, input#instconf_artefactid_edit_artefact, input#instconf_artefactid_edit_cancel, #addlayout, input#viewlayout_submit, input#files_filebrowser_upload, input#instconf_artefactids_upload, input#instconf_artefactid_upload, input#designskinform_submit, input#cancel_designskinform_submit, input#import_submit, input#cancel_import_submit { padding: 5px 10px; font-size: 1.167em } .rbuttons input.submit { padding: 4px 10px 5px 10px; font-size: 1.167em; } /* exceptions to the bigger and need to be made back to regular */ input#delete_all_notifications_submit, input#edituser_institution_rhmoodle_submit, input#edituser_institution_rhmoodle_remove, input#edituser_institution_add, input#friendscontrol_submit, input#addviews_submit, input#edituser_suspend_submit, input#edituser_delete_submit, input#institution_suspend_submit, input#edituser_institution_massey_submit, input#edituser_institution_massey_remove, .pagetabs .btn, .pagetabs input.submit, input#usertype_typesubmit, #pluginconfig table tr td fieldset table tr.submit input.submit, input#designskinform_body_background_image_open_upload_browse, input#designskinform_body_background_image_close_upload_browse, input#designskinform_view_background_image_open_upload_browse, input#designskinform_view_background_image_close_upload_browse, input#instconf_artefactids_open_upload_browse, input#instconf_artefactids_close_upload_browse { padding: 4px 5px 3px 5px; font-size: 1em; } tr.btn-subscribe input.btn-subscribe { padding: 3px 5px 2px 5px; font-size: 1em; } input#releaseview_submit { padding: 4px 5px 3px 5px !important; font-size: 1em !important; } .deletemessage .deletebuttonwrap .btn { padding: 5px 10px; } /* buttons that look like links */ .linkbtn, .linkbtn:hover, .linkbtn:focus { border: 0; cursor: pointer; background: none; padding: 0; font-size: 1em; color: #0000EE; text-decoration: underline; } /* disabled inputs */ input[disabled="disabled"], input[disabled="disabled"]:hover, input[disabled="disabled"]:focus { border-color: #aaaaaa; color: #aaaaaa; background: url(../images/btn_bkgd.png) repeat-x 0 50%; } input.text[disabled="disabled"], input.text[disabled="disabled"]:hover, input.text[disabled="disabled"]:focus, input[type="text"][disabled="disabled"], input[type="text"][disabled="disabled"]:hover, input[type="text"][disabled="disabled"]:focus { background: #f0f0f0; border-top: 1px solid #ABADB3; border-right: 1px solid #DBDFE6; border-bottom: 1px solid #E3E9EF; border-left: 1px solid #E2E3EA; } input[type="image"][disabled="disabled"], input[type="image"][disabled="disabled"]:hover, input[type="image"][disabled="disabled"]:focus { opacity: 0.5; filter: alpha(opacity=50); zoom: 1; } /* placement of buttons */ .rbuttons { float: right; margin-top: -40px; line-height: 2.167em; } .rbuttons form, .rbuttons form div { display: inline; } .rbuttons input.submit, .rbuttons a { display: inline-block; margin: 0 0 0 8px; } /* multiple icons in wrap */ .btns2 { width: 60px; /* 2 24px with 12px of padding = 60px. Icons*/ white-space: nowrap; } .btns3 { width: 96px; /* 3 24px with 24px of padding = 96px. Icons*/ white-space: nowrap; } /* removing link underline in icons and making link full block */ .btns2 a, .btns3 a { margin: 0 0 0 8px; display: inline-block; text-decoration: none; vertical-align: top; } .btns2 input, .btns3 input { margin: 0 0 0 8px; } .btns2 a:first-child, .btns3 a:first-child { margin: 0; } ul.groupuserstatus li .btn { margin: 0 0 0 8px; } /* icon buttons */ .btn-big-edit, .btn-big-info, .btn-big-del, .customrow input { border: 0 !important; margin-right: 0 !important; width: 24px; height: 24px; padding: 0; text-align: left; text-indent: -9999px; font-size: 1px; vertical-align: top; cursor: pointer !important; overflow: hidden; } .btn-big-edit { background: transparent url(../images/btn_edit.png) no-repeat 0 0 !important; } .btn-big-info { background: transparent url(../images/btn_info.png) no-repeat 0 0 !important; } .btn-big-del, .customrow input { background: transparent url(../images/btn_deleteremove.png) no-repeat 0 0 !important; color: transparent; display: inline-block; overflow-x: hidden; } .btn-big-del:focus, .customrow input:focus { background: transparent url(../images/btn_deleteremove_focus.png) no-repeat 0 0 !important; outline: none; } .btn-big-close, input#editpost_filebrowser_close_upload_browse, input#editnote_filebrowser_close_upload_browse, input#editgoalsandskills_filebrowser_close_upload_browse, input#editcomposite_filebrowser_close_upload_browse, input#designskinform_body_background_image_close_upload_browse, input#designskinform_view_background_image_close_upload_browse, input#instconf_artefactids_close_upload_browse { background: transparent url(../images/btn_close.png) no-repeat 0 0; border: 0 !important; margin-right: 0 !important; width: 24px; height: 24px; padding: 0px; text-indent: -9999px; font-size: 1%; vertical-align: top; cursor: pointer !important; float: right; } .btn-big-close:hover, input#editpost_filebrowser_close_upload_browse:hover, input#editnote_filebrowser_close_upload_browse:hover, input#editgoalsandskills_filebrowser_close_upload_browse:hover, input#editcomposite_filebrowser_close_upload_browse:hover, input#designskinform_body_background_image_close_upload_browse:hover, input#designskinform_view_background_image_close_upload_browse:hover, .btn-big-close:focus, input#editpost_filebrowser_close_upload_browse:focus, input#editnote_filebrowser_close_upload_browse:focus, input#editgoalsandskills_filebrowser_close_upload_browse:focus, input#editcomposite_filebrowser_close_upload_browse:focus, input#designskinform_body_background_image_close_upload_browse:focus, input#designskinform_view_background_image_close_upload_browse:focus { background: transparent url(../images/btn_close_focus.png) no-repeat 0 0; } .btn-big-add { background: transparent url(../images/btn_add.png) no-repeat 0 0 !important; border: 0 !important; margin-right: 0 !important; width: 24px; height: 24px; padding: 0px; text-indent: -9999px; font-size: 1%; vertical-align: top; cursor: pointer !important; } .btn-big-export { background: transparent url(../images/btn_export.png) no-repeat 0 0 !important; border: 0 !important; margin-right: 0 !important; width: 24px; height: 24px; padding: 0px; text-indent: -9999px; font-size: 1%; vertical-align: top; cursor: pointer !important; } /* links or buttons with icons **/ .btn-add { background: transparent url(../images/add_small.png) no-repeat 0 50%; padding-left: 15px; } .btn-approve { background: transparent url(../images/approve_small.png) no-repeat 0 50%; padding-left: 15px; } .btn-config { background: transparent url(../images/config_small.png) no-repeat 0 50%; padding-left: 15px; } .btn-del { background: transparent url(../images/delete_small.png) no-repeat 0 50%; padding-left: 15px; } .btn-deny { background: transparent url(../images/deny_small.png) no-repeat 0 50%; padding-left: 15px; } .btn-display { background: transparent url(../images/display_small.png) no-repeat 0 50%; } .btn-edit { background: transparent url(../images/edit_small.png) no-repeat 0 50%; padding-left: 15px; } .btn-friend { background: transparent url(../images/friend_small.png) no-repeat 0 50%; padding-left: 15px; } .btn-group { background: transparent url(../images/group_small.png) no-repeat 0 0; padding-left: 15px; } .btn-leavegroup { background: transparent url(../images/leave_small.png) no-repeat 0 50%; padding-left: 15px; } .btn-login { background: transparent url(../images/join_small.png) no-repeat 0 50%; padding-left: 15px; } .btn-message { background: transparent url(../images/message_small.png) no-repeat 0 50%; padding-left: 15px; } .btn-pending { background: transparent url(../images/pending_small.png) no-repeat 0 50%; padding-left: 15px; } .btn-reply { background: transparent url(../images/reply_small.png) no-repeat 0 50%; padding-left: 15px; } .btn-request { background: transparent url(../images/request_small.png) no-repeat 0 50%; padding-left: 15px; } /******************** Pagination ********************/ div.pagination { text-align: center; margin: 3px 0; line-height: 2em; } div.pagination span, div.pagination label { margin: 0 3px; display: inline-block; } div.pagination .selected { font-weight: bold; padding: 3px 5px; } div.pagination a { text-decoration: none; padding: 3px 5px; background: #EEEEEE; white-space: nowrap; } div.pagination label { font-weight: normal; } div.pagination .disabled { color: #C1C1C1; padding: 3px 5px; white-space: nowrap; } div.pagination .results { color: #707070; padding: 3px 0; line-height: 1.167em; } div.pagination .results a { border: 0; } form.pagination { margin: 5px 0; } /******************** Layout ********************/ #container { clear: both; width: 100%; } #header { margin: 0 auto; min-width: 960px; max-width: 1280px; } #mainmiddle { margin: 0 auto; min-width: 960px; max-width: 1280px; } #mainmiddlewrap { clear: both; background: #FFFFFF; } #main-wrapper { margin-right: 0; margin-left: 0; } #main-wrapper-narrow-right { margin-right: 256px; margin-left: 0; } #main-wrapper-narrow-left { margin-right: 0; margin-left: 256px; } .main-column, .main-column-narrow { position: static; width: 100%; } #main-wrapper-narrow-left .main-column-narrow { float: right; } #main-wrapper-narrow-right .main-column-narrow { float: left; } #main-column-container { min-height: 0; /* IE layout hack */ padding: 10px 20px 20px 20px; } #left-column { width: 256px; margin-left: -256px; float: left; } #right-column { width: 256px; margin-right: -256px; float: right; } div.rel { position: relative; min-height: 0; /* IE layout hack */ } /******************** Header ********************/ /* skip to content link */ .skiplink { background-color: #EEEEEE; display: block; padding: 5px 10px; position: absolute; top: -999px; left: 47%; -webkit-box-shadow: 0px 0px 5px 0px #333333; box-shadow: 0px 0px 5px 0px #333333; } .skiplink:focus { top: 0; outline: none; } /* top bar / site message */ .sitemessage { background-color: #FEE7E7; font-weight: bold; padding: 5px; border-bottom: 1px solid #BEBEBE; color: #333333; } .sitemessage img { float: left; padding-right: 5px; } .sitemessage a, .sitemessage a:visited, .sitemessage a:link, .sitemessage a:active { color: #B42D2D; } /* site logo */ #site-logo { float: left; margin: 10px 0 5px 10px; } #site-logo a { display: block; } #site-logo a:active { outline: none; } /* header right */ #header-right { float: right; padding: 5px 10px 10px 10px; white-space: nowrap; display: block; } #header-right label { margin-right: 5px; color: #666666; } /* top navigation */ #right-nav ul { text-align: right; margin: 5px 0; } #right-nav li { display: inline; margin: 0; color: #D1D1D1; } #right-nav .navcount { padding: 0 0 0 2px; } #right-nav li a { padding: 0 5px; } #right-nav li a img { vertical-align: middle; margin: 0 2px; } #right-nav li.identity a { color: #666666; text-decoration: none; } /* language bar */ #right-nav li#language { display: inline-block; } #languageselect { margin: 15px 0 0 0; } /* login link */ #right-nav li#loginlink { display: inline-block; } #right-nav li#loginlink a { margin: 0 0 1px 8px; } /* search */ #usf { text-align: right; float: right; clear: right; } #usf_submit { margin: 0 0 0 3px; padding: 5px 5px 4px 5px; } /******************** Small header ********************/ #micro #header { padding: 10px 0 0 0; } /* buttons on the right */ .viewheadertop .links { text-align: right; margin-right: 10px; } .viewheadertop .links a.btn { margin: 0 0 0 8px; display: inline-block; } /* site logo */ .viewheadertop a.small-logo { display: block; margin-left: 10px; } /* main navigation */ .viewheadertop #mainnav-container { padding: 3px 5px 3px 10px; color: #D1D1D1; float: left; white-space: nowrap; } .viewheadertop #mainnav-container #mainnav a { padding: 0 3px; } /* header heading and tabs */ .viewheader { padding: 10px 10px 0 10px; clear: both; } .viewheader .viewtitle, .viewheader .collection-title { padding: 5px 0; margin: 0; } #micro .viewtitle, #micro .collection-title { text-align: center; } /******************** Main navigation ********************/ .main-nav { clear: both; font-size: 1.333em; white-space: nowrap; background: #EEEEEE; } .main-nav ul { margin: 0 auto; min-width: 960px; max-width: 1280px; padding: 0; } .main-nav li { padding: 0; margin: 0; list-style-type: none; display: inline-block; position: relative; z-index: 3; } .main-nav li.selected { background: #DDDDDD; } .main-nav li span { display: inline-block; } .main-nav li a, .main-nav li a:link, .main-nav li a:visited, .main-nav li a:active { padding: 10px; display: inline-block; text-decoration: none; font-weight: bold; } .main-nav li a:hover, .main-nav li a:focus { background: #E9E9E9; outline: none; } /******************** Sub navigation ********************/ #sub-nav { background: #DDDDDD; } #sub-nav ul { margin: 0 auto; min-width: 960px; max-width: 1280px; padding: 0; } #sub-nav li { padding: 0; margin: 0; list-style-type: none; display: inline-block; vertical-align: middle; } #sub-nav li a, #sub-nav li a:link, #sub-nav li a:visited { padding: 5px 10px; display: inline-block; text-decoration: none; } #sub-nav li a:active, #sub-nav li a:focus { outline: none; background: #cdcdcd; } #sub-nav li.selected a { color: #333333; font-weight: bold; } /******************** Dropdown sub navigation ********************/ .main-nav .dropdown-sub { display: none; position: absolute; left: 0; z-index: 3; clear: both; padding: 0; margin: 0; min-width: 0; } .main-nav li:hover .dropdown-sub, .main-nav li .dropdown-sub.show-menu { display: block; } .main-nav .dropdown-sub li { list-style: none; display: block; } .main-nav .dropdown-sub li a, .main-nav .dropdown-sub li a:link, .main-nav .dropdown-sub li a:visited, .main-nav .dropdown-sub li a:active { background: #E9E9E9; float: none; width: 140px; white-space: normal; text-align: left; font-weight: normal; font-size: 0.857em; display: block; text-decoration: none; padding: 8px 10px; } .main-nav .dropdown-sub li.selected a { font-weight: bold; } .main-nav .dropdown-sub li a:hover, .main-nav .dropdown-sub li a:focus { background: #DDDDDD; } /******************** Tabs ********************/ /* reset responsive tabs (profile tabs are in the form not template) */ .rd-tab-title { display: none; } ul.in-page-tabs { font-size: 1.167em; list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; clear: both; } ul.in-page-tabs li { display: table-cell; padding: 0; margin: 0; vertical-align: bottom; } ul.in-page-tabs li a, ul.in-page-tabs li a:link, ul.in-page-tabs li a:visited, ul.in-page-tabs li a:active, ul.in-page-tabs li input.linkbtn, ul.in-page-tabs li button.linkbtn, ul.searchtab li span.inactive { text-decoration: none; display: inline-block; padding: 10px 6px; border: 1px solid #D4D4D4; background: #EEEEEE; -webkit-border-radius: 3px 3px 0 0; -moz-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; margin: 0 0 0 7px; } ul.in-page-tabs li a.current-tab, ul.in-page-tabs li a.current-tab:link, ul.in-page-tabs li a.current-tab:visited, ul.in-page-tabs li a.current-tab:active, ul.in-page-tabs li input.current-tab, ul.in-page-tabs li button.current-tab { color: #333333; text-decoration: none; cursor: default; font-weight: bold; border-bottom: 1px solid #FFFFFF; background: 0; } ul.in-page-tabs li a:focus, ul.in-page-tabs li a.current-tab:focus { outline: none; background: #D4D4D4; } /* tab body */ .subpage { border: 1px solid #D4D4D4; padding: 10px; margin-top: -1px; margin-bottom: 10px; clear: left; display: block; -webkit-border-radius: 0 0 5px 5px; -moz-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } /******************** Sidebar ********************/ /* general sidebar styles */ .sideblock { clear: both; } .sideblock .sidebar-header { padding: 10px 10px 5px 10px; } .sideblock .sidebar-content { padding: 5px 10px 10px 10px; } .sideblock h3 { display: inline-block; font-size: 1.333em; margin: 0; } .sideblock ul { padding: 0 0 0 15px; margin: 0; line-height: 1.5em; } .sideblock ul li { padding-bottom: 3px; margin: 0; } .sideblock ul li li { padding-bottom: 0; padding-top: 3px; } /* Sidebar login */ #sb-loginbox #loginform_container { width: 100%; } #sb-loginbox #login_submit_container input#login_submit { padding: 5px; } .main-column.editcontent { width: auto; } /* Sidebar profile */ #user-profileicon, #main-wrapper-narrow-left .main-column-narrow { float: right; padding-left: 3px; padding-bottom: 3px; } #user-profileicon a { display: inline-block; } #user-profileicon img { border: 1px solid #FFFFFF; } #sb-profile .sidebar-content { min-height: 30px; } #sb-profile .sidebar-content ul { list-style: none; padding-left: 0; font-weight: bold; } #sb-profile .sidebar-content ul li { padding-bottom: 5px; } #sb-profile .sidebar-content ul ul { font-weight: normal; padding-left: 15px; list-style-type: disc; } #sb-profile .sidebar-content ul ul li { padding-bottom: 0; } #sbdatapeer { margin-top: 10px; clear: both; background: #EEEEEE; padding: 3px 5px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; } #sbdatapeer a { background: url(../images/externallink_small.png) no-repeat 0 1px; padding-left: 15px; } #changeuser { margin-top: 10px; clear: both; background: #FEE7E7; padding: 3px 5px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; } #changeuser a { font-weight: bold; background: transparent url(../images/join_small.png) no-repeat 0 1px; padding-left: 15px; } /* Sidebar online users */ #lastminutes { float: right; margin: 3px 0 0 0; } #sb-onlineusers ul { list-style: none; padding: 0; } #sb-onlineusers li { line-height: 2.333em; padding: 1px 0; white-space: nowrap; overflow-x: hidden; } #allonline { font-weight: bold; margin: 5px 0 0 0; } /* Sidebar quota/group quota bar */ #quota_message { text-align: center; margin: 0 0 10px 0; } #quota_used, #quota_total { font-weight: bold; } #quotawrap { text-align: center; width: 210px; margin: 0 auto; } #quota_fill { margin: 0 5px; height: 28px; background-image: url(../images/quota_bar_highlight.png); position: absolute; } #quota_bar { background: url(../images/quota_bar_bg.png) no-repeat 0 0; height: 28px; width: 210px; text-align: center; margin: 0; } #quota_percentage { position: relative; z-index: 1; color: #000000; font-weight: bold; line-height: 28px; font-size: 1.167em; } #quota_bar_100 { background: url(../images/quota_bar_full.png) no-repeat 0 0; height: 28px; width: 210px; text-align: center; margin: 0; } /* Sidebar progress bar */ /* Institutions > Progress bar */ #progressbarform table { width: 100%; } #progressbarform th { width: 30%; } #progressbarform th label { white-space: nowrap; } #progressbarform legend { font-size: 1em; } #progressbarform fieldset { border-color: #D1D1D1; } #progressbar-construct { width: 100%; float: left; } #progressbar-preview { width: 230 px; float: right; padding: 10px; border: 1px solid #D1D1D1; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } #progress_bar_fill { background-image: url("../images/progress_bar_highlight.png"); height: 28px; margin: 0 5px; position: absolute; } #progress_bar { background: url("../images/progress_bar_bg.png") no-repeat scroll 0 0 transparent; height: 28px; margin: 0; text-align: center; width: 210px; } #progress_bar_percentage { color: #000000; font-size: 1.167em; font-weight: bold; line-height: 28px; position: relative; z-index: 1; } #progress_bar_100 { background: url("../images/progress_bar_full.png") no-repeat scroll 0 0 transparent; height: 28px; margin: 0; text-align: center; width: 210px; } #progressbarwrap { text-align: center; width: 210px; margin: 0 auto; } #profile_completeness_tips { text-align: left; margin-top: 10px; } /* Sidebar portfolio search */ /* Sidebar friends control */ .sideblock #friendscontrol th, .sideblock #friendscontrol td { padding: 0; } .sideblock #friendscontrol input.radio { float: left; } .sideblock #friendscontrol label { line-height: 1.25em; margin: 2px 0 5px 20px; display: block; } .sideblock #friendscontrol br { line-height: 1px; height: 1px; } .sideblock #friendscontrol tr#friendscontrol_submit_container td { padding-top: 5px; } /* Sidebar tags */ #sb-tags .tag { padding: 0 5px; vertical-align: middle; white-space: nowrap; line-height: 1.25em; } /* Sidebar group navigation */ #sb-groupnav ul li a.selected { font-weight: bold; text-decoration: none; color: #333333; } /* Sidebar links and resources */ /* Sidebar ssopeers */ /******************** Footer ********************/ #footer-wrap { clear: both; margin: 0 auto; font-size: 1em; } #footer { padding: 10px 0; margin: 0 auto; min-width: 960px; max-width: 1280px; } #footer a, #footer a:link, #footer a:visited, #footer a:active, #footer a:hover { padding: 0 5px; } #footer-nav { margin: 0; float: left; margin: 10px; } #powered-by { margin: 0 0 0 5px; float: left; } #performance-info { float: right; margin: 10px 10px 0 0; text-align: right; width: 450px; } #performance-info span { padding: 0 3px; white-space: nowrap; font-size: 0.917em; } #version { clear: right; float: right; margin: 10px 10px 0 0; font-size: 0.917em; } #micro #performance-info, #micro #version { margin: 5px 10px 5px 0; width: auto; } /******************** Page by page styles (listed by navigation order) ********************/ /* Login page */ #loginform_container { width: 256px; } #loginform_container #login_login_container { background: #F4F4F4; padding: 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } #login_login_username_container input, #login_login_password_container input { margin: 0 0 5px 0; width: 96%; } #login_submit_container { display: inline-block; vertical-align: top; } #login-helplinks { display: inline-block; vertical-align: top; } #login-helplinks a { padding-left: 2px; } #login_login_container .error { background: none; padding: 0; } #login_login_container .error input.error { background: #FFF9DD; padding: 3px; } #login_login_extra_container { background: #F4F4F4; padding: 10px 10px 10px 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin-top: 10px; } #login_login_extra_container strong, #login_login_extra_container label { display: block; } #login_login_extra_container .login-externallink { display: inline-block; margin-right: 5px; margin-top: 5px; font-size: 1.167em; vertical-align: top; } #login_login_extra_container .login-externallink a.btn { display: inline-block; } /* persona button */ /* link body */ a.persona-button { color: #FFFFFF !important; display: inline-block; line-height: 1.1; overflow: hidden; position: relative; text-decoration: none; text-shadow: 0 1px rgba(0,0,0,0.5), 0 0 2px rgba(0,0,0,0.2); background: #3C3C3C; background: -moz-linear-gradient(top, #606060, #3C3C3C); background: -ms-linear-gradient(top, #606060, #3C3C3C); background: -o-linear-gradient(top, #606060, #3C3C3C); background: -webkit-linear-gradient(top, #606060, #3C3C3C); background: linear-gradient(top, #606060, #3C3C3C); -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; -moz-box-shadow: 0 1px 0 rgba(0,0,0,0.2); -ms-box-shadow: 0 1px 0 rgba(0,0,0,0.2); -o-box-shadow: 0 1px 0 rgba(0,0,0,0.2); -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.2); box-shadow: 0 1px 0 rgba(0,0,0,0.2); } a.persona-button:hover { background: #2D2D2D; background: -moz-linear-gradient(top, #484848, #2D2D2D); background: -ms-linear-gradient(top, #484848, #2D2D2D); background: -o-linear-gradient(top, #484848, #2D2D2D); background: -webkit-linear-gradient(top, #484848, #2D2D2D); background: linear-gradient(top, #484848, #2D2D2D); } a.persona-button:active, a.persona-button:focus { top: 1px; -moz-box-shadow: none; -ms-box-shadow: none; -o-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; } a.persona-button span { display: inline-block; padding: 6px 5px 6px 40px; } /* persona icon */ a.persona-button span:after { background: url(../images/persona_logo.png) 10px center no-repeat; content: ''; display: block; width: 31px; position: absolute; bottom: 0; left: -3px; top: 0; z-index: 10; } /* persona icon background */ a.persona-button span:before { content: ''; display: block; height: 100%; width: 20px; position: absolute; bottom: 0; left: 0; top: 0; z-index: 1; background: #D34F2D; background: -moz-linear-gradient(top, #EBAC45, #D34F2D); background: -ms-linear-gradient(top, #EBAC45, #D34F2D); background: -o-linear-gradient(top, #EBAC45, #D34F2D); background: -webkit-linear-gradient(top, #EBAC45, #D34F2D); background: linear-gradient(top, #EBAC45, #D34F2D); -moz-border-radius: 3px 0 0 3px; -ms-border-radius: 3px 0 0 3px; -o-border-radius: 3px 0 0 3px; -webkit-border-radius: 3px 0 0 3px; border-radius: 3px 0 0 3px; } /* persona triangle */ a.persona-button:before { content: ''; display: block; height: 26px; width: 26px; position: absolute; left: 2px; top: 50%; margin-top: -13px; z-index: 0; background: #D34F2D; background: -moz-linear-gradient(-45deg, #EBAC45, #D34F2D); background: -ms-linear-gradient(-45deg, #EBAC45, #D34F2D); background: -o-linear-gradient(-45deg, #EBAC45, #D34F2D); background: -webkit-linear-gradient(-45deg, #EBAC45, #D34F2D); background: linear-gradient(-45deg, #D34F2D, #EBAC45); /* flipped for updated spec */ -moz-box-shadow: 1px -1px 1px rgba(0,0,0,0.1); -ms-box-shadow: 1px -1px 1px rgba(0,0,0,0.1); -o-box-shadow: 1px -1px 1px rgba(0,0,0,0.1); -webkit-box-shadow: 1px -1px 1px rgba(0,0,0,0.1); box-shadow: 1px -1px 1px rgba(0,0,0,0.1); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); -webkit-transform: rotate(45deg); transform: rotate(45deg); } /* persona inset shadow (required here because the icon background clips it when on the `a` element) */ a.persona-button:after { content: ''; display: block; height: 100%; width: 100%; position: absolute; left: 0; top: 0; bottom: 0; right: 0; z-index: 10; -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; -moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.3); -ms-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.3); -o-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.3); -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.3); box-shadow: inset 0 -1px 0 rgba(0,0,0,0.3); } /* Dashboard */ #hideinfo { margin: 0 0 -17px 0; z-index: 1; position: relative; right: -5px; text-align: right; } #hideinfo a { display: inline-block; width: 24px; } .home-info-boxes td { width: 33%; } .home-info-box h2.title { font-size: 2.5em; margin: 0; color: #8c8c8c; text-shadow: 0 1px 2px #FFFFFF; } .home-info-boxes a, .home-info-boxes a:hover { text-decoration: none; } .home-info-box p { margin: 0; color: #333333; } .home-info-box { background-color: #e8e8e8; border: 1px solid #d3d3d3; padding: 10px 15px; -webkit-box-shadow: 0 0 2px rgba(255, 255, 255, 0.8) inset, 0 0 1px #DDD; box-shadow: 0 0 2px rgba(255, 255, 255, 0.8) inset, 0 0 1px #DDD; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; overflow: hidden; position: relative; cursor: default; } .mask { position: absolute; overflow: hidden; top: 100%; left: 0; background-color: rgba(40,40,40,0.9); transform: translateY(100%); opacity: 1; transition: all 0.3s ease-in-out; width: 100%; height: 100%; } .mask .detail { padding: 10px; color: #FFFFFF; font-weight: bold; font-size: 1.083em; text-align: center; } a:hover .home-info-box, a:focus .home-info-box, a:active .home-info-box { background-color: #f0f0f0; transition: all 0.1s ease 0s; } a:hover .home-info-box .mask, .home-info-box:hover .mask { transform: translateY(-100%); } a:focus .home-info-box .mask, a:active .home-info-box .mask, .home-info-box:focus .mask, .home-info-box:active .mask { transform: translateY(-100%); background-color: rgba(0,0,0,1); } a:hover .home-info-box p, a:focus .home-info-box p, a:active .home-info-box p { opacity: 1; transition-delay: 0.3s; } #home-info-create { background-image: url(../images/home-info-create.png); background-repeat: no-repeat; background-position: 10px 10px; padding-left: 55px; } #home-info-share { background-image: url(../images/home-info-share.png); background-repeat: no-repeat; background-position: 10px 10px; padding-left: 55px; } #home-info-engage { background-image: url(../images/home-info-engage.png); background-repeat: no-repeat; background-position: 12px 15px; padding-left: 55px; } #editdashboard { margin-top: 40px; margin-bottom: -15px; position: relative; z-index: 1; } /* Content > Profile */ #profileform_topsubmit_container th, #profileform_submit_container th { display: none; } /* Content > Profile pictures */ #profileicons .profileiconcell { width: 110px; } #profileicons .defaultcell, #profileicons .deletecell { width: 50px; text-align: center; } /* Content > Files */ .filelist .disabled { color: #C3C3C3; } .uploaddisabled { background-color: #F7F7F7; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } .fileupload { background-color: #F7F7F7; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } #createfolder { background-color: #F7F7F7; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } .foldernav { font-weight: bold; padding: 3px 0 0 24px; font-size: 1.333em; background: url(../images/foldernav.png) no-repeat 0 0; margin-top: 20px; } #files_filebrowser_uploadsubmit_container, #instconf_artefactids_uploadsubmit_container, #instconf_artefactid_uploadsubmit_container { margin: 10px 0 5px 0; } /* drop file upload */ #file_dropzone_container { -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: inset 0px 0px 3px 0px rgba(0, 0, 0, 0.2); box-shadow: inset 0px 0px 3px 0px rgba(0, 0, 0, 0.2); background: rgba(200, 200, 200, 0.4); } .no-js #file_dropzone_container { display: none; } #file_dropzone_container.dragover { background-color: #FFFFF7; } #file_dropzone_container .dz-message { font-size: 2em; color: #707070; } /* filelist table */ .filelist { border-bottom: 1px solid #CCCCCC; } .filelist td.filename, .filelist td.filedescription, .filelist td.filesize, .filelist td.filedate { padding: 8px 5px; } /* edit row background */ tr.editrow, tr.editrow td, tr#files_filebrowser_edit_row, tr#files_filebrowser_edit_row td { background-color: #FFFFF7 !important; border-bottom: 2px solid #FFFFFF; } /* folder row background */ tr.folder td { background: #EEEEEE url(../images/folderrow.png) repeat-x 0 0; } /* folder row being moved */ tr.folderhover td { background: #FFFFCC; } /* parent folder row */ tr.parentfolder td.filedescription { font-style: italic; padding-top: 7px; } tr.parentfolder td.filename a.changefolder { height: 24px; display: block; background: url(../images/parentfolder.png) no-repeat 0 0; } .filelist .nowrap input { margin-left: 7px; margin-right: 0; } .filelist .nowrap input:first-child { margin-left: 0; } /* extract file */ tr#unzip_artefact_submit_container th, tr#unzip_artefact_submit_container td { padding: 0; } /* download folder */ #downloadfolder { font-weight: bold; padding: 8px 5px; } /* Content > Journals > Journal list */ #bloglist span.entries { white-space: nowrap; float: left; margin-left: 10px; line-height: 24px; } #bloglist span.newentry { margin: 0 0 0 8px; float: left; display: block; line-height: 24px; } #bloglist span.newentry a { font-size: 1em; margin: 0; line-height: 24px; padding: 4px 5px; } @media screen and (-webkit-min-device-pixel-ratio:0) { #bloglist span.newentry a { padding: 3px 5px 4px 5px; } } #bloglist .btns2 a { margin: 0 0 0 10px; } #bloglist .btns2 form, #bloglist .btns2 div { display: inline; } /* Content > Journals > Journal posts */ #myblogs .rbuttons { margin: -10px 0 10px 10px; } #postlist { clear: right; } #postlist h2 { margin: 0 0 5px 0; } #postlist .poststatus { font-weight: bold; white-space: nowrap; margin: 0 0 0 10px; line-height: 26px; } #postlist .draft .poststatus { color: #DA7373; } #postlist .postdate { border-top: 1px dotted #D1D1D1; } #postlist .postdescription { padding: 5px 0; } #postlist .published { background: #F9F9F9; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } #postlist .postdescription h1, #postlist .postdescription h2, #postlist .postdescription h3, #postlist .postdescription h4, #postlist .postdescription h5, #postlist .postdescription h6 { color: #333333; } #postlist .draft { background: #FFF9F9 url(../images/private_bkgd.png) repeat 0 0; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } #postlist input.publish { padding: 2px 5px; margin-right: 0; } /* attachments */ table.attachments { border: 1px solid #DDDDDD; background-color: #DDDDDD; margin: 5px 0; } table.attachments thead td { font-size: 1.167em; line-height: 19px; } table.attachments .title { font-size: 1em; } /* Content > Journals > Edit */ /* Content > Notes > Edit */ /* Content > Resume > Education and employment > Edit */ /* Content > Resume > Achievements > Edit */ /* Content > Resume > Goals and skills > Edit */ #editpost_filebrowser_upload_browse, #editpost_filebrowser_open_upload_browse_container, #editnote_filebrowser_upload_browse, #editnote_filebrowser_open_upload_browse_container, #editgoalsandskills_filebrowser_upload_browse, #editgoalsandskills_filebrowser_open_upload_browse_container, #editcomposite_filebrowser_upload_browse, #editcomposite_filebrowser_open_upload_browse_container, #instconf_artefactids_upload_browse, #instconf_artefactids_open_upload_browse_container { background: #EEEEEE; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } /* Content > Résumé */ .movebuttons { width: 58px; } #resumelicense_submit_container th { display: none; } th.resumeattachments { width: 30px; } .compositedesc { margin: 5px 0 10px 0; } /* attachment notice in Résumé fieldsets */ /* TO DO: Designer check where this is */ .attachmessage { font-size: 0.917em; font-style: italic; color: #666666; } .inline-button { vertical-align: middle; margin: 4px 0px; } /* Content > Plans */ tr.incomplete td { background: #FEE7E7; } #planslist .detail p:first-child { margin-top: 0; } .completiondate, .plantasktitle, .plantaskdescription { padding-top: 8px; } /* Content > My notes */ #notes td.note-name .detail iframe { overflow-x: hidden; } #notes td.note-name { width: 40%; } #notes .detail p { margin: 5px 0; } /* Portfolio > Pages */ #searchviews { padding: 5px 0; margin-bottom: 3px; } #searchviews #searchviews_query { margin-right: 3px; } /* page/collection submission form */ .submissionform { background: #EEEEEE; padding: 3px 5px; } .submissionform select { font-size: 1em; } .submissionform .submit { margin-left: 3px; } .submittedform { padding: 7px 5px; } .submitted-viewitem { background: rgba(255, 255, 255, 0.7); -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; padding: 5px; } /* Portfolio > Pages > Copy a page */ #copyview .searchquery { line-height: 2.8em; margin-bottom: 15px; background: #EEEEEE; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; padding: 3px 10px; } #copyview #searchowners { white-space: nowrap; } #templatesearch_table tbody td.right { white-space: nowrap; } table.templateresults td.right input.submit { margin: 0 0 0 7px; } /* previewing popup */ #viewpreview { position: absolute; padding: 10px; font-size: 0.75em; line-height: 1.333em; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; z-index: 12; background: #FFFFFF; border: 7px solid #EEEEEE; } #closepreview { display: block; float: right; } /* Portfolio > Pages > Edit page (see views.css in theme folder and in raw folder) */ /* Portfolio > Pages > Edit page > Edit layout tab */ #viewlayout_basic_container, #viewlayout_adv_container { padding: 10px; margin: 5px 0; } #viewlayout_basic_container fieldset, #viewlayout_adv_container fieldset { margin: 0; } #basiclayouthelp { margin-left: 5px; } #viewlayout .layoutoption { display: inline-block; margin: 5px 15px 0 0; text-align: center; vertical-align: top; } #viewlayout .layoutthumb { display: block; } #viewlayout .layoutthumb img { margin-top: 5px; background: #FFFFFF; border: 1px solid #CCCCCC; padding: 5px; cursor: pointer; } .advancedlayoutselect .title { display: table-cell; width: 80px; vertical-align: top; padding-top: 7px; padding-left: 5px; } #viewlayout_advancedlayoutselect_row1, #viewlayout_advancedlayoutselect_row2, #viewlayout_advancedlayoutselect_row3, #viewlayout_advancedlayoutselect_row4, #viewlayout_advancedlayoutselect_row5, #viewlayout_advancedlayoutselect_row6 { display: table-cell; } #viewlayout_createcustomlayout_container { margin-top: 15px; margin-bottom: 5px; } #createcustomlayouttitle { display: inline; } #viewlayout_createcustomlayout_container #createcustomlayouttitle a { background: url("../images/expand.png") no-repeat 0 50%; padding-left: 15px; text-decoration: none; } #viewlayout_createcustomlayout_container.collapsed #createcustomlayouttitle a { background: url("../images/expanded.png") no-repeat 0 50%; } .no-js #viewlayout_createcustomlayout_container #createcustomlayouttitle a { background: url("../images/expanded.png") no-repeat 0 50%; } #createcustomlayouttitle a:hover { text-decoration: none; } #customlayouthelp { margin-left: 5px; } #togglecustomlayoutoptions { background: #FFFFFF; border: 3px solid #D1D1D1; margin-top: 3px; } #createcustomlayoutpane { padding: 2px 5px; background: #FFFFFF; } .customrow, .no-js .customrow { padding: 3px 5px; border-bottom: 1px dotted #d1d1d1; } .customrowtitle { display: inline-block; vertical-align: middle; } .customrowoptions { display: inline-block; } .no-js fieldset.collapsed .customrowtitle, .no-js fieldset.collapsed .customrowoptions { display: inline-block; } .customrow label { margin-left: 20px; vertical-align: middle; } #addrow { margin: 3px 0; } #previewcustomlayoutpane { text-align: center; padding: 10px; background: #f2f2f2; } #custompreview { margin: 5px 5px 10px 5px; background: #FFFFFF; border: 1px solid #CCCCCC; padding: 5px; } #addlayout { margin: 0; } /* Portfolio > Pages > Edit page > Choose skin tab */ .skinsbtns { margin: 0; } div.currentskin { padding: 10px; background: #EEEEEE; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } ul.userskins, ul.siteskins, ul.favorskins { background: #f2f2f2; } .favouriteskins { background: url(../images/rating_star.png) no-repeat 0 -38px; padding-left: 20px; } /* Portfolio > Pages > Delete page */ /* Portfolio > Collections */ .viewcontrolbuttons a { display: inline-block; margin-left: 5px; } /* Portfolio > Collections > Edit collection */ #collectionpageswrap { background: #EEEEEE; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } #draginstruction { text-align: center; padding: 10px; margin-bottom: 15px; color: #888888; font-size: 1.167em; font-style: italic; } #collectionpages { margin-left: 270px; padding: 10px; } #collectionpages .message { width: 98%; float: right; border: 2px solid #fff; } #collectionpages .highlight { border: 2px dashed #bfbfbf; background: #fffadf; } #collectionviews { margin: 0 0 5px 0; float: right; } #collectionviews td { vertical-align: middle; } #collectionviews td form table td { padding: 0; } .displayordercontrols div.justdown { padding-left: 35px; } #collectionviews form input.submit { background: url(../images/btn_deleteremove.png) no-repeat 0 0; border: 0; text-indent: -9999px; width: 24px; height: 24px; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; margin: 0; padding: 0; font-size: 1em; } #collectionviews form input.submit:hover, #collectionviews form input.submit:focus { background: url(../images/btn_deleteremove_focus.png) no-repeat 0 0; } fieldset#pagestoadd { width: 250px; margin: 10px 0 35px -270px; float: left; padding: 10px; background: #dddddd; -webkit-border-radius: 5px 0 0 5px; -moz-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; border: 0; position: relative; } fieldset#pagestoadd legend { position: absolute; top: -25px; } fieldset#pagestoadd table { margin: 0; width: 100%; } fieldset#pagestoadd .pieform tr.checkbox th { padding: 1px 5px 1px 0; } fieldset#pagestoadd .pieform tr.checkbox td { padding: 5px 0; width: 24px; } fieldset#pagestoadd .pieform tr.checkbox th label { display: block; background: #f7f7f7; border: 1px solid #dadada; color: #333333; padding: 8px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; font-weight: normal; } fieldset#pagestoadd .pieform tr.checkbox th label.ui-draggable-dragging { width: 205px !important; background: #989898; border-color: #989898; color: #FFFFFF; z-index: 1; position: relative; } #collectionviews label.ui-sortable-placeholder { min-height: 30px; display: block; } #collectionviews tr.dropped-in-row td { background: #f5f5f5; min-height: 30px; padding: 8px 10px; } fieldset#pagestoadd .pieform tr.checkbox th { vertical-align: middle; } fieldset#pagestoadd tr#addviews_submit_container th, fieldset#pagestoadd tr#addviews_submit_container td { float: left; padding: 10px 0 0 0; } fieldset#pagesadded { -webkit-box-shadow: 0 0 1px 1px #888888; -moz-box-shadow: 0 0 1px 1px #888888; box-shadow: 0 0 1px 1px #888888; background: #FFFFFF; border: 0; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; z-index: 0; position: relative; padding: 10px; } fieldset#pagesadded legend { position: absolute; top: -25px; } #collectiondonewrap { padding: 10px 0; } /* Portfolio > Shared by me */ table.accesslists { margin-bottom: 20px; } .accesslists .accesslist { width: 40%; } .accesslists .al-edit { text-align: center; width: 12%; } .accesslists .secreturls { text-align: right; width: 12%; } .accesslists .secreturls a { margin-left: 5px; } .accesslists .secreturls a img { vertical-align: middle; } /* Portfolio > Shared by me > Edit access */ #editaccess #editaccess_collections_container, #editaccess #editaccess_views_container, #editaccess #editaccess_accesslist_container, #editaccess #editaccess_more_container { background: #EEEEEE; padding: 10px; margin: 5px 0; clear: both; } #potentialpresetitems .title, #editaccess_collections_container label, #editaccess_views_container label { margin: 5px 0; font-size: 1.167em; font-weight: bold; padding: 0; } #editaccess_collections_container label.checkbox, #editaccess_views_container label.checkbox { margin: 0; font-size: 1em; font-weight: normal; } #editaccess .checkboxes a { padding: 0; margin: 0 0 0 10px; } #editaccess .checkboxes-option { display: inline-block; margin: 5px 15px 0 0; width: 150px; } /* share with box */ #editaccess #editaccess_accesslist_container { padding: 5px 5px 5px 0; } #editaccesswrap { margin-left: 350px; background: #FFFFFF; padding: 10px; } #editaccesswrap .presets-container { margin-left: -350px; margin-top: -10px; width: 330px; } #potentialpresetitems div.preset { font-weight: bold; } #potentialpresetitems div { padding: 3px 5px 3px 30px; } #potentialpresetitems div button { font-size: .917em; margin-left: -30px; background: url(../images/btn_add.png) no-repeat 0 0; width: 24px; height: 24px; text-indent: -9999px; border: 0; cursor: pointer; } #potentialpresetitems div button:hover, #potentialpresetitems div button:focus { background: url(../images/btn_add_focus.png) no-repeat 0 0; } /* share with other users */ #viewacl-advanced { margin: 0; } #viewacl-advanced legend { font-size: 1em; white-space: nowrap; } #viewacl-advanced .viewacl-advanced-search select { margin-right: 1px; } #viewacl-advanced .viewacl-advanced-search #search { width: 30%; } #viewacl-advanced .viewacl-advanced-search button#dosearch { padding: 3px 2px 3px 2px; } #viewacl-advanced #results td { vertical-align: middle; } #viewacl-advanced #results .buttontd button { margin: 0; } #viewacl-advanced #results button { vertical-align: middle; background: url(../images/btn_add.png) no-repeat 0 0; width: 24px; height: 24px; text-indent: -9999px; border: 0; cursor: pointer; } #viewacl-advanced #results button:hover, #viewacl-advanced #results button:focus { background: url(../images/btn_add_focus.png) no-repeat 0 0; } /* added users */ .accesslist-head th { border-bottom: none; } #accesslistitems td { border-bottom: 1px dotted #D1D1D1; vertical-align: middle; } #accesslistitems input[type=text] { width: 110px; margin-right: 3px; } #accesslistitems .removebutton { width: 24px; } #accesslistitems .removebutton button { background: url(../images/btn_deleteremove.png) no-repeat 0 0; border: 0; width: 24px; height: 24px; cursor: pointer; margin: 0; } #accesslistitems .removebutton button:hover, #accesslistitems .removebutton button:focus { background: url(../images/btn_deleteremove_focus.png) no-repeat 0 0; } #accesslistitems .item-disabled { background: #666666; } /* advanced options */ #editaccess_more_container fieldset { margin: 0; } #editaccess_more_container fieldset legend { font-size: 1.167em; } #editaccess_more_container fieldset div.calendar { border: 0; font-size: 1em; -webkit-box-shadow: none; box-shadow: none; } #editaccess_more_container fieldset div.checkbox, #editaccess_more_container fieldset div.html, #editaccess_more_container fieldset div.calendar { margin-top: 5px; } #editaccess_more_container fieldset div label { margin-right: 3px; } /* Portfolio > Shared by me > Secret URLs */ .secreturls td { vertical-align: middle; } .secreturls .buttons { padding-bottom: 0; } .secreturls .buttons form, .secreturls .buttons form div { display: inline; } .secreturls .buttons > * { margin: 0 0 0 7px; } .secreturls .buttons a { text-decoration: none; } .secreturls table tr td { border-bottom: 0; } .secreturls .btns2 input { margin-left: 0; } #newurl_submit_container th { vertical-align: middle; } /* Portfolio > Shared with me */ form#search { margin-bottom: 10px; } #search_advanced_container { margin: 10px 0 0 0; } #search_advanced_container label { display: block; clear: left; width: 9em; float: left; padding: 3px; margin: 3px 0; font-weight: bold; } #search_advanced_container #search_share_container { padding-left: 9em; } #search_advanced_container #search_share_container .pseudolabel { clear: left; display: block; float: left; font-weight: bold; margin-left: -9em; width: 9em; padding: 3px; } #search_advanced_container #search_share_container label.checkbox { display: inline; float: none; margin-left: 0; font-weight: normal; } #search_advanced_container #search_share_container a { display: block; float: left; padding: 0; margin: 5px 10px 0 0; } #search_advanced_container #search_share_container .checkboxes-option { display: inline-block; margin-right: 25px; white-space: nowrap; } #sharedviewlist .groupdate { margin: 3px 0; } #sharedviewlist .tags { margin: 3px 0; } #sharedviewlist .lastcomment .comment { margin: 3px 0; } #sharedviewlist .lastcomment .poster { font-size: 0.917em; } /* Portfolio > Skins */ .skinthumb { width: 280px; background: #F3F3F3; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; padding: 10px; height: 180px; } .skinthumb .skin-controls { margin-top: -3px; } .skinthumb .skin-controls a.btn-addtofavourites, .skinthumb .skin-controls a.btn-removefromfavourites, .skinthumb .skin-controls a.btn-big-info { display: inline-block; } .skinthumb .skin-controls a.btn-addtofavourites { background: url(../images/rating_star.png) no-repeat 0 0; width: 19px; height: 19px; text-indent: -9999px; overflow: hidden; border: 0; cursor: pointer; margin-top: 3px; margin-left: 3px; } .skinthumb .skin-controls a.btn-addtofavourites:hover { background: url(../images/rating_star.png) no-repeat 0 -38px; } .skinthumb .skin-controls a.btn-removefromfavourites { background: url(../images/rating_star.png) no-repeat 0 -38px; width: 19px; height: 19px; text-indent: -9999px; overflow: hidden; border: 0; cursor: pointer; margin-top: 3px; margin-left: 3px; } .skinthumb .skin-controls a.btn-removefromfavourites:hover { background: url(../images/rating_delete.png) no-repeat 0 -19px; } /* skin info overlay */ .skin_metadata_overlay { -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; border: 7px solid #EEEEEE; background: #FFFFFF; padding: 10px; } /* Portfolio > Skins > Edit skin */ form#designskinform fieldset { padding: 0; border: 0; min-height: 160px; } form#designskinform fieldset table { width: 100%; } form#designskinform fieldset table th { width: 190px; } form#designskinform fieldset table .color th { vertical-align: middle; } form#designskinform fieldset table thead th { width: auto; } form#designskinform fieldset p#designskinform_view_background_image_empty_selectlist { margin: 5px 0; } form#designskinform fieldset textarea#designskinform_viewskin_description { padding: 3px; } form#designskinform fieldset textarea#designskinform_view_custom_css { font-size: 1.333em; padding: 3px; position: relative; } form#designskinform fieldset .textarea td.description { clear: both; padding-left: 5px; } table#designskinform_body_background_image_selectlist, table#designskinform_view_background_image_selectlist { margin-bottom: 10px; } #designskinform_view_background_image_open_upload_browse_container, #designskinform_view_background_image_upload_browse, #designskinform_body_background_image_open_upload_browse_container, #designskinform_body_background_image_upload_browse { background: #EEEEEE; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; padding: 5px; margin: 10px 0; } #designskinform_body_background_position_container td, #designskinform_view_background_position_container td { background: url(../images/position.png) no-repeat 5px 5px; } #designskinform_body_background_position_container td input, #designskinform_view_background_position_container td input { margin: 1px 2px; width: 16px; height: 16px; opacity: 0; } #designskinform_body_background_position_container td input:hover, #designskinform_view_background_position_container td input:hover { opacity: 1; } #designskinform_body_background_position_container td input:checked, #designskinform_view_background_position_container td input:checked { opacity: 1; } form#designskinform fieldset table tr#designskinform_view_custom_css_container th { width: auto; white-space: nowrap; } textarea#designskinform_view_custom_css { width: 99%; } .no-js form#designskinform fieldset { padding: 10px 15px; margin: 10px 0; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; border: 1px solid #d1d1d1; } .no-js form#designskinform fieldset.collapsed div#designskinform_body_background_image_open_upload_browse_container, .no-js form#designskinform fieldset.collapsed div#designskinform_view_background_image_open_upload_browse_container, .no-js input#designskinform_body_background_image_close_upload_browse, .no-js input#designskinform_view_background_image_close_upload_browse { display: none; } .no-js form#designskinform fieldset.collapsed table { display: table; } .no-js #designskinform_body_background_image_foldernav, .no-js #designskinform_view_background_image_foldernav { padding: 3px 0 0 24px; display: block; margin-top: 0px; } /* Portfolio > Export */ #export .element div label, #export #whattoexport-buttons div label { line-height: 1.667em; } #export .description { padding-left: 25px; padding-bottom: 5px; } #export fieldset { padding: 5px 10px 10px 10px; margin: 5px 5px 10px 25px; } #export fieldset table colgroup col { border: 2px solid #FFFFFF; } #export fieldset table div.checkbox { float: left; width: 20px; } #export fieldset table div.labeldescriptpreview { padding: 0 0 0 25px; } #export fieldset table div.labeldescriptpreview label { font-weight: bold; display: block; line-height: 1.25em; margin: 3px 0 0 0; } #export fieldset table div.labeldescriptpreview p { margin: 0; } #export #whatviewsselection { margin: 5px 0 0 0; } #export #whatviewsselection a { padding: 0 3px; } #export #includefeedback { margin: 3px 0 0 1px; } /* Portfolio > Export > Export generating */ #exportgeneration { text-align: center; margin-top: 10px; } #progress { border: 1px solid #7C7C7C; height: 40px; width: 650px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } div.progress-bar { position: absolute; top: 0; left: 0; height: 40px; color: #333333; text-align: center; background-color: #d4d4d4; } div.progress-bar-progress { background: #cff253; /* Old browsers */ background: -moz-linear-gradient(top, #cff253 0%, #9dc70d 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #cff253), color-stop(100%, #9dc70d)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #cff253 0%, #9dc70d 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #cff253 0%, #9dc70d 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #cff253 0%, #9dc70d 100%); /* IE10+ */ background: linear-gradient(to bottom, #cff253 0%, #9dc70d 100%); /* W3C */ position: absolute; top: 0; left: 0; height: 40px; color: #333333; text-align: center; } p.progress-text { position: absolute; top: 0; left: 0; text-align: center; color: #000000; width: 100%; } #progressbar { height: 40px; } div.progress-bar p { color: #333333; } div.progress-bar a { color: #000000; text-decoration: underline; } /* Portfolio > Import */ .section h2 { margin: 20px 0 5px 0; } fieldset.indent1 { margin: 10px 0; } fieldset.indent1 .indent2 h4 { margin: 10px 0 0 0; } fieldset.indent1 .indent2 .listrow { margin: 0 0 15px 0; } .importcolumn { vertical-align: top; float: left; margin: 0; padding: 3px 0.9%; position: relative; } .importcolumn1 { width: 40%; } .importcolumn1 .posts { margin-top: 5px; } .importcolumn2 { width: 40%; } .importcolumn2 strong { display: block; } a.showexistingblog { padding-left: 10px; background: url(../images/dividerdot.png) no-repeat 0 5px; ; display: inline-block; margin-top: 5px; } .indent1 { padding-left: 10px; padding-right: 10px; } .indent2 { padding-left: 20px; padding-right: 20px; padding-bottom: 10px; } .importcolumn3 label { font-weight: normal; } input#import_submit, input#cancel_import_submit { margin-top: 15px; } /* Groups > Group's about page */ /* group description */ .groupdescription { margin: 0 1% 10px 1%; } /* group statuses */ ul.groupuserstatus { background: #E5ECF4; padding: 3px 5px 3px 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } ul.groupuserstatus li { list-style: none; margin: 0; padding: 0; display: inline; line-height: 2.167em; } ul.groupuserstatus li a { margin: 0 0 0 5px; line-height: 2.167em; } ul.groupuserstatus li input { margin: 0 0 0 8px; padding: 3px 10px 4px 10px; } ul.groupuserstatus form table { display: inline; } ul.groupuserstatus li table th, ul.groupuserstatus li table td { background: 0; border: 0; padding: 0; } /* overriding group statuses for listing page */ .listing ul.groupuserstatus { margin: 0 0 5px 0; width: 180px; float: right; background: none; padding: 0; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; } .listing ul.groupuserstatus li { line-height: 1.25em; text-align: right; display: block; } /* status admin */ ul.groupuserstatus li.admincontrol { display: block; text-align: right; } ul.groupuserstatus li.admincontrol .btn { display: inline-block; margin-bottom: 2px; } /* status admin on listing page */ .listrow ul.groupuserstatus li.admincontrol .btn { border: 0; background: none; padding: 0; margin-bottom: 0; } .listrow ul.groupuserstatus li.admincontrol .btn .btn-edit { background: url(../images/btn_edit.png) no-repeat 0 0; width: 24px; height: 24px; display: inline-block; font-size: 1px; padding: 0; color: transparent; cursor: pointer; overflow: hidden; text-indent: -9999px; } .listrow ul.groupuserstatus li.admincontrol .btn:hover .btn-edit, .listrow ul.groupuserstatus li.admincontrol .btn:focus .btn-edit { background: url(../images/btn_edit_focus.png) no-repeat 0 0; } .listrow ul.groupuserstatus li.admincontrol .btn .btn-del { background: url(../images/btn_deleteremove.png) no-repeat 0 0; width: 24px; height: 24px; display: inline-block; font-size: 1px; padding: 0; color: transparent; cursor: pointer; overflow: hidden; text-indent: -9999px; } .listrow ul.groupuserstatus li.admincontrol .btn:hover .btn-del, .listrow ul.groupuserstatus li.admincontrol .btn:focus .btn-del { background: url(../images/btn_deleteremove_focus.png) no-repeat 0 0; } /* status membership request pending */ ul.groupuserstatus li.requestspending { float: left; margin-top: -26px; } ul.groupuserstatus li.requestspending .btn { margin-left: 0; } /* status membership request pending on listing page */ .listrow ul.groupuserstatus li.requestspending { line-height: 2.167em; float: none; margin-top: 0; } /* status invite */ ul.groupuserstatus li.invite form { margin: 5px 0; float: right; } ul.groupuserstatus li.invite span { margin: 0 0 0 8px; } ul.groupuserstatus li.invite span input, ul.groupuserstatus li.invite span input:hover, ul.groupuserstatus li.invite span input:focus, ul.groupuserstatus li.invite span input:active { background: url(../images/deny_small.png) no-repeat 0 50%; border: 0; padding: 0 0 0 15px; margin: 0; } ul.groupuserstatus li.invite span:first-child input, ul.groupuserstatus li.invite span:first-child input:hover, ul.groupuserstatus li.invite span:first-child input:focus, ul.groupuserstatus li.invite span:first-child input:active { background: url(../images/approve_small.png) no-repeat 0 50%; border: 0; padding: 0 0 0 15px; margin: 0; } /* status join this group */ ul.groupuserstatus li.jointhisgroup { display: block; text-align: right; } ul.groupuserstatus li.jointhisgroup form { display: inline-block; margin: 0; padding: 3px 5px 1px 5px; } ul.groupuserstatus li.jointhisgroup table td input, ul.groupuserstatus li.jointhisgroup table td input:hover, ul.groupuserstatus li.jointhisgroup table td input:focus, ul.groupuserstatus li.jointhisgroup table td input:active { background: url(../images/join_small.png) no-repeat 0 50%; border: 0; padding: 0 0 0 15px; margin: 0; font-size: 1em; } /* status leave group */ ul.groupuserstatus li.leavegroup { float: right; display: inline; } ul.groupuserstatus li.leavegroup a { line-height: 2.167em; } .listing ul.groupuserstatus li.leavegroup, .listing ul.groupuserstatus li.leavegroup a { line-height: 2.5em; } /* status request to join */ ul.groupuserstatus li.requesttojoin { display: block; text-align: right; } ul.groupuserstatus li.requesttojoin a { line-height: 2.167em; } /* Groups > Group's Edit */ #editgroup fieldset tr.html { background: #EEEEEE; font-size: 1.167em; } #editgroup th label { white-space: normal; } #editgroup fieldset.sectioned .date th, #editgroup fieldset.sectioned .select th { text-align: right; } #editgroup fieldset.sectioned .checkbox th { text-align: right; padding-top: 6px; } #editgroup fieldset.sectioned .checkbox th label, #editgroup fieldset.sectioned .select th label { white-space: nowrap; } /* Groups > Group's member page */ .memberssearch { padding: 5px 10px; background: #EEEEEE; margin: 0 0 10px 0; } .memberssearch .membershiptypes { margin-right: 15px; display: inline; font-size: 1.167em; } .memberssearch form, .memberssearch form div { display: inline; } .sortoption label { margin: 0px 5px } .memberswrap h2 { margin: 3px; font-size: 1.333em; } #membersearchresults .listrow { min-height: 40px; } #membersearchresults .memberdetail { margin-left: 50px; } .removemember input { margin: 3px 0; } #membersearchresults .grouprole { font-weight: normal; } #membersearchresults .jointime { margin: 3px 0 0 0; } /* Groups > Group's member send multiple invitations */ #addmembers table { width: 100%; } /* userlists selection, also used in many other pages */ .userlist .userlisttable { margin: 0; } .userlisttable .lrbuttons { text-align: center; vertical-align: middle; } .userlisttable .lrbuttons button { margin: 0 3px 7px 3px; white-space: nowrap; font-size: 1.333em; font-weight: bold; } .userlisttable .lrfieldlists { width: 48%; } .userlisttable .lrfieldlists select { margin-top: 10px; } /* Groups > Group's forums */ #viewforum { border: 1px solid #EEEEEE; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } img.feedicon { margin-left: 5px; } .postertd { min-width: 15%; font-size: 0.917em; } .lastposttd { min-width: 20%; font-size: 0.917em; } /* sticky topic row background */ .stickytopic td { background-color: #FFFFF7; } .deletedpost { color: #666666; background: #F4F4F4; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } .closed { background: #FEE7E7; } .forumpost { border: 2px solid #EEEEEE; background: #EEEEEE; } .forumpostleft { width: 160px; text-align: center; font-size: 0.917em; background: #EEEEEE; } .postedits { background: #FFFFFF; } .editstopost { background: #F4F4F4; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; } .replyto { margin-top: 10px; background: #F4F4F4; padding: 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } /* Groups > Group's forums > Edit forum */ /* Groups > Group's pages */ div.pagetabs { margin-top: -35px; } div.pagetabs .help a { margin: 0; } /* Groups > Group's collections */ /* Groups > Group's share */ /* Groups > Group's files */ /* Groups > Group's report (turn on Participation report in edit groups to get tab) */ .groupreport { margin: 10px 0; } .groupreport .sorted a { background: url(../images/sort_descend.png) no-repeat right 50%; padding-right: 15px; } .groupreport .asc a { background: url(../images/sort_ascend.png) no-repeat right 50%; padding-right: 15px; } .groupreport ul { margin: 0; } .groupreport li { clear: both; font-size: 0.917em; margin-bottom: 0; } .groupreport li span.right { float: right; } .groupreport .detail { margin: 0; font-size: 0.917em; font-weight: bold; } .groupreport .mc, .groupreport .ec { width: 25%; } .groupreport td.sb, .groupreport td.mc, .groupreport td.ec { padding: 7px 5px; } /* Groups > My groups */ #filter { margin-bottom: 10px; } .groupsdetails { margin-right: 200px; } .groupsdetails .detail { margin: 5px 0; } .groupsdetails .groupadmin { margin: 3px 0 0 0; } .groupsdetails .membernumber { margin: 3px 0 0 0; } /* Groups > Find groups */ form#search #search_query { margin-right: 3px; } /* Groups > My/Find Friends */ div.peoplelistinfo { margin-left: 50px; } div.peoplelistinfo .leftdiv { float: left; width: 50px; margin-left: -50px; } div.peoplelistinfo .rightdiv .detail { margin-right: 210px; } .pendingfriend, .existingfriend { font-weight: normal; } .whymakemeyourfriend { background: #FFFFFF; padding: 5px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; } .hasrequestedmembership, .hasbeeninvitedtojoin { padding: 5px 5px 5px 0; } /* page list */ ul.viewlist { margin: 0; margin-right: 210px; } ul.viewlist li { display: inline; margin: 0; } ul.viewlist li a { padding-left: 10px; background: url(../images/dividerdot.png) no-repeat left; } /* actions */ ul.actionlist { width: 200px; margin: 0; float: right; } ul.actionlist li { list-style: none; margin: 1px 0 2px 0; line-height: 1.25em; } ul.actionlist li.notbtn, ul.actionlist li.nofriend { padding: 0 0 3px 0; font-weight: bold; } /* default state */ ul.actionlist li form input.submit, ul.actionlist li a { border: 1px solid #DADADA; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; padding: 7px 5px 7px 25px; display: block; text-decoration: none; background-color: #F7F7F7; background-position: 7px 50%; background-repeat: no-repeat; color: #333333; } ul.actionlist li form input.submit { padding: 6px 5px 6px 23px; cursor: pointer; width: 100%; text-align: left; } /* hover state */ ul.actionlist li form input.submit:hover, ul.actionlist li a:hover { background-color: #ffffff; } /* focus state */ ul.actionlist li form input.submit:focus, ul.actionlist li a:focus { background-color: #ffffff; outline: none; } /* active state */ ul.actionlist li form input.submit:active, ul.actionlist li a:active { background-color: #989898; color: #FFFFFF; opacity: 0.9; border: 1px solid #e3e3e3; } /* except the member of group link */ ul.actionlist li.notbtn a { font-weight: normal; background: none; border: 0; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; padding: 0; display: inline; } /* icons for buttons */ ul.actionlist li.approvefriend form input { background-image: url(../images/approve_small.png); } ul.actionlist li.friend form input { background-image: url(../images/friend_small.png); } /* Groups > My/Find Friends > Deny friend page */ form#denyrequest { padding: 5px; background: #F8F8F8; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } /* Groups > My/Find Friends > Edit group membership overlay */ div#groupbox { top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; positon: fixed !important; padding: 0; font-size: 75%; } div#groupbox #groupboxwrap { border: 7px solid #EEEEEE; background: #FFFFFF; padding: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; z-index: 12; position: fixed; left: 5%; top: 5%; right: 5%; } div#groupbox h3 { margin: 0 0 10px 0; } div#groupbox div.jointype { margin: 0 10px 10px 0; text-align: left; } div#groupbox div.jointype h3 { margin: 0; } div#groupbox div.jointype ul { list-style: none; margin: 0; padding: 0; } div#groupbox div.jointype ul li { list-style: none; margin: 3px 0 3px 0; padding: 0; line-height: 1.667em; } div#groupbox div.jointype ul li.last { margin: 10px 0 0 0; } /* Groups > My/Find Friends > Remove friend page */ form#removefriend { padding: 5px; background: #F8F8F8; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } /* Groups > My/Find friends > Send friendship request */ form#requestfriendship { padding: 5px; background: #F8F8F8; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } /* Groups > My/Find friends > Send message to user */ #messagethread .listrow { min-height: 40px; } #messagethread .memberdetail { margin-left: 50px; } #messagethread .postedon { font-weight: normal; } /* Groups > Institution membership */ /* Groups > Topics */ .sharedviewsreport .title, .groupviewsreport .title { font-size: 1em; } /********** Pages outside of navigation ***************/ /* Settings */ #accountprefs table h3 { margin: 10px 0 0 0; border-bottom: 1px dotted #D1D1D1; } #accountprefs table tr.radio td { line-height: 2em; } #accountprefs_mobileuploadtoken_list div { margin-bottom: 3px; } /* Settings > Delete account page */ #deleteaccount { background: #F8F3F2; padding: 10px; margin: 0 0 10px 0; } #deleteaccount th, #deleteaccount td { padding: 0; } #deleteaccount h1 { color: #CA0000; } /* Settings > Notifications */ /* Inbox */ #activitylist th { vertical-align: bottom; } #activitylist th a { font-size: 0.917em; font-weight: normal; white-space: nowrap; } #delete_all_notifications { float: right; position: relative; top: -30px; } #delete_all_notifications td { text-align: right; padding: 0; } .activity-buttons input.submit { font-weight: bold; } .activity-buttons input.btn-del { font-weight: normal; } .inbox-showmessage { font-size: 1.167em; line-height: 1.25em; } .inbox-showmessage.unread { font-weight: bold; } .inbox-message { margin: 3px 0; } /* Universal search (from the top) */ #universal-search-container { background: #EEEEEE; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; width: 480px; padding: 10px; } #universal-search-container form#search { margin: 0; } #universal-search-container form#search #search_tagsonly_container { display: block; margin: 10px 0 0 0; line-height: 1.667em; } .universalsearch { padding: 20px; } #universal-search-container input#search_query { font-size: 1.5em; padding: 4px 5px; width: 75%; } #universal-search-container input#search_submit { font-size: 1.5em; padding: 4px 10px; } @media screen and (min-width:0\0) { #universal-search-container input#search_submit { padding: 3px 10px 2px 10px; } } #universal-search-container input#search_submit { padding/*\**/: 3px 10px 2px 10px\9; } #universalsearchresult { margin: 20px 0 0 0; } #universalsearchresult .totalresults { margin-bottom: 20px; font-size: 1.5em; } #universalsearchresult .totalresults a { font-weight: bold; } ul.searchtab li span.inactive { color: #D4D4D4; } .universalsearch .selectboxes { text-align: right; } #universalsearch-results-sort, #universalsearch-filter-owner { font-size: 1.167em; display: inline-block; margin: 0 0 10px 10px; } #resultswrap { clear: both; margin-left: 180px; } #resultswrap.nofilter { margin-left: 0; } /* search filter on left */ #universalsearchresults-filter-wrap { width: 156px; margin-left: -180px; float: left; } .nofilter #universalsearchresults-filter-wrap { display: none; } #universalsearchresults-filter-wrap #results_filter { margin-bottom: 8px; margin-left: 0; float: none; } #search-filter-license { width: 152px; margin: 0 2px 4px 2px; } #universalsearchresults .listrow { padding: 10px; } #universalsearchresults .listrowright { margin-left: 40px; } #universalsearchresults .listrowright .counter { float: left; margin-left: -40px; width: 25px; } .artefacttype { font-weight: normal; } .thumbnail-right { margin-left: 95px; min-height: 80px; } .thumbnail-image { margin-left: -95px; width: 80px; float: left; } .createdby { margin: 6px 0; } .usedon { margin: 10px 0 3px 0; } .usedon ul { margin: 0 0 10px 0; } /* Search my portfolio page (from the sidebar) */ .searchform { margin-bottom: 15px; background: #EEEEEE; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; padding: 10px; display: inline-block; } .searchform label { font-size: 1.5em; } .searchform input#search_query { font-size: 1em; } .searchform button { font-size: 1.333em; font-weight: bold; margin: 0; } #selfsearchresults thead { display: none; } #selfsearchresults #searchresults h1, #selfsearchresults #searchresults h2, #selfsearchresults #searchresults h3, #selfsearchresults #searchresults h4, #selfsearchresults #searchresults h5, #selfsearchresults #searchresults h6 { margin: 3px 0; font-size: 1.083em; } #selfsearchresults #searchresults h3:first-child { margin: 3px 0; font-size: 1.167em; } #selfsearchresults p { margin: 3px 0; } #selfsearchresults div { margin: 3px 0; } #selfsearchresults div label { margin-right: 5px; } #selfsearchresults div ul { list-style: none; margin: 0; padding: 0; display: inline; } #selfsearchresults div ul li { list-style: none; margin: 0; padding: 0; display: inline; } /* My tags page (from Tags in sidebar) */ .mytags { margin-bottom: 20px; } .mytags a.tag { padding: 0 5px; white-space: nowrap; line-height: 2em; } .mytags .tagfreq { font-weight: normal; color: #707070; } .mytags .selected { font-weight: bold; text-decoration: none; } .tag-results #results_heading { display: inline; margin-right: 5px; } .tag-results .rbuttons { float: none; margin: 0; display: inline; } .tag-results .rbuttons .btn { float: none; padding: 4px 5px; font-size: 1em; } .tag-results .selected { font-weight: bold; text-decoration: none; } #results_sort { padding: 10px 0 10px 0; float: right; font-size: 1.167em; } #results_sort label { margin-right: 5px; } #results_sort .sep { color: #CCCCCC; padding: 0 3px; } #results_filter { padding: 3px; width: 156px; background: #EEEEEE; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin-left: -180px; float: left; } #results_filter .filtertitle { font-weight: bold; font-size: 1.167em; padding: 10px; display: block; } #results_filter .filtername a { background: #F7F7F7; border: 1px solid #DADADA; color: #333333; text-decoration: none; padding: 8px 10px; display: block; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin: 2px 0; font-size: 1.083em; } #results_filter .filtername a:hover, #results_filter .filtername a:focus { background: #FFFFFF; outline: none; } #results_filter .filtername a.selected { background: #FFFFFF; color: #000000; font-weight: bold; } /* search results */ #resultswrap { clear: both; margin-left: 180px; } #results .listrowright { margin-left: 40px; } #results .listrowright .icon-container { width: 25px; margin-left: -40px; float: left; } #results .filetype { font-weight: normal; } #results .tags { margin: 10px 0 3px 0; } /* My tags page > Edit tags */ .edittags h3 { margin: 0; } /* My tags page > Edit tags (select a tag) */ /* edit tag box */ .edittag { background: #F6F6F6; padding: 10px; margin-bottom: 10px; } /* delete tag box */ .deletetag { padding: 10px; background: #F8F3F2; margin-bottom: 10px; } .deletetag h3 { color: #CA0000; } /* User profile page */ .user-icon-name { text-align: center; } .user-icon-name span img { vertical-align: middle; } .userviewrbuttons { margin-top: -70px; } #userview { margin: 0 0 10px 0; text-align: center; } #userview .user-icon { margin: 0 0 5px 0; } #userview .user-icon a { margin: 0 10px 0 0; white-space: nowrap; line-height: 2em; } #userview .addform { display: block; text-align: center; margin: 0 0 5px 0; } #userview form, #userview form div { display: inline; } #userview .user-icon input, #userview .user-icon input:hover, #userview .user-icon input:active { border: 0; background: transparent url(../images/friend_small.png) no-repeat 0 50%; padding: 0 0 0 12px; color: #0000CC; cursor: pointer; text-decoration: underline; } #userview .invitedtojoin, #userview .requestedmembership { margin: 0 0 10px 0; text-align: center; display: block; } /* Wall (full) */ .wallpost { padding: 3px 5px; position: relative; } .wall .private { background: #FFF9F9 url(../images/private_bkgd.png) repeat 0 0; } .wall .message { margin: 0; } .wall .wallpostdeletebutton { position: absolute; top: 5px; right: 5px; } .wall ul { margin: 0; } li.wallpost { list-style-type: none; margin: 0; } .wallpost .userinfo { margin: 3px 30px; } .wallpost .userinfo img { padding-right: 5px; float: left; margin-left: -30px; } .wallpost .detail { margin-left: 31px; margin-right: 30px; } .wallpost .detail p { margin: 3px 0; } .wallpost .controls { font-size: 0.917em; line-height: 1em; margin-left: 30px; } .wallpost .controls a { margin: 0; }
sdc/mahara
htdocs/theme/raw/static/style/style.css
CSS
gpl-3.0
103,224
package org.xson.tangyuan.type; import java.sql.CallableStatement; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import org.xson.common.object.XCO; public class ByteArrayTypeHandler extends BaseTypeHandler<byte[]> { public final static ByteArrayTypeHandler instance = new ByteArrayTypeHandler(); @Override public void setNonNullParameter(PreparedStatement ps, int i, byte[] parameter, JdbcType jdbcType) throws SQLException { ps.setBytes(i, parameter); } @Override public byte[] getNullableResult(ResultSet rs, String columnName) throws SQLException { return rs.getBytes(columnName); } @Override public byte[] getNullableResult(ResultSet rs, int columnIndex) throws SQLException { return rs.getBytes(columnIndex); } @Override public byte[] getNullableResult(CallableStatement cs, int columnIndex) throws SQLException { return cs.getBytes(columnIndex); } @Override public void appendLog(StringBuilder builder, byte[] parameter, DatabaseDialect dialect) { // if (DatabaseDialect.MYSQL == dialect) { // builder.append(parameter); // } builder.append(parameter); } @Override public void setResultToXCO(ResultSet rs, String columnName, String property, XCO xco) throws SQLException { byte[] v = getResult(rs, columnName); if (null != v) { xco.setByteArrayValue(property, v); } } }
xsonorg/tangyuan2
tangyuan-base/src/main/java/org/xson/tangyuan/type/ByteArrayTypeHandler.java
Java
gpl-3.0
1,376
<?php function app_passwd($_action, $_data = null) { global $pdo; global $lang; $_data_log = $_data; !isset($_data_log['app_passwd']) ?: $_data_log['app_passwd'] = '*'; !isset($_data_log['app_passwd2']) ?: $_data_log['app_passwd2'] = '*'; if (isset($_data['username']) && filter_var($_data['username'], FILTER_VALIDATE_EMAIL)) { if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data['username'])) { $_SESSION['return'][] = array( 'type' => 'danger', 'log' => array(__FUNCTION__, $_action, $_data_log), 'msg' => 'access_denied' ); return false; } else { $username = $_data['username']; } } else { $username = $_SESSION['mailcow_cc_username']; } switch ($_action) { case 'add': $app_name = htmlspecialchars(trim($_data['app_name'])); $password = $_data['app_passwd']; $password2 = $_data['app_passwd2']; $active = intval($_data['active']); $protocols = (array)$_data['protocols']; $imap_access = (in_array('imap_access', $protocols)) ? 1 : 0; $dav_access = (in_array('dav_access', $protocols)) ? 1 : 0; $smtp_access = (in_array('smtp_access', $protocols)) ? 1 : 0; $eas_access = (in_array('eas_access', $protocols)) ? 1 : 0; $pop3_access = (in_array('pop3_access', $protocols)) ? 1 : 0; $sieve_access = (in_array('sieve_access', $protocols)) ? 1 : 0; $domain = mailbox('get', 'mailbox_details', $username)['domain']; if (empty($domain)) { $_SESSION['return'][] = array( 'type' => 'danger', 'log' => array(__FUNCTION__, $_action, $_data_log), 'msg' => 'access_denied' ); return false; } if (!preg_match('/' . $GLOBALS['PASSWD_REGEP'] . '/', $password)) { $_SESSION['return'][] = array( 'type' => 'danger', 'log' => array(__FUNCTION__, $_action, $_data_log), 'msg' => 'password_complexity' ); return false; } if ($password != $password2) { $_SESSION['return'][] = array( 'type' => 'danger', 'log' => array(__FUNCTION__, $_action, $_data_log), 'msg' => 'password_mismatch' ); return false; } $password_hashed = hash_password($password); if (empty($app_name)) { $_SESSION['return'][] = array( 'type' => 'danger', 'log' => array(__FUNCTION__, $_action, $_data_log), 'msg' => 'app_name_empty' ); return false; } $stmt = $pdo->prepare("INSERT INTO `app_passwd` (`name`, `mailbox`, `domain`, `password`, `imap_access`, `smtp_access`, `eas_access`, `dav_access`, `pop3_access`, `sieve_access`, `active`) VALUES (:app_name, :mailbox, :domain, :password, :imap_access, :smtp_access, :eas_access, :dav_access, :pop3_access, :sieve_access, :active)"); $stmt->execute(array( ':app_name' => $app_name, ':mailbox' => $username, ':domain' => $domain, ':password' => $password_hashed, ':imap_access' => $imap_access, ':smtp_access' => $smtp_access, ':eas_access' => $eas_access, ':dav_access' => $dav_access, ':pop3_access' => $pop3_access, ':sieve_access' => $sieve_access, ':active' => $active )); $_SESSION['return'][] = array( 'type' => 'success', 'log' => array(__FUNCTION__, $_action, $_data_log), 'msg' => 'app_passwd_added' ); break; case 'edit': $ids = (array)$_data['id']; foreach ($ids as $id) { $is_now = app_passwd('details', $id); if (!empty($is_now)) { $app_name = (!empty($_data['app_name'])) ? $_data['app_name'] : $is_now['name']; $password = (!empty($_data['password'])) ? $_data['password'] : null; $password2 = (!empty($_data['password2'])) ? $_data['password2'] : null; if (isset($_data['protocols'])) { $protocols = (array)$_data['protocols']; $imap_access = (in_array('imap_access', $protocols)) ? 1 : 0; $dav_access = (in_array('dav_access', $protocols)) ? 1 : 0; $smtp_access = (in_array('smtp_access', $protocols)) ? 1 : 0; $eas_access = (in_array('eas_access', $protocols)) ? 1 : 0; $pop3_access = (in_array('pop3_access', $protocols)) ? 1 : 0; $sieve_access = (in_array('sieve_access', $protocols)) ? 1 : 0; } else { $imap_access = $is_now['imap_access']; $smtp_access = $is_now['smtp_access']; $dav_access = $is_now['dav_access']; $eas_access = $is_now['eas_access']; $pop3_access = $is_now['pop3_access']; $sieve_access = $is_now['sieve_access']; } $active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active']; } else { $_SESSION['return'][] = array( 'type' => 'danger', 'log' => array(__FUNCTION__, $_action, $_data_log), 'msg' => array('app_passwd_id_invalid', $id) ); continue; } $app_name = htmlspecialchars(trim($app_name)); if (!empty($password) && !empty($password2)) { if (!preg_match('/' . $GLOBALS['PASSWD_REGEP'] . '/', $password)) { $_SESSION['return'][] = array( 'type' => 'danger', 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr), 'msg' => 'password_complexity' ); continue; } if ($password != $password2) { $_SESSION['return'][] = array( 'type' => 'danger', 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr), 'msg' => 'password_mismatch' ); continue; } $password_hashed = hash_password($password); $stmt = $pdo->prepare("UPDATE `app_passwd` SET `password` = :password_hashed WHERE `mailbox` = :username AND `id` = :id"); $stmt->execute(array( ':password_hashed' => $password_hashed, ':username' => $username, ':id' => $id )); } $stmt = $pdo->prepare("UPDATE `app_passwd` SET `name` = :app_name, `mailbox` = :username, `imap_access` = :imap_access, `smtp_access` = :smtp_access, `eas_access` = :eas_access, `dav_access` = :dav_access, `pop3_access` = :pop3_access, `sieve_access` = :sieve_access, `active` = :active WHERE `id` = :id"); $stmt->execute(array( ':app_name' => $app_name, ':username' => $username, ':imap_access' => $imap_access, ':smtp_access' => $smtp_access, ':eas_access' => $eas_access, ':dav_access' => $dav_access, ':pop3_access' => $pop3_access, ':sieve_access' => $sieve_access, ':active' => $active, ':id' => $id )); $_SESSION['return'][] = array( 'type' => 'success', 'log' => array(__FUNCTION__, $_action, $_data_log), 'msg' => array('object_modified', htmlspecialchars(implode(', ', $ids))) ); } break; case 'delete': $ids = (array)$_data['id']; foreach ($ids as $id) { $stmt = $pdo->prepare("SELECT `mailbox` FROM `app_passwd` WHERE `id` = :id"); $stmt->execute(array(':id' => $id)); $mailbox = $stmt->fetch(PDO::FETCH_ASSOC)['mailbox']; if (empty($mailbox)) { $_SESSION['return'][] = array( 'type' => 'danger', 'log' => array(__FUNCTION__, $_action, $_data_log), 'msg' => 'app_passwd_id_invalid' ); return false; } if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $mailbox)) { $_SESSION['return'][] = array( 'type' => 'danger', 'log' => array(__FUNCTION__, $_action, $_data_log), 'msg' => 'access_denied' ); return false; } $stmt = $pdo->prepare("DELETE FROM `app_passwd` WHERE `id`= :id"); $stmt->execute(array(':id' => $id)); $_SESSION['return'][] = array( 'type' => 'success', 'log' => array(__FUNCTION__, $_action, $_data_log), 'msg' => array('app_passwd_removed', htmlspecialchars($id)) ); } break; case 'get': $app_passwds = array(); $stmt = $pdo->prepare("SELECT `id`, `name` FROM `app_passwd` WHERE `mailbox` = :username"); $stmt->execute(array(':username' => $username)); $app_passwds = $stmt->fetchAll(PDO::FETCH_ASSOC); return $app_passwds; break; case 'details': $app_passwd_data = array(); $stmt = $pdo->prepare("SELECT * FROM `app_passwd` WHERE `id` = :id"); $stmt->execute(array(':id' => $_data)); $app_passwd_data = $stmt->fetch(PDO::FETCH_ASSOC); if (empty($app_passwd_data)) { return false; } if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $app_passwd_data['mailbox'])) { $app_passwd_data = array(); return false; } $app_passwd_data['name'] = htmlspecialchars(trim($app_passwd_data['name'])); return $app_passwd_data; break; } }
mailcow/mailcow-dockerized
data/web/inc/functions.app_passwd.inc.php
PHP
gpl-3.0
9,815
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #if !defined(AFX_STDAFX_H__50E4147E_A508_4D85_BF0A_BA26676063F0__INCLUDED_) #define AFX_STDAFX_H__50E4147E_A508_4D85_BF0A_BA26676063F0__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // TODO: reference additional headers your program requires here //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_STDAFX_H__50E4147E_A508_4D85_BF0A_BA26676063F0__INCLUDED_)
RaisingTheDerp/raisingthebar
root/utils/classcheck/stdafx.h
C
gpl-3.0
648
/* * Copyright (C) 2016 Javad Doliskani, javad.doliskani@uwaterloo.ca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "sidh_elliptic_curve.h" #include "sidh_public_param.h" #include "sidh_isogeny.h" #include "sidh_private_key.h" #include "sidh_public_key.h" #include "sidh_shared_key.h" #include "sidh_util.h" #include "sidh_public_key_validation.h" #include <math.h> #include <time.h> #include <stdint.h> void test_key_exchange(const public_params_t paramsA, const public_params_t paramsB) { sidh_fp_init_chararacteristic(paramsA->characteristic); private_key_t Alice_private_key; sidh_private_key_init(Alice_private_key); sidh_private_key_generate(Alice_private_key, paramsA); printf("Alice's private key: \n"); sidh_private_key_print(Alice_private_key); printf("\n--------------------------------------------\n\n"); public_key_t Alice_public_key; sidh_public_key_init(Alice_public_key); point_t kernel_gen; sidh_point_init(kernel_gen); sidh_private_key_compute_kernel_gen(kernel_gen, Alice_private_key, paramsA->P, paramsA->Q, paramsA->le, paramsA->E); sidh_public_key_generate(Alice_public_key, kernel_gen, paramsA, paramsB); printf("Alice's public key: \n"); sidh_public_key_print(Alice_public_key); printf("\n--------------------------------------------\n\n"); private_key_t Bob_private_key; sidh_private_key_init(Bob_private_key); sidh_private_key_generate(Bob_private_key, paramsB); printf("Bob's private key: \n"); sidh_private_key_print(Bob_private_key); printf("\n--------------------------------------------\n\n"); public_key_t Bob_public_key; sidh_public_key_init(Bob_public_key); sidh_private_key_compute_kernel_gen(kernel_gen, Bob_private_key, paramsB->P, paramsB->Q, paramsB->le, paramsB->E); sidh_public_key_generate(Bob_public_key, kernel_gen, paramsB, paramsA); printf("Bob's public key: \n"); sidh_public_key_print(Bob_public_key); printf("\n--------------------------------------------\n\n"); fp2_element_t Alice_shared_key; sidh_fp2_init(Alice_shared_key); sidh_shared_key_generate(Alice_shared_key, Bob_public_key, Alice_private_key, paramsA); printf("Alice's shared key: \n"); printf("%s\n", sidh_fp2_get_str(Alice_shared_key)); printf("\n--------------------------------------------\n\n"); fp2_element_t Bob_shared_key; sidh_fp2_init(Bob_shared_key); sidh_shared_key_generate(Bob_shared_key, Alice_public_key, Bob_private_key, paramsB); printf("Bob's shared key: \n"); printf("%s\n", sidh_fp2_get_str(Bob_shared_key)); printf("\n--------------------------------------------\n\n"); sidh_private_key_clear(Alice_private_key); sidh_public_key_clear(Alice_public_key); sidh_private_key_clear(Bob_private_key); sidh_public_key_clear(Bob_public_key); sidh_point_clear(kernel_gen); sidh_fp2_clear(Alice_shared_key); sidh_fp2_clear(Bob_shared_key); } int main(int argc, char** argv) { char *input_params = "public_params_521"; if (argc > 1) { input_params = argv[1]; } public_params_t paramsA; public_params_t paramsB; sidh_public_params_init(paramsA); sidh_public_params_init(paramsB); if (!sidh_public_params_read(paramsA, paramsB, input_params)) return (EXIT_FAILURE); printf("Public parameters:\n"); sidh_public_params_print(paramsA, 0); sidh_public_params_print(paramsB, 1); printf("\n--------------------------------------------\n\n"); test_key_exchange(paramsA, paramsB); sidh_public_params_clear(paramsA); sidh_public_params_clear(paramsB); return (EXIT_SUCCESS); }
sidh-crypto/sidh-c-reference
sidh/test/test_key_exchange.c
C
gpl-3.0
4,959
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UBoat.Utils.DataAccess { public enum CommandType { Text, StoredProcedure } }
AbrahamSanders/WebHawk
UBoat.Utils/DataAccess/CommandType.cs
C#
gpl-3.0
235
import socketserver, os from configparser import ConfigParser """ Byte [1] = Action 255 items """ class BOBServer(socketserver.BaseRequestHandler): """ The request handler class for our server. It is instantiated once per connection to the server, and must override the handle() method to implement communication to the client. """ config_filename = 'bobsrv-config.ini' def handle(self): # self.request is the TCP socket connected to the client self.data = self.request.recv(1024) print("{} wrote:".format(self.client_address[0])) print(self.data) # just send back the same data, but upper-cased self.request.sendall(self.data) def crete_init_configfile(): config = ConfigParser() config['Server'] = {'port': 7766, 'host': "localhost"} with open(BOBServer.config_filename, 'w') as configfile: config.write(configfile) config.read_file(open(BOBServer.config_filename)) return config """ Load's the server config file. If it cannot find one, it will create a basic one """ def load_config_file(): config = ConfigParser() try: config.read_file(open(BOBServer.config_filename)) return config except FileNotFoundError: return BOBServer.crete_init_configfile(); if __name__ == "__main__": """ Let's setup the configuration """ config = loadConfigFile() HOST, PORT = config['server']['host'], config['server']['port'] # Create the server, binding to localhost on port 9999 with socketserver.TCPServer((HOST, PORT), BOBServer) as server: # Activate the server; this will keep running until you # interrupt the program with Ctrl-C server.serve_forever()
arkalon76/bob
bobserver.py
Python
gpl-3.0
1,846
<?php if ( ! class_exists( 'GFForms' ) ) { die(); } /** * Specialist Add-On class designed for use by Add-Ons that require form feed settings * on the form settings tab. * * @package GFFeedAddOn */ require_once( 'class-gf-addon.php' ); abstract class GFFeedAddOn extends GFAddOn { /** * If set to true, Add-On can have multiple feeds configured. If set to false, feed list page doesn't exist and only one feed can be configured. * @var bool */ protected $_multiple_feeds = true; /** * If true, only first matching feed will be processed. Multiple feeds can still be configured, but only one is executed during the submission (i.e. Payment Add-Ons) * @var bool */ protected $_single_feed_submission = false; /** * If $_single_feed_submission is true, $_single_submission_feed will store the current single submission feed as stored by the get_single_submission_feed() method. * @var mixed (bool | Feed Object) */ protected $_single_submission_feed = false; /** * @var string Version number of the Add-On Framework */ private $_feed_version = '0.11'; private $_feed_settings_fields = array(); private $_current_feed_id = false; public function init() { parent::init(); add_filter( 'gform_entry_post_save', array( $this, 'maybe_process_feed' ), 10, 2 ); } public function init_ajax() { parent::init_ajax(); add_action( "wp_ajax_gf_feed_is_active_{$this->_slug}", array( $this, 'ajax_toggle_is_active' ) ); } public function init_admin() { parent::init_admin(); add_filter( 'gform_notification_events', array( $this, 'notification_events' ), 10, 2 ); add_filter( 'gform_notes_avatar', array( $this, 'notes_avatar' ), 10, 2 ); } protected function setup() { global $wpdb; $table_name = $wpdb->prefix . 'gf_addon_feed'; //upgrading Feed Add-On base class $installed_version = get_option( 'gravityformsaddon_feed-base_version' ); if ( $installed_version != $this->_feed_version || ! $this->table_exists( $table_name ) ) { $this->upgrade_base( $installed_version ); update_option( 'gravityformsaddon_feed-base_version', $this->_feed_version ); } parent::setup(); } private function upgrade_base( $previous_version ) { global $wpdb; require_once( ABSPATH . '/wp-admin/includes/upgrade.php' ); if ( ! empty( $wpdb->charset ) ) { $charset_collate = "DEFAULT CHARACTER SET $wpdb->charset"; } if ( ! empty( $wpdb->collate ) ) { $charset_collate .= " COLLATE $wpdb->collate"; } $sql = "CREATE TABLE {$wpdb->prefix}gf_addon_feed ( id mediumint(8) unsigned not null auto_increment, form_id mediumint(8) unsigned not null, is_active tinyint(1) not null default 1, meta longtext, addon_slug varchar(50), PRIMARY KEY (id), KEY addon_form (addon_slug,form_id) ) $charset_collate;"; //Fixes issue with dbDelta lower-casing table names, which cause problems on case sensitive DB servers. add_filter( 'dbdelta_create_queries', array( 'RGForms', 'dbdelta_fix_case' ) ); dbDelta( $sql ); remove_filter( 'dbdelta_create_queries', array( 'RGForms', 'dbdelta_fix_case' ) ); } public function scripts() { $scripts = array( array( 'handle' => 'gform_form_admin', 'enqueue' => array( array( 'admin_page' => array( 'form_settings' ) ) ) ), array( 'handle' => 'gform_gravityforms', 'enqueue' => array( array( 'admin_page' => array( 'form_settings' ) ) ) ), array( 'handle' => 'gform_forms', 'enqueue' => array( array( 'admin_page' => array( 'form_settings' ) ) ) ), array( 'handle' => 'json2', 'enqueue' => array( array( 'admin_page' => array( 'form_settings' ) ) ) ), array( 'handle' => 'gform_placeholder', 'enqueue' => array( array( 'admin_page' => array( 'form_settings' ), 'field_types' => array( 'feed_condition' ) ), ) ), ); return array_merge( parent::scripts(), $scripts ); } protected function uninstall() { global $wpdb; $sql = $wpdb->prepare( "DELETE FROM {$wpdb->prefix}gf_addon_feed WHERE addon_slug=%s", $this->_slug ); $wpdb->query( $sql ); } //-------- Front-end methods --------------------------- public function maybe_process_feed( $entry, $form ) { $feeds = false; //Getting all feeds for current add-on if ( $this->_single_feed_submission ) { $feed = $this->get_single_submission_feed( $entry, $form ); if ( $feed ) { $feeds = array( $feed ); } } else { $feeds = $this->get_feeds( $form['id'] ); } if ( empty( $feeds ) ) { //no feeds to process return $entry; } if ( $entry['status'] == 'spam' ) { $this->log_debug( 'GFFeedAddOn::maybe_process_feed(): Entry #' . $entry['id'] . ' is marked as spam.' ); return $entry; } $is_delayed = false; if ( class_exists( 'GFPayPal' ) ) { //get paypal feed to pass for delay check, must be done per add-on $paypal_feeds = $this->get_feeds_by_slug( 'gravityformspaypal', $form['id'] ); $active_paypal_feed = ''; //loop through paypal feeds to get active one for this form submission, needed to see if add-on processing should be delayed foreach ( $paypal_feeds as $paypal_feed ) { if ( $paypal_feed['is_active'] && $this->is_feed_condition_met( $paypal_feed, $form, $entry ) ) { $active_paypal_feed = $paypal_feed; break; } } if ( ! empty( $active_paypal_feed ) && $this->is_delayed( $active_paypal_feed ) && $this->has_paypal_payment( $active_paypal_feed, $form, $entry ) ) { $this->log_debug( 'GFFeedAddOn::maybe_process_feed(): Feed processing is delayed pending payment, not processing feed for entry #' . $entry['id'] . ' for ' . $this->_slug ); $is_delayed = true; } } /** * Allow feed processing to be delayed. * * bool $is_delayed Is feed processing delayed? * array $form The Form Object currently being processed. * array $entry The Entry Object currently being processed. * string $_slug The Add-On slug e.g. gravityformsmailchimp */ $is_delayed = gf_apply_filters( 'gform_is_delayed_pre_process_feed', $form['id'], $is_delayed, $form, $entry, $this->_slug ); //Processing feeds $processed_feeds = array(); foreach ( $feeds as $feed ) { $feed_name = rgempty( 'feed_name', $feed['meta'] ) ? rgar( $feed['meta'], 'feedName' ) : rgar( $feed['meta'], 'feed_name' ); if ( ! $feed['is_active'] ) { $this->log_debug( "GFFeedAddOn::maybe_process_feed(): Feed is inactive, not processing feed (#{$feed['id']} - {$feed_name}) for entry #{$entry['id']} for {$this->_slug}" ); continue; } if ( ! $this->is_feed_condition_met( $feed, $form, $entry ) ) { $this->log_debug( "GFFeedAddOn::maybe_process_feed(): Feed condition not met, not processing feed (#{$feed['id']} - {$feed_name}) for entry #{$entry['id']} for {$this->_slug}" ); continue; } $processed_feeds[] = $feed['id']; //process feed if not delayed if ( ! $is_delayed ) { //all requirements met, process feed $this->log_debug( "GFFeedAddOn::maybe_process_feed(): Starting to process feed (#{$feed['id']} - {$feed_name}) for entry #{$entry['id']} for {$this->_slug}" ); $this->process_feed( $feed, $entry, $form ); //should the add-on fulfill be done here???? $this->log_debug( 'GFFeedAddOn::maybe_process_feed(): Marking entry #' . $entry['id'] . ' as fulfilled for ' . $this->_slug ); gform_update_meta( $entry['id'], "{$this->_slug}_is_fulfilled", true ); } else { $this->delay_feed( $feed, $entry, $form ); } } //Saving processed feeds if ( ! empty( $processed_feeds ) ) { $meta = gform_get_meta( $entry['id'], 'processed_feeds' ); if ( empty( $meta ) ) { $meta = array(); } $meta[ $this->_slug ] = $processed_feeds; gform_update_meta( $entry['id'], 'processed_feeds', $meta ); } return $entry; } public function is_delayed( $paypal_feed ) { //look for delay in paypal feed specific to add-on $delay = rgar( $paypal_feed['meta'], 'delay_' . $this->_slug ); return $delay; } public function process_feed( $feed, $entry, $form ) { return; } public function delay_feed( $feed, $entry, $form ) { return; } public function is_feed_condition_met( $feed, $form, $entry ) { $feed_meta = $feed['meta']; $is_condition_enabled = rgar( $feed_meta, 'feed_condition_conditional_logic' ) == true; $logic = rgars( $feed_meta, 'feed_condition_conditional_logic_object/conditionalLogic' ); if ( ! $is_condition_enabled || empty( $logic ) ) { return true; } return GFCommon::evaluate_conditional_logic( $logic, $form, $entry ); } public function get_paypal_feed( $form_id, $entry ) { if ( ! class_exists( 'GFPayPal' ) ) { return false; } if ( method_exists( 'GFPayPal', 'get_config_by_entry' ) ) { $feed = GFPayPal::get_config_by_entry( $entry ); } elseif ( method_exists( 'GFPayPal', 'get_config' ) ) { $feed = GFPayPal::get_config( $form_id ); } else { $feed = false; } return $feed; } public function has_paypal_payment( $feed, $form, $entry ) { $products = GFCommon::get_product_fields( $form, $entry ); $payment_field = $feed['meta']['transactionType'] == 'product' ? $feed['meta']['paymentAmount'] : $feed['meta']['recurringAmount']; $setup_fee_field = rgar( $feed['meta'], 'setupFee_enabled' ) ? $feed['meta']['setupFee_product'] : false; $trial_field = rgar( $feed['meta'], 'trial_enabled' ) ? rgars( $feed, 'meta/trial_product' ) : false; $amount = 0; $line_items = array(); $discounts = array(); $fee_amount = 0; $trial_amount = 0; foreach ( $products['products'] as $field_id => $product ) { $quantity = $product['quantity'] ? $product['quantity'] : 1; $product_price = GFCommon::to_number( $product['price'] ); $options = array(); if ( is_array( rgar( $product, 'options' ) ) ) { foreach ( $product['options'] as $option ) { $options[] = $option['option_name']; $product_price += $option['price']; } } $is_trial_or_setup_fee = false; if ( ! empty( $trial_field ) && $trial_field == $field_id ) { $trial_amount = $product_price * $quantity; $is_trial_or_setup_fee = true; } elseif ( ! empty( $setup_fee_field ) && $setup_fee_field == $field_id ) { $fee_amount = $product_price * $quantity; $is_trial_or_setup_fee = true; } //Do not add to line items if the payment field selected in the feed is not the current field. if ( is_numeric( $payment_field ) && $payment_field != $field_id ) { continue; } //Do not add to line items if the payment field is set to "Form Total" and the current field was used for trial or setup fee. if ( $is_trial_or_setup_fee && ! is_numeric( $payment_field ) ) { continue; } $amount += $product_price * $quantity; } if ( ! empty( $products['shipping']['name'] ) && ! is_numeric( $payment_field ) ) { $line_items[] = array( 'id' => '', 'name' => $products['shipping']['name'], 'description' => '', 'quantity' => 1, 'unit_price' => GFCommon::to_number( $products['shipping']['price'] ), 'is_shipping' => 1 ); $amount += $products['shipping']['price']; } return $amount > 0; } /** * Retrieves notification events supported by Add-On. * * @access public * @param array $form * @return array */ public function supported_notification_events( $form ) { return array(); } /** * Add notifications events supported by Add-On to notification events list. * * @access public * @param array $events * @param array $form * @return array $events */ public function notification_events( $events, $form ) { /* Get the supported notification events for this Add-On. */ $supported_events = $this->supported_notification_events( $form ); /* If no events are supported, return the current array of events. */ if ( empty( $supported_events ) ) { return $events; } return array_merge( $events, $supported_events ); } //-------- Feed data methods ------------------------- public function get_feeds( $form_id = null ) { global $wpdb; $form_filter = is_numeric( $form_id ) ? $wpdb->prepare( 'AND form_id=%d', absint( $form_id ) ) : ''; $sql = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}gf_addon_feed WHERE addon_slug=%s {$form_filter}", $this->_slug ); $results = $wpdb->get_results( $sql, ARRAY_A ); foreach ( $results as &$result ) { $result['meta'] = json_decode( $result['meta'], true ); } return $results; } public function get_feeds_by_slug( $slug, $form_id = null ) { global $wpdb; $form_filter = is_numeric( $form_id ) ? $wpdb->prepare( 'AND form_id=%d', absint( $form_id ) ) : ''; $sql = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}gf_addon_feed WHERE addon_slug=%s {$form_filter}", $slug ); $results = $wpdb->get_results( $sql, ARRAY_A ); foreach( $results as &$result ) { $result['meta'] = json_decode( $result['meta'], true ); } return $results; } public function get_current_feed() { $feed_id = $this->get_current_feed_id(); return empty( $feed_id ) ? false : $this->get_feed( $feed_id ); } public function get_current_feed_id() { if ( $this->_current_feed_id ) { return $this->_current_feed_id; } elseif ( ! rgempty( 'gf_feed_id' ) ) { return rgpost( 'gf_feed_id' ); } else { return rgget( 'fid' ); } } public function get_feed( $id ) { global $wpdb; $sql = $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}gf_addon_feed WHERE id=%d", $id ); $row = $wpdb->get_row( $sql, ARRAY_A ); if ( ! $row ) { return false; } $row['meta'] = json_decode( $row['meta'], true ); return $row; } public function get_feeds_by_entry( $entry_id ) { $processed_feeds = gform_get_meta( $entry_id, 'processed_feeds' ); if ( ! $processed_feeds ) { return false; } return rgar( $processed_feeds, $this->_slug ); } public function get_default_feed_name(){ //query db to look for two formats that the feed name could have been auto-generated with //format from migration to add-on framework: 'Feed ' . $counter //new auto-generated format when adding new feed: $short_title . ' Feed ' . $counter $counter_to_use = 0; //set to zero unless a new number is found while checking existing feed names (will be incremented by 1 at the end) //$feeds_to_filter = GFFeedAddOn::get_feeds_by_slug( $this->_slug ); $feeds_to_filter = $this->get_feeds_by_slug( $this->_slug ); if ( $feeds_to_filter ){ //loop through and look for name pattern to find what to make default feed name foreach ( $feeds_to_filter as $check ){ $name = rgar( $check['meta'], 'feed_name' ) ? trim( $check['meta']['feed_name'] ) : trim( $check['meta']['feedName'] ); $pattern = '/(^Feed|^' . $this->_short_title . ' Feed)\s\d+/'; preg_match( $pattern,$name,$matches ); if ( $matches ){ //number should be characters at the end after a space $last_space = strrpos( $matches[0],' ' ); $digit = substr( $matches[0],$last_space ); if ( $digit >= $counter_to_use ){ //counter in existing feed name greater, use it instead $counter_to_use = $digit; } } } } //set default feed name $value = $this->_short_title . ' Feed ' . ($counter_to_use + 1); return $value; } public function update_feed_meta( $id, $meta ) { global $wpdb; $meta = json_encode( $meta ); $wpdb->update( "{$wpdb->prefix}gf_addon_feed", array( 'meta' => $meta ), array( 'id' => $id ), array( '%s' ), array( '%d' ) ); return $wpdb->rows_affected > 0; } public function update_feed_active( $id, $is_active ) { global $wpdb; $is_active = $is_active ? '1' : '0'; $wpdb->update( "{$wpdb->prefix}gf_addon_feed", array( 'is_active' => $is_active ), array( 'id' => $id ), array( '%d' ), array( '%d' ) ); return $wpdb->rows_affected > 0; } public function insert_feed( $form_id, $is_active, $meta ) { global $wpdb; $meta = json_encode( $meta ); $wpdb->insert( "{$wpdb->prefix}gf_addon_feed", array( 'addon_slug' => $this->_slug, 'form_id' => $form_id, 'is_active' => $is_active, 'meta' => $meta ), array( '%s', '%d', '%d', '%s' ) ); return $wpdb->insert_id; } public function delete_feed( $id ) { global $wpdb; $wpdb->delete( "{$wpdb->prefix}gf_addon_feed", array( 'id' => $id ), array( '%d' ) ); } public function delete_feeds( $form_id = null ) { global $wpdb; $where = is_numeric( $form_id ) ? array( 'addon_slug' => $this->_slug, 'form_id' => $form_id ) : array( 'addon_slug' => $this->_slug ); $format = is_numeric( $form_id ) ? array( '%s', '%d' ) : array( '%s' ); $wpdb->delete( "{$wpdb->prefix}gf_addon_feed", $where, $format ); } //---------- Form Settings Pages -------------------------- public function form_settings_init() { parent::form_settings_init(); } public function ajax_toggle_is_active() { $feed_id = rgpost( 'feed_id' ); $is_active = rgpost( 'is_active' ); $this->update_feed_active( $feed_id, $is_active ); die(); } public function form_settings_sections() { return array(); } public function form_settings( $form ) { if ( ! $this->_multiple_feeds || $this->is_detail_page() ) { // feed edit page $feed_id = $this->_multiple_feeds ? $this->get_current_feed_id() : $this->get_default_feed_id( $form['id'] ); $this->feed_edit_page( $form, $feed_id ); } else { // feed list UI $this->feed_list_page( $form ); } } public function is_feed_list_page() { return ! isset( $_GET['fid'] ); } public function is_detail_page() { return ! $this->is_feed_list_page(); } public function form_settings_header() { if ( $this->is_feed_list_page() ) { $title = $this->form_settings_title(); $url = add_query_arg( array( 'fid' => 0 ) ); return $title . " <a class='add-new-h2' href='" . esc_html( $url ) . "'>" . esc_html__( 'Add New', 'gravityforms' ) . '</a>'; } } public function form_settings_title() { return sprintf( esc_html__( '%s Feeds', 'gravityforms' ), $this->_title ); } protected function feed_edit_page( $form, $feed_id ) { $title = '<h3><span>' . $this->feed_settings_title() . '</span></h3>'; if ( ! $this->can_create_feed() ) { echo $title . '<div>' . $this->configure_addon_message() . '</div>'; return; } // Save feed if appropriate $feed_id = $this->maybe_save_feed_settings( $feed_id, $form['id'] ); $this->_current_feed_id = $feed_id; //So that current feed functions work when creating a new feed ?> <script type="text/javascript"> <?php GFFormSettings::output_field_scripts() ?> </script> <?php echo $title; $feed = $this->get_feed( $feed_id ); $this->set_settings( $feed['meta'] ); GFCommon::display_admin_message(); $this->render_settings( $this->get_feed_settings_fields( $form ) ); } public function settings( $sections ) { parent::settings( $sections ); ?> <input type="hidden" name="gf_feed_id" value="<?php echo esc_attr( $this->get_current_feed_id() ); ?>" /> <?php } public function feed_settings_title() { return esc_html__( 'Feed Settings', 'gravityforms' ); } public function feed_list_page( $form = null ) { $action = $this->get_bulk_action(); if ( $action ) { check_admin_referer( 'feed_list', 'feed_list' ); $this->process_bulk_action( $action ); } $single_action = rgpost( 'single_action' ); if ( ! empty( $single_action ) ) { check_admin_referer( 'feed_list', 'feed_list' ); $this->process_single_action( $single_action ); } ?> <h3><span><?php echo $this->feed_list_title() ?></span></h3> <form id="gform-settings" action="" method="post"> <?php $feed_list = $this->get_feed_table( $form ); $feed_list->prepare_items(); $feed_list->display(); ?> <!--Needed to save state after bulk operations--> <input type="hidden" value="gf_edit_forms" name="page"> <input type="hidden" value="settings" name="view"> <input type="hidden" value="<?php echo esc_attr( $this->_slug ); ?>" name="subview"> <input type="hidden" value="<?php echo esc_attr( rgar( $form, 'id' ) ); ?>" name="id"> <input id="single_action" type="hidden" value="" name="single_action"> <input id="single_action_argument" type="hidden" value="" name="single_action_argument"> <?php wp_nonce_field( 'feed_list', 'feed_list' ) ?> </form> <script type="text/javascript"> <?php GFCommon::gf_vars() ?> </script> <?php } public function get_feed_table( $form ) { $columns = $this->feed_list_columns(); $column_value_callback = array( $this, 'get_column_value' ); $feeds = $this->get_feeds( rgar( $form, 'id' ) ); $bulk_actions = $this->get_bulk_actions(); $action_links = $this->get_action_links(); $no_item_callback = array( $this, 'feed_list_no_item_message' ); $message_callback = array( $this, 'feed_list_message' ); return new GFAddOnFeedsTable( $feeds, $this->_slug, $columns, $bulk_actions, $action_links, $column_value_callback, $no_item_callback, $message_callback ); } public function feed_list_title() { if ( ! $this->can_create_feed() ) { return sprintf( __( '%s Feeds', 'gravityforms' ), $this->get_short_title() ); } $url = add_query_arg( array( 'fid' => '0' ) ); $url = esc_url( $url ); return sprintf( esc_html__( '%s Feeds', 'gravityforms' ), $this->get_short_title() ) . " <a class='add-new-h2' href='{$url}'>" . esc_html__( 'Add New' , 'gravityforms' ) . '</a>'; } protected function maybe_save_feed_settings( $feed_id, $form_id ) { if ( ! rgpost( 'gform-settings-save' ) ) { return $feed_id; } // store a copy of the previous settings for cases where action would only happen if value has changed $feed = $this->get_feed( $feed_id ); $this->set_previous_settings( $feed['meta'] ); $settings = $this->get_posted_settings(); $sections = $this->get_feed_settings_fields(); $settings = $this->trim_conditional_logic_vales( $settings, $form_id ); $is_valid = $this->validate_settings( $sections, $settings ); $result = false; if ( $is_valid ) { $settings = $this->filter_settings( $sections, $settings ); $feed_id = $this->save_feed_settings( $feed_id, $form_id, $settings ); if ( $feed_id ) { GFCommon::add_message( $this->get_save_success_message( $sections ) ); } else { GFCommon::add_error_message( $this->get_save_error_message( $sections ) ); } } else { GFCommon::add_error_message( $this->get_save_error_message( $sections ) ); } return $feed_id; } protected function trim_conditional_logic_vales( $settings, $form_id ) { if ( ! is_array( $settings ) ) { return $settings; } if ( isset( $settings['feed_condition_conditional_logic_object'] ) && is_array( $settings['feed_condition_conditional_logic_object'] ) ) { $form = GFFormsModel::get_form_meta( $form_id ); $settings['feed_condition_conditional_logic_object'] = GFFormsModel::trim_conditional_logic_values_from_element( $settings['feed_condition_conditional_logic_object'], $form ); } return $settings; } protected function get_save_success_message( $sections ) { if ( ! $this->is_detail_page() ) return parent::get_save_success_message( $sections ); $save_button = $this->get_save_button( $sections ); return isset( $save_button['messages']['success'] ) ? $save_button['messages']['success'] : esc_html__( 'Feed updated successfully.', 'gravityforms' ); } protected function get_save_error_message( $sections ) { if ( ! $this->is_detail_page() ) return parent::get_save_error_message( $sections ); $save_button = $this->get_save_button( $sections ); return isset( $save_button['messages']['error'] ) ? $save_button['messages']['error'] : esc_html__( 'There was an error updating this feed. Please review all errors below and try again.', 'gravityforms' ); } protected function save_feed_settings( $feed_id, $form_id, $settings ) { if ( $feed_id ) { $this->update_feed_meta( $feed_id, $settings ); $result = $feed_id; } else { $result = $this->insert_feed( $form_id, true, $settings ); } return $result; } public function get_feed_settings_fields() { if ( ! empty( $this->_feed_settings_fields ) ) { return $this->_feed_settings_fields; } $this->_feed_settings_fields = $this->add_default_feed_settings_fields_props( $this->feed_settings_fields() ); return $this->_feed_settings_fields; } public function feed_settings_fields() { return array(); } public function add_default_feed_settings_fields_props( $fields ) { foreach ( $fields as &$section ) { foreach ( $section['fields'] as &$field ) { switch ( $field['type'] ) { case 'hidden': $field['hidden'] = true; break; } if ( rgar( $field, 'name' ) == 'feedName' ) { $field['default_value'] = $this->get_default_feed_name(); } } } return $fields; } private function get_bulk_action() { $action = rgpost( 'action' ); if ( empty( $action ) || $action == '-1' ) { $action = rgpost( 'action2' ); } return empty( $action ) || $action == '-1' ? false : $action; } /*** * Override this function to add custom bulk actions */ protected function get_bulk_actions() { $bulk_actions = array( 'delete' => esc_html__( 'Delete', 'gravityforms' ) ); return $bulk_actions; } /*** * Override this function to process custom bulk actions added via the get_bulk_actions() function * * @param string $action : The bulk action selected by the user */ protected function process_bulk_action( $action ) { if ( $action == 'delete' ) { $feeds = rgpost( 'feed_ids' ); if ( is_array( $feeds ) ) { foreach ( $feeds as $feed_id ) { $this->delete_feed( $feed_id ); } } } } protected function process_single_action( $action ) { if ( $action == 'delete' ) { $feed_id = absint( rgpost( 'single_action_argument' ) ); $this->delete_feed( $feed_id ); } } protected function get_action_links() { $feed_id = '_id_'; $edit_url = add_query_arg( array( 'fid' => $feed_id ) ); $links = array( 'edit' => '<a title="' . esc_attr__( 'Edit this feed', 'gravityforms' ) . '" href="' . esc_url( $edit_url ) . '">' . esc_html__( 'Edit', 'gravityforms' ) . '</a>', 'delete' => '<a title="' . esc_attr__( 'Delete this feed', 'gravityforms' ) . '" class="submitdelete" onclick="javascript: if(confirm(\'' . esc_js( __( 'WARNING: You are about to delete this item.', 'gravityforms' ) ) . esc_js( __( "'Cancel' to stop, 'OK' to delete.", 'gravityforms' ) ) . '\')){ gaddon.deleteFeed(\'' . esc_js( $feed_id ) . '\'); }" style="cursor:pointer;">' . esc_html__( 'Delete', 'gravityforms' ) . '</a>' ); return $links; } protected function feed_list_columns() { return array(); } /** * Override this function to change the message that is displayed when the feed list is empty * @return string The message */ public function feed_list_no_item_message() { $url = add_query_arg( array( 'fid' => 0 ) ); return sprintf( esc_html__( "You don't have any feeds configured. Let's go %screate one%s!", 'gravityforms' ), "<a href='" . esc_url( $url ) . "'>", '</a>' ); } /** * Override this function to force a message to be displayed in the feed list (instead of data). Useful to alert users when main plugin settings haven't been completed. * @return string|false */ public function feed_list_message() { if ( ! $this->can_create_feed() ) { return $this->configure_addon_message(); } return false; } public function configure_addon_message() { $settings_label = sprintf( __( '%s Settings', 'gravityforms' ), $this->get_short_title() ); $settings_link = sprintf( '<a href="%s">%s</a>', esc_url( $this->get_plugin_settings_url() ), $settings_label ); return sprintf( __( 'To get started, please configure your %s.', 'gravityforms' ), $settings_link ); } /** * Override this function to prevent the feed creation UI from being rendered. * @return boolean|true */ public function can_create_feed() { return true; } public function get_column_value( $item, $column ) { if ( is_callable( array( $this, "get_column_value_{$column}" ) ) ) { return call_user_func( array( $this, "get_column_value_{$column}" ), $item ); } elseif ( isset( $item[ $column ] ) ) { return $item[ $column ]; } elseif ( isset( $item['meta'][ $column ] ) ) { return $item['meta'][ $column ]; } } protected function update_form_settings( $form, $new_form_settings ) { $feed_id = rgar( $new_form_settings, 'id' ); foreach ( $new_form_settings as $key => $value ) { $form[ $this->_slug ]['feeds'][ $feed_id ][ $key ] = $value; } return $form; } protected function get_default_feed_id( $form_id ) { global $wpdb; $sql = $wpdb->prepare( "SELECT id FROM {$wpdb->prefix}gf_addon_feed WHERE addon_slug=%s AND form_id = %d LIMIT 0,1", $this->_slug, $form_id ); $feed_id = $wpdb->get_var( $sql ); if ( ! $feed_id ) { $feed_id = 0; } return $feed_id; } protected function settings_feed_condition( $field, $echo = true ) { $checkbox_label = isset( $field['checkbox_label'] ) ? $field['checkbox_label'] : esc_html__( 'Enable Condition', 'gravityforms' ); $checkbox_field = array( 'name' => 'feed_condition_conditional_logic', 'type' => 'checkbox', 'choices' => array( array( 'label' => $checkbox_label, 'name' => 'feed_condition_conditional_logic', ), ), 'onclick' => 'ToggleConditionalLogic( false, "feed_condition" );', ); $conditional_logic_object = $this->get_setting( 'feed_condition_conditional_logic_object' ); if ( $conditional_logic_object ) { $form_id = rgget( 'id' ); $form = GFFormsModel::get_form_meta( $form_id ); $conditional_logic = json_encode( GFFormsModel::trim_conditional_logic_values_from_element( $conditional_logic_object, $form ) ); } else { $conditional_logic = '{}'; } $hidden_field = array( 'name' => 'feed_condition_conditional_logic_object', 'value' => $conditional_logic, ); $instructions = isset( $field['instructions'] ) ? $field['instructions'] : esc_html__( 'Process this feed if', 'gravityforms' ); $html = $this->settings_checkbox( $checkbox_field, '', false ); $html .= $this->settings_hidden( $hidden_field, '', false ); $html .= '<div id="feed_condition_conditional_logic_container"><!-- dynamically populated --></div>'; $html .= '<script type="text/javascript"> var feedCondition = new FeedConditionObj({' . 'strings: { objectDescription: "' . esc_attr( $instructions ) . '" },' . 'logicObject: ' . $conditional_logic . '}); </script>'; if ( $echo ) { echo $html; } return $html; } public static function add_entry_meta( $form ) { $entry_meta = GFFormsModel::get_entry_meta( $form['id'] ); $keys = array_keys( $entry_meta ); foreach ( $keys as $key ) { array_push( $form['fields'], array( 'id' => $key, 'label' => $entry_meta[ $key ]['label'] ) ); } return $form; } protected function has_feed_condition_field() { $fields = $this->settings_fields_only( 'feed' ); foreach ( $fields as $field ) { if ( $field['type'] == 'feed_condition' ) { return true; } } return false; } protected function add_delayed_payment_support( $options ) { $this->delayed_payment_integration = $options; if ( is_admin() ) { add_action( 'gform_paypal_action_fields', array( $this, 'add_paypal_settings' ), 10, 2 ); add_filter( 'gform_paypal_save_config', array( $this, 'save_paypal_settings' ) ); } add_action( 'gform_paypal_fulfillment', array( $this, 'paypal_fulfillment' ), 10, 4 ); } public function add_paypal_settings( $feed, $form ) { $form_id = rgar( $form, 'id' ); $feed_meta = $feed['meta']; $settings_style = $this->has_feed( $form_id ) ? '' : 'display:none;'; $addon_name = $this->_slug; $addon_feeds = array(); foreach ( $this->get_feeds( $form_id ) as $feed ) { $addon_feeds[] = $feed['form_id']; } ?> <div style="<?php echo esc_attr( $settings_style ); ?>" id="delay_<?php echo esc_attr__( $addon_name ); ?>_container"> <input type="checkbox" name="paypal_delay_<?php echo esc_attr( $addon_name ); ?>" id="paypal_delay_<?php echo esc_attr( $addon_name ); ?>" value="1" <?php echo rgar( $feed_meta, "delay_$addon_name" ) ? "checked='checked'" : '' ?> class="gaddon-setting gaddon-checkbox" /> <label class="inline" for="paypal_delay_<?php echo esc_attr( $addon_name ); ?>"> <?php if ( rgar( $this->delayed_payment_integration, 'option_label' ) ) { echo rgar( $this->delayed_payment_integration, 'option_label' ); } else { printf( esc_html__( 'Process %s feed only when payment is received.', 'gravityforms' ), $this->get_short_title() ); } ?> </label> </div> <script type="text/javascript"> jQuery(document).ready(function ($) { jQuery(document).bind('paypalFormSelected', function (event, form) { var addonFormIds = <?php echo json_encode( $addon_feeds ); ?>; var isApplicableFeed = false; if (jQuery.inArray(String(form.id), addonFormIds) != -1) isApplicableFeed = true; if (isApplicableFeed) { jQuery(<?php echo json_encode( '#delay_' . $addon_name . '_container' ); ?>).show(); } else { jQuery(<?php echo json_encode( '#delay_' . $addon_name . '_container' ); ?>).hide(); } }); }); </script> <?php } public function save_paypal_settings( $feed ) { $feed['meta'][ "delay_{$this->_slug}" ] = rgpost( "paypal_delay_{$this->_slug}" ); return $feed; } public function paypal_fulfillment( $entry, $paypal_config, $transaction_id, $amount ) { $this->log_debug( 'GFFeedAddOn::paypal_fulfillment(): Checking PayPal fulfillment for transaction ' . $transaction_id . ' for ' . $this->_slug ); $is_fulfilled = gform_get_meta( $entry['id'], "{$this->_slug}_is_fulfilled" ); if ( $is_fulfilled ) { $this->log_debug( 'GFFeedAddOn::paypal_fulfillment(): Entry ' . $entry['id'] . ' is already fulfilled for ' . $this->_slug . '. No action necessary.' ); return false; } $form = RGFormsModel::get_form_meta( $entry['form_id'] ); $feed_to_process = ''; $feeds = $this->get_feeds( $entry['form_id'] ); foreach ( $feeds as $feed ){ if ( $feed['is_active'] && $this->is_feed_condition_met( $feed, $form, $entry ) ) { $feed_to_process = $feed; break; } } if ( empty( $feed_to_process ) ) { $this->log_debug( 'GFFeedAddOn::paypal_fulfillment(): No active feeds found or feeds did not meet conditional logic for ' . $this->_slug . '. No fulfillment necessary.' ); return false; } $this->process_feed( $feed_to_process, $entry, $form ); // updating meta to indicate this entry has been fulfilled for the current add-on $this->log_debug( 'GFFeedAddOn::paypal_fulfillment(): Marking entry ' . $entry['id'] . ' as fulfilled for ' . $this->_slug ); gform_update_meta( $entry['id'], "{$this->_slug}_is_fulfilled", true ); } public static function get_paypal_payment_amount( $form, $entry, $paypal_config ) { //TODO: need to support old "paypal_config" format as well as new format when delayed payment suported feed addons are released $products = GFCommon::get_product_fields( $form, $entry, true ); $recurring_field = rgar( $paypal_config['meta'], 'recurring_amount_field' ); $total = 0; foreach ( $products['products'] as $id => $product ) { if ( $paypal_config['meta']['type'] != 'subscription' || $recurring_field == $id || $recurring_field == 'all' ) { $price = GFCommon::to_number( $product['price'] ); if ( is_array( rgar( $product, 'options' ) ) ) { foreach ( $product['options'] as $option ) { $price += GFCommon::to_number( $option['price'] ); } } $total += $price * $product['quantity']; } } if ( $recurring_field == 'all' && ! empty( $products['shipping']['price'] ) ) { $total += floatval( $products['shipping']['price'] ); } return $total; } public function has_feed( $form_id, $meets_conditional_logic = null ) { $feeds = $this->get_feeds( $form_id ); if ( ! $feeds ) { return false; } $has_active_feed = false; if ( $meets_conditional_logic ) { $form = GFFormsModel::get_form_meta( $form_id ); $entry = GFFormsModel::create_lead( $form ); } foreach ( $feeds as $feed ) { if ( ! $has_active_feed && $feed['is_active'] ) { $has_active_feed = true; } if ( $meets_conditional_logic && $feed['is_active'] && $this->is_feed_condition_met( $feed, $form, $entry ) ) { return true; } } return $meets_conditional_logic ? false : $has_active_feed; } public function is_delayed_payment( $entry, $form, $is_delayed ) { if ( $this->_slug == 'gravityformspaypal' ) { return false; } $paypal_feed = $this->get_paypal_feed( $form['id'], $entry ); if ( ! $paypal_feed ) { return false; } $has_payment = self::get_paypal_payment_amount( $form, $entry, $paypal_feed ) > 0; return rgar( $paypal_feed['meta'], "delay_{$this->_slug}" ) && $has_payment && ! $is_delayed; } public function get_single_submission_feed( $entry = false, $form = false ) { if ( ! $entry && ! $form ) { return false; } $feed = false; if ( ! empty( $this->_single_submission_feed ) ) { $feed = $this->_single_submission_feed; } elseif( $entry['id'] ) { $feeds = $this->get_feeds_by_entry( $entry['id'] ); if ( empty( $feeds ) ) { $feed = $this->get_single_submission_feed( false, $form ); } else { $feed = $this->get_feed( $feeds[0] ); } } elseif ( $form ) { $feeds = $this->get_feeds( $form['id'] ); foreach ( $feeds as $_feed ) { if ( $_feed['is_active'] && $this->is_feed_condition_met( $_feed, $form, $entry ) ) { $feed = $_feed; break; } } $this->_single_submission_feed = $feed; } return $feed; } //--------------- Notes ------------------ protected function add_feed_error( $error_message, $feed, $entry, $form ) { /* Log debug error before we prepend the error name. */ $backtrace = debug_backtrace(); $method = $backtrace[1]['class'] . '::' . $backtrace[1]['function']; $this->log_error( $method . '(): ' . $error_message ); /* Prepend feed name to the error message. */ $feed_name = rgars( $feed, 'meta/feed_name' ) ? rgars( $feed, 'meta/feed_name' ) : rgars( $feed, 'meta/feedName' ); $error_message = $feed_name . ': ' . $error_message; /* Add error note to the entry. */ $this->add_note( $entry['id'], $error_message, 'error' ); /* Get Add-On slug */ $slug = str_replace( 'gravityforms', '', $this->_slug ); /* Process any error actions. */ gf_do_action( "gform_{$slug}_error", array( $form['id'] ), $feed, $entry, $form ); } } if ( ! class_exists( 'WP_List_Table' ) ) { require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); } class GFAddOnFeedsTable extends WP_List_Table { private $_feeds; private $_slug; private $_columns; private $_bulk_actions; private $_action_links; private $_column_value_callback = array(); private $_no_items_callback = array(); private $_message_callback = array(); function __construct( $feeds, $slug, $columns = array(), $bulk_actions, $action_links, $column_value_callback, $no_items_callback, $message_callback ) { $this->_bulk_actions = $bulk_actions; $this->_feeds = $feeds; $this->_slug = $slug; $this->_columns = $columns; $this->_column_value_callback = $column_value_callback; $this->_action_links = $action_links; $this->_no_items_callback = $no_items_callback; $this->_message_callback = $message_callback; $standard_cols = array( 'cb' => esc_html__( 'Checkbox', 'gravityforms' ), 'is_active' => '', ); $all_cols = array_merge( $standard_cols, $columns ); $this->_column_headers = array( $all_cols, array(), array(), rgar( array_values( $all_cols ), 2 ), ); parent::__construct( array( 'singular' => esc_html__( 'feed', 'gravityforms' ), 'plural' => esc_html__( 'feeds', 'gravityforms' ), 'ajax' => false, ) ); } function prepare_items() { $this->items = isset( $this->_feeds ) ? $this->_feeds : array(); } function get_columns() { return $this->_column_headers[0]; } function get_bulk_actions() { return $this->_bulk_actions; } function no_items() { echo call_user_func( $this->_no_items_callback ); } function display_rows_or_placeholder() { $message = call_user_func( $this->_message_callback ); if ( $message !== false ) { ?> <tr class="no-items"> <td class="colspanchange" colspan="<?php echo $this->get_column_count() ?>"> <?php echo $message ?> </td> </tr> <?php } else { parent::display_rows_or_placeholder(); } } function column_default( $item, $column ) { if ( is_callable( $this->_column_value_callback ) ) { $value = call_user_func( $this->_column_value_callback, $item, $column ); } //adding action links to the first column of the list $columns = array_keys( $this->_columns ); if ( is_array( $columns ) && count( $columns ) > 0 && $columns[0] == $column ) { $value = $this->add_action_links( $item, $column, $value ); } return $value; } function column_cb( $item ) { $feed_id = rgar( $item, 'id' ); return sprintf( '<input type="checkbox" name="feed_ids[]" value="%s" />', esc_attr( $feed_id ) ); } function add_action_links( $item, $column, $value ) { $actions = apply_filters( $this->_slug . '_feed_actions', $this->_action_links, $item, $column ); //replacing _id_ merge variable with actual feed id foreach ( $actions as $action => &$link ) { $link = str_replace( '_id_', $item['id'], $link ); } return sprintf( '%1$s %2$s', $value, $this->row_actions( $actions ) ); } function column_is_active( $item ) { $is_active = intval( rgar( $item, 'is_active' ) ); $src = GFCommon::get_base_url() . "/images/active{$is_active}.png"; $title = $is_active ? esc_attr__( 'Active', 'gravityforms' ) : esc_attr__( 'Inactive', 'gravityforms' ); $img = sprintf( '<img src="%s" title="%s" onclick="gaddon.toggleFeedActive(this, \'%s\', \'%s\');" style="cursor:pointer";/>', $src, $title, esc_js( $this->_slug ), esc_js( $item['id'] ) ); return $img; } }
thebykov/trufit
wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php
PHP
gpl-3.0
44,015
/* Magnific Popup CSS */ .mfp-bg { font-family: 'Source Sans Pro', sans-serif; top: 0; left: 0; width: 100%; height: 100%; z-index: 1042; overflow: hidden; position: fixed; background: #0b0b0b; opacity: 0.9; filter: alpha(opacity = 80); } .mfp-wrap { top: 0; left: 0; width: 100%; height: 100%; z-index: 1043; position: fixed; outline: none !important; -webkit-backface-visibility: hidden; } .mfp-container { text-align: center; position: absolute; width: 100%; height: 100%; left: 0; top: 0; padding: 0 8px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .mfp-container:before { content: ''; display: inline-block; height: 100%; vertical-align: middle; } .mfp-align-top .mfp-container:before { display: none; } .mfp-content { position: relative; display: inline-block; vertical-align: middle; margin: 0 auto; text-align: left; z-index: 1045; } .mfp-inline-holder .mfp-content,.mfp-ajax-holder .mfp-content { width: 100%; cursor: auto; } .mfp-ajax-cur { cursor: progress; } .mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close { cursor: -moz-zoom-out; cursor: -webkit-zoom-out; cursor: zoom-out; } .mfp-zoom { cursor: pointer; cursor: -webkit-zoom-in; cursor: -moz-zoom-in; cursor: zoom-in; } .mfp-auto-cursor .mfp-content { cursor: auto; } .mfp-close,.mfp-arrow,.mfp-preloader,.mfp-counter { -webkit-user-select: none; -moz-user-select: none; user-select: none; } .mfp-loading.mfp-figure { display: none; } .mfp-hide { display: none !important; } .mfp-preloader { color: #cccccc; position: absolute; top: 50%; width: auto; text-align: center; margin-top: -0.8em; left: 8px; right: 8px; z-index: 1044; } .mfp-preloader a { color: #cccccc; } .mfp-preloader a:hover { color: white; } .mfp-s-ready .mfp-preloader { display: none; } .mfp-s-error .mfp-content { display: none; } button.mfp-close,button.mfp-arrow { overflow: visible; cursor: pointer; background: transparent; border: 0; -webkit-appearance: none; display: block; padding: 0; z-index: 1046; } button::-moz-focus-inner { padding: 0; border: 0; } .mfp-close { width: 30px; height: 30px; line-height: 44px; position: absolute; right: 0; top: 0; text-decoration: none; text-align: center; opacity: 0.65; padding: 0 0 18px 10px; color: white; font-style: normal; font-size: 28px; outline: none; } .mfp-close:hover,.mfp-close:focus { opacity: 9; } .mfp-close:active { top: 0px; } .mfp-close-btn-in .mfp-close { color: #333333; } .mfp-image-holder .mfp-close,.mfp-iframe-holder .mfp-close { color: white; right: -6px; text-align: right; padding-right: 6px; width: 100%; outline: none; } .mfp-counter { position: absolute; top: 0; right: 0; color: #cccccc; font-size: 12px; line-height: 18px; } .mfp-arrow { position: absolute; opacity: 0.65; margin: 0; top: 50%; margin-top: -55px; padding: 0; width: 90px; height: 110px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .mfp-arrow:active { margin-top: -54px; } .mfp-arrow:hover,.mfp-arrow:focus { opacity: 1; } .mfp-arrow:before,.mfp-arrow:after,.mfp-arrow .mfp-b,.mfp-arrow .mfp-a { content: ''; display: block; width: 0; height: 0; position: absolute; left: 0; top: 0; margin-top: 35px; margin-left: 35px; border: medium inset transparent; } .mfp-arrow:after,.mfp-arrow .mfp-a { border-top-width: 13px; border-bottom-width: 13px; top: 8px; } .mfp-arrow:before,.mfp-arrow .mfp-b { border-top-width: 21px; border-bottom-width: 21px; } .mfp-arrow-left { left: 0; } .mfp-arrow-left:after,.mfp-arrow-left .mfp-a { border-right: 17px solid white; margin-left: 31px; } .mfp-arrow-left:before,.mfp-arrow-left .mfp-b { margin-left: 25px; border-right: 27px solid #3f3f3f; } .mfp-arrow-right { right: 0; } .mfp-arrow-right:after,.mfp-arrow-right .mfp-a { border-left: 17px solid white; margin-left: 39px; } .mfp-arrow-right:before,.mfp-arrow-right .mfp-b { border-left: 27px solid #3f3f3f; } .mfp-iframe-holder { padding-top: 40px; padding-bottom: 40px; } .mfp-iframe-holder .mfp-content { line-height: 0; width: 100%; max-width: 900px; } .mfp-iframe-scaler { width: 100%; height: 0; overflow: hidden; padding-top: 56.25%; } .mfp-iframe-scaler iframe { position: absolute; display: block; top: 0; left: 0; width: 100%; height: 100%; box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); background: black; } .mfp-iframe-holder .mfp-close { top: -40px; } /* Main image in popup */ img.mfp-img { width: auto; max-width: 100%; height: auto; display: block; line-height: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 40px 0 40px; margin: 0 auto; } /* The shadow behind the image */ .mfp-figure:after { content: ''; position: absolute; left: 0; top: 40px; bottom: 40px; display: block; right: 0; width: auto; height: auto; z-index: -1; box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); background: #444444; } .mfp-figure { line-height: 0; } .mfp-bottom-bar { margin-top: -36px; position: absolute; top: 100%; left: 0; width: 100%; cursor: auto; } .mfp-title { text-align: left; line-height: 18px; color: #f3f3f3; word-break: break-word; padding-right: 36px; } .mfp-figure small { color: #bdbdbd; display: block; font-size: 12px; line-height: 14px; } .mfp-image-holder .mfp-content { max-width: 100%; } .mfp-gallery .mfp-image-holder .mfp-figure { cursor: pointer; } /******** Plans List *******/ /* Styles for dialog window */ #small-dialog { background: white; padding: 20px 30px; text-align: left; max-width: 400px; margin: 40px auto; position: relative; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; -o-border-radius: 2px; } /** /** * Fade-zoom animation for first dialog */ /* start state */ .my-mfp-zoom-in #small-dialog { opacity: 0; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; -webkit-transform: scale(0.8); -moz-transform: scale(0.8); -ms-transform: scale(0.8); -o-transform: scale(0.8); transform: scale(0.8); } /* animate in */ .my-mfp-zoom-in.mfp-ready #small-dialog { opacity: 1; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); } /* animate out */ .my-mfp-zoom-in.mfp-removing #small-dialog { -webkit-transform: scale(0.8); -moz-transform: scale(0.8); -ms-transform: scale(0.8); -o-transform: scale(0.8); transform: scale(0.8); opacity: 0; } /* Dark overlay, start state */ .my-mfp-zoom-in.mfp-bg { opacity: 0; -webkit-transition: opacity 0.3s ease-out; -moz-transition: opacity 0.3s ease-out; -o-transition: opacity 0.3s ease-out; transition: opacity 0.3s ease-out; } /* animate in */ .my-mfp-zoom-in.mfp-ready.mfp-bg { opacity: 0.9; } /* animate out */ .my-mfp-zoom-in.mfp-removing.mfp-bg { opacity: 0; } /* pop_up */ .pop_up h2 { text-transform: capitalize; font-size: 2em; color: #202227; margin-bottom: 2%; } .pop_up p { font-size: 1em; color: #555555; line-height: 1.8em; } #small-dialog1 { background: white; padding: 20px 30px; text-align: left; max-width: 400px; margin: 40px auto; position: relative; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; -o-border-radius: 2px; } /** /** * Fade-zoom animation for first dialog */ /* start state */ .my-mfp-zoom-in #small-dialog1 { opacity: 0; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; -webkit-transform: scale(0.8); -moz-transform: scale(0.8); -ms-transform: scale(0.8); -o-transform: scale(0.8); transform: scale(0.8); } /* animate in */ .my-mfp-zoom-in.mfp-ready #small-dialog1 { opacity: 1; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); } /* animate out */ .my-mfp-zoom-in.mfp-removing #small-dialog1 { -webkit-transform: scale(0.8); -moz-transform: scale(0.8); -ms-transform: scale(0.8); -o-transform: scale(0.8); transform: scale(0.8); opacity: 0; } /* start state */ #small-dialog2 { background: white; padding: 20px 30px; text-align: left; max-width: 400px; margin: 40px auto; position: relative; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; -o-border-radius: 2px; } /** .my-mfp-zoom-in #small-dialog2{ opacity: 0; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; -webkit-transform: scale(0.8); -moz-transform: scale(0.8); -ms-transform: scale(0.8); -o-transform: scale(0.8); transform: scale(0.8); } /* animate in */ .my-mfp-zoom-in.mfp-ready #small-dialog2 { opacity: 1; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); } /* animate out */ .my-mfp-zoom-in.mfp-removing #small-dialog2 { -webkit-transform: scale(0.8); -moz-transform: scale(0.8); -ms-transform: scale(0.8); -o-transform: scale(0.8); transform: scale(0.8); opacity: 0; } .pop_up p a { font-size: 1em; color: #555555; line-height: 1.8em; } /**********SBond************/ /* Styles for dialog window */ #mpontomitsidis,#manwlas,#mylwnaki,#mylwnakis,#nikolis,#pitsianis,#flwros { background: white; padding: 20px 30px; text-align: left; max-width: 400px; margin: 40px auto; position: relative; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; -o-border-radius: 2px; } /* start state */ .my-mfp-zoom-in #mpontomitsidis,.my-mfp-zoom-in #manwlas,.my-mfp-zoom-in #mylwnaki,.my-mfp-zoom-in #mylwnakis,.my-mfp-zoom-in #nikolis,.my-mfp-zoom-in #pitsianis,.my-mfp-zoom-in #flwros { opacity: 0; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; -webkit-transform: scale(0.8); -moz-transform: scale(0.8); -ms-transform: scale(0.8); -o-transform: scale(0.8); transform: scale(0.8); } /* animate in */ .my-mfp-zoom-in.mfp-ready #mpontomitsidis,.my-mfp-zoom-in.mfp-ready #manwlas,.my-mfp-zoom-in.mfp-ready #mylwnaki,.my-mfp-zoom-in.mfp-ready #mylwnakis,.my-mfp-zoom-in.mfp-ready #nikolis,.my-mfp-zoom-in.mfp-ready #pitsianis,.my-mfp-zoom-in.mfp-ready #flwros { opacity: 1; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); } /* animate out */ .my-mfp-zoom-in.mfp-removing #mpontomitsidis,.my-mfp-zoom-in.mfp-removing #manwlas,.my-mfp-zoom-in.mfp-removing #mylwnaki,.my-mfp-zoom-in.mfp-removing #mylwnakis,.my-mfp-zoom-in.mfp-removing #nikolis,.my-mfp-zoom-in.mfp-removing #pitsianis,.my-mfp-zoom-in.mfp-removing #flwros { -webkit-transform: scale(0.8); -moz-transform: scale(0.8); -ms-transform: scale(0.8); -o-transform: scale(0.8); transform: scale(0.8); opacity: 0; }
Prisma-4-thess/Prisma
web-app/css/magnific-popup.css
CSS
gpl-3.0
11,112
/* Default header file for malloc-2.8.x, written by Doug Lea and released to the public domain, as explained at http://creativecommons.org/licenses/publicdomain. last update: Mon Aug 15 08:55:52 2005 Doug Lea (dl at gee) This header is for ANSI C/C++ only. You can set any of the following #defines before including: * If USE_DL_PREFIX is defined, it is assumed that malloc.c was also compiled with this option, so all routines have names starting with "dl". * If HAVE_USR_INCLUDE_MALLOC_H is defined, it is assumed that this file will be #included AFTER <malloc.h>. This is needed only if your system defines a struct mallinfo that is incompatible with the standard one declared here. Otherwise, you can include this file INSTEAD of your system system <malloc.h>. At least on ANSI, all declarations should be compatible with system versions * If MSPACES is defined, declarations for mspace versions are included. */ #ifndef MALLOC_280_H #define MALLOC_280_H #include "out_of_memory_handler_types.h" #define MSPACES 1 #define USE_OUT_OF_MEMORY_HANDLER //#define ONLY_MSPACES 1 #ifdef __cplusplus extern "C" { #endif #include <stddef.h> /* for size_t */ #if !ONLY_MSPACES #ifdef USE_PT3_PREFIX # define dlcalloc pt3calloc # define dlfree pt3free # define dlmalloc pt3malloc # define dlmemalign pt3memalign # define dlrealloc pt3realloc # define dlvalloc pt3valloc # define dlpvalloc pt3pvalloc # define dlmallinfo pt3mallinfo # define dlmallopt pt3mallopt # define dlmalloc_trim pt3malloc_trim # define dlmalloc_stats pt3malloc_stats # define dlmalloc_usable_size pt3malloc_usable_size # define dlmalloc_footprint pt3malloc_footprint # define dlindependent_calloc pt3independent_calloc # define dlindependent_comalloc pt3independent_comalloc #elif !defined(USE_DL_PREFIX) // #ifdef USE_PT3_PREFIX # define dlcalloc calloc # define dlfree free # define dlmalloc malloc # define dlmemalign memalign # define dlrealloc realloc # define dlvalloc valloc # define dlpvalloc pvalloc # define dlmallinfo mallinfo # define dlmallopt mallopt # define dlmalloc_trim malloc_trim # define dlmalloc_stats malloc_stats # define dlmalloc_usable_size malloc_usable_size # define dlmalloc_footprint malloc_footprint # define dlindependent_calloc independent_calloc # define dlindependent_comalloc independent_comalloc #endif // #if defined(USE_DL_PREFIX) /* malloc(size_t n) Returns a pointer to a newly allocated chunk of at least n bytes, or null if no space is available, in which case errno is set to ENOMEM on ANSI C systems. If n is zero, malloc returns a minimum-sized chunk. (The minimum size is 16 bytes on most 32bit systems, and 32 bytes on 64bit systems.) Note that size_t is an unsigned type, so calls with arguments that would be negative if signed are interpreted as requests for huge amounts of space, which will often fail. The maximum supported value of n differs across systems, but is in all cases less than the maximum representable value of a size_t. */ void* dlmalloc( size_t); /* free(void* p) Releases the chunk of memory pointed to by p, that had been previously allocated using malloc or a related routine such as realloc. It has no effect if p is null. If p was not malloced or already freed, free(p) will by default cuase the current program to abort. */ void dlfree( void*); /* calloc(size_t n_elements, size_t element_size); Returns a pointer to n_elements * element_size bytes, with all locations set to zero. */ void* dlcalloc( size_t, size_t); /* realloc(void* p, size_t n) Returns a pointer to a chunk of size n that contains the same data as does chunk p up to the minimum of (n, p's size) bytes, or null if no space is available. The returned pointer may or may not be the same as p. The algorithm prefers extending p in most cases when possible, otherwise it employs the equivalent of a malloc-copy-free sequence. If p is null, realloc is equivalent to malloc. If space is not available, realloc returns null, errno is set (if on ANSI) and p is NOT freed. if n is for fewer bytes than already held by p, the newly unused space is lopped off and freed if possible. realloc with a size argument of zero (re)allocates a minimum-sized chunk. The old unix realloc convention of allowing the last-free'd chunk to be used as an argument to realloc is not supported. */ void* dlrealloc( void*, size_t); /* memalign(size_t alignment, size_t n); Returns a pointer to a newly allocated chunk of n bytes, aligned in accord with the alignment argument. The alignment argument should be a power of two. If the argument is not a power of two, the nearest greater power is used. 8-byte alignment is guaranteed by normal malloc calls, so don't bother calling memalign with an argument of 8 or less. Overreliance on memalign is a sure way to fragment space. */ void* dlmemalign( size_t, size_t); /* valloc(size_t n); Equivalent to memalign(pagesize, n), where pagesize is the page size of the system. If the pagesize is unknown, 4096 is used. */ void* dlvalloc( size_t); /* mallopt(int parameter_number, int parameter_value) Sets tunable parameters The format is to provide a (parameter-number, parameter-value) pair. mallopt then sets the corresponding parameter to the argument value if it can (i.e., so long as the value is meaningful), and returns 1 if successful else 0. SVID/XPG/ANSI defines four standard param numbers for mallopt, normally defined in malloc.h. None of these are use in this malloc, so setting them has no effect. But this malloc also supports other options in mallopt: Symbol param # default allowed param values M_TRIM_THRESHOLD -1 2*1024*1024 any (-1U disables trimming) M_GRANULARITY -2 page size any power of 2 >= page size M_MMAP_THRESHOLD -3 256*1024 any (or 0 if no MMAP support) */ int dlmallopt( int, int); #define M_TRIM_THRESHOLD (-1) #define M_GRANULARITY (-2) #define M_MMAP_THRESHOLD (-3) /* malloc_footprint(); Returns the number of bytes obtained from the system. The total number of bytes allocated by malloc, realloc etc., is less than this value. Unlike mallinfo, this function returns only a precomputed result, so can be called frequently to monitor memory consumption. Even if locks are otherwise defined, this function does not use them, so results might not be up to date. */ size_t dlmalloc_footprint( ); #if !NO_MALLINFO /* mallinfo() Returns (by copy) a struct containing various summary statistics: arena: current total non-mmapped bytes allocated from system ordblks: the number of free chunks smblks: always zero. hblks: current number of mmapped regions hblkhd: total bytes held in mmapped regions usmblks: the maximum total allocated space. This will be greater than current total if trimming has occurred. fsmblks: always zero uordblks: current total allocated space (normal or mmapped) fordblks: total free space keepcost: the maximum number of bytes that could ideally be released back to system via malloc_trim. ("ideally" means that it ignores page restrictions etc.) Because these fields are ints, but internal bookkeeping may be kept as longs, the reported values may wrap around zero and thus be inaccurate. */ #ifndef HAVE_USR_INCLUDE_MALLOC_H #ifndef _MALLOC_H #ifndef MALLINFO_FIELD_TYPE #define MALLINFO_FIELD_TYPE size_t #endif /* MALLINFO_FIELD_TYPE */ struct mallinfo { MALLINFO_FIELD_TYPE arena; /* non-mmapped space allocated from system */ MALLINFO_FIELD_TYPE ordblks; /* number of free chunks */ MALLINFO_FIELD_TYPE smblks; /* always 0 */ MALLINFO_FIELD_TYPE hblks; /* always 0 */ MALLINFO_FIELD_TYPE hblkhd; /* space in mmapped regions */ MALLINFO_FIELD_TYPE usmblks; /* maximum total allocated space */ MALLINFO_FIELD_TYPE fsmblks; /* always 0 */ MALLINFO_FIELD_TYPE uordblks; /* total allocated space */ MALLINFO_FIELD_TYPE fordblks; /* total free space */ MALLINFO_FIELD_TYPE keepcost; /* releasable (via malloc_trim) space */ }; #endif /* _MALLOC_H */ #endif /* HAVE_USR_INCLUDE_MALLOC_H */ struct mallinfo pt3mallinfo( ); #endif /* NO_MALLINFO */ /* independent_calloc(size_t n_elements, size_t element_size, void* chunks[]); independent_calloc is similar to calloc, but instead of returning a single cleared space, it returns an array of pointers to n_elements independent elements that can hold contents of size elem_size, each of which starts out cleared, and can be independently freed, realloc'ed etc. The elements are guaranteed to be adjacently allocated (this is not guaranteed to occur with multiple callocs or mallocs), which may also improve cache locality in some applications. The "chunks" argument is optional (i.e., may be null, which is probably the most typical usage). If it is null, the returned array is itself dynamically allocated and should also be freed when it is no longer needed. Otherwise, the chunks array must be of at least n_elements in length. It is filled in with the pointers to the chunks. In either case, independent_calloc returns this pointer array, or null if the allocation failed. If n_elements is zero and "chunks" is null, it returns a chunk representing an array with zero elements (which should be freed if not wanted). Each element must be individually freed when it is no longer needed. If you'd like to instead be able to free all at once, you should instead use regular calloc and assign pointers into this space to represent elements. (In this case though, you cannot independently free elements.) independent_calloc simplifies and speeds up implementations of many kinds of pools. It may also be useful when constructing large data structures that initially have a fixed number of fixed-sized nodes, but the number is not known at compile time, and some of the nodes may later need to be freed. For example: struct Node { int item; struct Node* next; }; struct Node* build_list() { struct Node** pool; int n = read_number_of_nodes_needed(); if (n <= 0) return 0; pool = (struct Node**)(independent_calloc(n, sizeof(struct Node), 0); if (pool == 0) die(); // organize into a linked list... struct Node* first = pool[0]; for (i = 0; i < n-1; ++i) pool[i]->next = pool[i+1]; free(pool); // Can now free the array (or not, if it is needed later) return first; } */ void** dlindependent_calloc( size_t, size_t, void**); /* independent_comalloc(size_t n_elements, size_t sizes[], void* chunks[]); independent_comalloc allocates, all at once, a set of n_elements chunks with sizes indicated in the "sizes" array. It returns an array of pointers to these elements, each of which can be independently freed, realloc'ed etc. The elements are guaranteed to be adjacently allocated (this is not guaranteed to occur with multiple callocs or mallocs), which may also improve cache locality in some applications. The "chunks" argument is optional (i.e., may be null). If it is null the returned array is itself dynamically allocated and should also be freed when it is no longer needed. Otherwise, the chunks array must be of at least n_elements in length. It is filled in with the pointers to the chunks. In either case, independent_comalloc returns this pointer array, or null if the allocation failed. If n_elements is zero and chunks is null, it returns a chunk representing an array with zero elements (which should be freed if not wanted). Each element must be individually freed when it is no longer needed. If you'd like to instead be able to free all at once, you should instead use a single regular malloc, and assign pointers at particular offsets in the aggregate space. (In this case though, you cannot independently free elements.) independent_comallac differs from independent_calloc in that each element may have a different size, and also that it does not automatically clear elements. independent_comalloc can be used to speed up allocation in cases where several structs or objects must always be allocated at the same time. For example: struct Head { ... } struct Foot { ... } void send_message(char* msg) { int msglen = strlen(msg); size_t sizes[3] = { sizeof(struct Head), msglen, sizeof(struct Foot) }; void* chunks[3]; if (independent_comalloc(3, sizes, chunks) == 0) die(); struct Head* head = (struct Head*)(chunks[0]); char* body = (char*)(chunks[1]); struct Foot* foot = (struct Foot*)(chunks[2]); // ... } In general though, independent_comalloc is worth using only for larger values of n_elements. For small values, you probably won't detect enough difference from series of malloc calls to bother. Overuse of independent_comalloc can increase overall memory usage, since it cannot reuse existing noncontiguous small chunks that might be available for some of the elements. */ void** dlindependent_comalloc( size_t, size_t*, void**); /* pvalloc(size_t n); Equivalent to valloc(minimum-page-that-holds(n)), that is, round up n to nearest pagesize. */ void* dlpvalloc( size_t); /* malloc_trim(size_t pad); If possible, gives memory back to the system (via negative arguments to sbrk) if there is unused memory at the `high' end of the malloc pool or in unused MMAP segments. You can call this after freeing large blocks of memory to potentially reduce the system-level memory requirements of a program. However, it cannot guarantee to reduce memory. Under some allocation patterns, some large free blocks of memory will be locked between two used chunks, so they cannot be given back to the system. The `pad' argument to malloc_trim represents the amount of free trailing space to leave untrimmed. If this argument is zero, only the minimum amount of memory to maintain internal data structures will be left. Non-zero arguments can be supplied to maintain enough trailing space to service future expected allocations without having to re-obtain memory from the system. Malloc_trim returns 1 if it actually released any memory, else 0. */ int dlmalloc_trim( size_t); /* malloc_usable_size(void* p); Returns the number of bytes you can actually use in an allocated chunk, which may be more than you requested (although often not) due to alignment and minimum size constraints. You can use this many bytes without worrying about overwriting other allocated objects. This is not a particularly great programming practice. malloc_usable_size can be more useful in debugging and assertions, for example: p = malloc(n); assert(malloc_usable_size(p) >= 256); */ size_t dlmalloc_usable_size( void*); /* malloc_stats(); Prints on stderr the amount of space obtained from the system (both via sbrk and mmap), the maximum amount (which may be more than current if malloc_trim and/or munmap got called), and the current number of bytes allocated via malloc (or realloc, etc) but not yet freed. Note that this is the number of bytes allocated, not the number requested. It will be larger than the number requested because of alignment and bookkeeping overhead. Because it includes alignment wastage as being in use, this figure may be greater than zero even when no user-level chunks are allocated. The reported current and maximum system memory can be inaccurate if a program makes other calls to system memory allocation functions (normally sbrk) outside of malloc. malloc_stats prints only the most commonly interesting statistics. More information can be obtained by calling mallinfo. */ void dlmalloc_stats( ); #endif /* !ONLY_MSPACES */ #if MSPACES /* mspace is an opaque type representing an independent region of space that supports xray_mspace_malloc, etc. */ typedef void* mspace; /* create_mspace creates and returns a new independent space with the given initial capacity, or, if 0, the default granularity size. It returns null if there is no system memory available to create the space. If argument locked is non-zero, the space uses a separate lock to control access. The capacity of the space will grow dynamically as needed to service xray_mspace_malloc requests. You can control the sizes of incremental increases of this space by compiling with a different DEFAULT_GRANULARITY or dynamically setting with mallopt(M_GRANULARITY, value). */ mspace create_mspace(size_t capacity, int locked); /* destroy_mspace destroys the given space, and attempts to return all of its memory back to the system, returning the total number of bytes freed. After destruction, the results of access to all memory used by the space become undefined. */ size_t destroy_mspace(mspace msp); /* create_xray_mspace_with_base uses the memory supplied as the initial base of a new mspace. Part (less than 128*sizeof(size_t) bytes) of this space is used for bookkeeping, so the capacity must be at least this large. (Otherwise 0 is returned.) When this initial space is exhausted, additional memory will be obtained from the system. Destroying this space will deallocate all additionally allocated space (if possible) but not the initial base. */ #ifdef USE_OUT_OF_MEMORY_HANDLER mspace create_xray_mspace_with_base(void* base, unsigned long long capacity, int locked, out_of_memory_handler_type handler, out_of_memory_handler_parameter_type parameter); void const* out_of_memory_handler_parameter (void* arena); #else // #ifdef USE_OUT_OF_MEMORY_HANDLER mspace create_xray_mspace_with_base(void* base, unsigned long long capacity, int locked); #endif // #ifdef USE_OUT_OF_MEMORY_HANDLER /* xray_mspace_malloc behaves as malloc, but operates within the given space. */ void* xray_mspace_malloc(mspace msp, size_t bytes); /* xray_mspace_free behaves as free, but operates within the given space. If compiled with FOOTERS==1, xray_mspace_free is not actually needed. free may be called instead of xray_mspace_free because freed chunks from any space are handled by their originating spaces. */ void xray_mspace_free(mspace msp, void* mem); /* xray_mspace_realloc behaves as realloc, but operates within the given space. If compiled with FOOTERS==1, xray_mspace_realloc is not actually needed. realloc may be called instead of xray_mspace_realloc because realloced chunks from any space are handled by their originating spaces. */ void* xray_mspace_realloc(mspace msp, void* mem, size_t newsize); /* xray_mspace_calloc behaves as calloc, but operates within the given space. */ void* xray_mspace_calloc(mspace msp, size_t n_elements, size_t elem_size); /* xray_mspace_memalign behaves as memalign, but operates within the given space. */ void* xray_mspace_memalign(mspace msp, size_t alignment, size_t bytes); /* xray_mspace_independent_calloc behaves as independent_calloc, but operates within the given space. */ void** xray_mspace_independent_calloc(mspace msp, size_t n_elements, size_t elem_size, void* chunks[]); /* xray_mspace_independent_comalloc behaves as independent_comalloc, but operates within the given space. */ void** xray_mspace_independent_comalloc(mspace msp, size_t n_elements, size_t sizes[], void* chunks[]); /* xray_mspace_footprint() returns the number of bytes obtained from the system for this space. */ size_t xray_mspace_footprint(mspace msp); #if !NO_MALLINFO /* xray_mspace_mallinfo behaves as mallinfo, but reports properties of the given space. */ struct mallinfo xray_mspace_mallinfo(mspace msp); #endif /* NO_MALLINFO */ /* xray_mspace_malloc_stats behaves as malloc_stats, but reports properties of the given space. */ void xray_mspace_malloc_stats(mspace msp); /* xray_mspace_trim behaves as malloc_trim, but operates within the given space. */ int xray_mspace_trim(mspace msp, size_t pad); /* An alias for malloc_usable_size. */ size_t xray_mspace_usable_size(void *mem); /* An alias for mallopt. */ int xray_mspace_mallopt(int, int); #endif /* MSPACES */ #ifdef __cplusplus }; /* end of extern "C" */ #endif #endif /* MALLOC_280_H */
hpl1nk/nonamegame
xray/core/sources/ptmalloc3/malloc-2.8.3.h
C
gpl-3.0
20,790
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_METRICS_STATS_COUNTERS_H_ #define BASE_METRICS_STATS_COUNTERS_H_ #pragma once #include <string> #include "base/base_export.h" #include "base/metrics/stats_table.h" #include "base/time.h" namespace base { // StatsCounters are dynamically created values which can be tracked in // the StatsTable. They are designed to be lightweight to create and // easy to use. // // Since StatsCounters can be created dynamically by name, there is // a hash table lookup to find the counter in the table. A StatsCounter // object can be created once and used across multiple threads safely. // // Example usage: // { // StatsCounter request_count("RequestCount"); // request_count.Increment(); // } // // Note that creating counters on the stack does work, however creating // the counter object requires a hash table lookup. For inner loops, it // may be better to create the counter either as a member of another object // (or otherwise outside of the loop) for maximum performance. // // Internally, a counter represents a value in a row of a StatsTable. // The row has a 32bit value for each process/thread in the table and also // a name (stored in the table metadata). // // NOTE: In order to make stats_counters usable in lots of different code, // avoid any dependencies inside this header file. // //------------------------------------------------------------------------------ // Define macros for ease of use. They also allow us to change definitions // as the implementation varies, or depending on compile options. //------------------------------------------------------------------------------ // First provide generic macros, which exist in production as well as debug. #define STATS_COUNTER(name, delta) do { \ base::StatsCounter counter(name); \ counter.Add(delta); \ } while (0) #define SIMPLE_STATS_COUNTER(name) STATS_COUNTER(name, 1) #define RATE_COUNTER(name, duration) do { \ base::StatsRate hit_count(name); \ hit_count.AddTime(duration); \ } while (0) // Define Debug vs non-debug flavors of macros. #ifndef NDEBUG #define DSTATS_COUNTER(name, delta) STATS_COUNTER(name, delta) #define DSIMPLE_STATS_COUNTER(name) SIMPLE_STATS_COUNTER(name) #define DRATE_COUNTER(name, duration) RATE_COUNTER(name, duration) #else // NDEBUG #define DSTATS_COUNTER(name, delta) do {} while (0) #define DSIMPLE_STATS_COUNTER(name) do {} while (0) #define DRATE_COUNTER(name, duration) do {} while (0) #endif // NDEBUG //------------------------------------------------------------------------------ // StatsCounter represents a counter in the StatsTable class. class BASE_EXPORT StatsCounter { public: // Create a StatsCounter object. explicit StatsCounter(const std::string& name); virtual ~StatsCounter(); // Sets the counter to a specific value. void Set(int value); // Increments the counter. void Increment() { Add(1); } virtual void Add(int value); // Decrements the counter. void Decrement() { Add(-1); } void Subtract(int value) { Add(-value); } // Is this counter enabled? // Returns false if table is full. bool Enabled() { return GetPtr() != NULL; } int value() { int* loc = GetPtr(); if (loc) return *loc; return 0; } protected: StatsCounter(); // Returns the cached address of this counter location. int* GetPtr(); std::string name_; // The counter id in the table. We initialize to -1 (an invalid value) // and then cache it once it has been looked up. The counter_id is // valid across all threads and processes. int32 counter_id_; }; // A StatsCounterTimer is a StatsCounter which keeps a timer during // the scope of the StatsCounterTimer. On destruction, it will record // its time measurement. class BASE_EXPORT StatsCounterTimer : protected StatsCounter { public: // Constructs and starts the timer. explicit StatsCounterTimer(const std::string& name); virtual ~StatsCounterTimer(); // Start the timer. void Start(); // Stop the timer and record the results. void Stop(); // Returns true if the timer is running. bool Running(); // Accept a TimeDelta to increment. virtual void AddTime(TimeDelta time); protected: // Compute the delta between start and stop, in milliseconds. void Record(); TimeTicks start_time_; TimeTicks stop_time_; }; // A StatsRate is a timer that keeps a count of the number of intervals added so // that several statistics can be produced: // min, max, avg, count, total class BASE_EXPORT StatsRate : public StatsCounterTimer { public: // Constructs and starts the timer. explicit StatsRate(const std::string& name); virtual ~StatsRate(); virtual void Add(int value); private: StatsCounter counter_; StatsCounter largest_add_; }; // Helper class for scoping a timer or rate. template<class T> class StatsScope { public: explicit StatsScope<T>(T& timer) : timer_(timer) { timer_.Start(); } ~StatsScope() { timer_.Stop(); } void Stop() { timer_.Stop(); } private: T& timer_; }; } // namespace base #endif // BASE_METRICS_STATS_COUNTERS_H_
tierney/cryptagram-cc
src/base/metrics/stats_counters.h
C
gpl-3.0
5,300
Joomla 1.5.23 = 0462b4869f2b06da696c17944757f94b
gohdan/DFC
known_files/hashes/includes/vcard.class.php
PHP
gpl-3.0
49
package Finance::LocalBitcoins::API; use 5.014002; use strict; use warnings; our $VERSION = '0.02'; use constant DEBUG => 0; use constant VERBOSE => 0; # you can use a lower version, but then you are responsible for SSL cert verification code... use LWP::UserAgent 6; use URI; use JSON; use Data::Dumper; ## PUBLIC requests.. use Finance::LocalBitcoins::API::Request::Ticker; use Finance::LocalBitcoins::API::Request::TradeBook; use Finance::LocalBitcoins::API::Request::OrderBook; # PRIVATE requests.. use Finance::LocalBitcoins::API::Request::User; use Finance::LocalBitcoins::API::Request::Me; use Finance::LocalBitcoins::API::Request::Pin; use Finance::LocalBitcoins::API::Request::Dash; use Finance::LocalBitcoins::API::Request::Wallet; use Finance::LocalBitcoins::API::Request::Balance; use Finance::LocalBitcoins::API::Request::ReleaseEscrow; use Finance::LocalBitcoins::API::Request::Paid; use Finance::LocalBitcoins::API::Request::Messages; use Finance::LocalBitcoins::API::Request::Message; use Finance::LocalBitcoins::API::Request::Dispute; use Finance::LocalBitcoins::API::Request::Cancel; use Finance::LocalBitcoins::API::Request::Fund; use Finance::LocalBitcoins::API::Request::NewContact; use Finance::LocalBitcoins::API::Request::Contact; use Finance::LocalBitcoins::API::Request::Contacts; use Finance::LocalBitcoins::API::Request::Send; use Finance::LocalBitcoins::API::Request::SendPin; use Finance::LocalBitcoins::API::Request::Address; use Finance::LocalBitcoins::API::Request::Logout; use Finance::LocalBitcoins::API::Request::Ads; use Finance::LocalBitcoins::API::Request::AdGet; use Finance::LocalBitcoins::API::Request::AdsGet; use Finance::LocalBitcoins::API::Request::AdUpdate; use Finance::LocalBitcoins::API::Request::Ad; use constant COMPANY => 'LocalBitcoins'; use constant ERROR_NO_REQUEST => 'No request object to send'; use constant ERROR_NOT_READY => 'Not enough information to send a %s request'; use constant ERROR_IS_IT_READY => "The request is%s READY to send\n"; use constant ERROR_RESPONSE => COMPANY . ' error'; use constant ERROR_UNKNOWN_STATUS => COMPANY . " returned an unknown status\n"; use constant ATTRIBUTES => qw(token); use constant CLASS_ACTION_MAP => { user => 'Finance::LocalBitcoins::API::Request::User', me => 'Finance::LocalBitcoins::API::Request::Me', pin => 'Finance::LocalBitcoins::API::Request::Pin', dash => 'Finance::LocalBitcoins::API::Request::Dash', release_escrow => 'Finance::LocalBitcoins::API::Request::ReleaseEscrow', paid => 'Finance::LocalBitcoins::API::Request::Paid', messages => 'Finance::LocalBitcoins::API::Request::Messages', message => 'Finance::LocalBitcoins::API::Request::Message', dispute => 'Finance::LocalBitcoins::API::Request::Dispute', cancel => 'Finance::LocalBitcoins::API::Request::Cancel', fund => 'Finance::LocalBitcoins::API::Request::Fund', new_contact => 'Finance::LocalBitcoins::API::Request::NewContact', contact => 'Finance::LocalBitcoins::API::Request::Contact', contacts => 'Finance::LocalBitcoins::API::Request::Contacts', wallet => 'Finance::LocalBitcoins::API::Request::Wallet', balance => 'Finance::LocalBitcoins::API::Request::Balance', 'send' => 'Finance::LocalBitcoins::API::Request::Send', sendpin => 'Finance::LocalBitcoins::API::Request::SendPin', address => 'Finance::LocalBitcoins::API::Request::Address', logout => 'Finance::LocalBitcoins::API::Request::Logout', ads => 'Finance::LocalBitcoins::API::Request::Ads', ad_get => 'Finance::LocalBitcoins::API::Request::AdGet', ads_get => 'Finance::LocalBitcoins::API::Request::AdsGet', ad_update => 'Finance::LocalBitcoins::API::Request::AdUpdate', ad => 'Finance::LocalBitcoins::API::Request::Ad', ticker => 'Finance::LocalBitcoins::API::Request::Ticker', tradebook => 'Finance::LocalBitcoins::API::Request::TradeBook', orderbook => 'Finance::LocalBitcoins::API::Request::OrderBook', }; sub is_ready_to_send { my $self = shift; my $ready = 0; # here we are checking whether or not to default to '0' (not ready to send) based on this objects settings. # the setting in here is the token provided to you by LocalBitcoins. # if we dont have to add a token, then just check if its ready... if (not $self->private or defined $self->token) { $ready = $self->request->is_ready_to_send; } warn sprintf ERROR_IS_IT_READY, ($ready ? '' : ' NOT') if DEBUG; return $ready; } sub send { my $self = shift; # clear any previous response values... because if you wan it, you shoulda put a variable on it. $self->response(undef); $self->error(undef); unless ($self->request) { $self->error({ type => __PACKAGE__, message => ERROR_NO_REQUEST, }); } else { # validate that the minimum required request attributes are set here. if (not $self->is_ready_to_send) { $self->error({ type => __PACKAGE__, message => sprintf(ERROR_NOT_READY, ref $self->request), }); } else { # make sure we have an request to send... my $request = $self->http_request(HTTP::Request->new); $request->method($self->request->request_type); $request->uri($self->request->url); my %query_form = %{$self->request_content}; # # This block will be removed once we have basic testing completed. # ...because printing these variables on a live system is not a good idea... # #if ($self->private) { # print Data::Dumper->Dump([\%query_form],['Query Form']); # printf "Token: %s\n", $self->token; # printf "Path: %s\n", $self->path; #} # if ($self->private) { $query_form{access_token} = $self->token; } my $uri = URI->new; $uri->query_form(%query_form); if ($self->request->request_type eq 'POST') { $request->content($uri->query); $request->content_type($self->request->content_type); } elsif ($self->request->request_type eq 'GET' and $uri->query) { $request->uri($request->uri . '?' . $uri->query); } $request->header(Accept => 'application/json'); # create a new user_agent each time... $self->user_agent(LWP::UserAgent->new); $self->user_agent->agent('Mozilla/8.0'); $self->user_agent->ssl_opts(verify_hostname => 1); warn Data::Dumper->Dump([$self->user_agent, $request],[qw(UserAgent Request)]) if DEBUG; $self->http_response($self->user_agent->request($request)); $self->process_response; } } return $self->is_success; } sub process_response { my $self = shift; warn sprintf "Content: %s\n", $self->http_response->content if DEBUG; eval { my $content; warn Data::Dumper->Dump([$self->http_response],['Response']) if DEBUG; $content = $self->json->decode($self->http_response->content); if (ref $content eq 'ARRAY') { $self->response($content); } elsif (exists $content->{error}) { $self->error({ type => ERROR_RESPONSE, %{$content->{error}}, }); } elsif ($self->http_response->code != 200) { warn sprintf "Invalid Server Response Code: %s\n", $self->http_response->code if VERBOSE; $self->error({ type => 'Server Response Error', message => sprintf('%s Server Response: %s', COMPANY, $self->http_response->code), }); } else { $self->response($content); } 1; } or do { warn "eval error: $@\n"; $self->error({ type => 'eval/json error', message => $@, }); }; return $self->is_success; } sub new { (bless {} => shift)->init(@_) } sub path { URI->new(shift->http_request->uri)->path } sub request_content { shift->request->request_content } sub json { shift->{json} ||= JSON->new } sub is_success { defined shift->response } sub private { shift->request->is_private } sub public { not shift->private } sub attributes { ATTRIBUTES } sub user { class_action(@_) } sub me { class_action(@_) } sub pin { class_action(@_) } sub dash { class_action(@_) } sub release_escrow { class_action(@_) } sub paid { class_action(@_) } sub messages { class_action(@_) } sub message { class_action(@_) } sub dispute { class_action(@_) } sub cancel { class_action(@_) } sub fund { class_action(@_) } sub new_contact { class_action(@_) } sub contact { class_action(@_) } sub contacts { class_action(@_) } sub wallet { class_action(@_) } sub balance { class_action(@_) } sub send_coin { class_action(@_) } sub send_pin { class_action(@_) } sub address { class_action(@_) } sub logout { class_action(@_) } sub ads { class_action(@_) } sub ad_get { class_action(@_) } sub ads_get { class_action(@_) } sub ad_update { class_action(@_) } sub ad { class_action(@_) } sub ticker { class_action(@_) } sub tradebook { class_action(@_) } sub orderbook { class_action(@_) } sub token { get_set(@_) } sub error { get_set(@_) } sub http_response { get_set(@_) } sub request { get_set(@_) } sub response { get_set(@_) } sub http_request { get_set(@_) } sub user_agent { get_set(@_) } sub init { my $self = shift; my %args = @_; foreach my $attribute ($self->attributes) { $self->$attribute($args{$attribute}) if exists $args{$attribute}; } return $self; } # this method simply makes all the get/setter attribute methods below very tidy... sub get_set { my $self = shift; my $attribute = ((caller(1))[3] =~ /::(\w+)$/)[0]; $self->{$attribute} = shift if scalar @_; return $self->{$attribute}; } sub class_action { my $self = shift; my $class = CLASS_ACTION_MAP->{((caller(1))[3] =~ /::(\w+)$/)[0]}; $self->request($class->new(@_)); return $self->send ? $self->response : undef; } # These additional routines will allow you to easily encrypt your API secret using a similar but random text string as a key. # Generate and store a random string of 40 hex chars in your script. # perl -e 'use Finance::CaVirtex::API qw(string_encrypt); print "Encrypted: %s\n", string_encrypt('put your token here', $random_key); # to output the cyphertext of the real secret encrypted using your key. # Your script should then load the cyphertext from an external file and call this: # my $api_secret = string_decrypt($cyphertext, $random_key); # Since both the random_key and the cyphertext are in separate files, a breach would require both files to be compromised. # If you also put the token into a database table that is accessed during runtime... then you are further protected. # This setup would require 3 distinct components which would all need to be compromised to gain unwanted access to your API keys and functions. # # From the command line, you can generate a set of semi-random strings that should be good enough for this using: # perl -e 'print join("",("a".."z",0..9)[map rand$_,(36) x 22])."\n"for 1..20;' # # select one of those as your random_key. # # encryption works by assigning an ordinal value to each character '0' = 0 ... 'Z' = 35 # these values are then added for each character in the cypher and the random key. # the modulus of the sum is then taken to remain within the 36 available characters. # this number is then converted back to character. # once each character of the string is calculated, the complete cyphertext is generated. # # the end result is that we are adding the secret string to the random key string to obtain the cyphertext: # Cypher = Secret + Key # # decryption is exactly like encryption except we take the difference of each character # instead of the sum. # # the end result is thatIn this way we are subtracting the random key from the cyphertext to get back the secret string. # Secret = Cypher - Key # # I believe this method is equivalent to XOR encryption, which is very strong as long as the key is random and kept secret. # sub alphanum_to_digit { ord($_[0]) > 57 ? ord($_[0]) - 87 : ord($_[0]) - 48 } sub digit_to_alphanum { chr($_[0] > 9 ? $_[0] + 87 : $_[0] + 48) } sub string_encrypt { join '', map(digit_to_alphanum((alphanum_to_digit(substr $_[0], $_, 1) + alphanum_to_digit(substr $_[1], $_, 1)) % 36), 0 .. length($_[0]) - 1) } sub string_decrypt { join '', map(digit_to_alphanum((alphanum_to_digit(substr $_[0], $_, 1) - alphanum_to_digit(substr $_[1], $_, 1)) % 36), 0 .. length($_[0]) - 1) } sub gen_random_key { join("",("a".."f",0..9)[map rand$_,(16) x 40]) } 1; __END__ =head1 NAME Finance::LocalBitcoins::API - Perl extension for handling the LocalBitcoins API and IPN calls. =head1 SYNOPSIS use Finance::LocalBitcoins::API; # all the standard LocalBitcoins API calls... my $api = Finance::LocalBitcoins::API->new(token => $token); # access public requests... my $ticker = $api->ticker; # make private requests... my $wallet = $api->wallet; # private request with parameters... my $withdrawal = $api->withdrawal(amount => $amount, currency => $currency, address => $address, # access the user agent of the last request... my $user_agent = $api->user_agent; # the is_success() and error() methods are also useful... if ($api->is_success) { print 'SUCESS'; } else { print 'FAIL'; my $error = $api->error; } # A more useful example... my $api = Finance::LocalBitcoins::API->new(token => $token); my $contacts = $api->get_contacts(); if ($contacts) { printf "You have %d contacts\n", scalar @$contacts; } else { printf "An error occurred: %s\n", $api->error; } =head1 DESCRIPTION This API module provides a quick way to access the LocalBitcoins API from perl without worrying about the connection, authenticatino and an errors in between. You create an object like this: my $api = Finance::LocalBitcoins::API->new(%params); # required param keys: token The methods you call that match the API spec are: $api->orderbook(%params); # required: currency $api->tradebook(%params); # required: currency # optional: since $api->ticker(); # a ticker for all currencies ...etc... =head1 REQUEST PARAMETERS: currency - a string. "CAD", "USD", "GBP", "EUR", etc. since - a date in the format 'YYYY-MM-DD' ...etc... =head1 METHODS =head2 new() my $api = Finance::LocalBitcoins::API->new(token => $token); Create a new Finance::LocalBitcoins::API object. token is required. These values are provided by LocalBitcoins through their online administration interface. =head2 Other Methods The methods you will use are discussed in the DESCRIPTION. For details on valid parameter values, please consult the offical LocalBitcoins API documentation. =head1 ATTRIBUTES =head2 token() These are usually set during object instantiation. But you can set and retrieve them through these attributes. The last set values will always be used in the next action request. These values are obtained from LocalLocalBitcoinsBitcoins through your account. =head2 is_ready() Will return true if the request is set and all conditions are met. Will return false if: - the request object does not exist - the request object requires authentication and no key is provided - the request object does not have the manditory parameters set that LocalBitcoins requires for that request. =head2 error() If the request did not work, error() will contain a hash representing the problem. The hash contains the keys: 'type' and 'message'. These are strings. ie: print "The error type was: " . $api->error->{type}; print "The error message was: " . $api->error->{message}; =head2 user_agent() This will contain the user agent of the last request to LocalBitcoins. Through this object, you may access both the HTTP Request and Response. This will allow you to do detailed inspection of exactly what was sent and the raw LocalBitcoins response. =head2 request() This will contain the Request object of the last action called on the object. It is not a HTTP Request, but rather a config file for the request URL, params and other requirements for each post to localbitcoins. You will find these modules using the naming Finance::LocalBitcoins::API::Request::* =head1 HOWTO DETECT ERRORS The design is such that the action methods (invoice_create(), invoice_get(), rates() and ledger()) will return false (0) on error. On success it will contain the hash of information from the LocalBitcoins JSON response. Your code should just check whether or not the response exists to see if it worked. If the response does not exist, then then the module detected a problem. The simplest way to handle this is to print out $api->error. A coding example is provided above in the SYNOPSIS. =head1 NOTES This module does not do accessive error checking on the request or the response. It will only check for "required" parameters prior to sending a request to LocalBitcoins. This means that you provide a word for a 'amount' parameter, and this module will happily send that off to LocalBitcoins for you. In these cases we are allowing LocalBitcoins to decide what is and is not valid input. If the input values are invalid, we expect LocalBitcoins to provide an appropriate response and that is the message we will return to the caller (through $api->error). This module does not validate the response from LocalBitcoins. In general it will return success when any json response is provided by LocalBitcoins without the 'error' key. The SSL certificate is verified automatically by LWP, so the response you will get is very likely from LocalBitcoins itself. If there is an 'error' key in the json response, then that error is put into the $api->error attribute. If there is an 'error' parsing the response from LocalBitcoins, then the decoding error from json is in the $api->error attribute. If there is a network error (not 200), then the error code and $response->error will contain the HTTP Response status_line() (a string response of what went wrong). =head1 SEE ALSO The LocalBitcoins API documentation: unknown (2014-06-11). contact Cavirtex. This project on Github: https://github.com/peawormsworth/Finance-LocalBitcoins-API =head1 AUTHOR Jeff Anderson, E<lt>peawormsworth@gmail.comE<gt> =head1 COPYRIGHT AND LICENSE Copyright (C) 2014 by Jeff Anderson This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available. =cut
peawormsworth/Finance-LocalBitcoins-API
Finance-LocalBitcoins-API-0.02/lib/Finance/LocalBitcoins/API.pm
Perl
gpl-3.0
19,620
% *************************************************************************** % % % Copyright (c) 2006-2019 Clifford Thompson % % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. % % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. % % *************************************************************************** % % ******************************** % % % % Class: MCPS 791 % % Prof : Dr.Charles Brown % % File : become.pl % % % % ******************************** % /* */ /* Matrix Verbs */ /* */ /* infinite (base) form */ verb(verb(become), [cat:vp,form:base,num:_NUM,person:_PER,prtype:_PTYPE,sem:become:1,vtype:matrix]) --> [become]. /* present */ verb(verb(become), [cat:vp,form:pres,num:sing,person:1, prtype:_PTYPE,sem:become:1,vtype:matrix]) --> [become]. verb(verb(become), [cat:vp,form:pres,num:sing,person:2, prtype:_PTYPE,sem:become:1,vtype:matrix]) --> [become]. verb(verb(becomes), [cat:vp,form:pres,num:sing,person:3, prtype:_PTYPE,sem:become:1,vtype:matrix]) --> [becomes]. verb(verb(become), [cat:vp,form:pres,num:plur,person:_PER, prtype:_PTYPE,sem:become:1,vtype:matrix]) --> [become]. /* past */ verb(verb(became),[cat:vp,form:past,num:_NUM,person:_PER,prtype:_PTYPE,sem:become:1,vtype:matrix]) --> [became]. /* present participle */ verb(verb(becoming),[cat:vp,form:past_part,num:_NUM,person:_PER,prtype:_PTYPE,sem:become:1,vtype:matrix]) --> [becoming]. /* past participle */ verb(verb(become),[cat:vp,form:past_part,num:_NUM,person:_PER,prtype:_PTYPE,sem:become:1,vtype:matrix]) --> [become].
clifford-thompson/thesis
src/prolog/lexicon/verbs/become.pl
Perl
gpl-3.0
2,238
import { initializeApp } from 'firebase/app'; import { getPerformance } from 'firebase/performance'; const config = require('./config.json'); const firebaseApp = initializeApp(config); getPerformance(firebaseApp); export default firebaseApp;
Taldrain/Turn-Based-Accounting
src/firebase/index.js
JavaScript
gpl-3.0
245
""" test-gvar.py """ # Copyright (c) 2012-20 G. Peter Lepage. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # any later version (see <http://www.gnu.org/licenses/>). # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. import os import unittest import collections import math import pickle import numpy as np import random import gvar as gv from gvar import * try: import vegas have_vegas = True except: have_vegas = False FAST = False class ArrayTests(object): def __init__(self): pass def assert_gvclose(self,x,y,rtol=1e-5,atol=1e-8,prt=False): """ asserts that the means and sdevs of all x and y are close """ if hasattr(x,'keys') and hasattr(y,'keys'): if sorted(x.keys())==sorted(y.keys()): for k in x: self.assert_gvclose(x[k],y[k],rtol=rtol,atol=atol) return else: raise ValueError("x and y have mismatched keys") self.assertSequenceEqual(np.shape(x),np.shape(y)) x = np.asarray(x).flat y = np.asarray(y).flat if prt: print(np.array(x)) print(np.array(y)) for xi,yi in zip(x,y): self.assertGreater(atol+rtol*abs(yi.mean),abs(xi.mean-yi.mean)) self.assertGreater(10*(atol+rtol*abs(yi.sdev)),abs(xi.sdev-yi.sdev)) def assert_arraysclose(self,x,y,rtol=1e-5,prt=False): self.assertSequenceEqual(np.shape(x),np.shape(y)) x = np.array(x).flatten() y = np.array(y).flatten() max_val = max(np.abs(list(x)+list(y))) max_rdiff = max(np.abs(x-y))/max_val if prt: print(x) print(y) print(max_val,max_rdiff,rtol) self.assertAlmostEqual(max_rdiff,0.0,delta=rtol) def assert_arraysequal(self,x,y): self.assertSequenceEqual(np.shape(x),np.shape(y)) x = [float(xi) for xi in np.array(x).flatten()] y = [float(yi) for yi in np.array(y).flatten()] self.assertSequenceEqual(x,y) class test_svec(unittest.TestCase,ArrayTests): def test_v(self): """ svec svec.assign svec.toarray """ v = svec(3) # [1,2,0,0,3] v.assign([1.,3.,2.],[0,4,1]) self.assert_arraysequal(v.toarray(),[1.,2.,0.,0.,3.]) def test_null_v(self): """ svec(0) """ v = svec(0) self.assertEqual(len(v.toarray()),0) self.assertEqual(len(v.clone().toarray()),0) self.assertEqual(len(v.mul(10.).toarray()),0) u = svec(1) u.assign([1],[0]) self.assertEqual(v.dot(u),0.0) self.assertEqual(u.dot(v),0.0) self.assert_arraysequal(u.add(v).toarray(),v.add(u).toarray()) def test_v_clone(self): """ svec.clone """ v1 = svec(3) # [1,2,0,0,3] v1.assign([1.,3.,2.],[0,4,1]) v2 = v1.clone() # [0,10,0,0,20] self.assert_arraysequal(v1.toarray(),v2.toarray()) v2.assign([10.,20.,30.],[0,1,2]) self.assert_arraysequal(v2.toarray(),[10.,20.,30.]) def test_v_dot(self): """ svec.dot """ v1 = svec(3) # [1,2,0,0,3] v1.assign([1.,3.,2.],[0,4,1]) v2 = svec(2) v2.assign([10.,20.],[1,4]) self.assertEqual(v1.dot(v2),v2.dot(v1)) self.assertEqual(v1.dot(v2),80.) v1 = svec(3) v1.assign([1,2,3],[0,1,2]) v2 = svec(2) v2.assign([4,5],[3,4]) self.assertEqual(v1.dot(v2),v2.dot(v1)) self.assertEqual(v1.dot(v2),0.0) def test_v_add(self): """ svec.add """ v1 = svec(3) # [1,2,0,0,3] v1.assign([1.,3.,2.],[0,4,1]) v2 = svec(2) # [0,10,0,0,20] v2.assign([10.,20.],[1,4]) self.assert_arraysequal(v1.add(v2).toarray(),v2.add(v1).toarray()) self.assert_arraysequal(v1.add(v2).toarray(),[1,12,0,0,23]) self.assert_arraysequal(v1.add(v2,10,100).toarray(),[10.,1020.,0,0,2030.]) self.assert_arraysequal(v2.add(v1,100,10).toarray(),[10.,1020.,0,0,2030.]) v1 = svec(2) # overlapping v1.assign([1,2],[0,1]) v2.assign([3,4],[1,2]) self.assert_arraysequal(v1.add(v2,5,7).toarray(),[5.,31.,28.]) self.assert_arraysequal(v2.add(v1,7,5).toarray(),[5.,31.,28.]) v1 = svec(3) v2 = svec(3) v1.assign([1,2,3],[0,1,2]) v2.assign([10,20,30],[1,2,3]) self.assert_arraysequal(v1.add(v2,5,7).toarray(),[5.,80.,155.,210.]) self.assert_arraysequal(v2.add(v1,7,5).toarray(),[5.,80.,155.,210.]) v1 = svec(2) v2 = svec(2) v1.assign([1,2],[0,1]) # non-overlapping v2.assign([3,4],[2,3]) self.assert_arraysequal(v1.add(v2,5,7).toarray(),[5.,10.,21.,28.]) self.assert_arraysequal(v2.add(v1,7,5).toarray(),[5.,10.,21.,28.]) v1 = svec(4) # one encompasses the other v1.assign([1,2,3,4],[0,1,2,3]) v2.assign([10,20],[1,2]) self.assert_arraysequal(v1.add(v2,5,7).toarray(),[5.,80.,155.,20.]) self.assert_arraysequal(v2.add(v1,7,5).toarray(),[5.,80.,155.,20.]) def test_v_mul(self): """ svec.mul """ v1 = svec(3) # [1,2,0,0,3] v1.assign([1.,3.,2.],[0,4,1]) self.assert_arraysequal(v1.mul(10).toarray(),[10,20,0,0,30]) def test_pickle(self): v = svec(4) v.assign([1.,2.,5.,22], [3,5,1,0]) with open('outputfile.p', 'wb') as ofile: pickle.dump(v, ofile) with open('outputfile.p', 'rb') as ifile: newv = pickle.load(ifile) self.assertEqual(type(v), type(newv)) self.assertTrue(np.all(v.toarray() == newv.toarray())) os.remove('outputfile.p') class test_smat(unittest.TestCase,ArrayTests): def setUp(self): """ make mats for tests """ global smat_m,np_m smat_m = smat() smat_m.append_diag(np.array([0.,10.,200.])) smat_m.append_diag_m(np.array([[1.,2.],[2.,1.]])) smat_m.append_diag(np.array([4.,5.])) smat_m.append_diag_m(np.array([[3.]])) np_m = np.array([[ 0., 0., 0., 0., 0., 0., 0., 0.], [ 0., 10., 0., 0., 0., 0., 0., 0.], [ 0., 0., 200., 0., 0., 0., 0., 0.], [ 0., 0., 0., 1., 2., 0., 0., 0.], [ 0., 0., 0., 2., 1., 0., 0., 0.], [ 0., 0., 0., 0., 0., 4., 0., 0.], [ 0., 0., 0., 0., 0., 0., 5., 0.], [ 0., 0., 0., 0., 0., 0., 0., 3.]]) def tearDown(self): global smat_m,np_m smat_m = None np_m = None def test_m_append(self): """ smat.append_diag smat.append_diag_m smat.append_row smat.toarray""" self.assert_arraysequal(smat_m.toarray(),np_m) def test_m_dot(self): """ smat.dot """ global smat_m,np_m v = svec(2) v.assign([10,100],[1,4]) np_v = v.toarray() nv = len(np_v) self.assert_arraysequal(smat_m.dot(v).toarray(),np.dot(np_m[:nv,:nv],np_v)) self.assert_arraysequal(smat_m.dot(v).toarray(),[0.,100.,0.,200.,100.]) self.assertEqual(smat_m.dot(v).dot(v),np.dot(np.dot(np_m[:nv,:nv],np_v),np_v)) self.assertEqual(smat_m.dot(v).size,3) def test_m_expval(self): """ smat.expval """ global smat_m,np_m v = svec(2) v.assign([10.,100.],[1,4]) np_v = v.toarray() nv = len(np_v) self.assertEqual(smat_m.expval(v),np.dot(np.dot(np_m[:nv,:nv],np_v),np_v)) def test_pickle(self): """ pickle.dump(smat, outfile) """ global smat_m with open('outputfile.p', 'wb') as ofile: pickle.dump(smat_m, ofile) with open('outputfile.p', 'rb') as ifile: m = pickle.load(ifile) self.assertEqual(type(smat_m), type(m)) self.assertTrue(np.all(smat_m.toarray() == m.toarray())) os.remove('outputfile.p') class test_smask(unittest.TestCase): def test_smask(self): def _test(imask): mask = smask(imask) np.testing.assert_array_equal(sum(imask[mask.starti:mask.stopi]), mask.len) np.testing.assert_array_equal(imask, np.asarray(mask.mask)) np.testing.assert_array_equal(np.asarray(mask.map)[imask != 0], np.arange(mask.len)) np.testing.assert_array_equal(np.cumsum(imask[imask != 0]) - 1, np.asarray(mask.map)[imask != 0]) g = gvar([1, 2, 3], [4, 5, 6]) gvar(1,0) imask = np.array(g[0].der + g[2].der, dtype=np.int8) _test(imask) def test_masked_ved(self): def _test(imask, g): mask = smask(imask) vec = g.internaldata[1].masked_vec(mask) np.testing.assert_array_equal(vec, g.der[imask!=0]) g = gvar([1, 2, 3], [4, 5, 6]) gvar(1,0) imask = np.array(g[0].der + g[1].der, dtype=np.int8) g[1:] += g[:-1] g2 = g**2 _test(imask, g2[0]) _test(imask, g2[1]) _test(imask, g2[2]) def test_masked_mat(self): a = np.random.rand(3,3) g = gvar([1, 2, 3], a.dot(a.T)) imask = np.array((g[0].der + g[2].der) != 0, dtype=np.int8) cov = evalcov([g[0], g[2]]) gvar(1,0) mask = smask(imask) np.testing.assert_allclose(cov, g[1].cov.masked_mat(mask)) class test_gvar1(unittest.TestCase,ArrayTests): """ gvar1 - part 1 """ def setUp(self): """ setup for tests """ global x,xmean,xsdev,gvar # NB - powers of two important xmean = 0.5 xsdev = 0.25 gvar = switch_gvar() x = gvar(xmean,xsdev) # ranseed((1968,1972,1972,1978,1980)) # random.seed(1952) def tearDown(self): """ cleanup after tests """ global x,gvar gvar = restore_gvar() x = None def test_str(self): """ str(x) """ global x,xmean,xsdev,gvar self.assertEqual(str(x), x.fmt()) def test_call(self): """ x() """ global x,xmean,xsdev,gvar n = 10000 fac = 5. # 4 sigma xlist = [x() for i in range(n)] avg = np.average(xlist) std = np.std(xlist) self.assertAlmostEqual(avg,x.mean,delta=fac*x.sdev/n**0.5) self.assertAlmostEqual(std,(1-1./n)**0.5*xsdev,delta=fac*x.sdev/(2*n)**0.5) def test_cmp(self): """ x==y x!=y x>y x<y""" global x,xmean,xsdev,gvar x = gvar(1, 10) y = gvar(2, 20) self.assertTrue(y!=x and 2*x==y and x==1 and y!=1 and 1==x and 1!=y) self.assertTrue( not y==x and not 2*x!=y and not x!=1 and not y==1 and not 1!=x and not 1==y ) self.assertTrue(y>x and x<y and y>=x and x<=y and y>=2*x and 2*x<=y) self.assertTrue(not y<x and not x>y and not y<=x and not x>=y) self.assertTrue(y>1 and x<2 and y>=1 and x<=2 and y>=2 and 2*x<=2) self.assertTrue(not y<1 and not x>2 and not y<=1 and not x>=2) self.assertTrue(1<y and 2>x and 1<=y and 2>=x and 2<=y and 2>=2*x) self.assertTrue(not 1>y and not 2<x and not 1>=y and not 2<=x) def test_neg(self): """ -x """ global x,xmean,xsdev,gvar z = -x self.assertEqual(x.mean,-z.mean) self.assertEqual(x.var,z.var) def test_pos(self): """ +x """ global x,xmean,xsdev,gvar z = +x self.assertEqual(x.mean, z.mean) self.assertEqual(x.var, x.var) class test_gvar2(unittest.TestCase,ArrayTests): """ gvar - part 2 """ def setUp(self): global x,y,gvar # NB x.mean < 1 and x.var < 1 and y.var > 1 (assumed below) # and powers of 2 important gvar = switch_gvar() x,y = gvar([0.125,4.],[[0.25,0.0625],[0.0625,1.]]) # ranseed((1968,1972,1972,1978,1980)) # random.seed(1952) self.label = None def tearDown(self): """ cleanup after tests """ global x,y,gvar x = None y = None gvar = restore_gvar() # if self.label is not None: # print self.label def test_add(self): """ x+y """ global x,y,gvar z = x+y cov = evalcov([x,y]) self.assertEqual(z.mean,x.mean+y.mean) self.assertEqual(z.var,cov[0,0]+cov[1,1]+2*cov[0,1]) z = x + y.mean self.assertEqual(z.mean,x.mean+y.mean) self.assertEqual(z.var,x.var) z = y.mean + x self.assertEqual(z.mean,x.mean+y.mean) self.assertEqual(z.var,x.var) def test_sub(self): """ x-y """ global x,y,gvar z = x-y cov = evalcov([x,y]) self.assertEqual(z.mean,x.mean-y.mean) self.assertEqual(z.var,cov[0,0]+cov[1,1]-2*cov[0,1]) z = x - y.mean self.assertEqual(z.mean,x.mean-y.mean) self.assertEqual(z.var,x.var) z = y.mean - x self.assertEqual(z.mean,y.mean-x.mean) self.assertEqual(z.var,x.var) def test_mul(self): """ x*y """ z = x*y dz = [y.mean,x.mean] cov = evalcov([x,y]) self.assertEqual(z.mean,x.mean*y.mean) self.assertEqual(z.var,np.dot(dz,np.dot(cov,dz))) z = x * y.mean dz = [y.mean,0.] self.assertEqual(z.mean,x.mean*y.mean) self.assertEqual(z.var,np.dot(dz,np.dot(cov,dz))) z = y.mean * x self.assertEqual(z.mean,x.mean*y.mean) self.assertEqual(z.var,np.dot(dz,np.dot(cov,dz))) def test_div(self): """ x/y """ z = x/y dz = [1./y.mean,-x.mean/y.mean**2] cov = evalcov([x,y]) self.assertEqual(z.mean,x.mean/y.mean) self.assertEqual(z.var,np.dot(dz,np.dot(cov,dz))) z = x / y.mean dz = [1./y.mean,0.] self.assertEqual(z.mean,x.mean/y.mean) self.assertEqual(z.var,np.dot(dz,np.dot(cov,dz))) z = y.mean / x dz = [-y.mean/x.mean**2,0.] self.assertEqual(z.mean,y.mean/x.mean) self.assertEqual(z.var,np.dot(dz,np.dot(cov,dz))) def test_pow(self): """ x**y """ z = x**y dz = [y.mean*x.mean**(y.mean-1),x.mean**y.mean*log(x.mean)] cov = evalcov([x,y]) self.assertEqual(z.mean,x.mean**y.mean) self.assertEqual(z.var,np.dot(dz,np.dot(cov,dz))) z = x ** y.mean dz = [y.mean*x.mean**(y.mean-1),0.] self.assertEqual(z.mean,x.mean**y.mean) self.assertEqual(z.var,np.dot(dz,np.dot(cov,dz))) z = y.mean ** x dz = [y.mean**x.mean*log(y.mean),0.] self.assertEqual(z.mean,y.mean**x.mean) self.assertEqual(z.var,np.dot(dz,np.dot(cov,dz))) def t_fcn(self,f,df): """ tester for test_fcn """ gdict = dict(globals()) gdict['x'] = x # with GVar fx = eval(f,gdict) gdict['x'] = x.mean # with float fxm = eval(f,gdict) dfxm = eval(df,gdict) self.assertAlmostEqual(fx.mean,fxm) self.assertAlmostEqual(fx.var,x.var*dfxm**2) def test_fcn(self): """ f(x) """ flist = [ ("sin(x)","cos(x)"), ("cos(x)","-sin(x)"), ("tan(x)","1 + tan(x)**2"), ("arcsin(x)","(1 - x**2)**(-1./2.)"), ("arccos(x)","-1/(1 - x**2)**(1./2.)"), ("arctan(x)","1/(1 + x**2)"), ("sinh(x)","cosh(x)"), ("cosh(x)","sinh(x)"), ("tanh(x)","1 - tanh(x)**2"), ("arcsinh(x)","1./sqrt(x**2+1.)"),("arccosh(1+x)","1./sqrt(x**2+2*x)"), ("arctanh(x)","1./(1-x**2)"), ("exp(x)","exp(x)"), ("log(x)","1/x"), ("sqrt(x)","1./(2*x**(1./2.))") ] for f,df in flist: self.label = f self.t_fcn(f,df) # arctan2 tests x = gvar('0.5(0.5)') y = gvar('2(2)') f = arctan2(y, x) fc = arctan(y / x) self.assertAlmostEqual(f.mean, fc.mean) self.assertAlmostEqual(f.sdev, fc.sdev) self.assertAlmostEqual(arctan2(y, x).mean, numpy.arctan2(y.mean, x.mean)) self.assertAlmostEqual(arctan2(y, -x).mean, numpy.arctan2(y.mean, -x.mean)) self.assertAlmostEqual(arctan2(-y, -x).mean, numpy.arctan2(-y.mean, -x.mean)) self.assertAlmostEqual(arctan2(-y, x).mean, numpy.arctan2(-y.mean, x.mean)) self.assertAlmostEqual(arctan2(y, x*0).mean, numpy.arctan2(y.mean, 0)) self.assertAlmostEqual(arctan2(-y, x*0).mean, numpy.arctan2(-y.mean, 0)) def test_gvar_function(self): """ gvar_function(x, f, dfdx) """ x = sqrt(gvar(0.1, 0.1) + gvar(0.2, 0.5)) def fcn(x): return sin(x + x**2) def dfcn_dx(x): return cos(x + x**2) * (1 + 2*x) f = fcn(x).mean dfdx = dfcn_dx(x).mean diff = gvar_function(x, f, dfdx) - fcn(x) self.assertAlmostEqual(diff.mean, 0.0) self.assertAlmostEqual(diff.sdev, 0.0) diff = gvar_function([x, x + gvar(2,2)], f, [dfdx, 0]) - fcn(x) self.assertAlmostEqual(diff.mean, 0.0) self.assertAlmostEqual(diff.sdev, 0.0) x = gvar(dict(a='1(1)', b=['2(2)', '3(3)'])) z = gvar(1,1) def fcn(x): return sin(x['a'] * x['b'][0]) * x['b'][1] f = fcn(x) dfdx = dict(a=f.deriv(x['a']), b=[f.deriv(x['b'][0]), f.deriv(x['b'][1])]) f = f.mean diff = gvar_function(x, f, dfdx) - fcn(x) self.assertAlmostEqual(diff.mean, 0.0) self.assertAlmostEqual(diff.sdev, 0.0) x = gvar(['1(1)', '2(2)', '3(3)']) def fcn(x): return sin(x[0] + x[1]) * x[2] f = fcn(x) dfdx = np.array([f.deriv(x[0]), f.deriv(x[1]), f.deriv(x[2])]) f = f.mean diff = gvar_function(x, f, dfdx) - fcn(x) self.assertAlmostEqual(diff.mean, 0.0) self.assertAlmostEqual(diff.sdev, 0.0) def test_wsum_der(self): """ wsum_der """ gv = GVarFactory() x = gv([1,2],[[3,4],[4,5]]) self.assert_arraysequal(wsum_der(np.array([10.,100]),x),[10.,100.]) def test_wsum_gvar(self): """ wsum_gvar """ gv = GVarFactory() x = gv([1,2],[[3,4],[4,5]]) v = np.array([10.,100.]) ws = wsum_gvar(v,x) self.assertAlmostEqual(ws.val,np.dot(v,mean(x))) self.assert_arraysclose(ws.der,wsum_der(v,x)) def test_dotder(self): """ GVar.dotder """ gv = GVarFactory() x = gv([1,2],[[3,4],[4,5]])*2 v = np.array([10.,100.]) self.assertAlmostEqual(x[0].dotder(v),20.) self.assertAlmostEqual(x[1].dotder(v),200.) def test_fmt(self): """ x.fmt """ self.assertEqual(x.fmt(None), x.fmt(2)) self.assertEqual(x.fmt(3),"%.3f(%d)"%(x.mean,round(x.sdev*1000))) self.assertEqual(y.fmt(3),"%.3f(%.3f)"%(y.mean,round(y.sdev,3))) self.assertEqual(gvar(".1234(341)").fmt(), "0.123(34)") self.assertEqual(gvar(" .1234(341)").fmt(), "0.123(34)") self.assertEqual(gvar(".1234(341) ").fmt(), "0.123(34)") self.assertEqual(gvar(".1234(341)").fmt(1), "0.1(0)") self.assertEqual(gvar(".1234(341)").fmt(5), "0.12340(3410)") self.assertEqual(gvar(".1234(0)").fmt(), "0.1234(0)") self.assertEqual(gvar("-.1234(341)").fmt(), "-0.123(34)") self.assertEqual(gvar("+.1234(341)").fmt(), "0.123(34)") self.assertEqual(gvar("-0.1234(341)").fmt(), "-0.123(34)") self.assertEqual(gvar("10(1.3)").fmt(), "10.0(1.3)") self.assertEqual(gvar("10.2(1.3)").fmt(), "10.2(1.3)") self.assertEqual(gvar("-10.2(1.3)").fmt(), "-10.2(1.3)") self.assertEqual(gvar("10(1.3)").fmt(0),"10(1)") self.assertEqual(gvar("1e-9 +- 1.23e-12").fmt(), "1.0000(12)e-09") self.assertEqual(gvar("1e-9 +- 1.23e-6").fmt(), '1(1230)e-09') self.assertEqual(gvar("1e+9 +- 1.23e+6").fmt(), "1.0000(12)e+09") self.assertEqual(gvar("1e-9 +- 0").fmt(), "1(0)e-09") self.assertEqual(gvar("0(0)").fmt(), "0(0)") self.assertEqual(gvar("1.234e-9 +- 0.129").fmt(), '1e-09 +- 0.13') self.assertEqual(gvar("1.23(4)e-9").fmt(), "1.230(40)e-09") self.assertEqual(gvar("1.23 +- 1.23e-12").fmt(), "1.2300000000000(12)") self.assertEqual(gvar("1.23 +- 1.23e-6").fmt(), "1.2300000(12)") self.assertEqual(gvar("1.23456 +- inf").fmt(3), "1.235 +- inf") self.assertEqual(gvar("1.23456 +- inf").fmt(), str(1.23456) + " +- inf") self.assertEqual(gvar("10.23 +- 1e-10").fmt(), "10.23000000000(10)") self.assertEqual(gvar("10.23(5.1)").fmt(), "10.2(5.1)") self.assertEqual(gvar("10.23(5.1)").fmt(-1),"10.23 +- 5.1") self.assertEqual(gvar(0.021, 0.18).fmt(), '0.02(18)') self.assertEqual(gvar(0.18, 0.021).fmt(), '0.180(21)') # boundary cases self.assertEqual(gvar(0.096, 9).fmt(), '0.1(9.0)') self.assertEqual(gvar(0.094, 9).fmt(), '0.09(9.00)') self.assertEqual(gvar(0.96, 9).fmt(), '1.0(9.0)') self.assertEqual(gvar(0.94, 9).fmt(), '0.9(9.0)') self.assertEqual(gvar(-0.96, 9).fmt(), '-1.0(9.0)') self.assertEqual(gvar(-0.94, 9).fmt(), '-0.9(9.0)') self.assertEqual(gvar(9.6, 90).fmt(), '10(90)') self.assertEqual(gvar(9.4, 90).fmt(), '9(90)') self.assertEqual(gvar(99.6, 91).fmt(), '100(91)') self.assertEqual(gvar(99.4, 91).fmt(), '99(91)') self.assertEqual(gvar(0.1, 0.0996).fmt(), '0.10(10)') self.assertEqual(gvar(0.1, 0.0994).fmt(), '0.100(99)') self.assertEqual(gvar(0.1, 0.994).fmt(), '0.10(99)') self.assertEqual(gvar(0.1, 0.996).fmt(), '0.1(1.0)') self.assertEqual(gvar(12.3, 9.96).fmt(), '12(10)') self.assertEqual(gvar(12.3, 9.94).fmt(), '12.3(9.9)') # 0 +- stuff self.assertEqual(gvar(0, 0).fmt(), '0(0)') self.assertEqual(gvar(0, 99.6).fmt(), '0(100)') self.assertEqual(gvar(0, 99.4).fmt(), '0(99)') self.assertEqual(gvar(0, 9.96).fmt(), '0(10)') self.assertEqual(gvar(0, 9.94).fmt(), '0.0(9.9)') self.assertEqual(gvar(0, 0.996).fmt(), '0.0(1.0)') self.assertEqual(gvar(0, 0.994).fmt(), '0.00(99)') self.assertEqual(gvar(0, 1e5).fmt(), '0.0(1.0)e+05') self.assertEqual(gvar(0, 1e4).fmt(), '0(10000)') self.assertEqual(gvar(0, 1e-5).fmt(), '0.0(1.0)e-05') self.assertEqual(gvar(0, 1e-4).fmt(), '0.00000(10)') def test_fmt2(self): """ fmt(x) """ g1 = gvar(1.5,0.5) self.assertEqual(fmt(g1),g1.fmt()) g2 = [g1,2*g1] fmtg2 = fmt(g2) self.assertEqual(fmtg2[0],g2[0].fmt()) self.assertEqual(fmtg2[1],g2[1].fmt()) g3 = dict(g1=g1,g2=g2) fmtg3 = fmt(g3) self.assertEqual(fmtg3['g1'],g1.fmt()) self.assertEqual(fmtg3['g2'][0],g2[0].fmt()) self.assertEqual(fmtg3['g2'][1],g2[1].fmt()) def test_tabulate(self): """ tabulate(g) """ g = BufferDict() g['scalar'] = gv.gvar('10.3(1.2)') g['vector'] = gv.gvar(['0.52(3)', '0.09(10)', '1.2(1)']) g['tensor'] = gv.gvar([ ['0.01(50)', '0.001(20)', '0.033(15)'], ['0.001(20)', '2.00(5)', '0.12(52)'], ['0.007(45)', '0.237(4)', '10.23(75)'], ]) table = gv.tabulate(g, ncol=2) correct = '\n'. join([ ' key/index value key/index value', '--------------------------- ---------------------------', ' scalar 10.3 (1.2) 1,0 0.001 (20)', ' vector 0 0.520 (30) 1,1 2.000 (50)', ' 1 0.09 (10) 1,2 0.12 (52)', ' 2 1.20 (10) 2,0 0.007 (45)', ' tensor 0,0 0.01 (50) 2,1 0.2370 (40)', ' 0,1 0.001 (20) 2,2 10.23 (75)', ' 0,2 0.033 (15)', ]) self.assertEqual(table, correct, 'tabulate wrong') def test_partialvar(self): """ x.partialvar x.partialsdev fmt_errorbudget """ gvar = gvar_factory() ## test basic functionality ## x = gvar(1,2) y = gvar(3,4) a,b = gvar([1,2],[[4,5],[5,16]]) z = x+y+2*a+3*b self.assertEqual(z.var,x.var+y.var +np.dot([2.,3.],np.dot(evalcov([a,b]),[2.,3.]))) self.assertEqual(z.partialvar(x,y),x.var+y.var) self.assertEqual(z.partialvar(x,a), x.var+np.dot([2.,3.],np.dot(evalcov([a,b]),[2.,3.]))) self.assertEqual(z.partialvar(a),z.partialvar(a)) ## ## test different arg types, fmt_errorbudget, fmt_values ## s = gvar(1,2) a = np.array([[gvar(3,4),gvar(5,6)]]) d = BufferDict(s=gvar(7,8),v=[gvar(9,10),gvar(10,11)]) z = s + sum(a.flat) + sum(d.flat) self.assertEqual(z.partialvar(s,a,d),z.var) self.assertEqual(z.partialvar(s),s.var) self.assertEqual(z.partialvar(a),sum(var(a).flat)) self.assertEqual(z.partialvar(d),sum(var(d).flat)) self.assertAlmostEqual(z.partialsdev(s,a,d),z.sdev) tmp = fmt_errorbudget( outputs=dict(z=z), inputs=collections.OrderedDict([ ('a', a), ('s', s), ('d', d), ('ad', [a,d]), ('sa', [s,a]), ('sd', [s,d]), ('sad', [s,a,d]) ]), ndecimal=1 ) out = "\n".join([ "Partial % Errors:", " z", "--------------------", " a: 20.6", " s: 5.7", " d: 48.2", " ad: 52.5", " sa: 21.4", " sd: 48.6", " sad: 52.8", "--------------------", " total: 52.8", "" ]) self.assertEqual(tmp,out,"fmt_errorbudget output wrong") tmp = fmt_errorbudget( outputs=dict(z=z), inputs=collections.OrderedDict([ ('a', a), ('s', s), ('d', d), ('ad', [a,d]), ('sa', [s,a]), ('sd', [s,d]), ('sad', [s,a,d]) ]), ndecimal=1, colwidth=25 ) out = "\n".join([ "Partial % Errors:", " z", "--------------------------------------------------", " a: 20.6", " s: 5.7", " d: 48.2", " ad: 52.5", " sa: 21.4", " sd: 48.6", " sad: 52.8", "--------------------------------------------------", " total: 52.8", "" ]) self.assertEqual(tmp,out,"fmt_errorbudget output wrong (with colwidth)") tmp = fmt_values(outputs=collections.OrderedDict([('s',s),('z',z)]),ndecimal=1) out = "\n".join([ "Values:", " s: 1.0(2.0) ", " z: 35.0(18.5) ", "" ]) self.assertEqual(tmp,out,"fmt_value output wrong") def test_errorbudget_warnings(self): """ fmt_errorbudget(...verify=True) """ a, b, c = gvar(3 * ['1.0(1)']) b , c = (b+c) / 2., (b-c) /2. outputs = dict(sum=a+b+c) warnings.simplefilter('error') fmt_errorbudget(outputs=outputs, inputs=dict(a=a, b=b), verify=True) with self.assertRaises(UserWarning): fmt_errorbudget(outputs=outputs, inputs=dict(a=a, b=b, c=c), verify=True) with self.assertRaises(UserWarning): fmt_errorbudget(outputs=outputs, inputs=dict(a=a), verify=True) def test_der(self): """ x.der """ global x,y self.assert_arraysequal(x.der,[1.,0.]) self.assert_arraysequal(y.der,[0.,1.]) z = x*y**2 self.assert_arraysequal(z.der,[y.mean**2,2*x.mean*y.mean]) def test_construct_gvar(self): """ construct_gvar """ v = 2.0 dv = np.array([0.,1.]) cov = smat() cov.append_diag_m(np.array([[2.,4.],[4.,16.]])) y = gvar(v,np.array([1,0.]),cov) z = gvar(v,dv,cov) cov = evalcov([y,z]) self.assertEqual(z.mean,v) self.assert_arraysequal(z.der,dv) self.assertEqual(z.var,np.dot(dv,np.dot(cov,dv))) self.assertEqual(z.sdev,sqrt(z.var)) cov = smat() cov.append_diag_m(np.array([[2.,4.],[4.,16.]])) y = gvar(v,([1.], [0]), cov) z = gvar(v, ([1.], [1]), cov) cov = evalcov([y,z]) self.assertEqual(z.mean,v) self.assert_arraysequal(z.der,dv) self.assertEqual(z.var,np.dot(dv,np.dot(cov,dv))) self.assertEqual(z.sdev,sqrt(z.var)) # zero covariance x = gvar([1.], [[0.]]) self.assertEqual(str(x), '[1(0)]') x = gvar(1, 0.) self.assertEqual(str(x), '1(0)') def t_gvar(self,args,xm,dx,xcov,xder): """ worker for test_gvar """ gvar = gvar_factory() x = gvar(*args) self.assertEqual(x.mean,xm) self.assertEqual(x.sdev,dx) self.assert_arraysequal(evalcov([x]),xcov) self.assert_arraysequal(x.der,xder) def test_gvar(self): """ gvar """ ## tests for arguments corresponding to a single gvar ## cov = smat() cov.append_diag_m(np.array([[1.,2.],[2.,16.]])) x = gvar(2.,np.array([0.,1.]),cov) arglist = [(["4.125(250)"],4.125,0.25,[[.25**2]],[1.0],'"x(dx)"'), #] (["-4.125(2.0)"],-4.125,2.0,[[2.**2]],[1.0],'"x(dx)"'), (["4.125 +- 0.5"],4.125,0.5,[[0.5**2]],[1.0],'"x +- dx"'), ([x],x.mean,x.sdev,evalcov([x]),x.der,"x"), ([2.0],2.0,0.0,[[0.0]],[1.0],"x"), ([(2.0,4.0)],2.,4.,[[4.**2]],[1.0],"(x,dx)"), ([2.0,4.0],2.,4.,[[4.**2]],[1.0],"x,dx"), ([x.mean,x.der,x.cov],x.mean,x.sdev,evalcov([x]),x.der,"x,der,cov") ] for a in arglist: self.label = "gvar(%s)" % a[0] self.t_gvar(a[0],a[1],a[2],a[3],a[4]) # tests involving a single argument that is sequence x = gvar([[(0,1),(1,2)],[(3,4),(5,6)],[(7,8),(9,10)]]) y = np.array([[gvar(0,1),gvar(1,2)],[gvar(3,4),gvar(5,6)], [gvar(7,8),gvar(9,10)]]) self.assert_gvclose(x,y) x = gvar([[["0(1)"],["2(3)"]]]) y = np.array([[[gvar(0,1)],[gvar(2,3)]]]) self.assert_gvclose(x,y) x = gvar([[1.,2.],[3.,4.]]) y = np.array([[gvar(1.,0),gvar(2.,0)],[gvar(3.,0),gvar(4.,0)]]) self.assert_gvclose(x,y) x = gvar([gvar(0,1),gvar(2,3)]) y = np.array([gvar(0,1),gvar(2,3)]) self.assert_gvclose(x,y) # tests involving dictionary arguments x = gvar(dict(a=1,b=[2,3]), dict(a=10, b=[20,30])) y = dict(a=gvar(1,10), b=[gvar(2,20), gvar(3,30)]) self.assert_gvclose(x,y) a, b = gvar([1,2],[10,20]) a, b = a+b, a-b x = gvar([a, a+b, b, b-a]) y = BufferDict() y['a'] = [a, a+b] y['b'] = [b, b-a] self.assert_gvclose(y.flat, x) z = gvar(mean(y), evalcov(y)) self.assert_gvclose(z.flat, y.flat) self.assert_arraysclose(evalcov(z.flat), evalcov(x)) def _tst_compare_evalcovs(self): " evalcov evalcov_blocks evalcov_blocks_dense agree " def reconstruct(x, blocks, compress): ans = np.zeros((len(x), len(x)), float) if compress: idx, sdev = blocks[0] ans[idx, idx] = sdev ** 2 n = (len(idx), len(blocks)) blocks = blocks[1:] else: n = len(blocks) for idx, bcov in blocks: ans[idx[:,None], idx[:]] = bcov return ans, n for setup, compress in [ ("N=10; a=np.random.rand(N,N); x=gv.gvar(N*[1.],a.dot(a.T)); x=a.dot(x);", True), ("N=10; a=np.random.rand(N,N); x=gv.gvar(N*[1.],a.dot(a.T)); x=a.dot(x);", False), ("N=10; x=gv.gvar(N*[1.],N*[1.]);", True), ("N=10; x=gv.gvar(N*[1.],N*[1.]);", False), ("N=10; x=gv.gvar(N*[1.],N*[1.]); x[1:] += x[:-1];", True), ("N=10; x=gv.gvar(N*[1.],N*[1.]); x[1:] += x[:-1];", False), ("N=10; a=np.random.rand(N,N); x=gv.gvar(N*[1.],a.dot(a.T));", True), ("N=10; a=np.random.rand(N,N); x=gv.gvar(N*[1.],a.dot(a.T));", False), ]: tmp = locals() exec(setup, globals(), tmp) x = tmp['x'] ec = gv.evalcov(x) ecb, necb = reconstruct(x, gv.evalcov_blocks(x, compress=compress), compress) ecbd, necbd = reconstruct(x, gv.evalcov_blocks_dense(x, compress=compress), compress) np.testing.assert_allclose(ec, ecbd) np.testing.assert_allclose(ec, ecb) self.assertEqual(necb, necbd) # print(necb) def test_compare_evalcovs(self): " evalcov evalcov_blocks evalcov_blocks_dense agree " self._tst_compare_evalcovs() tmp, gv._CONFIG['evalcov_blocks'] = gv._CONFIG['evalcov_blocks'], 1 self._tst_compare_evalcovs() gv._CONFIG['evalcov_blocks'] = tmp def test_gvar_blocks(self): " block structure created by gvar.gvar " def blockid(g): return g.cov.blockid(g.internaldata[1].indices()[0]) x = gvar([1., 2., 3.], [1., 1., 1.]) id = [blockid(xi) for xi in x] self.assertNotEqual(id[0], id[1]) self.assertNotEqual(id[0], id[2]) self.assertNotEqual(id[1], id[2]) idlast = max(id) x = gvar([1., 2., 3.], [[1., 0., 0.], [0., 1., 0.], [0., 0., 1.]], fast=False) id = [blockid(xi) for xi in x] self.assertEqual(min(id), idlast + 1) self.assertNotEqual(id[0], id[1]) self.assertNotEqual(id[0], id[2]) self.assertNotEqual(id[1], id[2]) idlast = max(id) x = gvar([1., 2., 3.], [[1., 0.1, 0.], [0.1, 1., 0.], [0., 0., 1.]], fast=False) id = [blockid(xi) for xi in x] self.assertEqual(min(id), idlast + 1) self.assertEqual(id[0], id[1]) self.assertNotEqual(id[0], id[2]) idlast = max(id) x = gvar([1., 2., 3.], [[1., 0., 0.1], [0.0, 1., 0.0], [0.1, 0., 1.]], fast=False) id = [blockid(xi) for xi in x] self.assertEqual(min(id), idlast + 1) self.assertEqual(id[0], id[2]) self.assertNotEqual(id[0], id[1]) idlast = max(id) x = gvar([1., 2., 3.], [[1., 0., 0.0], [0.0, 1., 0.1], [0.0, 0.1, 1.]], fast=False) id = [blockid(xi) for xi in x] self.assertEqual(min(id), idlast + 1) self.assertEqual(id[1], id[2]) self.assertNotEqual(id[0], id[1]) idlast = max(id) x = gvar([1., 2., 3.], [[1., 0.1, 0.0], [0.1, 1., 0.1], [0.0, 0.1, 1.]], fast=False) id = [blockid(xi) for xi in x] self.assertEqual(min(id), idlast + 1) self.assertEqual(id[1], id[2]) self.assertEqual(id[0], id[1]) idlast = max(id) x = gvar([1., 2., 3.], [[1., 0.1, 0.1], [0.1, 1., 0.1], [0.1, 0.1, 1.]], fast=False) id = [blockid(xi) for xi in x] self.assertEqual(min(id), idlast + 1) self.assertEqual(id[1], id[2]) self.assertEqual(id[0], id[1]) def test_gvar_verify(self): " gvar(x, xx, verify=True) " # case that does not generate an error gvar([1., 2.], [[1., 2./10], [2./10., 1.]]) with self.assertRaises(ValueError): gvar([1., 2.], [[1., .5], [.6, 1.]]) # cases that do generate errors for a,b in [ (1., -1.), ([1., 2.], [2., -2.]), ([1., 2.], [[1., 2.], [2., 1.]]), ]: with self.assertRaises(ValueError): gvar(a, b, verify=True) def test_asgvar(self): """ gvar functions as asgvar """ z = gvar(x) self.assertTrue(z is x) z = gvar("2.00(25)") self.assertEqual(z.mean,2.0) self.assertEqual(z.sdev,0.25) def test_basis5(self): """ gvar(x,dx) """ xa = np.array([[2.,4.]]) dxa = np.array([[16.,64.]]) x = gvar(xa,dxa) xcov = evalcov(x) self.assertEqual(xcov.shape,2*x.shape) for xai,dxai,xi in zip(xa.flat,dxa.flat,x.flat): self.assertEqual(xai,xi.mean) self.assertEqual(dxai,xi.sdev) self.assertEqual(np.shape(xa),np.shape(x)) xcov = xcov.reshape((2,2)) self.assert_arraysequal(xcov.diagonal(),[dxa[0,0]**2,dxa[0,1]**2]) def test_basis6(self): """ gvar(x,cov) """ xa = np.array([2.,4.]) cov = np.array([[16.,64.],[64.,4.]]) x = gvar(xa,cov) xcov = evalcov(x) for xai,dxai2,xi in zip(xa.flat,cov.diagonal().flat,x.flat): self.assertEqual(xai,xi.mean) self.assertEqual(dxai2,xi.sdev**2) self.assertEqual(np.shape(xa),np.shape(x)) self.assert_arraysequal(xcov,cov.reshape((2,2))) def test_mean_sdev_var(self): """ mean(g) sdev(g) var(g) """ def compare(x,y): self.assertEqual(set(x.keys()),set(y.keys())) for k in x: self.assertEqual(np.shape(x[k]),np.shape(y[k])) if np.shape(x[k])==(): self.assertEqual(x[k],y[k]) else: self.assertTrue(all(x[k]==y[k])) # dictionaries of GVars a = dict(x=gvar(1,2),y=np.array([gvar(3,4),gvar(5,6)])) a_mean = dict(x=1.,y=np.array([3.,5.])) a_sdev = dict(x=2.,y=np.array([4.,6.])) a_var = dict(x=2.**2,y=np.array([4.**2,6.**2])) compare(a_mean,mean(a)) compare(a_sdev,sdev(a)) compare(a_var,var(a)) # arrays of GVars b = np.array([gvar(1,2),gvar(3,4),gvar(5,6)]) b_mean = np.array([1.,3.,5.]) b_sdev = np.array([2.,4.,6.]) self.assertTrue(all(b_mean==mean(b))) self.assertTrue(all(b_sdev==sdev(b))) self.assertTrue(all(b_sdev**2==var(b))) # single GVar self.assertEqual(mean(gvar(1,2)),1.) self.assertEqual(sdev(gvar(1,2)),2.) self.assertEqual(var(gvar(1,2)),4.) # single non-GVar self.assertEqual(mean(1.25), 1.25) self.assertEqual(sdev(1.25), 0.0) self.assertEqual(var(1.25), 0.0) b = np.array([gvar(1,2), 3.0, gvar(5,6)]) self.assertTrue(all(mean(b)==[1., 3., 5.])) self.assertTrue(all(sdev(b)==[2., 0., 6.])) self.assertTrue(all(var(b)==[4., 0., 36.])) def test_sdev_var(self): " sdev var from covariance matrices " a = np.random.rand(10, 10) cov = a.dot(a.T) x = gvar(cov.shape[0] * [1], cov) xd = gvar(cov.shape[0] * [1], cov.diagonal() ** 0.5) xt = a.dot(x) covt = a.dot(cov.dot(a.T)) for nthreshold in [1, 1000]: tmp, gv._CONFIG['var'] = gv._CONFIG['var'], nthreshold numpy.testing.assert_allclose(var(x), cov.diagonal()) numpy.testing.assert_allclose(sdev(x), cov.diagonal() ** 0.5) numpy.testing.assert_allclose(var(xd), cov.diagonal()) numpy.testing.assert_allclose(sdev(xd), cov.diagonal() ** 0.5) numpy.testing.assert_allclose(var(xt), covt.diagonal()) numpy.testing.assert_allclose(sdev(xt), covt.diagonal() ** 0.5) gv._CONFIG['var'] = tmp def test_uncorrelated(self): """ uncorrelated(g1, g2) """ a = dict(x=gvar(1,2),y=np.array([gvar(3,4),gvar(5,6)])) b = dict(x=gvar(1,2),y=np.array([gvar(3,4),gvar(5,6)])) c = np.array([gvar(1,2),gvar(3,4),gvar(5,6)]) d = np.array([gvar(1,2),gvar(3,4),gvar(5,6)]) self.assertTrue(uncorrelated(a,b)) self.assertTrue(not uncorrelated(a,a)) self.assertTrue(uncorrelated(a['x'],a['y'])) self.assertTrue(not uncorrelated(a['x'],a)) self.assertTrue(uncorrelated(a,c)) self.assertTrue(uncorrelated(c,a)) self.assertTrue(uncorrelated(c,d)) self.assertTrue(not uncorrelated(c,c)) a['x'] += b['x'] self.assertTrue(not uncorrelated(a,b)) d += c[0] self.assertTrue(not uncorrelated(c,d)) self.assertTrue(not uncorrelated(a,b['x'])) a, b = gvar([1,2],[[1,.1],[.1,4]]) c = 2*a self.assertTrue(not uncorrelated(a,c)) self.assertTrue(not uncorrelated(b,c)) self.assertTrue(not uncorrelated(a,b)) def test_deriv(self): global x, y, gvar f = 2 * x ** 2. + 3 * y self.assertEqual(deriv(f, x), 4. * x.mean) self.assertEqual(deriv(f, y), 3.) with self.assertRaises(ValueError): deriv(f, x+y) self.assertEqual(f.deriv(x), 4. * x.mean) self.assertEqual(f.deriv(y), 3.) with self.assertRaises(ValueError): f.deriv(x+y) self.assertEqual(deriv(f, [x, y]).tolist(), [4. * x.mean, 3.]) self.assertEqual(deriv(f, [[x], [y]]).tolist(), [[4. * x.mean], [3.]]) self.assertEqual(deriv([f], [x, y]).tolist(), [[4. * x.mean, 3.]]) f = [2 * x + 3 * y, 4 * x] self.assertEqual(deriv(f, x).tolist(), [2., 4.]) self.assertEqual(deriv(f, y).tolist(), [3., 0.]) with self.assertRaises(ValueError): deriv(f, x+y) df = deriv(f, [[x, y]]) self.assertEqual(df.tolist(), [[[2., 3.]], [[4., 0.]]]) f = BufferDict([('a', 2 * x + 3 * y), ('b', 4 * x)]) self.assertEqual(deriv(f, x), BufferDict([('a',2.), ('b',4.)])) self.assertEqual(deriv(f, y), BufferDict([('a',3.), ('b',0.)])) df = deriv(f, [x, y]) self.assertEqual(df['a'].tolist(), [2., 3.]) self.assertEqual(df['b'].tolist(), [4., 0.]) with self.assertRaises(ValueError): deriv(f, x+y) def test_correlate(self): " correlate(g, corr) " x = gvar([1., 2.], [[64., 4.], [4., 16.]]) xmean = mean(x) xsdev = sdev(x) xx = correlate(gvar(xmean, xsdev), evalcorr(x)) self.assert_arraysequal(xmean, mean(xx)) self.assert_arraysequal(evalcov(x), evalcov(xx)) # with upper, verify corr = evalcorr(x) corr[1, 0] = 0. corr[1, 1] = 10. with self.assertRaises(ValueError): xx = correlate(gvar(xmean, xsdev), corr, upper=False, verify=True) xx = correlate(gvar(xmean, xsdev), corr, upper=True, verify=True) self.assert_arraysequal(xmean, mean(xx)) self.assert_arraysequal(evalcov(x), evalcov(xx)) # with lower, verify corr = evalcorr(x) corr[0, 1] = 0. corr[0, 0] = 0. with self.assertRaises(ValueError): xx = correlate(gvar(xmean, xsdev), corr, lower=False, verify=True) xx = correlate(gvar(xmean, xsdev), corr, lower=True, verify=True) self.assert_arraysequal(xmean, mean(xx)) self.assert_arraysequal(evalcov(x), evalcov(xx)) # matrix x.shape = (2, 1) xmean = mean(x) xsdev = sdev(x) xx = correlate(gvar(xmean, xsdev), evalcorr(x)) self.assert_arraysequal(xmean, mean(xx)) self.assert_arraysequal(evalcov(x), evalcov(xx)) # dict y = BufferDict() y['a'] = x[0, 0] y['b'] = x ymean = mean(y) ysdev = sdev(y) yy = correlate(gvar(ymean, ysdev), evalcorr(y)) for k in y: self.assert_arraysequal(mean(y[k]), mean(yy[k])) ycov = evalcov(y) yycov = evalcov(yy) for k in ycov: self.assert_arraysequal(ycov[k], yycov[k]) def test_evalcorr(self): " evalcorr(array) " x = gvar([1., 2.], [[64., 4.], [4., 16.]]) a, b = x c = evalcorr([a, b]) self.assertEqual(corr(a,b), 1/8.) self.assert_arraysequal(c, [[1., 1/8.], [1/8., 1.]]) c = evalcorr(x.reshape(2, 1)) self.assertEqual(c.shape, 2 * (2, 1)) self.assert_arraysequal(c.reshape(2,2), [[1., 1/8.], [1/8., 1.]]) y = dict(a=x[0], b=x) c = evalcorr(y) self.assertEqual(c['a', 'a'], [[1]]) self.assert_arraysequal(c['a', 'b'], [[1., 1/8.]]) self.assert_arraysequal(c['b', 'a'], [[1.], [1./8.]]) self.assert_arraysequal(c['b', 'b'], [[1., 1/8.], [1/8., 1.]]) def _tst_evalcov1(self): """ evalcov(array) """ a,b = gvar([1.,2.],[[64.,4.],[4.,36.]]) c = evalcov([a,b/2]) self.assert_arraysequal(c,[[ 64.,2.],[ 2.,9.]]) self.assertEqual(cov(a, b/2), 2.) c = evalcov([a/2,b]) self.assert_arraysequal(c,[[ 16.,2.],[ 2.,36.]]) z = gvar(8.,32.) c = evalcov([x,y,z]) self.assert_arraysequal(c[:2,:2],evalcov([x,y])) self.assertEqual(c[2,2],z.var) self.assert_arraysequal(c[:2,2],np.zeros(np.shape(c[:2,2]))) self.assert_arraysequal(c[2,:2],np.zeros(np.shape(c[2,:2]))) rc = evalcov([x+y/2,2*x-y]) rotn = np.array([[1.,1/2.],[2.,-1.]]) self.assert_arraysequal(rc,np.dot(rotn,np.dot(c[:2,:2],rotn.transpose()))) def test_evalcov1(self): """ evalcov(array) """ self._tst_evalcov1() tmp, gv._CONFIG['evalcov'] = gv._CONFIG['evalcov'], 1 self._tst_evalcov1() gv._CONFIG['evalcov'] = tmp def _tst_evalcov2(self): """ evalcov(dict) """ c = evalcov({0:x + y / 2, 1:2 * x - y}) rotn = np.array([[1., 1/2.], [2., -1.]]) cz = np.dot(rotn, np.dot(evalcov([x, y]), rotn.transpose())) c = [[c[0,0][0,0], c[0,1][0,0]], [c[1,0][0,0], c[1,1][0,0]]] self.assert_arraysequal(c, cz) c = evalcov(dict(x=x, y=[x, y])) self.assert_arraysequal(c['y','y'], evalcov([x, y])) self.assertEqual(c['x','x'], [[x.var]]) self.assert_arraysequal(c['x','y'], [[x.var, evalcov([x,y])[0,1]]]) self.assert_arraysequal(c['y','x'], c['x','y'].T) def test_evalcov2(self): """ evalcov(dict) """ self._tst_evalcov2() tmp, gv._CONFIG['evalcov'] = gv._CONFIG['evalcov'], 1 self._tst_evalcov2() gv._CONFIG['evalcov'] = tmp def test_sample(self): " sample(g) " glist = [ gvar('1(2)'), gv.gvar(['10(2)', '20(2)']) * gv.gvar('1(1)'), gv.gvar(dict(a='100(2)', b=['200(2)', '300(2)'])), ] for g in glist: ranseed(12) svdcut = 0.9 s1 = sample(g, svdcut=svdcut) ranseed(12) s2 = next(raniter(g, svdcut=svdcut)) self.assertEqual(str(s1), str(s2)) ranseed(12) eps = 0.9 s1 = sample(g, eps=eps) ranseed(12) s2 = next(raniter(g, eps=eps)) self.assertEqual(str(s1), str(s2)) @unittest.skipIf(FAST,"skipping test_raniter for speed") def test_raniter(self): """ raniter """ global x,y,gvar n = 1000 rtol = 5./n**0.5 x = gvar(x.mean, x.sdev) y = gvar(y.mean, y.sdev) f = raniter([x,y],n) ans = [fi for fi in f] # print(x, y, evalcov([x,y])) # print (ans) ans = np.array(ans).transpose() self.assertAlmostEqual(ans[0].mean(),x.mean,delta=x.sdev*rtol) self.assertAlmostEqual(ans[1].mean(),y.mean,delta=y.sdev*rtol) self.assert_arraysclose(np.cov(ans[0],ans[1]),evalcov([x,y]),rtol=rtol) @unittest.skipIf(FAST,"skipping test_raniter2 for speed") def test_raniter2(self): """ raniter & svd """ for svdcut in [1e-20,1e-2]: pr = BufferDict() pr[0] = gvar(1,1) pr[1] = pr[0]+gvar(0.1,1e-4) a0 = [] da = [] n = 10000 rtol = 5./n**0.5 # 5 sigma for p in raniter(pr,n,svdcut=svdcut): a0.append(p[0]) da.append(p[1]-p[0]) a0 = np.array(a0) da = np.array(da) dda = max(2*svdcut**0.5,1e-4) # largest eig is 2 -- hence 2*sqrt(svdcut) self.assertAlmostEqual(da.std(),dda,delta=rtol*dda) self.assertAlmostEqual(a0.mean(),1.,delta=rtol) self.assertAlmostEqual(da.mean(),0.1,delta=rtol*da.std()) def test_bootstrap_iter(self): """ bootstrap_iter """ p = BufferDict() p = gvar(1,1)*np.array([1,1])+gvar(0.1,1e-4)*np.array([1,-1]) p_sw = np.array([p[0]+p[1],p[0]-p[1]])/2. p_cov = evalcov(p_sw.flat) p_mean = mean(p_sw.flat) p_sdev = mean(p_sw.flat) for pb in bootstrap_iter(p,3,svdcut=1e-20): pb_sw = np.array([pb[0]+pb[1],pb[0]-pb[1]])/2. self.assert_arraysclose(p_cov,evalcov(pb_sw.flat)) dp = np.abs(mean(pb_sw.flat)-p_mean) self.assertGreater(p_sdev[0]*5,dp[0]) self.assertGreater(p_sdev[1]*5,dp[1]) for pb in bootstrap_iter(p,3,svdcut=1e-2): pb_sw = np.array([pb[0]+pb[1],pb[0]-pb[1]])/2. pb_mean = mean(pb_sw.flat) pb_sdev = sdev(pb_sw.flat) self.assertAlmostEqual(pb_sdev[0],p_sdev[0]) self.assertAlmostEqual(pb_sdev[1],p_sdev[0]/10.) dp = abs(pb_mean-p_mean) self.assertGreater(p_sdev[0]*5,dp[0]) self.assertGreater(p_sdev[0]*5./10.,dp[1]) def test_raniter3(self): """ raniter & BufferDict """ pr = BufferDict() pr['s'] = gvar(2.,4.) pr['v'] = [gvar(4.,8.),gvar(8.,16.)] pr['t'] = [[gvar(16.,32.),gvar(32.,64.)],[gvar(64.,128.),gvar(128.,256.)]] pr['ps'] = gvar(256.,512.) nran = 49 delta = 5./nran**0.5 # 5 sigma prmean = mean(pr) prsdev = sdev(pr) ans = dict((k,[]) for k in pr) for p in raniter(pr,nran): for k in p: ans[k].append(p[k]) for k in p: ansmean = np.mean(ans[k],axis=0) anssdev = np.std(ans[k],axis=0) pkmean = prmean[k] pksdev = prsdev[k] self.assertAlmostEqual(np.max(np.abs((pkmean-ansmean)/pksdev)),0.0,delta=delta) self.assertAlmostEqual(np.max(np.abs((pksdev-anssdev)/pksdev)),0.0,delta=delta) def test_SVD(self): """ SVD """ # error system with self.assertRaises(ValueError): SVD([1,2]) # non-singular x,y = gvar([1,1],[1,4]) cov = evalcov([(x+y)/2**0.5,(x-y)/2**0.5]) s = SVD(cov) e = s.val v = s.vec k = s.kappa self.assert_arraysclose(e,[1.,16.],rtol=1e-6) self.assert_arraysclose(e[0]/e[1],1./16.,rtol=1e-6) self.assert_arraysclose(np.dot(cov,v[0]),e[0]*v[0],rtol=1e-6) self.assert_arraysclose(np.dot(cov,v[1]),e[1]*v[1],rtol=1e-6) self.assertTrue(np.allclose([np.dot(v[0],v[0]),np.dot(v[1],v[1]),np.dot(v[0],v[1])], [1.,1.,0],rtol=1e-6)) self.assert_arraysclose(sum(np.outer(vi,vi)*ei for ei,vi in zip(e,v)), cov,rtol=1e-6) self.assertAlmostEqual(s.kappa,1/16.) # on-axis 0 cov = np.array([[4.,0.0], [0.0, 0.0]]) s = SVD(cov, rescale=False, svdcut=None) self.assertTrue(np.all(s.val == [0., 4.])) # singular case cov = evalcov([(x+y)/2**0.5,(x-y)/2**0.5,x,y]) s = SVD(cov) e,v,k = s.val,s.vec,s.kappa self.assert_arraysclose(e,[0,0,2.,32.],rtol=1e-6) self.assert_arraysclose(sum(np.outer(vi,vi)*ei for ei,vi in zip(e,v)), cov,rtol=1e-6) s = SVD(cov,svdcut=1e-4,compute_delta=True) e,v,k,d = s.val,s.vec,s.kappa,s.delta self.assert_arraysclose(e,[32*1e-4,32*1e-4,2.,32.],rtol=1e-6) ncov = sum(np.outer(vi,vi)*ei for ei,vi in zip(e,v))-evalcov(d) self.assert_arraysclose(cov,ncov,rtol=1e-6) s = SVD(cov,svdnum=2,compute_delta=True) e,v,k,d = s.val,s.vec,s.kappa,s.delta self.assert_arraysclose(e,[2.,32.],rtol=1e-6) self.assertTrue(d is None) s = SVD(cov,svdnum=3,svdcut=1e-4,compute_delta=True) e,v,k,d = s.val,s.vec,s.kappa,s.delta self.assert_arraysclose(e,[32*1e-4,2.,32.],rtol=1e-6) # s.delta s.decomp for rescale in [False,True]: mat = [[1.,.25],[.25,2.]] s = SVD(mat,rescale=rescale) if rescale==False: self.assertTrue(s.D is None) else: diag = np.diag(s.D) self.assert_arraysclose(np.diag(np.dot(diag,np.dot(mat,diag))), [1.,1.]) self.assert_arraysclose(mat, sum(np.outer(wj,wj) for wj in s.decomp(1))) s = SVD(mat,svdcut=0.9,compute_delta=True,rescale=rescale) mout = sum(np.outer(wj,wj) for wj in s.decomp(1)) self.assert_arraysclose(mat+evalcov(s.delta),mout) self.assertTrue(not np.allclose(mat,mout)) s = SVD(mat,rescale=rescale) minv = sum(np.outer(wj,wj) for wj in s.decomp(-1)) self.assert_arraysclose([[1.,0.],[0.,1.]],np.dot(mat,minv)) if rescale==False: m2 = sum(np.outer(wj,wj) for wj in s.decomp(2)) self.assert_arraysclose(mat,np.dot(m2,minv)) def test_diagonal_blocks(self): """ find_diagonal_blocks """ def make_blocks(*m_list): m_list = [np.asarray(m, float) for m in m_list] n = sum([m.shape[0] for m in m_list]) ans = np.zeros((n,n), float) i = 0 for m in m_list: j = i + m.shape[0] ans[i:j, i:j] = m i = j # mean is irrelevant return gvar(ans[0], ans) def compare_blocks(b1, b2): s1 = set([tuple(list(b1i)) for b1i in b1]) s2 = set([tuple(list(b2i)) for b2i in b2]) self.assertEqual(s1, s2) m = make_blocks( [[1]], [[1, 1], [1, 1]], [[1]] ) idx = [idx.tolist() for idx,bcov in evalcov_blocks(m)] compare_blocks(idx, [[0], [3], [1, 2]]) m = make_blocks( [[1, 0, 1], [0, 1, 0], [1, 0, 1]], [[1, 1], [1, 1]], [[1]], [[1]] ) idx = [idx.tolist() for idx,bcov in evalcov_blocks(m)] compare_blocks(idx, [[1], [5], [6], [0, 2], [3, 4]]) m = make_blocks( [[1, 0, 1, 1], [0, 1, 0, 1], [1, 0, 1, 1], [1, 1, 1, 1]], [[1, 1], [1, 1]], [[1]], [[1]] ) idx = [idx.tolist() for idx,bcov in evalcov_blocks(m)] compare_blocks(idx, [[6], [7], [0, 1, 2, 3] , [4, 5]]) def test_evalcov_blocks(self): def test_cov(g): if hasattr(g, 'keys'): g = BufferDict(g) g = g.flat[:] cov = np.zeros((len(g), len(g)), dtype=float) for idx, bcov in evalcov_blocks(g): cov[idx[:,None], idx] = bcov self.assertEqual(str(evalcov(g)), str(cov)) g = gv.gvar(5 * ['1(1)']) test_cov(g) g[-1] = g[0] + g[1] test_cov(g) test_cov(g * gv.gvar('2(1)')) g = gv.gvar(5 * ['1(1)']) g[0] = g[-1] + g[-2] test_cov(g) def test_evalcov_blocks_compress(self): def test_cov(g): if hasattr(g, 'keys'): g = BufferDict(g) blocks = evalcov_blocks(g, compress=True) g = g.flat[:] cov = np.zeros((len(g), len(g)), dtype=float) idx, bsdev = blocks[0] if len(idx) > 0: cov[idx, idx] = bsdev ** 2 for idx, bcov in blocks[1:]: cov[idx[:,None], idx] = bcov self.assertEqual(str(evalcov(g)), str(cov)) g = gv.gvar(5 * ['1(1)']) test_cov(g) test_cov(dict(g=g)) g[-1] = g[0] + g[1] test_cov(g) test_cov(dict(g=g)) test_cov(g * gv.gvar('2(1)')) g = gv.gvar(5 * ['1(1)']) g[0] = g[-1] + g[-2] test_cov(g) test_cov(dict(g=g)) g[1:] += g[:-1] test_cov(g) test_cov(dict(g=g)) def test_svd(self): """ svd """ def make_mat(wlist, n): ans = np.zeros((n,n), float) i, wgts = wlist[0] if len(i) > 0: ans[i, i] = np.array(wgts) ** 2 for i, wgts in wlist[1:]: for w in wgts: ans[i, i[:, None]] += np.outer(w, w) return ans def test_gvar(a, b): self.assertEqual(a.fmt(4), b.fmt(4)) def test_cov(wgts, cov, atol=1e-7): invcov = make_mat(wgts, cov.shape[0]) np.testing.assert_allclose( invcov.dot(cov), np.eye(*cov.shape), atol=atol ) np.testing.assert_allclose(svd.logdet, np.log(np.linalg.det(cov)), atol=atol) # diagonal f = gvar(['1(2)', '3(4)']) g, wgts = svd(f, svdcut=0.9, wgts=-1) test_gvar(g[0], f[0]) test_gvar(g[1], f[1]) test_cov(wgts, evalcov(g)) self.assertEqual(svd.nmod, 0) self.assertEqual(svd.eigen_range, 1.) # degenerate g, wgts = svd(3 * [gvar('1(1)')], svdcut=1e-10, wgts=-1) test_cov(wgts, evalcov(g), atol=1e-4) self.assertEqual(svd.nmod, 2) self.assertAlmostEqual(svd.eigen_range, 0.0) # blocks x = gvar(10 * ['1(1)']) x[:5] += gvar('1(1)') # half are correlated g = svd(x, svdcut=0.5) self.assertEqual(svd.nmod, 4) p = np.random.permutation(10) gp = svd(x[p], svdcut=0.5) self.assertEqual(svd.nmod, 4) invp = np.argsort(p) np.testing.assert_allclose(evalcov(g), evalcov(gp[invp]), atol=1e-7) np.testing.assert_allclose(mean(g), mean(gp[invp]), atol=1e-7) # cov[i,i] independent of i, cov[i,j] != 0 x, dx = gvar(['1(1)', '0.01(1)']) g, wgts = svd([(x+dx)/2, (x-dx)/2.], svdcut=0.2 ** 2, wgts=-1) y = g[0] + g[1] dy = g[0] - g[1] test_gvar(y, x) test_gvar(dy, gvar('0.01(20)')) test_cov(wgts, evalcov(g)) self.assertEqual(svd.nmod, 1) self.assertAlmostEqual(svd.eigen_range, 0.01**2) # negative svdcut x, dx = gvar(['1(1)', '0.01(1)']) g, wgts = svd([(x+dx)/2, (x-dx)/20.], svdcut=-0.2 ** 2, wgts=-1) y = g[0] + g[1] * 10 dy = g[0] - g[1] * 10 np.testing.assert_allclose(evalcov([y, dy]), [[1, 0], [0, 0]], atol=1e-7) test_gvar(y, x) test_gvar(dy, gvar('0(0)')) self.assertEqual(svd.dof, 1) self.assertAlmostEqual(svd.eigen_range, 0.01**2) # cov[i,i] independent of i, cov[i,j] != 0 --- cut too small x, dx = gvar(['1(1)', '0.01(1)']) g, wgts = svd([(x+dx)/2, (x-dx)/2.], svdcut=0.0099999** 2, wgts=-1) y = g[0] + g[1] dy = g[0] - g[1] test_gvar(y, x) test_gvar(dy, dx) test_cov(wgts, evalcov(g)) self.assertEqual(svd.nmod, 0) self.assertAlmostEqual(svd.eigen_range, 0.01**2) # cov[i,i] independent of i after rescaling, cov[i,j] != 0 # rescaling turns this into the previous case g, wgts = svd([(x+dx)/2., (x-dx)/20.], svdcut=0.2 ** 2, wgts=-1) y = g[0] + g[1] * 10. dy = g[0] - g[1] * 10. test_gvar(y, x) test_gvar(dy, gvar('0.01(20)')) test_cov(wgts, evalcov(g)) self.assertEqual(svd.nmod, 1) self.assertAlmostEqual(svd.eigen_range, 0.01**2) # dispersed correlations g2, g4 = gvar(['2(2)', '4(4)']) orig_g = np.array([g2, (x+dx)/2., g4, (x-dx)/20.]) g, wgts = svd(orig_g, svdcut=0.2 ** 2, wgts=-1) y = g[1] + g[3] * 10. dy = g[1] - g[3] * 10. test_gvar(y, x) test_gvar(dy, gvar('0.01(20)')) test_gvar(g[0], g2) test_gvar(g[2], g4) test_cov(wgts, evalcov(g)) self.assertEqual(svd.nmod, 1) self.assertAlmostEqual(svd.eigen_range, 0.01**2) self.assertEqual(svd.nblocks[1], 2) self.assertEqual(svd.nblocks[2], 1) # remove svd correction g -= g.correction y = g[1] + g[3] * 10. dy = g[1] - g[3] * 10. test_gvar(y, x) test_gvar(dy, dx) test_gvar(g[0], g2) test_gvar(g[2], g4) np.testing.assert_allclose(evalcov(g.flat), evalcov(orig_g), atol=1e-7) # noise=True x, dx = gvar(['1(1)', '0.01(1)']) g, wgts = svd([(x+dx)/2, (x-dx)/2.], svdcut=0.2 ** 2, wgts=-1, noise=True) y = g[0] + g[1] dy = g[0] - g[1] offsets = mean(g.correction) self.assertEqual(g.nmod, 1) self.assertAlmostEqual(offsets[0], -offsets[1]) self.assertGreater(chi2(g.correction[0]).Q, 0.01) self.assertLess(chi2(g.correction[0]).Q, 0.99) with self.assertRaises(AssertionError): test_gvar(y, x) test_gvar(dy, gvar('0.01(20)')) self.assertTrue(equivalent( g - g.correction, [(x+dx)/2, (x-dx)/2.] )) self.assertTrue(not equivalent( g, [(x+dx)/2, (x-dx)/2.] )) # bufferdict g = {} g[0] = (x+dx)/2. g[1] = (x-dx)/20. g, wgts = svd({0:(x+dx)/2., 1:(x-dx)/20.}, svdcut=0.2 ** 2, wgts=-1) assert isinstance(g, BufferDict) y = g[0] + g[1] * 10. dy = g[0] - g[1] * 10. test_gvar(y, x) test_gvar(dy, gvar('0.01(20)')) test_cov(wgts, evalcov(g.flat)) self.assertEqual(svd.nmod, 1) self.assertAlmostEqual(svd.eigen_range, 0.01**2) self.assertTrue(equivalent( g - g.correction, {0:(x+dx)/2, 1:(x-dx)/20.} )) self.assertTrue(not equivalent( g, {0:(x+dx)/2, 1:(x-dx)/20.} )) def test_valder(self): """ valder_var """ alist = [[1.,2.,3.]] a = valder([[1.,2.,3.]]) alist = np.array(alist) self.assertEqual(np.shape(a),np.shape(alist)) na = len(alist.flat) for i,(ai,ali) in enumerate(zip(a.flat,alist.flat)): der = np.zeros(na,float) der[i] = 1. self.assert_arraysequal(ai.der,der) self.assertEqual(ai.val,ali) def test_ranseed(self): """ ranseed """ f = raniter([x,y]) ranseed((1,2)) f1 = next(f) x1 = x() y1 = y() ranseed((1,2)) self.assert_arraysequal(f1,next(f)) self.assertEqual(x1,x()) self.assertEqual(y1,y()) # default initialization ranseed() f1 = next(f) ranseed(ranseed.seed) self.assert_arraysequal(f1, next(f)) def test_rebuild(self): """ rebuild """ gvar = gvar_factory() a = gvar([1.,2.],[[4.,2.],[2.,16.]]) b = a*gvar(1.,10.) c = rebuild(b) self.assert_arraysequal(c[0].der[-2:],b[0].der[:-1]) self.assert_arraysclose(evalcov(c),evalcov(b)) gvar = gvar_factory() c = rebuild({0:b[0],1:b[1]},gvar=gvar) c = np.array([c[0],c[1]]) self.assert_arraysequal(c[0].der,b[0].der[:-1]) self.assert_arraysclose(evalcov(c),evalcov(b) ) def test_chi2(self): """ chi2(g1, g2) """ # uncorrelated g = gvar([1., 2.], [1., 2.]) x = [2., 4.] ans = chi2(x, g) self.assertAlmostEqual(ans, 2., places=5) self.assertEqual(ans.dof, 2) self.assertAlmostEqual(ans.Q, 0.36787944, places=2) # correlated g = np.array([g[0]+g[1], g[0]-g[1]]) x = np.array([x[0]+x[1], x[0]-x[1]]) ans = chi2(x, g) self.assertAlmostEqual(ans, 2., places=5) self.assertEqual(ans.dof, 2) self.assertAlmostEqual(ans.Q, 0.36787944, places=2) # correlated with 0 mode and svdcut < 0 g = np.array([g[0], g[1], g[0]+g[1]]) x = np.array([x[0], x[1], x[0]+x[1]]) ans = chi2(x, g, svdcut=-1e-10) self.assertAlmostEqual(ans, 2., places=5) self.assertEqual(ans.dof, 2) self.assertAlmostEqual(ans.Q, 0.36787944, places=2) # dictionaries with different keys g = dict(a=gvar(1,1), b=[[gvar(2,2)], [gvar(3,3)], [gvar(4,4)]], c=gvar(5,5)) x = dict(a=2., b=[[4.], [6.]]) ans = chi2(x,g) self.assertAlmostEqual(ans, 3.) self.assertEqual(ans.dof, 3) self.assertAlmostEqual(ans.Q, 0.3916252, places=2) ans = chi2(g,x) self.assertAlmostEqual(ans, 3.) self.assertEqual(ans.dof, 3) self.assertAlmostEqual(ans.Q, 0.3916252, places=2) ans = chi2(2., gvar(1,1)) self.assertAlmostEqual(ans, 1.) self.assertEqual(ans.dof, 1) self.assertAlmostEqual(ans.Q, 0.31731051, places=2) # two dictionaries g1 = dict(a=gvar(1, 1), b=[gvar(2, 2)]) g2 = dict(a=gvar(2, 2), b=[gvar(4, 4)]) ans = chi2(g1, g2) self.assertAlmostEqual(ans, 0.2 + 0.2) self.assertEqual(ans.dof, 2) self.assertAlmostEqual(ans.Q, 0.81873075, places=2) def test_corr(self): """ rebuild (corr!=0) """ a = gvar([1., 2.], [3., 4.]) corr = 1. b = rebuild(a, corr=corr) self.assert_arraysclose(evalcov(a).diagonal(),evalcov(b).diagonal()) bcov = evalcov(b) self.assert_arraysclose(bcov[0,1],corr*(bcov[0,0]*bcov[1,1])**0.5) self.assert_arraysclose(bcov[1,0],bcov[0,1]) self.assert_arraysclose((b[1]-b[0]).sdev,1.0) self.assert_arraysclose((a[1]-a[0]).sdev,5.0) def test_filter(self): g = collections.OrderedDict([('a', 2.3), ('b', [gv.gvar('12(2)'), 3.]), ('c', 'string')]) gm = collections.OrderedDict([('a', 2.3), ('b', [2., 3.]), ('c', 'string')]) self.assertEqual(str(gv.filter(g, gv.sdev)), str(gm)) def test_pickle(self): """ pickle strategies """ for g in [ '1(5)', [['2(1)'], ['3(2)']], dict(a='4(2)', b=[['5(5)', '6(9)']]), ]: g1 = gvar(g) gtuple = (mean(g1), evalcov(g1)) gpickle = pickle.dumps(gtuple) g2 = gvar(pickle.loads(gpickle)) self.assertEqual(str(g1), str(g2)) self.assertEqual(str(evalcov(g1)), str(evalcov(g2))) def test_dump_load(self): dict = collections.OrderedDict gs = gv.gvar('1(2)') * gv.gvar('3(2)') ga = gv.gvar([2, 3], [[5., 1.], [1., 10.]]) gd = gv.gvar(dict(s='1(2)', v=['2(2)', '3(3)'], g='4(4)')) gd['v'] += gv.gvar('0(1)') gd[(1,3)] = gv.gvar('13(13)') gd['v'] = 1 / gd['v'] def _test(g, outputfile=None, test_cov=True): s = dump(g, outputfile=outputfile) d = load(s if outputfile is None else outputfile) self.assertEqual( str(g), str(d)) if test_cov: self.assertEqual( str(gv.evalcov(g)), str(gv.evalcov(d))) # cleanup if isinstance(outputfile, str): os.remove(outputfile) return d for g in [gs, ga, gd]: _test(g) _test(g, outputfile='xxx.pickle') _test(g, outputfile='xxx') gd['x'] = 5.0 _test(gd, test_cov=False) _test(gd, outputfile='xxx', test_cov=False) for g in [gs, ga, gd]: g = gv.mean(g) _test(g, test_cov=False) # misc types g = dict( s=set([1,2,12.2]), a=1, b=[1,[gv.gvar('3(1)') * gv.gvar('2(1)'), 4]], c=dict(a=gv.gvar(5 * ['1(2)']), b=np.array([[4]])), d=collections.deque([1., 2, gv.gvar('4(1)')]), e='a string', g=(3, 'hi', gv.gvar('-1(2)')), ) g['f'] = ['str', g['b'][1][0] * gv.gvar('5(2)')] d = _test(g, outputfile='xxx', test_cov=False) # dumping classes, without and with special methods g['C'] = C(gv.gvar(2 * ['3(4)']) * gv.gvar('10(1)'), 'str', (1,2,gv.gvar('2(1)'))) d = _test(g, test_cov=False) self.assertEqual(str(gv.evalcov(d['C'].x)), str(gv.evalcov(g['C'].x))) g['C'] = CC(gv.gvar(2 * ['3(4)']) * gv.gvar('10(1)'), 'str', 12.) d = gv.loads(gv.dumps(g)) self.assertEqual(d['C'].z, None) self.assertEqual(g['C'].z, 12.) self.assertEqual(str(gv.evalcov(d['C'].x)), str(gv.evalcov(g['C'].x))) def test_dump_load_errbudget(self): dict = collections.OrderedDict def _test(d, add_dependencies=False): d = gv.BufferDict(d) newd = loads(dumps(d, add_dependencies=add_dependencies)) str1 = str(d) + fmt_errorbudget( outputs=dict(a=d['a'], b=d['b']), inputs=dict(x=d['x'], y=d['y'], z=d['z']), ) d = newd str2 = str(d) + fmt_errorbudget( outputs=dict(a=d['a'], b=d['b']), inputs=dict(x=d['x'], y=d['y'], z=d['z']), ) self.assertEqual(str1, str2) # all primaries included x = gv.gvar('1(2)') y = gv.gvar('2(3)') ** 2 z = gv.gvar('3(4)') ** 0.5 u = gv.gvar([2, 3], [[5., 1.], [1., 10.]]) a = x*y b = x*y - z d = dict(a=a, b=b, x=x, y=y, z=z, u=u, uu=u*gv.gvar('1(1)'), xx=x) _test(d) del d['xx'] _test(d) # a,b are primaries a, b = gvar(mean([d['a'], d['b']]), evalcov([d['a'], d['b']])) d['a'] = a d['b'] = b _test(d) # no primaries included explicitly x = gv.gvar('1(2)') + gv.gvar('1(2)') y = gv.gvar('2(3)') ** 2 + gv.gvar('3(1)') z = gv.gvar('3(4)') ** 0.5 + gv.gvar('4(1)') a = x*y b = x*y - z + gv.gvar('10(1)') d = dict(a=a, b=b, x=x, y=y, z=z, uu=u*gv.gvar('1(1)'), xx=x) _test(d, add_dependencies=True) # mixture x = gv.gvar('1(2)') y = gv.gvar('2(3)') ** 2 + gv.gvar('3(1)') z = gv.gvar('3(4)') ** 0.5 + gv.gvar('4(1)') a = x*y b = x*y - z + gv.gvar('10(1)') d = dict(a=a, b=b, x=x, y=y, z=z, u=u, uu=u*gv.gvar('1(1)'), xx=x) _test(d, add_dependencies=True) def test_more_dump(self): " check on particular issue " x = gv.gvar(4 * ['1(2)']) x[0] -= x[1] * gv.gvar('1(10)') x[2] += x[1] str1 = str(x) + str(evalcov(x)) x = loads(dumps(x)) str2 = str(x) + str(evalcov(x)) self.assertEqual(str1, str2) def test_dumps_loads(self): dict = collections.OrderedDict gs = gv.gvar('1(2)') ga = (gv.gvar(['2(2)', '3(3)']) + gv.gvar('0(1)') ) gd = gv.gvar(dict(s='1(2)', v=['2(2)', '3(3)'], g='4(4)')) gd['v'] += gv.gvar('0(1)') gd[(1,3)] = gv.gvar('13(13)') gd['v'] = 1 / gd['v'] def _test(g): s = dumps(g) d = loads(s) self.assertEqual( str(g), str(d)) self.assertEqual( str(gv.evalcov(g)), str(gv.evalcov(d))) for g in [gs, ga, gd]: _test(g) ############### def test_gdump_gload(self): gs = gv.gvar('1(2)') * gv.gvar('3(2)') ga = gv.gvar([2, 3], [[5., 1.], [1., 10.]]) gd = gv.gvar(dict(s='1(2)', v=['2(2)', '3(3)'], g='4(4)')) gd['v'] += gv.gvar('0(1)') gd[(1,3)] = gv.gvar('13(13)') gd['v'] = 1 / gd['v'] def _test(g, outputfile=None, method=None): s = gdump(g, outputfile=outputfile, method=method) d = gload(s if outputfile is None else outputfile, method=method) self.assertEqual( str(g), str(d)) self.assertEqual( str(gv.evalcov(g)), str(gv.evalcov(d))) # cleanup if isinstance(outputfile, str): os.remove(outputfile) for g in [gs, ga, gd]: _test(g) _test(g, outputfile='xxx.json') _test(g, outputfile='xxx.pickle') _test(g, outputfile='xxx') _test(g, outputfile='xxx', method='pickle') _test(g, method='json') _test(g, method='pickle') _test(g, method='dict') def test_gdump_gload_errbudget(self): def _test(d, add_dependencies=False): d = gv.BufferDict(d) newd = gloads(gdumps(d, add_dependencies=add_dependencies)) str1 = str(d) + fmt_errorbudget( outputs=dict(a=d['a'], b=d['b']), inputs=dict(x=d['x'], y=d['y'], z=d['z']), ) d = newd str2 = str(d) + fmt_errorbudget( outputs=dict(a=d['a'], b=d['b']), inputs=dict(x=d['x'], y=d['y'], z=d['z']), ) self.assertEqual(str1, str2) # all primaries included x = gv.gvar('1(2)') y = gv.gvar('2(3)') ** 2 z = gv.gvar('3(4)') ** 0.5 u = gv.gvar([2, 3], [[5., 1.], [1., 10.]]) a = x*y b = x*y - z d = dict(a=a, b=b, x=x, y=y, z=z, u=u, uu=u*gv.gvar('1(1)'), xx=x) _test(d) del d['xx'] _test(d) # a,b are primaries a, b = gvar(mean([d['a'], d['b']]), evalcov([d['a'], d['b']])) d['a'] = a d['b'] = b _test(d) # no primaries included explicitly x = gv.gvar('1(2)') + gv.gvar('1(2)') y = gv.gvar('2(3)') ** 2 + gv.gvar('3(1)') z = gv.gvar('3(4)') ** 0.5 + gv.gvar('4(1)') a = x*y b = x*y - z + gv.gvar('10(1)') d = dict(a=a, b=b, x=x, y=y, z=z, uu=u*gv.gvar('1(1)'), xx=x) _test(d, add_dependencies=True) # mixture x = gv.gvar('1(2)') y = gv.gvar('2(3)') ** 2 + gv.gvar('3(1)') z = gv.gvar('3(4)') ** 0.5 + gv.gvar('4(1)') a = x*y b = x*y - z + gv.gvar('10(1)') d = dict(a=a, b=b, x=x, y=y, z=z, u=u, uu=u*gv.gvar('1(1)'), xx=x) _test(d, add_dependencies=True) def test_more_gdump(self): " check on particular issue " x = gv.gvar(4 * ['1(2)']) x[0] -= x[1] * gv.gvar('1(10)') x[2] += x[1] str1 = str(x) + str(evalcov(x)) x = gloads(gdumps(x)) str2 = str(x) + str(evalcov(x)) self.assertEqual(str1, str2) def test_gdumps_gloads(self): gs = gv.gvar('1(2)') ga = (gv.gvar(['2(2)', '3(3)']) + gv.gvar('0(1)') ) gd = gv.gvar(dict(s='1(2)', v=['2(2)', '3(3)'], g='4(4)')) gd['v'] += gv.gvar('0(1)') gd[(1,3)] = gv.gvar('13(13)') gd['v'] = 1 / gd['v'] # json (implicit) def _test(g): s = gdumps(g) d = gloads(s) self.assertEqual( str(g), str(d)) self.assertEqual( str(gv.evalcov(g)), str(gv.evalcov(d))) for g in [gs, ga, gd]: _test(g) # json def _test(g): s = gdumps(g, method='json') d = gloads(s) self.assertEqual( str(g), str(d)) self.assertEqual( str(gv.evalcov(g)), str(gv.evalcov(d))) for g in [gs, ga, gd]: _test(g) # pickle def _test(g): s = gdumps(g, method='pickle') d = gloads(s) self.assertEqual( str(g), str(d)) self.assertEqual( str(gv.evalcov(g)), str(gv.evalcov(d))) for g in [gs, ga, gd]: _test(g) ################ def test_oldload(self): gd = gv.gvar(dict(s='1(2)', v=['2(2)', '3(3)'], g='4(4)')) for g in [gd, gd['s'], gd['v']]: with warnings.catch_warnings(): warnings.simplefilter("ignore") g = gv.gvar(dict(s='1(2)', v=['2(2)', '3(3)'], g='4(4)')) olddump(g, 'xxx.p') d = load('xxx.p') assert str(g) == str(d) assert str(gv.evalcov(g)) == str(gv.evalcov(d)) olddump(g, 'xxx.json', method='json') d = load('xxx.json', method='json') assert str(g) == str(d) assert str(gv.evalcov(g)) == str(gv.evalcov(d)) def test_dependencies(self): def _test(g): dep = dependencies(g) new_g = g.mean + sum(dep * g.deriv(dep)) self.assertEqual(str(new_g - g), str(gvar('0(0)'))) self.assertTrue(equivalent(g, new_g)) x = gv.gvar('1(2)') y = gv.gvar('2(3)') ** 2 z = gv.gvar('3(4)') ** 0.5 * y _test(x * y) _test(x * y - z) self.assertEqual(len(dependencies([y, x])), 0) self.assertEqual(len(dependencies([y, 'string', x])), 0) self.assertEqual(len(dependencies([y, x, x**2, 2*y])), 0) self.assertEqual(len(dependencies([x*y, x])), 1) self.assertEqual(len(dependencies([x*y, x, x, x])), 1) self.assertEqual(len(dependencies([x*y, x], all=True)), 2) self.assertEqual(len(dependencies([x*y, x, 'string'], all=True)), 2) self.assertEqual(len(dependencies([x*y, x, x, x], all=True)), 2) self.assertTrue(missing_dependencies([x*y, x])) self.assertTrue(missing_dependencies([x*y, x+y, x, x])) self.assertTrue(not missing_dependencies([y, x])) self.assertTrue(not missing_dependencies([x*y, x, y])) def test_gammaQ(self): " gammaQ(a, x) " cases = [ (2.371, 5.243, 0.05371580082389009, 0.9266599665892222), (20.12, 20.3, 0.4544782602230986, 0.4864172139106905), (100.1, 105.2, 0.29649013488390663, 0.6818457585776236), (1004., 1006., 0.4706659307021259, 0.5209695379094582), ] for a, x, gax, gxa in cases: np.testing.assert_allclose(gax, gv._utilities.gammaQ(a, x), rtol=0.01) np.testing.assert_allclose(gxa, gv._utilities.gammaQ(x, a), rtol=0.01) def test_erf(self): " erf(x) " for x in [-1.1, 0.2]: self.assertAlmostEqual(erf(x), math.erf(x)) x = [[-1.1], [0.2]] np.testing.assert_allclose(erf(x), [[math.erf(-1.1)], [math.erf(0.2)]]) x = gv.gvar('0(2)') erfx = erf(x) self.assertAlmostEqual(erfx.mean, math.erf(0)) self.assertAlmostEqual( erfx.sdev, 2 * (math.erf(1e-10) - math.erf(-1e-10)) / 2e-10 ) x = gv.gvar('1.5(2)') self.assertAlmostEqual(erf(x).mean, math.erf(x.mean)) x = gv.gvar(['0(2)', '1.5(2)']) erfx = erf(x) self.assertAlmostEqual(erfx[0].mean, math.erf(x[0].mean)) self.assertAlmostEqual(erfx[1].mean, math.erf(x[1].mean)) def test_equivalent(self): " equivalent(g1, g2) " x = gvar(['1(1)', '2(2)']) y = gvar(['1(1)', '2(2)']) u = 2 ** 0.5 * np.array([[0.5, 0.5],[-0.5, 0.5]]) ux = u.dot(x) uTy = u.T.dot(y) ux_y = ux + y xnew = u.T.dot(ux_y) - uTy self.assertTrue(equivalent(x, xnew)) self.assertTrue(not equivalent(x, y)) self.assertTrue(equivalent(x[0], xnew[0])) d = dict(x=x, y0=y[0]) dnew = dict(x=xnew, y0=y[0]) self.assertTrue(equivalent(d, dnew)) dnew = dict(x=y, y0=y[0]) self.assertTrue(not equivalent(d, dnew)) dnew = dict(x=xnew, y0=x[0]) self.assertTrue(not equivalent(d, dnew)) def test_is_primary(self): " is_primary(g) " self.assertTrue(gvar('1(1)').is_primary()) self.assertTrue((2 * gvar('1(1)')).is_primary()) self.assertFalse((gvar('2(1)') * gvar('1(1)')).is_primary()) gs = gvar('1(1)') ga = gvar(2 * [3 * ['1(1)']]) gd = dict(s=gs, a=ga) self.assertEqual(is_primary(gs), True) self.assertEqual(is_primary(ga).tolist(), 2 * [3 * [True]]) self.assertEqual(is_primary(gd).buf.tolist(), 7 * [True]) self.assertEqual(is_primary([gs, gs]).tolist(), [True, False]) gs = gs + gvar('1(1)') ga[0, 0] += gvar('2(1)') ga[1, 0] *= 5. gd = BufferDict() gd['s'] = gs gd['a'] = ga self.assertEqual(is_primary(gs), False) self.assertEqual(is_primary(ga).tolist(), [[False, True, True], [True, True, True]]) self.assertEqual(is_primary(gd).buf.tolist(), [False, False] + 5 * [True]) def test_disassemble(self): " d = disassemble(g); reassemble(d) " # gvar g = gvar('1(2)') gn = reassemble(disassemble(g), gvar.cov) d = gn - g self.assertEqual(d.mean, 0.0) self.assertEqual(d.sdev, 0.0) # array g = gvar([['1(2)', '2(3)'], ['3(4)', '4(5)']]) gn = reassemble(disassemble(g), gvar.cov) self.assertEqual(g.shape, gn.shape) d = gn - g self.assertTrue(np.all(gv.mean(d) == 0.0)) self.assertTrue(np.all(gv.sdev(d) == 0.0)) # dict g = gvar( dict(s=gvar('1(2)'), a=gvar([['1(2)', '2(3)'], ['3(4)', '4(5)']])) ) gn = reassemble(disassemble(g), gvar.cov) for k in g: d = gn[k] - g[k] self.assertTrue(np.all(gv.mean(d) == 0.0)) self.assertTrue(np.all(gv.mean(d) == 0.0)) @unittest.skipIf(FAST,"skipping test_pdfstats for speed") def test_pdfstats(self): " PDFStatistics(moments) " x = gv.gvar('3.0(4)') avgs = np.zeros((10,4), float) for i in range(10): moments = np.zeros(4, float) for xi in gv.raniter(x, 100): moments += xi ** np.arange(1, 5) s = PDFStatistics(moments / 100.) avgs[i] = [s.mean, s.sdev, s.skew, s.ex_kurt] mean = np.mean(avgs,axis=0) sdev = np.std(avgs, axis=0) diff = gvar(mean, sdev) - [x.mean, x.sdev, 0., 0.] self.assertTrue( np.all(np.fabs(gv.mean(diff)) < 5 * gv.sdev(diff)) ) @unittest.skipIf(not have_vegas, "vegas not installed") @unittest.skipIf(FAST,"skipping test_pdfstatshist for speed") def test_pdfstatshist(self): " PDFStatistics(histogram) " g = gv.gvar('2(1.0)') hist = PDFHistogram(g + 0.1, nbin=50, binwidth=0.2) integ = vegas.PDFIntegrator(g) integ(neval=1000, nitn=5) def f(p): return hist.count(p) results = integ(f, neval=1000, nitn=5,adapt=False) for stats in [ PDFStatistics(histogram=(hist.bins, results)), hist.analyze(results).stats ]: self.assertTrue( abs(stats.median.mean - g.mean) < 5 * stats.median.sdev ) self.assertTrue( abs(stats.plus.mean - g.sdev) < 5 * stats.plus.sdev ) self.assertTrue( abs(stats.minus.mean - g.sdev) < 5 * stats.minus.sdev ) def test_regulate(self): D = np.array([1., 2., 3.]) corr = np.array([[1., .1, .2], [.1, 1., .3], [.2, .3, 1.]]) cov = D[:, None] * corr * D[None, :] g1 = gvar(1, 10) g2 = gvar(3 * [2], cov) g3 = gvar(3 * [3], 2 * cov) g = np.concatenate(([g1], g2, g3)) cov = evalcov(g) eps = 0.25 norm = np.linalg.norm(evalcorr(g), np.inf) gr = regulate(g, eps=eps / norm, wgts=False) self.assertTrue(gv.equivalent(gr - gr.correction, g)) self.assertEqual(g.size, gr.dof) self.assertEqual(g.size - 1, gr.nmod) self.assertAlmostEqual(gr.eps, eps / norm) self.assertEqual(gr.svdcut, None) covr = evalcov(gr) np.testing.assert_allclose(covr[0, :], cov[0, :]) np.testing.assert_allclose(covr[:, 0], cov[:, 0]) covr[1:, 1:][np.diag_indices_from(covr[1:, 1:])] -= eps * cov[1:, 1:].diagonal() np.testing.assert_allclose(covr[1:, 1:], cov[1:, 1:]) gr, dummy = regulate(g, eps=eps / norm, wgts=True) self.assertTrue(gv.equivalent(gr - gr.correction, g)) self.assertEqual(g.size - 1, gr.nmod) self.assertEqual(g.size, gr.dof) covr = evalcov(gr) np.testing.assert_allclose(covr[0, :], cov[0, :]) np.testing.assert_allclose(covr[:, 0], cov[:, 0]) covr[1:, 1:][np.diag_indices_from(covr[1:, 1:])] -= eps * cov[1:, 1:].diagonal() np.testing.assert_allclose(covr[1:, 1:], cov[1:, 1:]) def test_regulate_svdcut(self): " regulate -> svd " D = np.array([1., 2., 3.]) corr = np.array([[1., .1, .2], [.1, 1., .3], [.2, .3, 1.]]) cov = D[:, None] * corr * D[None, :] g1 = gvar(1, 10) g2 = gvar(3 * [2], cov) g3 = gvar(3 * [3], 2 * cov) g = np.concatenate(([g1], g2, g3)) svdcut = 0.25 # verify that svd is being called in each case gr = regulate(g, svdcut=svdcut, wgts=False) self.assertTrue(gv.equivalent(gr - gr.correction, g)) self.assertEqual(gr.svdcut, svdcut) self.assertEqual(gr.eps, None) gr = regulate(g, wgts=False) self.assertTrue(gv.equivalent(gr - gr.correction, g)) self.assertEqual(gr.svdcut, 1e-12) # default self.assertEqual(gr.eps, None) gr = regulate(g, svdcut=svdcut, eps=svdcut, wgts=False) self.assertTrue(gv.equivalent(gr - gr.correction, g)) self.assertEqual(gr.svdcut, svdcut) self.assertEqual(gr.eps, None) def test_regulate_singular(self): D = np.array([1., 2., 3.]) # two zero eigenvalues corr = np.array([[1., 1., 1.], [1., 1., 1.], [1.,1.,1.]]) cov = D[:, None] * corr * D[None, :] g1 = gvar(1, 10) g2 = gvar(3 * [2], cov) g3 = gvar(3 * [3], 2 * cov) g = np.concatenate(([g1], g2, g3)) cov = evalcov(g) corr = evalcorr(g) eps = 0.1 norm = np.linalg.norm(evalcorr(g), np.inf) gr = regulate(g, eps=eps / norm, wgts=False) self.assertTrue(gv.equivalent(gr - gr.correction, g)) covr = evalcov(gr) np.testing.assert_allclose(covr[0, :], cov[0, :]) np.testing.assert_allclose(covr[:, 0], cov[:, 0]) covr[1:, 1:][np.diag_indices_from(covr[1:, 1:])] -= eps * cov[1:, 1:].diagonal() np.testing.assert_allclose(covr[1:, 1:], cov[1:, 1:]) gr, dummy = regulate(g, eps=eps / norm, wgts=True) self.assertTrue(gv.equivalent(gr - gr.correction, g)) covr = evalcov(gr) np.testing.assert_allclose(covr[0, :], cov[0, :]) np.testing.assert_allclose(covr[:, 0], cov[:, 0]) covr[1:, 1:][np.diag_indices_from(covr[1:, 1:])] -= eps * cov[1:, 1:].diagonal() np.testing.assert_allclose(covr[1:, 1:], cov[1:, 1:]) with self.assertRaises(np.linalg.LinAlgError): # det(corr)=0, so this should trigger an error gr, dummy = regulate(g, eps=0, wgts=True) def test_regulate_dict(self): D = np.array([1., 2., 3.]) corr = np.array([[1., .1, .2], [.1, 1., .3], [.2, .3, 1.]]) cov = D[:, None] * corr * D[None, :] g = BufferDict() g[1] = gvar(1, 10) g[2] = gvar(3 * [2], cov) g[3] = gvar(3 * [3], 2 * cov) cov = evalcov(g.flat) eps = 0.1 norm = np.linalg.norm(evalcorr(g.flat), np.inf) gr = regulate(g, eps=eps / norm, wgts=False) self.assertTrue(gv.equivalent(gr - gr.correction, g)) covr = evalcov(gr.flat) np.testing.assert_allclose(covr[0, :], cov[0, :]) np.testing.assert_allclose(covr[:, 0], cov[:, 0]) covr[1:, 1:][np.diag_indices_from(covr[1:, 1:])] -= eps * cov[1:, 1:].diagonal() np.testing.assert_allclose(covr[1:, 1:], cov[1:, 1:]) gr, dummy = regulate(g, eps=eps / norm, wgts=True) self.assertTrue(gv.equivalent(gr - gr.correction, g)) covr = evalcov(gr.flat) np.testing.assert_allclose(covr[0, :], cov[0, :]) np.testing.assert_allclose(covr[:, 0], cov[:, 0]) covr[1:, 1:][np.diag_indices_from(covr[1:, 1:])] -= eps * cov[1:, 1:].diagonal() np.testing.assert_allclose(covr[1:, 1:], cov[1:, 1:]) def test_regulate_wgts(self): D = np.array([1., 2., 3.]) corr = np.array([[1., .1, .2], [.1, 1., .3], [.2, .3, 1.]]) cov = D[:, None] * corr * D[None, :] g1 = gvar(1, 10) g2 = gvar(3 * [2], cov) g3 = gvar(3 * [3], 2 * cov) g = np.concatenate(([g1], g2, g3)) gr, i_wgts = regulate(g, eps=1e-15, wgts=1) covr = np.zeros((g.size, g.size), dtype=float) i, wgts = i_wgts[0] if len(i) > 0: covr[i, i] = np.array(wgts) ** 2 for i, wgts in i_wgts[1:]: covr[i[:, None], i] = (wgts.T).dot(wgts) # wgts.T @ wgts np.testing.assert_allclose(numpy.log(numpy.linalg.det(covr)), gr.logdet) self.assertEqual(gr.nmod, 6) np.testing.assert_allclose(covr[0,0], 100.) np.testing.assert_allclose(covr[1:4,1:4], cov) np.testing.assert_allclose(covr[4:7,4:7], 2 * cov) gr, i_wgts = regulate(g, eps=1e-15, wgts=-1) invcovr = np.zeros((g.size, g.size), dtype=float) i, wgts = i_wgts[0] if len(i) > 0: invcovr[i, i] = np.array(wgts) ** 2 for i, wgts in i_wgts[1:]: invcovr[i[:, None], i] += (wgts.T).dot(wgts) # wgts.T @ wgts np.testing.assert_allclose(invcovr[0,0], 1/100.) np.testing.assert_allclose(invcovr[1:4,1:4], np.linalg.inv(cov)) np.testing.assert_allclose(invcovr[4:7,4:7], 0.5 * np.linalg.inv(cov)) class C: def __init__(self, x, y, z): self.x = x self.y = y self.z = z def __str__(self): return str(self.__dict__) def __repr__(self): return str(self.__dict__) class CC: def __init__(self, x, y, z): self.x = x self.y = y self.z = z def __str__(self): return str(self.__dict__) def __repr__(self): return str(self.__dict__) def _remove_gvars(self, gvlist): c = copy.copy(self) c.z = None c._dict__ = gv.remove_gvars(c.__dict__, gvlist) return c def _distribute_gvars(self, gvlist): self.__dict__ = gv.distribute_gvars(self.__dict__, gvlist) return self if __name__ == '__main__': unittest.main()
gplepage/gvar
tests/test_gvar.py
Python
gpl-3.0
91,671
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are also available at https://curl.se/docs/copyright.html. * * You may opt to use, copy, modify, merge, publish, distribute and/or sell * copies of the Software, and permit persons to whom the Software is * furnished to do so, under the terms of the COPYING file. * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY * KIND, either express or implied. * ***************************************************************************/ #include "server_setup.h" /* * curl's test suite Real Time Streaming Protocol (RTSP) server. * * This source file was started based on curl's HTTP test suite server. */ #ifdef HAVE_SIGNAL_H #include <signal.h> #endif #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif #ifdef HAVE_NETINET_IN6_H #include <netinet/in6.h> #endif #ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> #endif #ifdef HAVE_NETDB_H #include <netdb.h> #endif #ifdef HAVE_NETINET_TCP_H #include <netinet/tcp.h> /* for TCP_NODELAY */ #endif #define ENABLE_CURLX_PRINTF /* make the curlx header define all printf() functions to use the curlx_* versions instead */ #include "curlx.h" /* from the private lib dir */ #include "getpart.h" #include "util.h" #include "server_sockaddr.h" /* include memdebug.h last */ #include "memdebug.h" #ifdef USE_WINSOCK #undef EINTR #define EINTR 4 /* errno.h value */ #undef ERANGE #define ERANGE 34 /* errno.h value */ #endif #ifdef ENABLE_IPV6 static bool use_ipv6 = FALSE; #endif static const char *ipv_inuse = "IPv4"; static int serverlogslocked = 0; #define REQBUFSIZ 150000 #define REQBUFSIZ_TXT "149999" static long prevtestno = -1; /* previous test number we served */ static long prevpartno = -1; /* previous part number we served */ static bool prevbounce = FALSE; /* instructs the server to increase the part number for a test in case the identical testno+partno request shows up again */ #define RCMD_NORMALREQ 0 /* default request, use the tests file normally */ #define RCMD_IDLE 1 /* told to sit idle */ #define RCMD_STREAM 2 /* told to stream */ typedef enum { RPROT_NONE = 0, RPROT_RTSP = 1, RPROT_HTTP = 2 } reqprot_t; #define SET_RTP_PKT_CHN(p,c) ((p)[1] = (unsigned char)((c) & 0xFF)) #define SET_RTP_PKT_LEN(p,l) (((p)[2] = (unsigned char)(((l) >> 8) & 0xFF)), \ ((p)[3] = (unsigned char)((l) & 0xFF))) struct httprequest { char reqbuf[REQBUFSIZ]; /* buffer area for the incoming request */ size_t checkindex; /* where to start checking of the request */ size_t offset; /* size of the incoming request */ long testno; /* test number found in the request */ long partno; /* part number found in the request */ bool open; /* keep connection open info, as found in the request */ bool auth_req; /* authentication required, don't wait for body unless there's an Authorization header */ bool auth; /* Authorization header present in the incoming request */ size_t cl; /* Content-Length of the incoming request */ bool digest; /* Authorization digest header found */ bool ntlm; /* Authorization ntlm header found */ int pipe; /* if non-zero, expect this many requests to do a "piped" request/response */ int skip; /* if non-zero, the server is instructed to not read this many bytes from a PUT/POST request. Ie the client sends N bytes said in Content-Length, but the server only reads N - skip bytes. */ int rcmd; /* doing a special command, see defines above */ reqprot_t protocol; /* request protocol, HTTP or RTSP */ int prot_version; /* HTTP or RTSP version (major*10 + minor) */ bool pipelining; /* true if request is pipelined */ char *rtp_buffer; size_t rtp_buffersize; }; static int ProcessRequest(struct httprequest *req); static void storerequest(char *reqbuf, size_t totalsize); #define DEFAULT_PORT 8999 #ifndef DEFAULT_LOGFILE #define DEFAULT_LOGFILE "log/rtspd.log" #endif const char *serverlogfile = DEFAULT_LOGFILE; #define RTSPDVERSION "curl test suite RTSP server/0.1" #define REQUEST_DUMP "log/server.input" #define RESPONSE_DUMP "log/server.response" /* very-big-path support */ #define MAXDOCNAMELEN 140000 #define MAXDOCNAMELEN_TXT "139999" #define REQUEST_KEYWORD_SIZE 256 #define REQUEST_KEYWORD_SIZE_TXT "255" #define CMD_AUTH_REQUIRED "auth_required" /* 'idle' means that it will accept the request fine but never respond any data. Just keep the connection alive. */ #define CMD_IDLE "idle" /* 'stream' means to send a never-ending stream of data */ #define CMD_STREAM "stream" #define END_OF_HEADERS "\r\n\r\n" enum { DOCNUMBER_NOTHING = -7, DOCNUMBER_QUIT = -6, DOCNUMBER_BADCONNECT = -5, DOCNUMBER_INTERNAL = -4, DOCNUMBER_CONNECT = -3, DOCNUMBER_WERULEZ = -2, DOCNUMBER_404 = -1 }; /* sent as reply to a QUIT */ static const char *docquit = "HTTP/1.1 200 Goodbye" END_OF_HEADERS; /* sent as reply to a CONNECT */ static const char *docconnect = "HTTP/1.1 200 Mighty fine indeed" END_OF_HEADERS; /* sent as reply to a "bad" CONNECT */ static const char *docbadconnect = "HTTP/1.1 501 Forbidden you fool" END_OF_HEADERS; /* send back this on HTTP 404 file not found */ static const char *doc404_HTTP = "HTTP/1.1 404 Not Found\r\n" "Server: " RTSPDVERSION "\r\n" "Connection: close\r\n" "Content-Type: text/html" END_OF_HEADERS "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n" "<HTML><HEAD>\n" "<TITLE>404 Not Found</TITLE>\n" "</HEAD><BODY>\n" "<H1>Not Found</H1>\n" "The requested URL was not found on this server.\n" "<P><HR><ADDRESS>" RTSPDVERSION "</ADDRESS>\n" "</BODY></HTML>\n"; /* send back this on RTSP 404 file not found */ static const char *doc404_RTSP = "RTSP/1.0 404 Not Found\r\n" "Server: " RTSPDVERSION END_OF_HEADERS; /* Default size to send away fake RTP data */ #define RTP_DATA_SIZE 12 static const char *RTP_DATA = "$_1234\n\0asdf"; static int ProcessRequest(struct httprequest *req) { char *line = &req->reqbuf[req->checkindex]; bool chunked = FALSE; static char request[REQUEST_KEYWORD_SIZE]; static char doc[MAXDOCNAMELEN]; static char prot_str[5]; int prot_major, prot_minor; char *end = strstr(line, END_OF_HEADERS); logmsg("ProcessRequest() called with testno %ld and line [%s]", req->testno, line); /* try to figure out the request characteristics as soon as possible, but only once! */ if((req->testno == DOCNUMBER_NOTHING) && sscanf(line, "%" REQUEST_KEYWORD_SIZE_TXT"s %" MAXDOCNAMELEN_TXT "s %4s/%d.%d", request, doc, prot_str, &prot_major, &prot_minor) == 5) { char *ptr; char logbuf[256]; if(!strcmp(prot_str, "HTTP")) { req->protocol = RPROT_HTTP; } else if(!strcmp(prot_str, "RTSP")) { req->protocol = RPROT_RTSP; } else { req->protocol = RPROT_NONE; logmsg("got unknown protocol %s", prot_str); return 1; } req->prot_version = prot_major*10 + prot_minor; /* find the last slash */ ptr = strrchr(doc, '/'); /* get the number after it */ if(ptr) { FILE *stream; if((strlen(doc) + strlen(request)) < 200) msnprintf(logbuf, sizeof(logbuf), "Got request: %s %s %s/%d.%d", request, doc, prot_str, prot_major, prot_minor); else msnprintf(logbuf, sizeof(logbuf), "Got a *HUGE* request %s/%d.%d", prot_str, prot_major, prot_minor); logmsg("%s", logbuf); if(!strncmp("/verifiedserver", ptr, 15)) { logmsg("Are-we-friendly question received"); req->testno = DOCNUMBER_WERULEZ; return 1; /* done */ } if(!strncmp("/quit", ptr, 5)) { logmsg("Request-to-quit received"); req->testno = DOCNUMBER_QUIT; return 1; /* done */ } ptr++; /* skip the slash */ /* skip all non-numericals following the slash */ while(*ptr && !ISDIGIT(*ptr)) ptr++; req->testno = strtol(ptr, &ptr, 10); if(req->testno > 10000) { req->partno = req->testno % 10000; req->testno /= 10000; } else req->partno = 0; msnprintf(logbuf, sizeof(logbuf), "Requested test number %ld part %ld", req->testno, req->partno); logmsg("%s", logbuf); stream = test2fopen(req->testno); if(!stream) { int error = errno; logmsg("fopen() failed with error: %d %s", error, strerror(error)); logmsg("Couldn't open test file %ld", req->testno); req->open = FALSE; /* closes connection */ return 1; /* done */ } else { char *cmd = NULL; size_t cmdsize = 0; int num = 0; int rtp_channel = 0; int rtp_size = 0; int rtp_partno = -1; char *rtp_scratch = NULL; /* get the custom server control "commands" */ int error = getpart(&cmd, &cmdsize, "reply", "servercmd", stream); fclose(stream); if(error) { logmsg("getpart() failed with error: %d", error); req->open = FALSE; /* closes connection */ return 1; /* done */ } ptr = cmd; if(cmdsize) { logmsg("Found a reply-servercmd section!"); do { if(!strncmp(CMD_AUTH_REQUIRED, ptr, strlen(CMD_AUTH_REQUIRED))) { logmsg("instructed to require authorization header"); req->auth_req = TRUE; } else if(!strncmp(CMD_IDLE, ptr, strlen(CMD_IDLE))) { logmsg("instructed to idle"); req->rcmd = RCMD_IDLE; req->open = TRUE; } else if(!strncmp(CMD_STREAM, ptr, strlen(CMD_STREAM))) { logmsg("instructed to stream"); req->rcmd = RCMD_STREAM; } else if(1 == sscanf(ptr, "pipe: %d", &num)) { logmsg("instructed to allow a pipe size of %d", num); if(num < 0) logmsg("negative pipe size ignored"); else if(num > 0) req->pipe = num-1; /* decrease by one since we don't count the first request in this number */ } else if(1 == sscanf(ptr, "skip: %d", &num)) { logmsg("instructed to skip this number of bytes %d", num); req->skip = num; } else if(3 == sscanf(ptr, "rtp: part %d channel %d size %d", &rtp_partno, &rtp_channel, &rtp_size)) { if(rtp_partno == req->partno) { int i = 0; logmsg("RTP: part %d channel %d size %d", rtp_partno, rtp_channel, rtp_size); /* Make our scratch buffer enough to fit all the * desired data and one for padding */ rtp_scratch = malloc(rtp_size + 4 + RTP_DATA_SIZE); /* RTP is signalled with a $ */ rtp_scratch[0] = '$'; /* The channel follows and is one byte */ SET_RTP_PKT_CHN(rtp_scratch, rtp_channel); /* Length follows and is a two byte short in network order */ SET_RTP_PKT_LEN(rtp_scratch, rtp_size); /* Fill it with junk data */ for(i = 0; i < rtp_size; i += RTP_DATA_SIZE) { memcpy(rtp_scratch + 4 + i, RTP_DATA, RTP_DATA_SIZE); } if(req->rtp_buffer == NULL) { req->rtp_buffer = rtp_scratch; req->rtp_buffersize = rtp_size + 4; } else { req->rtp_buffer = realloc(req->rtp_buffer, req->rtp_buffersize + rtp_size + 4); memcpy(req->rtp_buffer + req->rtp_buffersize, rtp_scratch, rtp_size + 4); req->rtp_buffersize += rtp_size + 4; free(rtp_scratch); } logmsg("rtp_buffersize is %zu, rtp_size is %d.", req->rtp_buffersize, rtp_size); } } else { logmsg("funny instruction found: %s", ptr); } ptr = strchr(ptr, '\n'); if(ptr) ptr++; else ptr = NULL; } while(ptr && *ptr); logmsg("Done parsing server commands"); } free(cmd); } } else { if(sscanf(req->reqbuf, "CONNECT %" MAXDOCNAMELEN_TXT "s HTTP/%d.%d", doc, &prot_major, &prot_minor) == 3) { msnprintf(logbuf, sizeof(logbuf), "Received a CONNECT %s HTTP/%d.%d request", doc, prot_major, prot_minor); logmsg("%s", logbuf); if(req->prot_version == 10) req->open = FALSE; /* HTTP 1.0 closes connection by default */ if(!strncmp(doc, "bad", 3)) /* if the host name starts with bad, we fake an error here */ req->testno = DOCNUMBER_BADCONNECT; else if(!strncmp(doc, "test", 4)) { /* if the host name starts with test, the port number used in the CONNECT line will be used as test number! */ char *portp = strchr(doc, ':'); if(portp && (*(portp + 1) != '\0') && ISDIGIT(*(portp + 1))) req->testno = strtol(portp + 1, NULL, 10); else req->testno = DOCNUMBER_CONNECT; } else req->testno = DOCNUMBER_CONNECT; } else { logmsg("Did not find test number in PATH"); req->testno = DOCNUMBER_404; } } } if(!end) { /* we don't have a complete request yet! */ logmsg("ProcessRequest returned without a complete request"); return 0; /* not complete yet */ } logmsg("ProcessRequest found a complete request"); if(req->pipe) /* we do have a full set, advance the checkindex to after the end of the headers, for the pipelining case mostly */ req->checkindex += (end - line) + strlen(END_OF_HEADERS); /* **** Persistence **** * * If the request is a HTTP/1.0 one, we close the connection unconditionally * when we're done. * * If the request is a HTTP/1.1 one, we MUST check for a "Connection:" * header that might say "close". If it does, we close a connection when * this request is processed. Otherwise, we keep the connection alive for X * seconds. */ do { if(got_exit_signal) return 1; /* done */ if((req->cl == 0) && strncasecompare("Content-Length:", line, 15)) { /* If we don't ignore content-length, we read it and we read the whole request including the body before we return. If we've been told to ignore the content-length, we will return as soon as all headers have been received */ char *endptr; char *ptr = line + 15; unsigned long clen = 0; while(*ptr && ISSPACE(*ptr)) ptr++; endptr = ptr; errno = 0; clen = strtoul(ptr, &endptr, 10); if((ptr == endptr) || !ISSPACE(*endptr) || (ERANGE == errno)) { /* this assumes that a zero Content-Length is valid */ logmsg("Found invalid Content-Length: (%s) in the request", ptr); req->open = FALSE; /* closes connection */ return 1; /* done */ } req->cl = clen - req->skip; logmsg("Found Content-Length: %lu in the request", clen); if(req->skip) logmsg("... but will abort after %zu bytes", req->cl); break; } else if(strncasecompare("Transfer-Encoding: chunked", line, strlen("Transfer-Encoding: chunked"))) { /* chunked data coming in */ chunked = TRUE; } if(chunked) { if(strstr(req->reqbuf, "\r\n0\r\n\r\n")) /* end of chunks reached */ return 1; /* done */ else return 0; /* not done */ } line = strchr(line, '\n'); if(line) line++; } while(line); if(!req->auth && strstr(req->reqbuf, "Authorization:")) { req->auth = TRUE; /* Authorization: header present! */ if(req->auth_req) logmsg("Authorization header found, as required"); } if(!req->digest && strstr(req->reqbuf, "Authorization: Digest")) { /* If the client is passing this Digest-header, we set the part number to 1000. Not only to spice up the complexity of this, but to make Digest stuff to work in the test suite. */ req->partno += 1000; req->digest = TRUE; /* header found */ logmsg("Received Digest request, sending back data %ld", req->partno); } else if(!req->ntlm && strstr(req->reqbuf, "Authorization: NTLM TlRMTVNTUAAD")) { /* If the client is passing this type-3 NTLM header */ req->partno += 1002; req->ntlm = TRUE; /* NTLM found */ logmsg("Received NTLM type-3, sending back data %ld", req->partno); if(req->cl) { logmsg(" Expecting %zu POSTed bytes", req->cl); } } else if(!req->ntlm && strstr(req->reqbuf, "Authorization: NTLM TlRMTVNTUAAB")) { /* If the client is passing this type-1 NTLM header */ req->partno += 1001; req->ntlm = TRUE; /* NTLM found */ logmsg("Received NTLM type-1, sending back data %ld", req->partno); } else if((req->partno >= 1000) && strstr(req->reqbuf, "Authorization: Basic")) { /* If the client is passing this Basic-header and the part number is already >=1000, we add 1 to the part number. This allows simple Basic authentication negotiation to work in the test suite. */ req->partno += 1; logmsg("Received Basic request, sending back data %ld", req->partno); } if(strstr(req->reqbuf, "Connection: close")) req->open = FALSE; /* close connection after this request */ if(!req->pipe && req->open && req->prot_version >= 11 && end && req->reqbuf + req->offset > end + strlen(END_OF_HEADERS) && (!strncmp(req->reqbuf, "GET", strlen("GET")) || !strncmp(req->reqbuf, "HEAD", strlen("HEAD")))) { /* If we have a persistent connection, HTTP version >= 1.1 and GET/HEAD request, enable pipelining. */ req->checkindex = (end - req->reqbuf) + strlen(END_OF_HEADERS); req->pipelining = TRUE; } while(req->pipe) { if(got_exit_signal) return 1; /* done */ /* scan for more header ends within this chunk */ line = &req->reqbuf[req->checkindex]; end = strstr(line, END_OF_HEADERS); if(!end) break; req->checkindex += (end - line) + strlen(END_OF_HEADERS); req->pipe--; } /* If authentication is required and no auth was provided, end now. This makes the server NOT wait for PUT/POST data and you can then make the test case send a rejection before any such data has been sent. Test case 154 uses this.*/ if(req->auth_req && !req->auth) return 1; /* done */ if(req->cl > 0) { if(req->cl <= req->offset - (end - req->reqbuf) - strlen(END_OF_HEADERS)) return 1; /* done */ else return 0; /* not complete yet */ } return 1; /* done */ } /* store the entire request in a file */ static void storerequest(char *reqbuf, size_t totalsize) { int res; int error = 0; size_t written; size_t writeleft; FILE *dump; if(reqbuf == NULL) return; if(totalsize == 0) return; do { dump = fopen(REQUEST_DUMP, "ab"); } while((dump == NULL) && ((error = errno) == EINTR)); if(dump == NULL) { logmsg("Error opening file %s error: %d %s", REQUEST_DUMP, error, strerror(error)); logmsg("Failed to write request input to " REQUEST_DUMP); return; } writeleft = totalsize; do { written = fwrite(&reqbuf[totalsize-writeleft], 1, writeleft, dump); if(got_exit_signal) goto storerequest_cleanup; if(written > 0) writeleft -= written; } while((writeleft > 0) && ((error = errno) == EINTR)); if(writeleft == 0) logmsg("Wrote request (%zu bytes) input to " REQUEST_DUMP, totalsize); else if(writeleft > 0) { logmsg("Error writing file %s error: %d %s", REQUEST_DUMP, error, strerror(error)); logmsg("Wrote only (%zu bytes) of (%zu bytes) request input to %s", totalsize-writeleft, totalsize, REQUEST_DUMP); } storerequest_cleanup: do { res = fclose(dump); } while(res && ((error = errno) == EINTR)); if(res) logmsg("Error closing file %s error: %d %s", REQUEST_DUMP, error, strerror(error)); } /* return 0 on success, non-zero on failure */ static int get_request(curl_socket_t sock, struct httprequest *req) { int error; int fail = 0; int done_processing = 0; char *reqbuf = req->reqbuf; ssize_t got = 0; char *pipereq = NULL; size_t pipereq_length = 0; if(req->pipelining) { pipereq = reqbuf + req->checkindex; pipereq_length = req->offset - req->checkindex; } /*** Init the httprequest structure properly for the upcoming request ***/ req->checkindex = 0; req->offset = 0; req->testno = DOCNUMBER_NOTHING; req->partno = 0; req->open = TRUE; req->auth_req = FALSE; req->auth = FALSE; req->cl = 0; req->digest = FALSE; req->ntlm = FALSE; req->pipe = 0; req->skip = 0; req->rcmd = RCMD_NORMALREQ; req->protocol = RPROT_NONE; req->prot_version = 0; req->pipelining = FALSE; req->rtp_buffer = NULL; req->rtp_buffersize = 0; /*** end of httprequest init ***/ while(!done_processing && (req->offset < REQBUFSIZ-1)) { if(pipereq_length && pipereq) { memmove(reqbuf, pipereq, pipereq_length); got = curlx_uztosz(pipereq_length); pipereq_length = 0; } else { if(req->skip) /* we are instructed to not read the entire thing, so we make sure to only read what we're supposed to and NOT read the enire thing the client wants to send! */ got = sread(sock, reqbuf + req->offset, req->cl); else got = sread(sock, reqbuf + req->offset, REQBUFSIZ-1 - req->offset); } if(got_exit_signal) return 1; if(got == 0) { logmsg("Connection closed by client"); fail = 1; } else if(got < 0) { error = SOCKERRNO; logmsg("recv() returned error: (%d) %s", error, strerror(error)); fail = 1; } if(fail) { /* dump the request received so far to the external file */ reqbuf[req->offset] = '\0'; storerequest(reqbuf, req->offset); return 1; } logmsg("Read %zd bytes", got); req->offset += (size_t)got; reqbuf[req->offset] = '\0'; done_processing = ProcessRequest(req); if(got_exit_signal) return 1; if(done_processing && req->pipe) { logmsg("Waiting for another piped request"); done_processing = 0; req->pipe--; } } if((req->offset == REQBUFSIZ-1) && (got > 0)) { logmsg("Request would overflow buffer, closing connection"); /* dump request received so far to external file anyway */ reqbuf[REQBUFSIZ-1] = '\0'; fail = 1; } else if(req->offset > REQBUFSIZ-1) { logmsg("Request buffer overflow, closing connection"); /* dump request received so far to external file anyway */ reqbuf[REQBUFSIZ-1] = '\0'; fail = 1; } else reqbuf[req->offset] = '\0'; /* dump the request to an external file */ storerequest(reqbuf, req->pipelining ? req->checkindex : req->offset); if(got_exit_signal) return 1; return fail; /* return 0 on success */ } /* returns -1 on failure */ static int send_doc(curl_socket_t sock, struct httprequest *req) { ssize_t written; size_t count; const char *buffer; char *ptr = NULL; char *cmd = NULL; size_t cmdsize = 0; FILE *dump; bool persistent = TRUE; bool sendfailure = FALSE; size_t responsesize; int error = 0; int res; static char weare[256]; logmsg("Send response number %ld part %ld", req->testno, req->partno); switch(req->rcmd) { default: case RCMD_NORMALREQ: break; /* continue with business as usual */ case RCMD_STREAM: #define STREAMTHIS "a string to stream 01234567890\n" count = strlen(STREAMTHIS); for(;;) { written = swrite(sock, STREAMTHIS, count); if(got_exit_signal) return -1; if(written != (ssize_t)count) { logmsg("Stopped streaming"); break; } } return -1; case RCMD_IDLE: /* Do nothing. Sit idle. Pretend it rains. */ return 0; } req->open = FALSE; if(req->testno < 0) { size_t msglen; char msgbuf[64]; switch(req->testno) { case DOCNUMBER_QUIT: logmsg("Replying to QUIT"); buffer = docquit; break; case DOCNUMBER_WERULEZ: /* we got a "friends?" question, reply back that we sure are */ logmsg("Identifying ourselves as friends"); msnprintf(msgbuf, sizeof(msgbuf), "RTSP_SERVER WE ROOLZ: %ld\r\n", (long)getpid()); msglen = strlen(msgbuf); msnprintf(weare, sizeof(weare), "HTTP/1.1 200 OK\r\nContent-Length: %zu\r\n\r\n%s", msglen, msgbuf); buffer = weare; break; case DOCNUMBER_INTERNAL: logmsg("Bailing out due to internal error"); return -1; case DOCNUMBER_CONNECT: logmsg("Replying to CONNECT"); buffer = docconnect; break; case DOCNUMBER_BADCONNECT: logmsg("Replying to a bad CONNECT"); buffer = docbadconnect; break; case DOCNUMBER_404: default: logmsg("Replying to with a 404"); if(req->protocol == RPROT_HTTP) { buffer = doc404_HTTP; } else { buffer = doc404_RTSP; } break; } count = strlen(buffer); } else { FILE *stream = test2fopen(req->testno); char partbuf[80]="data"; if(0 != req->partno) msnprintf(partbuf, sizeof(partbuf), "data%ld", req->partno); if(!stream) { error = errno; logmsg("fopen() failed with error: %d %s", error, strerror(error)); logmsg("Couldn't open test file"); return 0; } else { error = getpart(&ptr, &count, "reply", partbuf, stream); fclose(stream); if(error) { logmsg("getpart() failed with error: %d", error); return 0; } buffer = ptr; } if(got_exit_signal) { free(ptr); return -1; } /* re-open the same file again */ stream = test2fopen(req->testno); if(!stream) { error = errno; logmsg("fopen() failed with error: %d %s", error, strerror(error)); logmsg("Couldn't open test file"); free(ptr); return 0; } else { /* get the custom server control "commands" */ error = getpart(&cmd, &cmdsize, "reply", "postcmd", stream); fclose(stream); if(error) { logmsg("getpart() failed with error: %d", error); free(ptr); return 0; } } } if(got_exit_signal) { free(ptr); free(cmd); return -1; } /* If the word 'swsclose' is present anywhere in the reply chunk, the connection will be closed after the data has been sent to the requesting client... */ if(strstr(buffer, "swsclose") || !count) { persistent = FALSE; logmsg("connection close instruction \"swsclose\" found in response"); } if(strstr(buffer, "swsbounce")) { prevbounce = TRUE; logmsg("enable \"swsbounce\" in the next request"); } else prevbounce = FALSE; dump = fopen(RESPONSE_DUMP, "ab"); if(!dump) { error = errno; logmsg("fopen() failed with error: %d %s", error, strerror(error)); logmsg("Error opening file: %s", RESPONSE_DUMP); logmsg("couldn't create logfile: " RESPONSE_DUMP); free(ptr); free(cmd); return -1; } responsesize = count; do { /* Ok, we send no more than 200 bytes at a time, just to make sure that larger chunks are split up so that the client will need to do multiple recv() calls to get it and thus we exercise that code better */ size_t num = count; if(num > 200) num = 200; written = swrite(sock, buffer, num); if(written < 0) { sendfailure = TRUE; break; } else { logmsg("Sent off %zd bytes", written); } /* write to file as well */ fwrite(buffer, 1, (size_t)written, dump); if(got_exit_signal) break; count -= written; buffer += written; } while(count>0); /* Send out any RTP data */ if(req->rtp_buffer) { logmsg("About to write %zu RTP bytes", req->rtp_buffersize); count = req->rtp_buffersize; do { size_t num = count; if(num > 200) num = 200; written = swrite(sock, req->rtp_buffer + (req->rtp_buffersize - count), num); if(written < 0) { sendfailure = TRUE; break; } count -= written; } while(count > 0); free(req->rtp_buffer); req->rtp_buffersize = 0; } do { res = fclose(dump); } while(res && ((error = errno) == EINTR)); if(res) logmsg("Error closing file %s error: %d %s", RESPONSE_DUMP, error, strerror(error)); if(got_exit_signal) { free(ptr); free(cmd); return -1; } if(sendfailure) { logmsg("Sending response failed. Only (%zu bytes) of " "(%zu bytes) were sent", responsesize-count, responsesize); free(ptr); free(cmd); return -1; } logmsg("Response sent (%zu bytes) and written to " RESPONSE_DUMP, responsesize); free(ptr); if(cmdsize > 0) { char command[32]; int quarters; int num; ptr = cmd; do { if(2 == sscanf(ptr, "%31s %d", command, &num)) { if(!strcmp("wait", command)) { logmsg("Told to sleep for %d seconds", num); quarters = num * 4; while(quarters > 0) { quarters--; res = wait_ms(250); if(got_exit_signal) break; if(res) { /* should not happen */ error = errno; logmsg("wait_ms() failed with error: (%d) %s", error, strerror(error)); break; } } if(!quarters) logmsg("Continuing after sleeping %d seconds", num); } else logmsg("Unknown command in reply command section"); } ptr = strchr(ptr, '\n'); if(ptr) ptr++; else ptr = NULL; } while(ptr && *ptr); } free(cmd); req->open = persistent; prevtestno = req->testno; prevpartno = req->partno; return 0; } int main(int argc, char *argv[]) { srvr_sockaddr_union_t me; curl_socket_t sock = CURL_SOCKET_BAD; curl_socket_t msgsock = CURL_SOCKET_BAD; int wrotepidfile = 0; int flag; unsigned short port = DEFAULT_PORT; const char *pidname = ".rtsp.pid"; const char *portfile = NULL; struct httprequest req; int rc; int error; int arg = 1; long pid; memset(&req, 0, sizeof(req)); while(argc>arg) { if(!strcmp("--version", argv[arg])) { printf("rtspd IPv4%s" "\n" , #ifdef ENABLE_IPV6 "/IPv6" #else "" #endif ); return 0; } else if(!strcmp("--pidfile", argv[arg])) { arg++; if(argc>arg) pidname = argv[arg++]; } else if(!strcmp("--portfile", argv[arg])) { arg++; if(argc>arg) portfile = argv[arg++]; } else if(!strcmp("--logfile", argv[arg])) { arg++; if(argc>arg) serverlogfile = argv[arg++]; } else if(!strcmp("--ipv4", argv[arg])) { #ifdef ENABLE_IPV6 ipv_inuse = "IPv4"; use_ipv6 = FALSE; #endif arg++; } else if(!strcmp("--ipv6", argv[arg])) { #ifdef ENABLE_IPV6 ipv_inuse = "IPv6"; use_ipv6 = TRUE; #endif arg++; } else if(!strcmp("--port", argv[arg])) { arg++; if(argc>arg) { char *endptr; unsigned long ulnum = strtoul(argv[arg], &endptr, 10); port = curlx_ultous(ulnum); arg++; } } else if(!strcmp("--srcdir", argv[arg])) { arg++; if(argc>arg) { path = argv[arg]; arg++; } } else { puts("Usage: rtspd [option]\n" " --version\n" " --logfile [file]\n" " --pidfile [file]\n" " --portfile [file]\n" " --ipv4\n" " --ipv6\n" " --port [port]\n" " --srcdir [path]"); return 0; } } #ifdef WIN32 win32_init(); atexit(win32_cleanup); #endif install_signal_handlers(false); pid = (long)getpid(); #ifdef ENABLE_IPV6 if(!use_ipv6) #endif sock = socket(AF_INET, SOCK_STREAM, 0); #ifdef ENABLE_IPV6 else sock = socket(AF_INET6, SOCK_STREAM, 0); #endif if(CURL_SOCKET_BAD == sock) { error = SOCKERRNO; logmsg("Error creating socket: (%d) %s", error, strerror(error)); goto server_cleanup; } flag = 1; if(0 != setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (void *)&flag, sizeof(flag))) { error = SOCKERRNO; logmsg("setsockopt(SO_REUSEADDR) failed with error: (%d) %s", error, strerror(error)); goto server_cleanup; } #ifdef ENABLE_IPV6 if(!use_ipv6) { #endif memset(&me.sa4, 0, sizeof(me.sa4)); me.sa4.sin_family = AF_INET; me.sa4.sin_addr.s_addr = INADDR_ANY; me.sa4.sin_port = htons(port); rc = bind(sock, &me.sa, sizeof(me.sa4)); #ifdef ENABLE_IPV6 } else { memset(&me.sa6, 0, sizeof(me.sa6)); me.sa6.sin6_family = AF_INET6; me.sa6.sin6_addr = in6addr_any; me.sa6.sin6_port = htons(port); rc = bind(sock, &me.sa, sizeof(me.sa6)); } #endif /* ENABLE_IPV6 */ if(0 != rc) { error = SOCKERRNO; logmsg("Error binding socket on port %hu: (%d) %s", port, error, strerror(error)); goto server_cleanup; } if(!port) { /* The system was supposed to choose a port number, figure out which port we actually got and update the listener port value with it. */ curl_socklen_t la_size; srvr_sockaddr_union_t localaddr; #ifdef ENABLE_IPV6 if(!use_ipv6) #endif la_size = sizeof(localaddr.sa4); #ifdef ENABLE_IPV6 else la_size = sizeof(localaddr.sa6); #endif memset(&localaddr.sa, 0, (size_t)la_size); if(getsockname(sock, &localaddr.sa, &la_size) < 0) { error = SOCKERRNO; logmsg("getsockname() failed with error: (%d) %s", error, strerror(error)); sclose(sock); goto server_cleanup; } switch(localaddr.sa.sa_family) { case AF_INET: port = ntohs(localaddr.sa4.sin_port); break; #ifdef ENABLE_IPV6 case AF_INET6: port = ntohs(localaddr.sa6.sin6_port); break; #endif default: break; } if(!port) { /* Real failure, listener port shall not be zero beyond this point. */ logmsg("Apparently getsockname() succeeded, with listener port zero."); logmsg("A valid reason for this failure is a binary built without"); logmsg("proper network library linkage. This might not be the only"); logmsg("reason, but double check it before anything else."); sclose(sock); goto server_cleanup; } } logmsg("Running %s version on port %d", ipv_inuse, (int)port); /* start accepting connections */ rc = listen(sock, 5); if(0 != rc) { error = SOCKERRNO; logmsg("listen() failed with error: (%d) %s", error, strerror(error)); goto server_cleanup; } /* ** As soon as this server writes its pid file the test harness will ** attempt to connect to this server and initiate its verification. */ wrotepidfile = write_pidfile(pidname); if(!wrotepidfile) goto server_cleanup; if(portfile) { wrotepidfile = write_portfile(portfile, port); if(!wrotepidfile) goto server_cleanup; } for(;;) { msgsock = accept(sock, NULL, NULL); if(got_exit_signal) break; if(CURL_SOCKET_BAD == msgsock) { error = SOCKERRNO; logmsg("MAJOR ERROR: accept() failed with error: (%d) %s", error, strerror(error)); break; } /* ** As soon as this server acepts a connection from the test harness it ** must set the server logs advisor read lock to indicate that server ** logs should not be read until this lock is removed by this server. */ set_advisor_read_lock(SERVERLOGS_LOCK); serverlogslocked = 1; logmsg("====> Client connect"); #ifdef TCP_NODELAY /* * Disable the Nagle algorithm to make it easier to send out a large * response in many small segments to torture the clients more. */ flag = 1; if(setsockopt(msgsock, IPPROTO_TCP, TCP_NODELAY, (void *)&flag, sizeof(flag)) == -1) { logmsg("====> TCP_NODELAY failed"); } #endif /* initialization of httprequest struct is done in get_request(), but due to pipelining treatment the pipelining struct field must be initialized previously to FALSE every time a new connection arrives. */ req.pipelining = FALSE; do { if(got_exit_signal) break; if(get_request(msgsock, &req)) /* non-zero means error, break out of loop */ break; if(prevbounce) { /* bounce treatment requested */ if((req.testno == prevtestno) && (req.partno == prevpartno)) { req.partno++; logmsg("BOUNCE part number to %ld", req.partno); } else { prevbounce = FALSE; prevtestno = -1; prevpartno = -1; } } send_doc(msgsock, &req); if(got_exit_signal) break; if((req.testno < 0) && (req.testno != DOCNUMBER_CONNECT)) { logmsg("special request received, no persistency"); break; } if(!req.open) { logmsg("instructed to close connection after server-reply"); break; } if(req.open) logmsg("=> persistent connection request ended, awaits new request"); /* if we got a CONNECT, loop and get another request as well! */ } while(req.open || (req.testno == DOCNUMBER_CONNECT)); if(got_exit_signal) break; logmsg("====> Client disconnect"); sclose(msgsock); msgsock = CURL_SOCKET_BAD; if(serverlogslocked) { serverlogslocked = 0; clear_advisor_read_lock(SERVERLOGS_LOCK); } if(req.testno == DOCNUMBER_QUIT) break; } server_cleanup: if((msgsock != sock) && (msgsock != CURL_SOCKET_BAD)) sclose(msgsock); if(sock != CURL_SOCKET_BAD) sclose(sock); if(got_exit_signal) logmsg("signalled to die"); if(wrotepidfile) unlink(pidname); if(serverlogslocked) { serverlogslocked = 0; clear_advisor_read_lock(SERVERLOGS_LOCK); } restore_signal_handlers(false); if(got_exit_signal) { logmsg("========> %s rtspd (port: %d pid: %ld) exits with signal (%d)", ipv_inuse, (int)port, pid, exit_signal); /* * To properly set the return status of the process we * must raise the same signal SIGINT or SIGTERM that we * caught and let the old handler take care of it. */ raise(exit_signal); } logmsg("========> rtspd quits"); return 0; }
ErikMinekus/sm-ripext
curl/tests/server/rtspd.c
C
gpl-3.0
40,184
package pl.idedyk.japanese.dictionary.web.html; import java.util.List; public class Div extends HtmlElementCommon { public Div() { super(); } public Div(String clazz) { super(clazz); } public Div(String clazz, String style) { super(clazz, style); } @Override protected String getTagName() { return "div"; } @Override protected boolean isSupportHtmlElementList() { return true; } @Override protected List<String[]> getAdditionalTagAttributes() { return null; } }
dedyk/JapaneseDictionaryWeb
src/main/java/pl/idedyk/japanese/dictionary/web/html/Div.java
Java
gpl-3.0
504
# -*- coding: utf-8 -*- # * Authors: # * TJEBBES Gaston <g.t@majerti.fr> # * Arezki Feth <f.a@majerti.fr>; # * Miotte Julien <j.m@majerti.fr>; import pytest from autonomie.tests.tools import Dummy def test_default_disable(): from autonomie.forms.user.user import deferred_company_disable_default companies = [Dummy(employees=range(2))] user = Dummy(companies=companies) req = Dummy(context=user) assert not deferred_company_disable_default("", {'request': req}) companies = [Dummy(employees=[1])] user = Dummy(companies=companies) req = Dummy(context=user) assert(deferred_company_disable_default("", {'request': req})) def test_user_add_schema(pyramid_request): import colander from autonomie.forms.user.user import get_add_edit_schema appstruct = { 'civilite': u'Monsieur', 'lastname': u'Test lastname', 'firstname': u"Firstname", 'email': "a@a.fr", 'add_login': "0", } schema = get_add_edit_schema() schema = schema.bind(request=pyramid_request) result = schema.deserialize(appstruct) assert 'email' in result # civilite with pytest.raises(colander.Invalid): appstruct = { 'civilite': u"Not a valid one", 'lastname': u'Test lastname', 'firstname': u"Firstname", 'email': "a@a.fr", 'add_login': "0", } schema.deserialize(appstruct) # lastname with pytest.raises(colander.Invalid): appstruct = { 'civilite': u'Monsieur', 'firstname': u"Firstname", 'email': "a@a.fr", 'add_login': "0", } schema.deserialize(appstruct) # firstname with pytest.raises(colander.Invalid): appstruct = { 'civilite': u'Monsieur', 'lastname': u'Test lastname', 'email': "a@a.fr", 'add_login': "0", } schema.deserialize(appstruct) # email with pytest.raises(colander.Invalid): appstruct = { 'civilite': u'Monsieur', 'lastname': u'Test lastname', 'firstname': u"Firstname", 'add_login': "0", } schema.deserialize(appstruct) with pytest.raises(colander.Invalid): appstruct = { 'civilite': u'Monsieur', 'lastname': u'Test lastname', 'firstname': u"Firstname", 'email': "notanemail", 'add_login': "0", } schema.deserialize(appstruct)
CroissanceCommune/autonomie
autonomie/tests/forms/user/test_user.py
Python
gpl-3.0
2,558
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2004-2012 1&1 Internet AG, Germany, http://www.1und1.de License: LGPL: http://www.gnu.org/licenses/lgpl.html EPL: http://www.eclipse.org/org/documents/epl-v10.php See the LICENSE file in the project's top-level directory for details. Authors: * Tino Butz (tbtz) * Christopher Zuendorf (czuendorf) ************************************************************************ */ /** * Mobile page responsible for showing the landing page for the "animation" showcase. */ qx.Class.define("mobileshowcase.page.AnimationLanding", { extend : qx.ui.mobile.page.NavigationPage, construct : function() { this.base(arguments); this.setTitle("Animation"); this.setShowBackButton(true); this.setShowBackButtonOnTablet(true); this.setBackButtonText("Back"); }, properties : { /** * The current animaton. */ animation : { check : "String", init : "" } }, members : { __landingText : '<strong>Tap "back" button for the reverse animation</strong>', // overridden _initialize : function() { this.base(arguments); var embed = new qx.ui.mobile.embed.Html(this.__landingText); if(this._isTablet) { qx.event.Registration.addListener(this, "appear", this.__deactiveAnimation, this); } this.getContent().add(embed); }, /** * Deactivates the animation on parentContainer's layout. */ __deactiveAnimation : function() { this.getLayoutParent().getLayout().setShowAnimation(false); }, // overridden _back : function() { qx.core.Init.getApplication().getRouting().executeGet("/animation", {animation:this.getAnimation(), reverse:true}); }, /* ***************************************************************************** DESTRUCTOR ***************************************************************************** */ destruct : function() { this._disposeObjects("__landingText"); } } });
09zwcbupt/undergrad_thesis
ext/poxdesk/qx/application/mobileshowcase/source/class/mobileshowcase/page/AnimationLanding.js
JavaScript
gpl-3.0
2,189
/* Clifis v1.0b (c) 2017 Escuela Técnica Superior de Ingeniería de Sistemas Informáticos (UPM) This file is part of Clifis. Clifis is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Clifis is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Clifis. If not, see <http://www.gnu.org/licenses/>. */ package es.upm.etsisi.clifis.servlets; import es.upm.etsisi.clifis.gestores.GestorException; import es.upm.etsisi.clifis.gestores.GestorFechas; import es.upm.etsisi.clifis.gestores.GestorPacientes; import es.upm.etsisi.clifis.model.Paciente; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.ArrayList; @WebServlet(urlPatterns = "/process_modificar_paciente") public class ModificacionPaciente extends HttpServlet { private GestorPacientes gestorPacientes = null; private static Logger LOG = LoggerFactory.getLogger("es.upm.etsisi.clifis.servlets.modificacionPaciente"); @Override protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { String URLDestino = "/modificacion_paciente.jsp"; this.gestorPacientes = (GestorPacientes)this.getServletContext().getAttribute("gestor_pacientes"); this.modificarPaciente(req); if (req.getAttribute("excepciones") == null) URLDestino ="/alta_paciente.jsp"; RequestDispatcher dispatcher = this.getServletContext().getRequestDispatcher(URLDestino); dispatcher.forward(req, resp); } private void modificarPaciente(HttpServletRequest req){ Paciente paciente; try{ paciente = this.gestorPacientes.getPacienteFromId(GestorFechas.getIntFromParameter("modificar_paciente",req)); req.setAttribute("pacienteParaModificar",paciente); } catch (GestorException e) { LOG.debug("No se recibió el ID del paciente a modificar o hubo algún problema.", e); ArrayList<GestorException> excepciones = new ArrayList<>(1); excepciones.add(e); req.setAttribute("exception", excepciones); } } }
ivangarciaalcaide/clifis
src/es/upm/etsisi/clifis/servlets/ModificacionPaciente.java
Java
gpl-3.0
2,892
/* * Cantata * * Copyright (c) 2011-2015 Craig Drummond <craig.p.drummond@gmail.com> * * ---- * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; see the file COPYING. If not, write to * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. */ #include "searchmodel.h" #include "widgets/icons.h" #include "roles.h" #include "playqueuemodel.h" #include "gui/settings.h" #include "support/localize.h" #include <QString> #include <QVariant> #include <QMimeData> #include <QLocale> #include <QUrl> #if QT_VERSION >= 0x050000 #include <QUrlQuery> #endif #if defined ENABLE_MODEL_TEST #include "modeltest.h" #endif #ifndef ENABLE_UBUNTU QString SearchModel::headerText(int col) { switch (col) { case COL_TRACK: return PlayQueueModel::headerText(PlayQueueModel::COL_TRACK); case COL_DISC: return PlayQueueModel::headerText(PlayQueueModel::COL_DISC); case COL_TITLE: return PlayQueueModel::headerText(PlayQueueModel::COL_TITLE); case COL_ARTIST: return PlayQueueModel::headerText(PlayQueueModel::COL_ARTIST); case COL_ALBUM: return PlayQueueModel::headerText(PlayQueueModel::COL_ALBUM); case COL_LENGTH: return PlayQueueModel::headerText(PlayQueueModel::COL_LENGTH); case COL_YEAR: return PlayQueueModel::headerText(PlayQueueModel::COL_YEAR); case COL_GENRE: return PlayQueueModel::headerText(PlayQueueModel::COL_GENRE); case COL_COMPOSER: return PlayQueueModel::headerText(PlayQueueModel::COL_COMPOSER); case COL_PERFORMER: return PlayQueueModel::headerText(PlayQueueModel::COL_PERFORMER); case COL_RATING: return PlayQueueModel::headerText(PlayQueueModel::COL_RATING); default: return QString(); } } #endif SearchModel::SearchModel(QObject *parent) : ActionModel(parent) , multiCol(false) { #ifndef ENABLE_UBUNTU alignments[COL_TITLE]=alignments[COL_ARTIST]=alignments[COL_ALBUM]=alignments[COL_GENRE]=alignments[COL_COMPOSER]=alignments[COL_PERFORMER]=int(Qt::AlignVCenter|Qt::AlignLeft); alignments[COL_TRACK]=alignments[COL_LENGTH]=alignments[COL_DISC]=alignments[COL_YEAR]=int(Qt::AlignVCenter|Qt::AlignRight); alignments[COL_RATING]=int(Qt::AlignVCenter|Qt::AlignHCenter); #endif } SearchModel::~SearchModel() { clear(); } QModelIndex SearchModel::index(int row, int col, const QModelIndex &parent) const { if (!hasIndex(row, col, parent)) { return QModelIndex(); } return row<songList.count() ? createIndex(row, col, (void *)(&songList.at(row))) : QModelIndex(); } QModelIndex SearchModel::parent(const QModelIndex &index) const { Q_UNUSED(index) return QModelIndex(); } #ifndef ENABLE_UBUNTU QVariant SearchModel::headerData(int section, Qt::Orientation orientation, int role) const { if (Qt::Horizontal==orientation) { switch (role) { case Qt::DisplayRole: return headerText(section); case Cantata::Role_ContextMenuText: return COL_TRACK==section ? i18n("# (Track Number)") : headerText(section); case Qt::TextAlignmentRole: return alignments[section]; case Cantata::Role_InitiallyHidden: return COL_YEAR==section || COL_DISC==section || COL_GENRE==section || COL_COMPOSER==section || COL_PERFORMER==section || COL_RATING==section; case Cantata::Role_Hideable: return COL_TITLE!=section && COL_ARTIST!=section; case Cantata::Role_Width: switch (section) { case COL_TRACK: return 0.075; case COL_DISC: return 0.03; case COL_TITLE: return 0.3; case COL_ARTIST: return 0.27; case COL_ALBUM: return 0.27; case COL_LENGTH: return 0.05; case COL_YEAR: return 0.05; case COL_GENRE: return 0.1; case COL_COMPOSER: return 0.2; case COL_PERFORMER: return 0.2; case COL_RATING: return 0.08; } default: break; } } return QVariant(); } bool SearchModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role) { if (Qt::Horizontal==orientation && Qt::TextAlignmentRole==role && section>=0) { int al=value.toInt()|Qt::AlignVCenter; if (al!=alignments[section]) { alignments[section]=al; return true; } } return false; } #endif int SearchModel::rowCount(const QModelIndex &parent) const { return parent.isValid() ? 0 : songList.count(); } QVariant SearchModel::data(const QModelIndex &index, int role) const { if (!index.isValid() && Cantata::Role_RatingCol==role) { return COL_RATING; } const Song *song = toSong(index); if (!song) { return QVariant(); } switch (role) { #ifndef ENABLE_UBUNTU case Qt::DecorationRole: if (multiCol) { return QVariant(); } return Song::Playlist==song->type ? Icons::self()->playlistIcon : song->isStream() ? Icons::self()->streamIcon : Icons::self()->audioFileIcon; case Qt::TextAlignmentRole: return alignments[index.column()]; #endif case Qt::DisplayRole: if (multiCol) { switch (index.column()) { case COL_TITLE: return song->title.isEmpty() ? Utils::getFile(song->file) : song->title; case COL_ARTIST: return song->artist.isEmpty() ? Song::unknown() : song->artist; case COL_ALBUM: if (song->isStream() && song->album.isEmpty()) { QString n=song->name(); if (!n.isEmpty()) { return n; } } return song->album; case COL_TRACK: if (song->track <= 0) { return QVariant(); } return song->track; case COL_LENGTH: return Utils::formatTime(song->time); case COL_DISC: if (song->disc <= 0) { return QVariant(); } return song->disc; case COL_YEAR: if (song->year <= 0) { return QVariant(); } return song->year; case COL_GENRE: return song->displayGenre(); case COL_COMPOSER: return song->composer(); case COL_PERFORMER: return song->performer(); default: break; } break; } return song->entryName(); case Qt::ToolTipRole: if (!Settings::self()->infoTooltips()) { return QVariant(); } return song->toolTip(); case Cantata::Role_MainText: return song->title.isEmpty() ? song->file : song->trackAndTitleStr(); case Cantata::Role_SubText: return song->artist+QLatin1String(" - ")+song->displayAlbum()+QLatin1String(" - ")+Utils::formatTime(song->time); case Cantata::Role_ListImage: return true; case Cantata::Role_CoverSong: { QVariant v; v.setValue<Song>(*song); return v; } case Cantata::Role_Song: { QVariant var; var.setValue<Song>(*song); return var; } default: return ActionModel::data(index, role); } return QVariant(); } Qt::ItemFlags SearchModel::flags(const QModelIndex &index) const { if (index.isValid()) { return Qt::ItemIsSelectable | Qt::ItemIsDragEnabled | Qt::ItemIsEnabled; } else { return Qt::NoItemFlags; } } QStringList SearchModel::filenames(const QModelIndexList &indexes, bool allowPlaylists) const { QList<Song> list=songs(indexes, allowPlaylists); QStringList fnames; foreach (const Song &s, list) { fnames.append(s.file); } return fnames; } QList<Song> SearchModel::songs(const QModelIndexList &indexes, bool allowPlaylists) const { QList<Song> list; QSet<QString> files; foreach(QModelIndex index, indexes) { if (!index.isValid() || 0!=index.column()) { continue; } Song *song=static_cast<Song *>(index.internalPointer()); if ((allowPlaylists || Song::Playlist!=song->type) && !files.contains(song->file)) { Song s=*song; fixPath(s); list << s; files << s.file; } } return list; } #ifndef ENABLE_UBUNTU QMimeData * SearchModel::mimeData(const QModelIndexList &indexes) const { QMimeData *mimeData = new QMimeData(); PlayQueueModel::encode(*mimeData, PlayQueueModel::constFileNameMimeType, filenames(indexes, true)); return mimeData; } QStringList SearchModel::mimeTypes() const { QStringList types; types << PlayQueueModel::constFileNameMimeType; return types; } #endif void SearchModel::refresh() { QString k=currentKey; QString v=currentValue; clear(); search(k, v); } void SearchModel::clear() { if (!songList.isEmpty()) { beginRemoveRows(QModelIndex(), 0, songList.count()-1); songList.clear(); endRemoveRows(); } currentKey=currentValue=QString(); emit statsUpdated(0, 0); } void SearchModel::results(const QList<Song> &songs) { beginResetModel(); songList.clear(); songList=songs; endResetModel(); quint32 time=0; foreach (const Song &s, songList) { time+=s.time; } emit statsUpdated(songList.size(), time); emit searched(); }
COLABORATI/cantata
models/searchmodel.cpp
C++
gpl-3.0
10,315
package testDAO; import java.io.FileNotFoundException; import java.io.IOException; import java.sql.Connection; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Properties; import outilConnect.OutilLectParamConnect; import outilConnect.Singleton; import outilDAO.MyException; import pojo.DetailFacture; import pojo.Facture; import pojo.Oeuvre; import pojoDAO.DetailFactureDao; public class TestDetailFactureDao { public static void main(String[] args) { // TODO Auto-generated method stub Properties props = null; String chemin = "fichiers/Config.properties"; try { props= OutilLectParamConnect.recupererProperties(chemin); } catch (FileNotFoundException e) { // TODO Auto-generated catch bdetk e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch bdetk e.printStackTrace(); } Connection connection = null; connection = Singleton.getInstance(props); // Insertion d'un objet DetailFacture System.out.println("Insertion un objet"); Facture facture1 = new Facture(); facture1.setIdFacture(1); Oeuvre oeuvre1 = new Oeuvre(); oeuvre1.setIdOeuvre(1); DetailFacture det = new DetailFacture(); det.setIdDetail(0); det.setDateDetail(new Date()); det.setMontantComissionDetail(4556.55); det.setMontantTvaDetail(5645); det.setPrixHtvaDetail(5656); det.setOeuvre(oeuvre1); det.setFacture(facture1); DetailFactureDao detDao1 = new DetailFactureDao(connection); try { detDao1.insert(det); System.out.println("Insertion réussie"); } catch (MyException e) { // TODO Auto-generated catch bdetk //e.printStackTrace(); System.out.println("Echec de l'insertion"); } // Insertion d'un tableau d'objets DetailFacture System.out.println("Insertion tableau d'objets"); Facture facture2 = new Facture(); facture2.setIdFacture(2); Oeuvre oeuvre2 = new Oeuvre(); oeuvre2.setIdOeuvre(2); DetailFacture det1 = new DetailFacture(); det1.setIdDetail(0); det1.setDateDetail(new Date()); det1.setMontantComissionDetail(4556.55); det1.setMontantTvaDetail(5645); det1.setPrixHtvaDetail(5656); det1.setOeuvre(oeuvre2); det1.setFacture(facture2); Facture facture3 = new Facture(); facture3.setIdFacture(3); Oeuvre oeuvre3 = new Oeuvre(); oeuvre3.setIdOeuvre(3); DetailFacture det2 = new DetailFacture(); det2.setIdDetail(0); det2.setDateDetail(new Date()); det2.setMontantComissionDetail(4556.55); det2.setMontantTvaDetail(5645); det2.setPrixHtvaDetail(5656); det2.setOeuvre(oeuvre3); det2.setFacture(facture3); Facture facture4 = new Facture(); facture4.setIdFacture(4); Oeuvre oeuvre4 = new Oeuvre(); oeuvre4.setIdOeuvre(4); DetailFacture det3 = new DetailFacture(); det3.setIdDetail(0); det3.setDateDetail(new Date()); det3.setMontantComissionDetail(4556.55); det3.setMontantTvaDetail(5645); det3.setPrixHtvaDetail(5656); det3.setOeuvre(oeuvre4); det3.setFacture(facture4); DetailFacture [] tabdet = new DetailFacture [3]; tabdet[0]=det1; tabdet[1]=det2; tabdet[2]=det3; DetailFactureDao detDao2 = new DetailFactureDao(connection); try { detDao2.insertTabObj(tabdet); System.out.println("Insertion réussie"); } catch (MyException e) { // TODO Auto-generated catch bdetk //e.printStackTrace(); System.out.println("Echec de l'insertion du tableau d'objets DetailFacture"); } // Insertion d'une Collection d'objets DetailFacture System.out.println("Insertion collection d'objets"); Facture facture5 = new Facture(); facture5.setIdFacture(6); Oeuvre oeuvre5 = new Oeuvre(); oeuvre5.setIdOeuvre(6); DetailFacture det4 = new DetailFacture(); det4.setIdDetail(0); det4.setDateDetail(new Date()); det4.setMontantComissionDetail(4556.55); det4.setMontantTvaDetail(5645); det4.setPrixHtvaDetail(5656); det4.setOeuvre(oeuvre5); det4.setFacture(facture5); Facture facture6 = new Facture(); facture6.setIdFacture(7); Oeuvre oeuvre6 = new Oeuvre(); oeuvre6.setIdOeuvre(7); DetailFacture det5 = new DetailFacture(); det5.setIdDetail(0); det5.setDateDetail(new Date()); det5.setMontantComissionDetail(4556.55); det5.setMontantTvaDetail(5645); det5.setPrixHtvaDetail(5656); det5.setOeuvre(oeuvre6); det5.setFacture(facture6); Facture facture7 = new Facture(); facture7.setIdFacture(8); Oeuvre oeuvre7 = new Oeuvre(); oeuvre7.setIdOeuvre(8); DetailFacture det6 = new DetailFacture(); det6.setIdDetail(0); det6.setDateDetail(new Date()); det6.setMontantComissionDetail(4556.55); det6.setMontantTvaDetail(5645); det6.setPrixHtvaDetail(5656); det6.setOeuvre(oeuvre7); det6.setFacture(facture7); List<DetailFacture> maliste = new ArrayList<DetailFacture>(); maliste.add(det4); maliste.add(det5); maliste.add(det6); DetailFactureDao detDao3 = new DetailFactureDao(connection); try { detDao3.insertCollObj(maliste); System.out.println("Insertion réussie"); } catch (MyException e) { // TODO Auto-generated catch bdetk //e.printStackTrace(); System.out.println("Echec de l'insertion d'une Collection d'objets DetailFacture"); } // Mise à jour d'un objet DetailFacture System.out.println("Mise à jour d'un objet"); Facture facture8 = new Facture(); facture8.setIdFacture(9); DetailFacture det7 = new DetailFacture(); det7.setIdDetail(2); det7.setDateDetail(new Date()); det7.setMontantComissionDetail(4556.55); det7.setMontantTvaDetail(5645); det7.setPrixHtvaDetail(5656); det7.setFacture(facture8); DetailFactureDao detDao4 = new DetailFactureDao(connection); try { detDao4.update(det7); System.out.println("Mise à jour réussie"); } catch (MyException e) { // TODO Auto-generated catch bdetk //e.printStackTrace(); System.out.println("Echec de la mise à jour"); } // Suppression d'un objet DetailFacture System.out.println("Supression d'un objet"); DetailFacture det8 = new DetailFacture(); det8.setIdDetail(6); DetailFactureDao detDao5 = new DetailFactureDao(connection); try { detDao5.delete(det8); System.out.println("Supression réussie"); } catch (MyException e) { // TODO Auto-generated catch bdetk //e.printStackTrace(); System.out.println("Echec de la supression de l'objet"); } // Selection d'un objet DetailFacture System.out.println("Sélection d'un objet"); DetailFactureDao detDao6 = new DetailFactureDao(connection); DetailFacture det9 = new DetailFacture(); try { det9=detDao6.find(3); System.out.println("Objet sélectionné: "+ det9.getIdDetail() +" "+ det9.getMontantComissionDetail()); } catch (MyException e) { // TODO Auto-generated catch bdetk //e.printStackTrace(); System.out.println("Echec de la selection de l'objet"); } // Selection de tous les objets DetailFacture System.out.println("Sélection de tous les objets"); DetailFactureDao detDao7 = new DetailFactureDao(connection); List<DetailFacture> listdet = new ArrayList<DetailFacture>(); try { listdet=detDao7.findAll(); StringBuffer chaine = new StringBuffer(); for (DetailFacture detett:listdet){ chaine.append(detett.toString()+"\n"); } System.out.println(chaine); } catch (MyException e) { // TODO Auto-generated catch bdetk //e.printStackTrace(); System.out.println("Echec de la sélection des tous les objets"); } // Sélection des objets DetailFacture entre deux PK System.out.println("Sélection d'objets entre deux PK"); DetailFactureDao detDao8 = new DetailFactureDao(connection); List<DetailFacture> listdet2 = new ArrayList<DetailFacture>(); Integer a= new Integer(2); Integer b= new Integer(4); try { listdet2=detDao8.findBetween(a,b); StringBuffer chaine2 = new StringBuffer(); for (DetailFacture detett:listdet2){ chaine2.append(detett.toString()+"\n"); } System.out.println(chaine2); } catch (MyException e) { // TODO Auto-generated catch bdetk //e.printStackTrace(); System.out.println("Echec de la sélection des objets entre deux PK"); } // Fermer la connection Singleton.shutdown(); } }
Sculier/GalerieArt
src/testDAO/TestDetailFactureDao.java
Java
gpl-3.0
8,505
import matplotlib.pyplot as plt from h5py import File from numpy import array def launch_plots(): # TODO set activation of different plots plot3d = plt.figure('Plot 3D') xy_plane = plt.figure('XY') xz_plane = plt.figure('XZ') yz_plane = plt.figure('YZ') ax_plot3d = plot3d.add_subplot(111, projection='3d') ax_xy = xy_plane.add_subplot(111) ax_xz = xz_plane.add_subplot(111) ax_yz = yz_plane.add_subplot(111) ax_plot3d.set_title('3D') ax_plot3d._axis3don = False ax_xy.set_ylabel('y') ax_xy.set_xlabel('x') ax_xz.set_ylabel('z') ax_xz.set_xlabel('x') ax_yz.set_ylabel('z') ax_yz.set_xlabel('y') fh5 = File('data.h5', 'r') total_particles = len(list(fh5['/particles'])) + 1 for particle_count in range(1, total_particles): route = '/particles/' + str(particle_count) + '/' trace = fh5[route + 'trace'].value[0] initial_position = fh5[route + 'initial_position'] final_position = fh5[route + 'final_position'] xs = array([initial_position[0], final_position[0]]) ys = array([initial_position[1], final_position[1]]) zs = array([initial_position[2], final_position[2]]) ax_plot3d.plot(xs, ys, zs, trace) ax_xy.plot(xs, ys, trace) ax_xz.plot(xs, zs, trace) ax_yz.plot(ys, zs, trace) xy_plane.savefig('XY.jpg') xz_plane.savefig('XZ.jpg') yz_plane.savefig('YZ.jpg') plt.show()
Neluso/SIFPAF
plot.py
Python
gpl-3.0
1,454
/*****************************************************************************\ * * * M4GB - an efficient Groebner-basis algorithm * * Copyright (C) 2017 Rusydi Makarim, Marc Stevens, * * Cryptology Group, Centrum Wiskunde & Informatica (CWI), The Netherlands * * * * This file is part of M4GB. * * * * M4GB is free software: you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation, either version 3 of the License, or * * (at your option) any later version. * * * * M4GB is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with M4GB. If not, see <http://www.gnu.org/licenses/>. * * * \*****************************************************************************/ #ifndef M4GB_OPTIONS_HPP #define M4GB_OPTIONS_HPP #include <string> #include <iostream> #include <sstream> #include <string> #include <map> #include <stdexcept> namespace gb { class options_t { public: // option format "option=value" void set(const std::string& optioneqvalue) { std::size_t pos = optioneqvalue.find('='); if (pos < optioneqvalue.size()) _data[optioneqvalue.substr(0,pos)] = optioneqvalue.substr(pos+1); else _data[optioneqvalue] = ""; } void set(const std::string& option, const std::string& value) { _data[option] = value; } bool isset(const std::string& option) const { return _data.count(option) != 0; } const std::string& get(const std::string& option) const { auto it = _data.find(option); if (it == _data.end()) return emptyval; return it->second; } const std::string emptyval; private: std::map<std::string,std::string> _data; }; inline options_t& get_options() { static options_t _opt; return _opt; } } // namespace gb #endif // M4GB_OPTIONS_HPP
cr-marcstevens/m4gb
lib/options.hpp
C++
gpl-3.0
2,819
# TinyParser A parser for Tiny language # How to use the scanner - Make instance of it as following where `tiny_code` is the input code <br> `s = TinyScanner(tiny_code)` - You can scan the code using `scan` function which returns a string of (tokenvalue, tokentype)<br> `output_str = s.scan()` - You can save the output to a file using `createOutputFile` function<br> ` s.createOutputFile('out.txt')` # How to setup the requirments - You need to have python 3 up and running - You need to install the libraries in the requirements.txt file. You can install them via `pip` using the following command<br> `pip install -r requirements.txt` - You need to install Graphviz - For ubuntu, write this command in terminal<br> `sudo apt-get install graphviz` - For windows, download from this link<br> http://www.graphviz.org/Download_windows.php and then add the following folder to the path in your environment variables<br> `C:\Program Files (x86)\Graphviz2.38\bin\`
muhakh/TinyParser
README.md
Markdown
gpl-3.0
963
/* * freeacq is the legal property of Víctor Enríquez Miguel. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * */ #ifndef _FREEACQ_LOG_WINDOW_H #define _FREEACQ_LOG_WINDOW_H G_BEGIN_DECLS #define FACQ_TYPE_LOG_WINDOW (facq_log_window_get_type()) #define FACQ_LOG_WINDOW(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst),FACQ_TYPE_LOG_WINDOW,FacqLogWindow)) #define FACQ_LOG_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),FACQ_TYPE_LOG_WINDOW, FacqLogWindowClass)) #define FACQ_IS_LOG_WINDOW(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst),FACQ_TYPE_LOG_WINDOW)) #define FACQ_IS_LOG_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),FACQ_TYPE_LOG_WINDOW)) #define FACQ_LOG_WINDOW_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst),FACQ_TYPE_LOG_WINDOW, FacqLogWindowClass)) typedef struct _FacqLogWindow FacqLogWindow; typedef struct _FacqLogWindowClass FacqLogWindowClass; typedef struct _FacqLogWindowPrivate FacqLogWindowPrivate; struct _FacqLogWindow { /*< private >*/ GObject parent_instance; FacqLogWindowPrivate *priv; }; struct _FacqLogWindowClass { /*< private >*/ GObjectClass parent_class; }; GType facq_log_window_get_type(void) G_GNUC_CONST; FacqLogWindow *facq_log_window_new(GtkWidget *top_window,const gchar *filename,guint lines,GError **err); void facq_log_window_free(FacqLogWindow *log_window); G_END_DECLS #endif
vquicksilver/freeacq
src/facqlogwindow.h
C
gpl-3.0
2,051
/******************************************************************************* * Copyright 2013,2014 Institute of Mathematics and Computer Science, University of Latvia * Author: Pēteris Paikens * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. *******************************************************************************/ package lv.semti.morphology.analyzer; import lv.semti.morphology.attributes.AttributeValues; public class Variants extends AttributeValues{ // variants meklēšanai ar mijām public String celms; protected Variants (String _celms) { celms = _celms; } protected Variants (String _celms, String īpašība, String vērtība) { celms = _celms; addAttribute(īpašība, vērtība ); } }
PeterisP/morphology
src/main/java/lv/semti/morphology/analyzer/Variants.java
Java
gpl-3.0
1,373
<?php class ModelExtensionPaymentKlarnaInvoice extends Model { public function getMethod($address, $total) { $this->load->language('extension/payment/klarna_invoice'); $status = true; $klarna_invoice = $this->config->get('payment_klarna_invoice'); if (!isset($klarna_invoice[$address['iso_code_3']])) { $status = false; } elseif (!$klarna_invoice[$address['iso_code_3']]['status']) { $status = false; } if ($status) { $query = $this->db->query("SELECT * FROM oc_zone_to_geo_zone WHERE geo_zone_id = '" . (int)$klarna_invoice[$address['iso_code_3']]['geo_zone_id'] . "' AND country_id = '" . (int)$address['country_id'] . "' AND (zone_id = '" . (int)$address['zone_id'] . "' OR zone_id = '0')"); if ($klarna_invoice[$address['iso_code_3']]['total'] > 0 && $klarna_invoice[$address['iso_code_3']]['total'] > $total) { $status = false; } elseif (!$klarna_invoice[$address['iso_code_3']]['geo_zone_id']) { $status = true; } elseif ($query->num_rows) { $status = true; } else { $status = false; } // Maps countries to currencies $country_to_currency = array( 'NOR' => 'NOK', 'SWE' => 'SEK', 'FIN' => 'EUR', 'DNK' => 'DKK', 'DEU' => 'EUR', 'NLD' => 'EUR', ); if (!isset($country_to_currency[$address['iso_code_3']]) || !$this->currency->has($country_to_currency[$address['iso_code_3']])) { $status = false; } } $method = []; if ($status) { $klarna_fee = $this->config->get('total_klarna_fee'); if ($klarna_fee[$address['iso_code_3']]['status'] && $this->cart->getSubTotal() < $klarna_fee[$address['iso_code_3']]['total']) { $terms = sprintf($this->language->get('text_terms_fee'), $this->currency->format($this->tax->calculate($klarna_fee[$address['iso_code_3']]['fee'], $klarna_fee[$address['iso_code_3']]['tax_class_id']), $this->session->data['currency'], ''), $klarna_invoice[$address['iso_code_3']]['merchant'], strtolower($address['iso_code_2']), $this->currency->format($this->tax->calculate($klarna_fee[$address['iso_code_3']]['fee'], $klarna_fee[$address['iso_code_3']]['tax_class_id']), $country_to_currency[$address['iso_code_3']], '', false)); } else { $terms = sprintf($this->language->get('text_terms_no_fee'), $klarna_invoice[$address['iso_code_3']]['merchant'], strtolower($address['iso_code_2'])); } $method = array( 'code' => 'klarna_invoice', 'title' => $this->language->get('text_title'), 'terms' => $terms, 'sort_order' => $klarna_invoice[$address['iso_code_3']]['sort_order'] ); } return $method; } }
lucasjkr/opencommerce
common/model/extension/payment/klarna_invoice.php
PHP
gpl-3.0
2,595
module AutoCompleteMacrosHelper # Adds AJAX autocomplete functionality to the text input field with the # DOM ID specified by +field_id+. # # This function expects that the called action returns an HTML <ul> list, # or nothing if no entries should be displayed for autocompletion. # # You'll probably want to turn the browser's built-in autocompletion off, # so be sure to include an <tt>autocomplete="off"</tt> attribute with your text # input field. # # The autocompleter object is assigned to a Javascript variable named <tt>field_id</tt>_auto_completer. # This object is useful if you for example want to trigger the auto-complete suggestions through # other means than user input (for that specific case, call the <tt>activate</tt> method on that object). # # Required +options+ are: # <tt>:url</tt>:: URL to call for autocompletion results # in url_for format. # # Addtional +options+ are: # <tt>:update</tt>:: Specifies the DOM ID of the element whose # innerHTML should be updated with the autocomplete # entries returned by the AJAX request. # Defaults to <tt>field_id</tt> + '_auto_complete' # <tt>:with</tt>:: A JavaScript expression specifying the # parameters for the XMLHttpRequest. This defaults # to 'fieldname=value'. # <tt>:frequency</tt>:: Determines the time to wait after the last keystroke # for the AJAX request to be initiated. # <tt>:indicator</tt>:: Specifies the DOM ID of an element which will be # displayed while autocomplete is running. # <tt>:tokens</tt>:: A string or an array of strings containing # separator tokens for tokenized incremental # autocompletion. Example: <tt>:tokens => ','</tt> would # allow multiple autocompletion entries, separated # by commas. # <tt>:min_chars</tt>:: The minimum number of characters that should be # in the input field before an Ajax call is made # to the server. # <tt>:on_hide</tt>:: A Javascript expression that is called when the # autocompletion div is hidden. The expression # should take two variables: element and update. # Element is a DOM element for the field, update # is a DOM element for the div from which the # innerHTML is replaced. # <tt>:on_show</tt>:: Like on_hide, only now the expression is called # then the div is shown. # <tt>:after_update_element</tt>:: A Javascript expression that is called when the # user has selected one of the proposed values. # The expression should take two variables: element and value. # Element is a DOM element for the field, value # is the value selected by the user. # <tt>:update_element</tt>:: From the scriptaculous wiki: # Hook for a custom function to replace the built-in function # that adds the list item text to the input field. The custom # function is called after the element has been updated (i.e. # when the user has selected an entry). The function receives # one parameter only: the selected item (the <li> item selected) # <tt>:select</tt>:: Pick the class of the element from which the value for # insertion should be extracted. If this is not specified, # the entire element is used. # <tt>:method</tt>:: Specifies the HTTP verb to use when the autocompletion # request is made. Defaults to POST. def auto_complete_field(field_id, options = {}) function = "var #{field_id}_auto_completer = new Ajax.Autocompleter(" function << "'#{field_id}', " function << "'" + (options[:update] || "#{field_id}_auto_complete") + "', " function << "'#{url_for(options[:url])}'" js_options = {} js_options[:tokens] = array_or_string_for_javascript(options[:tokens]) if options[:tokens] js_options[:callback] = "function(element, value) { return #{options[:with]} }" if options[:with] js_options[:indicator] = "'#{options[:indicator]}'" if options[:indicator] js_options[:select] = "'#{options[:select]}'" if options[:select] js_options[:paramName] = "'#{options[:param_name]}'" if options[:param_name] js_options[:frequency] = "#{options[:frequency]}" if options[:frequency] js_options[:method] = "'#{options[:method].to_s}'" if options[:method] { :update_element => :updateElement, :on_show => :onShow, :on_hide => :onHide, :min_chars => :minChars }.each do |k,v| js_options[v] = options[k] if options[k] end { :after_update_element => :afterUpdateElement, :on_show => :onShow, :on_hide => :onHide, :min_chars => :minChars }.each do |k,v| js_options[v] = options[k] if options[k] end function << (', ' + options_for_javascript(js_options) + ')') javascript_tag(function) end # Use this method in your view to generate a return for the AJAX autocomplete requests. # # Example action: # # def auto_complete_for_item_title # @items = Item.find(:all, # :conditions => [ 'LOWER(description) LIKE ?', # '%' + request.raw_post.downcase + '%' ]) # render :inline => "<%= auto_complete_result(@items, 'description') %>" # end # # The auto_complete_result can of course also be called from a view belonging to the # auto_complete action if you need to decorate it further. def auto_complete_result(entries, field, phrase = nil) return unless entries items = entries.map { |entry| content_tag("li", phrase ? highlight(entry[field], phrase) : h(entry[field])) } content_tag("ul", items.uniq) end # Wrapper for text_field with added AJAX autocompletion functionality. # # In your controller, you'll need to define an action called # auto_complete_for to respond the AJAX calls, # def text_field_with_auto_complete(object, method, tag_options = {}, completion_options = {}) (completion_options[:skip_style] ? "" : auto_complete_stylesheet) + text_field(object, method, tag_options) + content_tag("div", "", :id => "#{object}_#{method}_auto_complete", :class => "auto_complete") + auto_complete_field("#{object}_#{method}", { :url => { :action => "auto_complete_for_#{object}_#{method}" } }.update(completion_options)) end private def auto_complete_stylesheet content_tag('style', <<-EOT, :type => Mime::CSS) div.auto_complete { width: 350px; background: #fff; } div.auto_complete ul { border:1px solid #888; margin:0; padding:0; width:100%; list-style-type:none; } div.auto_complete ul li { margin:0; padding:3px; } div.auto_complete ul li.selected { background-color: #ffb; } div.auto_complete ul strong.highlight { color: #800; margin:0; padding:0; } EOT end end
andersjacobsen/mirmaid
vendor/plugins/auto_complete/lib/auto_complete_macros_helper.rb
Ruby
gpl-3.0
8,014
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="nl_NL"> <context> <name>AVForm</name> <message> <source>Audio/Video</source> <translation>Audio/video</translation> </message> <message> <source>Default resolution</source> <translation>Standaardresolutie</translation> </message> <message> <source>Disabled</source> <translation>Uitgeschakeld</translation> </message> <message> <source>Select region</source> <translation>Selecteer regio</translation> </message> <message> <source>Screen %1</source> <translation>Scherm %1</translation> </message> <message> <source>Audio Settings</source> <translation>Audio-instellingen</translation> </message> <message> <source>Gain</source> <translation>Versterking</translation> </message> <message> <source>Playback device</source> <translation>Afspeelapparaat</translation> </message> <message> <source>Capture device</source> <translation>Opnameapparaat</translation> </message> <message> <source>Volume</source> <translation>Volume</translation> </message> <message> <source>Video Settings</source> <translation>Video-instellingen</translation> </message> <message> <source>Video device</source> <translation>Video-apparaat</translation> </message> <message> <source>Set resolution of your camera. The higher values, the better video quality your friends may get. Note though that with better video quality there is needed better internet connection. Sometimes your connection may not be good enough to handle higher video quality, which may lead to problems with video calls.</source> <translation>Stel de resolutie van je camera in. Hoe hoger de resolutie, des te beter de videokwaliteit die je vrienden te zien krijgen. Let er echter op dat je voor een hogere resolutie ook een betere internetverbinding nodig hebt. Het is mogelijk dat je internetverbinding niet snel genoeg is om een hogere videokwaliteit te ondersteunen, wat tot problemen kan leiden met videogesprekken.</translation> </message> <message> <source>Resolution</source> <translation>Resolutie</translation> </message> <message> <source>Rescan devices</source> <translation>Apparaten opnieuw scannen</translation> </message> <message> <source>Test Sound</source> <translation>Testgeluid</translation> </message> <message> <source>Audio quality</source> <translation>Audiokwaliteit</translation> </message> <message> <source>High (64 kbps)</source> <translation>Hoog (64 kbps)</translation> </message> <message> <source>Medium (32 kbps)</source> <translation>Gemiddeld (32 kbps)</translation> </message> <message> <source>Low (16 kbps)</source> <translation>Laag (16 kbps)</translation> </message> <message> <source>Very low (8 kbps)</source> <translation>Zeer laag (8 kbps)</translation> </message> <message> <source>Threshold</source> <translation>Drempelwaarde</translation> </message> <message> <source>Use slider to set the volume of your speakers.</source> <translation type="unfinished"></translation> </message> <message> <source>Transmitted audio quality. Lower this setting if your bandwidth is not high enough or if you want to reduce bandwidth usage.</source> <translation type="unfinished"></translation> </message> <message> <source>Set resolution of your camera. The higher values, the better video quality your friends may get. Note that with better video quality, you use more bandwidth. Sometimes your connection may not be good enough to handle higher video quality, which may lead to problems with video calls.</source> <translation type="unfinished"></translation> </message> <message> <source>Play a test sound while changing the output volume.</source> <translation type="unfinished"></translation> </message> <message> <source>Use slider to set the gain of your input device ranging from %1dB to %2dB.</source> <translation type="unfinished"></translation> </message> <message> <source>Use slider to set the activation volume for your input device.</source> <translation type="unfinished"></translation> </message> </context> <context> <name>AboutForm</name> <message> <source>About</source> <translation>Over</translation> </message> <message> <source>Original author: %1</source> <translation>Oorspronkelijke auteur: %1</translation> </message> <message> <source>You are using qTox version %1.</source> <translation>Je gebruikt qTox-versie %1.</translation> </message> <message> <source>Commit hash: %1</source> <translation>Commit-hash: %1</translation> </message> <message> <source>toxcore version: %1</source> <translation>toxcore-versie: %1</translation> </message> <message> <source>Qt version: %1</source> <translation>Qt-versie: %1</translation> </message> <message> <source>A list of all known issues may be found at our %1 at Github. If you discover a bug or security vulnerability within qTox, please report it according to the guidelines in our %2 wiki article.</source> <comment>`%1` is replaced by translation of `bug tracker` `%2` is replaced by translation of `Writing Useful Bug Reports`</comment> <translation>Een lijst van bekende problemen kun je vinden op onze %1 op GitHub. Als je een probleem of beveiligingsfout in qTox tegenkomt, gelieve deze dan te melden volgens de richtlijnen in ons wiki-artikel %2.</translation> </message> <message> <source>Click here to report a bug.</source> <translation>Klik hier om een probleem te melden.</translation> </message> <message> <source>See a full list of %1 at Github</source> <comment>`%1` is replaced with translation of word `contributors`</comment> <translation>Bekijk een volledige lijst van %1 op GitHub</translation> </message> <message> <source>bug-tracker</source> <comment>Replaces `%1` in the `A list of all known…`</comment> <translation type="unfinished">bugtracker</translation> </message> <message> <source>Writing Useful Bug Reports</source> <comment>Replaces `%2` in the `A list of all known…`</comment> <translation type="unfinished">Nuttige probleemmeldingen schrijven</translation> </message> <message> <source>contributors</source> <comment>Replaces `%1` in `See a full list of…`</comment> <translation type="unfinished">bijdragers</translation> </message> </context> <context> <name>AboutFriendForm</name> <message> <source>Dialog</source> <translation>Dialoogvenster</translation> </message> <message> <source>username</source> <translation>gebruikersnaam</translation> </message> <message> <source>status message</source> <translation>statusbericht</translation> </message> <message> <source>Used aliases:</source> <translation>Gebruikte aliassen:</translation> </message> <message> <source>HISTORY OF ALIASES</source> <translation>ALIASGESCHIEDENIS</translation> </message> <message> <source>Automatically accept files from contact if set</source> <translation>Indien ingesteld automatisch bestanden van dit contact aanvaarden</translation> </message> <message> <source>Default directory to save files:</source> <translation>Standaardlocatie om bestanden op te slaan:</translation> </message> <message> <source>Manual</source> <translation>Handmatig</translation> </message> <message> <source>Audio</source> <translation>Audio</translation> </message> <message> <source>Audio + Video</source> <translation>Audio + video</translation> </message> <message> <source>Automatically accept group chat invitations from this contact if set.</source> <translation>Indien ingesteld groepsgespreksuitnodigingen van dit contact automatisch aanvaarden.</translation> </message> <message> <source>Remove history (operation can not be undone!)</source> <translation>Geschiedenis verwijderen (kan niet ongedaan gemaakt worden!)</translation> </message> <message> <source>Notes</source> <translation>Notities</translation> </message> <message> <source>Input field for notes about the contact</source> <translation>Invoerveld voor notities over het contact</translation> </message> <message> <source>History removed</source> <translation>Geschiedenis verwijderd</translation> </message> <message> <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This is the public key of your friend, use it to verify their identity via another channel. You can not send this to other people so they can add this contact.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source> <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Dit is de publieke sleutel van jouw vriend, gebruik het om zijn/haar identiteit te bevestigen over een ander kanaal. Je kan dit niet naar andere mensen sturen om dit contact toe te voegen.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation> </message> <message> <source>Public key (not ToxID):</source> <translation>Publieke sleutel (geen ToxID):</translation> </message> <message> <source>Confirmation</source> <translation>Bevestiging</translation> </message> <message> <source>Are you sure to remove %1 chat history?</source> <translation>Weet je zeker dat je %1 gespreksgeschiedenis wilt verwijderen?</translation> </message> <message> <source>Failed to remove chat history with %1!</source> <translation>Kon chatgeschiedenis met %1 niet verwijderen!</translation> </message> <message> <source>Auto-accept files</source> <translation type="unfinished"></translation> </message> <message> <source>Auto-accept for this contact is disabled</source> <translation type="unfinished"></translation> </message> <message> <source>Auto-accept call:</source> <translation type="unfinished"></translation> </message> <message> <source>Auto-accept group invites</source> <translation type="unfinished"></translation> </message> <message> <source>You can save comments about this contact here.</source> <translation type="unfinished"></translation> </message> <message> <source>Choose an auto-accept directory</source> <extracomment>popup title</extracomment> <translation type="unfinished"></translation> </message> </context> <context> <name>AboutSettings</name> <message> <source>Version</source> <translation>Versie</translation> </message> <message> <source>License</source> <translation>Licentie</translation> </message> <message> <source>Authors</source> <translation>Auteurs</translation> </message> <message> <source>Known Issues</source> <translation>Bekende problemen</translation> </message> <message> <source>Open update download link</source> <translation>Update-downloadlink openen</translation> </message> <message> <source>Update available</source> <translation>Nieuwe versie beschikbaar</translation> </message> <message> <source>qTox is up to date ✓</source> <translation type="unfinished">deze qTox versie is actueel ✓</translation> </message> <message> <source>Currently running an untested/unstable version of qTox</source> <translation type="unfinished"></translation> </message> </context> <context> <name>AddFriendForm</name> <message> <source>Add Friends</source> <translation>Vrienden toevoegen</translation> </message> <message> <source>Send friend request</source> <translation>Vriendschapsverzoek sturen</translation> </message> <message> <source>Couldn&apos;t add friend</source> <translation>Kon vriend niet toevoegen</translation> </message> <message> <source>Invalid Tox ID format</source> <translation>Ongeldige Tox-ID</translation> </message> <message> <source>Add a friend</source> <translation>Vriend toevoegen</translation> </message> <message> <source>Friend requests</source> <translation>Vriendschapsverzoeken</translation> </message> <message> <source>Accept</source> <translation>Aanvaarden</translation> </message> <message> <source>Reject</source> <translation>Weigeren</translation> </message> <message> <source>Type in Tox ID of your friend</source> <translation>Voer de Tox-ID van je vriend in</translation> </message> <message> <source>Friend request message</source> <translation>Bericht voor vriendschapsverzoek</translation> </message> <message> <source>Type message to send with the friend request or leave empty to send a default message</source> <translation>Voer een bericht in om samen met het vriendschapsverzoek te sturen, of laat leeg om een standaardbericht te sturen</translation> </message> <message> <source>You can&apos;t add yourself as a friend!</source> <extracomment>When trying to add your own Tox ID as friend</extracomment> <translation>Je kunt jezelf niet als vriend toevoegen!</translation> </message> <message> <source>Open contact list</source> <translation>Contactlijst openen</translation> </message> <message> <source>Couldn&apos;t open file</source> <translation>Kon bestand niet openen</translation> </message> <message> <source>Couldn&apos;t open the contact file</source> <extracomment>Error message when trying to open a contact list file to import</extracomment> <translation>Kon het contactbestand niet openen</translation> </message> <message> <source>Invalid file</source> <translation>Ongeldig bestand</translation> </message> <message> <source>We couldn&apos;t find any contacts to import in this file!</source> <translation>We konden in dit bestand geen contacten vinden om te importeren!</translation> </message> <message> <source>Tox ID</source> <extracomment>Tox ID of the person you&apos;re sending a friend request to</extracomment> <translation>Tox-ID</translation> </message> <message> <source>Message</source> <extracomment>The message you send in friend requests</extracomment> <translation>Bericht</translation> </message> <message> <source>Open</source> <extracomment>Button to choose a file with a list of contacts to import</extracomment> <translation>Openen</translation> </message> <message> <source>Send friend requests</source> <translation>Vriendschapsverzoeken sturen</translation> </message> <message> <source>%1 here! Tox me maybe?</source> <extracomment>Default message in friend requests if the field is left blank. Write something appropriate!</extracomment> <translation>%1 hier! Tox met me!</translation> </message> <message> <source>Import a list of contacts, one Tox ID per line</source> <translation>Importeer een lijst van contacten, één Tox-ID per regel</translation> </message> <message numerus="yes"> <source>Ready to import %n contact(s), click send to confirm</source> <translation> <numerusform>Klaar om %n contact te importeren, klik om te bevestigen</numerusform> <numerusform>Klaar om %n contacten te importeren, klik om te bevestigen</numerusform> </translation> </message> <message> <source>Import contacts</source> <translation>Contacten importeren</translation> </message> <message> <source>Tox ID, 76 hexadecimal characters</source> <translation type="unfinished"></translation> </message> <message> <source>%1 Tox ID is invalid</source> <comment>Tox address error</comment> <translation type="unfinished"></translation> </message> <message> <source>76 hexadecimal characters</source> <extracomment>Tox ID format description</extracomment> <translation type="unfinished"></translation> </message> </context> <context> <name>AdvancedForm</name> <message> <source>Advanced</source> <translation>Geavanceerd</translation> </message> <message> <source>really</source> <translation>écht</translation> </message> <message> <source>not</source> <translation>niets</translation> </message> <message> <source>IMPORTANT NOTE</source> <translation>BELANGRIJKE OPMERKING</translation> </message> <message> <source>Reset settings</source> <translation>Instellingen herstellen</translation> </message> <message> <source>All settings will be reset to default. Are you sure?</source> <translation>Alle instellingen zullen teruggebracht worden naar de standaardinstellingen. Weet je het zeker?</translation> </message> <message> <source>Yes</source> <translation>Ja</translation> </message> <message> <source>No</source> <translation>Nee</translation> </message> <message> <source>Logs (*.log)</source> <translation>Logboeken (*.log)</translation> </message> <message> <source>Unless you %1 know what you are doing, please do %2 change anything here. Changes made here may lead to problems with qTox, and even to loss of your data, e.g. history.%3</source> <translation type="unfinished"></translation> </message> <message> <source>Changes here are applied only after restarting qTox.</source> <translation type="unfinished"></translation> </message> <message> <source>Save file</source> <translation type="unfinished"></translation> </message> </context> <context> <name>AdvancedSettings</name> <message> <source>Save settings to the working directory instead of the usual conf dir</source> <extracomment>describes makeToxPortable checkbox</extracomment> <translation>Sla instellingen op in de map waarin qTox draait in plaats van de normale configuratielocatie</translation> </message> <message> <source>Make Tox portable</source> <translation>Tox portabel maken</translation> </message> <message> <source>Reset to default settings</source> <translation>Standaardinstellingen herstellen</translation> </message> <message> <source>Portable</source> <translation>Portabel</translation> </message> <message> <source>Enable IPv6 (recommended)</source> <extracomment>Text on a checkbox to enable IPv6</extracomment> <translation>Gebruik IPv6 (aanbevolen)</translation> </message> <message> <source>Enable UDP (recommended)</source> <extracomment>Text on checkbox to disable UDP</extracomment> <translation>Gebruik UDP (aanbevolen)</translation> </message> <message> <source>Proxy type:</source> <translation>Proxy-type:</translation> </message> <message> <source>Address:</source> <extracomment>Text on proxy addr label</extracomment> <translation>Adres:</translation> </message> <message> <source>Port:</source> <extracomment>Text on proxy port label</extracomment> <translation>Poort:</translation> </message> <message> <source>None</source> <translation>Geen</translation> </message> <message> <source>SOCKS5</source> <translation>SOCKS5</translation> </message> <message> <source>HTTP</source> <translation>HTTP</translation> </message> <message> <source>Debug</source> <translation>Debug</translation> </message> <message> <source>Export Debug Log</source> <translation>Debuglogboek exporteren</translation> </message> <message> <source>Copy Debug Log</source> <translation>Debuglogboek kopiëren</translation> </message> <message> <source>Enable LAN discovery</source> <translation>LAN-herkenning aanzetten</translation> </message> <message> <source>Connection settings</source> <translation type="unfinished"></translation> </message> <message> <source>Disabling this allows, e.g., Tox over Tor. It adds load to the Tox network however, so uncheck only when necessary.</source> <extracomment>force tcp checkbox tooltip</extracomment> <translation type="unfinished"></translation> </message> </context> <context> <name>ChatForm</name> <message> <source>Send a file</source> <translation>Bestand versturen</translation> </message> <message> <source>qTox wasn&apos;t able to open %1</source> <translation>qTox kon %1 niet openen</translation> </message> <message> <source>Unable to open</source> <translation>Openen mislukt</translation> </message> <message> <source>Bad idea</source> <translation>Slecht idee</translation> </message> <message> <source>Failed to open temporary file</source> <comment>Temporary file for screenshot</comment> <translation>Kon tijdelijk bestand niet openen</translation> </message> <message> <source>qTox wasn&apos;t able to save the screenshot</source> <translation>qTox kon de schermafdruk niet opslaan</translation> </message> <message> <source>Call duration: </source> <translation>Gespreksduur: </translation> </message> <message> <source>Copy</source> <translation>Kopiëren</translation> </message> <message> <source>You&apos;re trying to send a sequential file, which is not going to work!</source> <translation>Je probeert een sequentieel bestand te sturen, maar dat kan niet!</translation> </message> <message> <source>Filename contained illegal characters</source> <translation>Bestandsnaam bevatte niet-toegestane tekens</translation> </message> <message> <source>Illegal characters have been changed to _ so you can save the file on Windows.</source> <translation type="unfinished"></translation> </message> </context> <context> <name>ChatFormHeader</name> <message> <source>Can&apos;t start audio call</source> <translation>Kan audiogesprek niet starten</translation> </message> <message> <source>Start audio call</source> <translation>Audiogesprek starten</translation> </message> <message> <source>End audio call</source> <translation>Audiogesprek beëindigen</translation> </message> <message> <source>Cancel audio call</source> <translation>Audiogesprek annuleren</translation> </message> <message> <source>Accept audio call</source> <translation>Audiogesprek aanvaarden</translation> </message> <message> <source>Can&apos;t start video call</source> <translation>Kan videogesprek niet starten</translation> </message> <message> <source>Start video call</source> <translation>Videogesprek starten</translation> </message> <message> <source>End video call</source> <translation>Videogesprek beëindigen</translation> </message> <message> <source>Cancel video call</source> <translation>Videogesprek annuleren</translation> </message> <message> <source>Accept video call</source> <translation>Videogesprek aanvaarden</translation> </message> <message> <source>Sound can be disabled only during a call</source> <translation>Geluid kan enkel uitgeschakeld worden tijdens een gesprek</translation> </message> <message> <source>Unmute call</source> <translation>Gesprek niet meer dempen</translation> </message> <message> <source>Mute call</source> <translation>Gesprek dempen</translation> </message> <message> <source>Microphone can be muted only during a call</source> <translation>Microfoon kan enkel gedempt worden tijdens een gesprek</translation> </message> <message> <source>Unmute microphone</source> <translation>Microfoon ontdempen</translation> </message> <message> <source>Mute microphone</source> <translation>Microfoon dempen</translation> </message> </context> <context> <name>ChatTextEdit</name> <message> <source>Type your message here...</source> <translation>Typ hier je bericht…</translation> </message> </context> <context> <name>ChatWidget</name> <message> <source>pending</source> <translation type="unfinished">wachtend</translation> </message> <message> <source>%1 is typing</source> <translation type="unfinished">%1 is aan het typen</translation> </message> <message> <source>Copy</source> <translation type="unfinished">Kopiëren</translation> </message> <message> <source>Select all</source> <translation type="unfinished">Alles selecteren</translation> </message> </context> <context> <name>CircleWidget</name> <message> <source>Rename circle</source> <comment>Menu for renaming a circle</comment> <translation>Cirkel hernoemen</translation> </message> <message> <source>Remove circle</source> <comment>Menu for removing a circle</comment> <translation>Cirkel verwijderen</translation> </message> <message> <source>Open all in new window</source> <translation>Alles openen in nieuw venster</translation> </message> </context> <context> <name>Core</name> <message> <source>/me offers friendship, &quot;%1&quot;</source> <translation>/me biedt vriendschap aan, ‘%1’</translation> </message> <message> <source>Groupchat %1</source> <translation>Groepschat %1</translation> </message> <message> <source>Invalid Tox ID</source> <comment>Error while sending friend request</comment> <translation type="unfinished">Ongeldige Tox-ID</translation> </message> <message> <source>You need to write a message with your request</source> <comment>Error while sending friend request</comment> <translation type="unfinished">Je vriendschapsverzoek moet een bericht bevatten</translation> </message> <message> <source>Your message is too long!</source> <comment>Error while sending friend request</comment> <translation type="unfinished">Je bericht is te lang!</translation> </message> <message> <source>Friend is already added</source> <comment>Error while sending friend request</comment> <translation type="unfinished">Vriend is al toegevoegd</translation> </message> </context> <context> <name>ExtensionStatus</name> <message> <source>All extensions supported</source> <translation type="unfinished"></translation> </message> <message> <source>No extensions supported</source> <translation type="unfinished"></translation> </message> <message> <source>Not all extensions supported</source> <translation type="unfinished"></translation> </message> <message> <source>Multipart Messages: </source> <translation type="unfinished"></translation> </message> </context> <context> <name>FileTransferWidget</name> <message> <source>Form</source> <translation>Formulier</translation> </message> <message> <source>10Mb</source> <translation>10Mb</translation> </message> <message> <source>0kb/s</source> <translation>0kb/s</translation> </message> <message> <source>ETA:10:10</source> <translation>Verwachte resterende downloadtijd:10:10</translation> </message> <message> <source>Filename</source> <translation>Bestandsnaam</translation> </message> <message> <source>Waiting to send...</source> <comment>file transfer widget</comment> <translation>Wachten om te versturen…</translation> </message> <message> <source>Accept to receive this file</source> <comment>file transfer widget</comment> <translation>Aanvaard om dit bestand te ontvangen</translation> </message> <message> <source>Location not writable</source> <comment>Title of permissions popup</comment> <translation>Locatie niet schrijfbaar</translation> </message> <message> <source>You do not have permission to write that location. Choose another, or cancel the save dialog.</source> <comment>text of permissions popup</comment> <translation>Je hebt geen toegang om een bestand op deze locatie op te slaan. Kies een andere locatie of annuleer het opslaan.</translation> </message> <message> <source>Paused</source> <comment>file transfer widget</comment> <translation>Gepauzeerd</translation> </message> <message> <source>Resuming...</source> <comment>file transfer widget</comment> <translation>Hervatten…</translation> </message> <message> <source>Open file</source> <translation>Bestand openen</translation> </message> <message> <source>Open file directory</source> <translation>Bestandsmap openen</translation> </message> <message> <source>Pause transfer</source> <translation>Bestandsoverdracht pauzeren</translation> </message> <message> <source>Cancel transfer</source> <translation>Bestandsoverdracht annuleren</translation> </message> <message> <source>Resume transfer</source> <translation>Bestandsoverdracht hervatten</translation> </message> <message> <source>Accept transfer</source> <translation>Bestandsoverdracht aanvaarden</translation> </message> <message> <source>Save a file</source> <comment>Title of the file saving dialog</comment> <translation>Bestand opslaan</translation> </message> <message> <source>Remote paused</source> <comment>file transfer widget</comment> <translation type="unfinished"></translation> </message> </context> <context> <name>FilesForm</name> <message> <source>Downloads</source> <translation>Downloads</translation> </message> <message> <source>Uploads</source> <translation>Uploads</translation> </message> <message> <source>Transferred files</source> <comment>&quot;Headline&quot; of the window</comment> <translation type="unfinished"></translation> </message> </context> <context> <name>FriendListWidget</name> <message> <source>Today</source> <translation>Vandaag</translation> </message> <message> <source>Yesterday</source> <translation>Gisteren</translation> </message> <message> <source>Last 7 days</source> <translation>Afgelopen 7 dagen</translation> </message> <message> <source>This month</source> <translation>Deze maand</translation> </message> <message> <source>Never</source> <translation>Nooit</translation> </message> <message> <source>Older than 6 months</source> <translation type="unfinished"></translation> </message> </context> <context> <name>FriendWidget</name> <message> <source>Invite to group</source> <comment>Menu to invite a friend to a groupchat</comment> <translation>Uitnodigen voor groep</translation> </message> <message> <source>Move to circle...</source> <comment>Menu to move a friend into a different circle</comment> <translation>Verplaatsen naar cirkel…</translation> </message> <message> <source>To new circle</source> <translation>Naar nieuwe cirkel</translation> </message> <message> <source>Remove from circle &apos;%1&apos;</source> <translation>Verwijderen uit cirkel ‘%1’</translation> </message> <message> <source>Set alias...</source> <translation>Alias instellen…</translation> </message> <message> <source>Auto accept files from this friend</source> <comment>context menu entry</comment> <translation>Bestanden van deze vriend automatisch aanvaarden</translation> </message> <message> <source>Choose an auto accept directory</source> <comment>popup title</comment> <translation>Kies een map om automatisch aanvaarde bestanden op te slaan</translation> </message> <message> <source>New message</source> <translation>Nieuw bericht</translation> </message> <message> <source>Online</source> <translation>Online</translation> </message> <message> <source>Away</source> <translation>Afwezig</translation> </message> <message> <source>Busy</source> <translation>Bezet</translation> </message> <message> <source>Offline</source> <translation>Offline</translation> </message> <message> <source>Open chat in new window</source> <translation>Chat openen in nieuw venster</translation> </message> <message> <source>Remove chat from this window</source> <translation>Chat uit dit venster verwijderen</translation> </message> <message> <source>To new group</source> <translation>Naar nieuwe groep</translation> </message> <message> <source>Invite to group &apos;%1&apos;</source> <translation>Uitnodigen voor groep ‘%1’</translation> </message> <message> <source>Show details</source> <translation>Details tonen</translation> </message> <message> <source>Move to circle &quot;%1&quot;</source> <translation type="unfinished"></translation> </message> <message> <source>Remove friend</source> <comment>Menu to remove the friend from the friend list</comment> <translation type="unfinished">Vriend verwijderen</translation> </message> <message> <source>Blocked</source> <translation type="unfinished"></translation> </message> <message> <source>Negotiating</source> <translation type="unfinished"></translation> </message> </context> <context> <name>GeneralForm</name> <message> <source>General</source> <translation>Algemeen</translation> </message> <message> <source>Choose an auto accept directory</source> <comment>popup title</comment> <translation>Kies een map om automatisch aanvaarde bestanden op te slaan</translation> </message> </context> <context> <name>GeneralSettings</name> <message> <source>General Settings</source> <translation>Algemene instellingen</translation> </message> <message> <source>The translation may not load until qTox restarts.</source> <translation>De vertaling wordt mogelijk pas geladen als qTox opnieuw is opgestart.</translation> </message> <message> <source>Language:</source> <translation>Taal:</translation> </message> <message> <source>Show system tray icon</source> <translation>Pictogram tonen in systeemvak</translation> </message> <message> <source>Enable light tray icon.</source> <comment>toolTip for light icon setting</comment> <translation>Licht systeemvakpictogram inschakelen.</translation> </message> <message> <source>Light icon</source> <translation>Licht pictogram</translation> </message> <message> <source>qTox will start minimized in tray.</source> <comment>toolTip for Start in tray setting</comment> <translation>qTox zal geminimaliseerd in het systeemvak starten.</translation> </message> <message> <source>Start in tray</source> <translation>In systeemvak starten</translation> </message> <message> <source>Close to tray</source> <translation>Naar systeemvak sluiten</translation> </message> <message> <source>Minimize to tray</source> <translation>Naar systeemvak minimaliseren</translation> </message> <message> <source>Set where files will be saved.</source> <translation>Stel in waar bestanden opgeslagen worden.</translation> </message> <message> <source>Autoaccept files</source> <translation>Bestanden automatisch aanvaarden</translation> </message> <message> <source>Set to 0 to disable</source> <translation>Stel in op 0 om uit te schakelen</translation> </message> <message> <source>Your status is changed to Away after set period of inactivity.</source> <translation>Je status zal automatisch op afwezig gezet worden na een bepaalde periode van inactiviteit.</translation> </message> <message> <source>Auto away after (0 to disable):</source> <translation>Automatisch afwezig na (0 om uit te schakelen):</translation> </message> <message> <source>Start qTox on operating system startup (current profile).</source> <translation>qTox starten bij opstarten van besturingssysteem (huidige profiel).</translation> </message> <message> <source>Show contacts&apos; status changes</source> <translation>Statusveranderingen van contacten tonen</translation> </message> <message> <source>Autostart</source> <translation>Automatisch starten</translation> </message> <message> <source>Default directory to save files:</source> <translation>Standaardmap om bestanden op te slaan:</translation> </message> <message> <source>Check for updates</source> <translation>Op nieuwe versies controleren</translation> </message> <message> <source>Spell checking</source> <translation>Spellingscontrole</translation> </message> <message> <source>Max autoaccept file size (0 to disable):</source> <translation>Max. grootte automatisch geaccepteerde bestanden (0 om te deactiveren):</translation> </message> <message> <source> MB</source> <translation> MB</translation> </message> <message> <source>After pressing minimize (_) qTox will minimize to tray, instead of system taskbar.</source> <comment>toolTip for minimize to tray setting</comment> <translation type="unfinished"></translation> </message> <message> <source>After pressing close (X) qTox will close to tray, instead of closing entirely.</source> <comment>toolTip for close to tray setting</comment> <translation type="unfinished"></translation> </message> <message> <source>You can set this on a per-friend basis by right clicking individual friends.</source> <comment>autoaccept cb tooltip</comment> <translation type="unfinished"></translation> </message> <message> <source>Add a chat message when a user joins or leaves a group</source> <translation type="unfinished"></translation> </message> </context> <context> <name>GenericChatForm</name> <message> <source>Send message</source> <translation>Bericht versturen</translation> </message> <message> <source>Smileys</source> <translation>Smileys</translation> </message> <message> <source>Send file(s)</source> <translation>Bestand(en) versturen</translation> </message> <message> <source>Save chat log</source> <translation>Chatgeschiedenis opslaan</translation> </message> <message> <source>Send a screenshot</source> <translation>Schermafdruk sturen</translation> </message> <message> <source>Clear displayed messages</source> <translation>Getoonde berichten wissen</translation> </message> <message> <source>Quote selected text</source> <translation>Geselecteerde tekst citeren</translation> </message> <message> <source>Copy link address</source> <translation>Koppelingsadres kopiëren</translation> </message> <message> <source>Confirmation</source> <translation>Bevestiging</translation> </message> <message> <source>Search in text</source> <translation>Tekst doorzoeken</translation> </message> <message> <source>Go to current date</source> <translation>Naar huidige datum gaan</translation> </message> <message> <source>Load chat history...</source> <translation>Chatgeschiedenis laden…</translation> </message> <message> <source>Export to file</source> <translation>Naar bestand exporteren</translation> </message> <message> <source>Are you sure that you want to clear all displayed messages?</source> <translation type="unfinished"></translation> </message> </context> <context> <name>GroupChatForm</name> <message numerus="yes"> <source>%n user(s) in chat</source> <comment>Number of users in chat</comment> <translation type="unfinished"> <numerusform></numerusform> <numerusform></numerusform> </translation> </message> <message> <source>mute</source> <translation>dempen</translation> </message> <message> <source>unmute</source> <translation>ontdempen</translation> </message> </context> <context> <name>GroupInviteForm</name> <message> <source>Groups</source> <translation>Groepen</translation> </message> <message> <source>Create new group</source> <translation>Nieuwe groep aanmaken</translation> </message> <message> <source>Group invites</source> <translation>Groepsuitnodigingen</translation> </message> </context> <context> <name>GroupInviteWidget</name> <message> <source>Invited by %1 on %2 at %3.</source> <translation>Uitgenodigd door %1 op %2 om %3.</translation> </message> <message> <source>Join</source> <translation>Deelnemen</translation> </message> <message> <source>Decline</source> <translation>Weigeren</translation> </message> </context> <context> <name>GroupWidget</name> <message> <source>Set title...</source> <translation>Stel titel in…</translation> </message> <message> <source>Quit group</source> <comment>Menu to quit a groupchat</comment> <translation>Groep verlaten</translation> </message> <message> <source>Open chat in new window</source> <translation>Chat openen in nieuw venster</translation> </message> <message> <source>Remove chat from this window</source> <translation>Chat verwijderen uit dit venster</translation> </message> <message numerus="yes"> <source>%n user(s) in chat</source> <comment>Number of users in chat</comment> <translation type="unfinished"> <numerusform></numerusform> <numerusform></numerusform> </translation> </message> <message> <source>New Message</source> <translation>Nieuw bericht</translation> </message> <message> <source>Online</source> <translation>Online</translation> </message> </context> <context> <name>IdentitySettings</name> <message> <source>Public Information</source> <translation>Publieke informatie</translation> </message> <message> <source>Tox ID</source> <translation>Tox-ID</translation> </message> <message> <source>Your Tox ID (click to copy)</source> <translation>Jouw Tox-ID (klik om te kopiëren)</translation> </message> <message> <source>This QR code contains your Tox ID. You may share this with your friends as well.</source> <translation>Deze QR-code bevat je Tox-ID. Je kunt deze met vrienden delen.</translation> </message> <message> <source>Save image</source> <translation>Afbeelding opslaan</translation> </message> <message> <source>Copy image</source> <translation>Afbeelding kopiëren</translation> </message> <message> <source>Profile</source> <translation>Profiel</translation> </message> <message> <source>Rename profile.</source> <comment>tooltip for renaming profile button</comment> <translation>Profiel hernoemen.</translation> </message> <message> <source>Delete profile.</source> <comment>delete profile button tooltip</comment> <translation>Profiel verwijderen.</translation> </message> <message> <source>Go back to the login screen</source> <comment>tooltip for logout button</comment> <translation>Ga terug naar het aanmeldscherm</translation> </message> <message> <source>Logout</source> <comment>import profile button</comment> <translation>Uitloggen</translation> </message> <message> <source>Remove password</source> <translation>Wachtwoord verwijderen</translation> </message> <message> <source>Change password</source> <translation>Wachtwoord wijzigen</translation> </message> <message> <source>Rename</source> <comment>rename profile button</comment> <translation>Hernoemen</translation> </message> <message> <source>Export</source> <comment>export profile button</comment> <translation>Exporteren</translation> </message> <message> <source>Allows you to export your Tox profile to a file. Profile does not contain your history.</source> <comment>tooltip for profile exporting button</comment> <translation>Exporteer je Tox-profiel naar een bestand. Dit bestand bevat geen chatgeschiedenis.</translation> </message> <message> <source>Delete</source> <comment>delete profile button</comment> <translation>Verwijderen</translation> </message> <message> <source>Remove your password and encryption from your profile.</source> <comment>Tooltip for the `Remove password` button.</comment> <translation>Verwijder je wachtwoord en versleuteling van je profiel.</translation> </message> <message> <source>Name input</source> <translation>Naaminvoer</translation> </message> <message> <source>Name visible to contacts</source> <translation>Naam zichtbaar voor contacten</translation> </message> <message> <source>Status message input</source> <translation>Invoer voor statusbericht</translation> </message> <message> <source>Status message visible to contacts</source> <translation>Statusbericht zichtbaar voor contacten</translation> </message> <message> <source>Your Tox ID</source> <translation>Je Tox-ID</translation> </message> <message> <source>Save QR image as file</source> <translation>QR-afbeelding opslaan als bestand</translation> </message> <message> <source>Copy QR image to clipboard</source> <translation>QR-afbeelding kopiëren naar klembord</translation> </message> <message> <source>Rename profile.</source> <translation>Profiel hernoemen.</translation> </message> <message> <source>Delete profile.</source> <translation>Profiel verwijderen.</translation> </message> <message> <source>Export profile</source> <translation>Profiel exporteren</translation> </message> <message> <source>Remove password from profile</source> <translation>Wachtwoord van profiel verwijderen</translation> </message> <message> <source>Change profile password</source> <translation>Wachtwoord van profiel wijzigen</translation> </message> <message> <source>My name:</source> <translation>Mijn naam:</translation> </message> <message> <source>My status:</source> <translation>Mijn status:</translation> </message> <message> <source>My profile</source> <translation>Mijn profiel</translation> </message> <message> <source>This ID allows other Tox users to add and contact you. Share it with your friends to begin chatting.</source> <comment>Tox ID tooltip</comment> <translation type="unfinished"></translation> </message> </context> <context> <name>LoadHistoryDialog</name> <message> <source>Load history dialog</source> <translation type="unfinished"></translation> </message> <message> <source>Load history from:</source> <translation type="unfinished"></translation> </message> </context> <context> <name>LoginScreen</name> <message> <source>Username:</source> <translation>Gebruikersnaam:</translation> </message> <message> <source>Password:</source> <translation>Wachtwoord:</translation> </message> <message> <source>Confirm:</source> <translation>Bevestig:</translation> </message> <message> <source>Password strength: %p%</source> <translation>Wachtwoordsterkte: %p%</translation> </message> <message> <source>Create Profile</source> <translation>Profiel aanmaken</translation> </message> <message> <source>If the profile does not have a password, qTox can skip the login screen</source> <translation>Als het profiel geen wachtwoord heeft kan qTox het aanmeldscherm overslaan</translation> </message> <message> <source>New Profile</source> <translation>Nieuw profiel</translation> </message> <message> <source>Couldn&apos;t create a new profile</source> <translation>Kon geen nieuw profiel aanmaken</translation> </message> <message> <source>The username must not be empty.</source> <translation>De gebruikersnaam mag niet leeg zijn.</translation> </message> <message> <source>The password must be at least 6 characters long.</source> <translation>Het wachtwoord moet minstens 6 tekens lang zijn.</translation> </message> <message> <source>A profile with this name already exists.</source> <translation>Er bestaat al een profiel met deze naam.</translation> </message> <message> <source>Couldn&apos;t load this profile</source> <translation>Kon dit profiel niet laden</translation> </message> <message> <source>This profile is already in use.</source> <translation>Dit profiel is al in gebruik.</translation> </message> <message> <source>Wrong password.</source> <translation>Verkeerd wachtwoord.</translation> </message> <message> <source>Load automatically</source> <translation>Automatisch laden</translation> </message> <message> <source>Import</source> <translation>Importeren</translation> </message> <message> <source>Load</source> <translation>Laden</translation> </message> <message> <source>Load Profile</source> <translation>Profiel laden</translation> </message> <message> <source>Password protected profiles can&apos;t be automatically loaded.</source> <translation>Profielen beschermd met wachtwoord kunnen niet automatisch geladen worden.</translation> </message> <message> <source>Couldn&apos;t load profile</source> <translation>Kon profiel niet laden</translation> </message> <message> <source>There is no selected profile. You may want to create one.</source> <translation>Er is geen profiel geselecteerd. Misschien wil je er een maken.</translation> </message> <message> <source>Username input field</source> <translation>Invoerveld voor gebruikersnaam</translation> </message> <message> <source>Password input field, you can leave it empty (no password), or type at least 6 characters</source> <translation>Wachtwoordinvoerveld, je kan dit leeg laten (geen wachtwoord), of minstens 6 tekens invoeren</translation> </message> <message> <source>Password confirmation field</source> <translation>Wachtwoordbevestigingsveld</translation> </message> <message> <source>Create a new profile button</source> <translation>Knop voor aanmaken van nieuw profiel</translation> </message> <message> <source>Profile list</source> <translation>Profiellijst</translation> </message> <message> <source>List of profiles</source> <translation>Lijst van profielen</translation> </message> <message> <source>Password input</source> <translation>Wachtwoordinvoer</translation> </message> <message> <source>Load automatically checkbox</source> <translation>Selectievakje voor automatisch laden</translation> </message> <message> <source>Import profile</source> <translation>Profiel importeren</translation> </message> <message> <source>Load selected profile button</source> <translation>Knop voor laden van geselecteerd profiel</translation> </message> <message> <source>New profile creation page</source> <translation>Pagina voor aanmaken van nieuw profiel</translation> </message> <message> <source>Loading existing profile page</source> <translation>Pagina voor laden van bestaand profiel</translation> </message> <message> <source>The passwords you&apos;ve entered are different. Please make sure to enter the same password twice.</source> <translation type="unfinished"></translation> </message> </context> <context> <name>MainWindow</name> <message> <source>Your name</source> <translation>Je naam</translation> </message> <message> <source>Your status</source> <translation>Je status</translation> </message> <message> <source>...</source> <translation>…</translation> </message> <message> <source>Add friends</source> <translation>Vrienden toevoegen</translation> </message> <message> <source>Create a group chat</source> <translation>Groepschat aanmaken</translation> </message> <message> <source>View completed file transfers</source> <translation>Voltooide bestandsoverdrachten bekijken</translation> </message> <message> <source>Change your settings</source> <translation>Je instellingen wijzigen</translation> </message> <message> <source>Close</source> <translation>Sluiten</translation> </message> <message> <source>Open profile</source> <translation>Profiel openen</translation> </message> <message> <source>Open profile page when clicked</source> <translation>Profielpagina openen wanneer aangeklikt</translation> </message> <message> <source>Status message input</source> <translation>Invoer voor statusbericht</translation> </message> <message> <source>Set your status message that will be shown to others</source> <translation>Je statusbericht instellen, dat aan anderen getoond zal worden</translation> </message> <message> <source>Status</source> <translation>Status</translation> </message> <message> <source>Set availability status</source> <translation>Beschikbaarheidsstatus instellen</translation> </message> <message> <source>Contact search</source> <translation>Contacten doorzoeken</translation> </message> <message> <source>Contact search input for known friends</source> <translation>Invoer voor zoeken naar bekende vrienden in contacten</translation> </message> <message> <source>Sorting and visibility</source> <translation>Sortering en zichtbaarheid</translation> </message> <message> <source>Set friends sorting and visibility</source> <translation>Sortering en zichtbaarheid van vrienden instellen</translation> </message> <message> <source>Open Add friends page</source> <translation>Pagina voor toevoegen van vrienden openen</translation> </message> <message> <source>Groupchat</source> <translation>Groepschat</translation> </message> <message> <source>Open groupchat management page</source> <translation>Groepschat-beheerpagina openen</translation> </message> <message> <source>File transfers history</source> <translation>Bestandsoverdrachtgeschiedenis</translation> </message> <message> <source>Open File transfers history</source> <translation>Bestandsoverdrachtgeschiedenis openen</translation> </message> <message> <source>Settings</source> <translation>Instellingen</translation> </message> <message> <source>Open Settings</source> <translation>Instellingen openen</translation> </message> </context> <context> <name>NetCamView</name> <message> <source>Tox video</source> <translation type="unfinished">Tox-video</translation> </message> <message> <source>Full Screen</source> <translation type="unfinished">Volledig scherm</translation> </message> <message> <source>Toggle video preview</source> <translation type="unfinished">Videovoorbeeld wisselen</translation> </message> <message> <source>Mute audio</source> <translation type="unfinished">Audio dempen</translation> </message> <message> <source>Mute microphone</source> <translation type="unfinished">Microfoon dempen</translation> </message> <message> <source>End video call</source> <translation type="unfinished">Videogesprek beëindigen</translation> </message> <message> <source>Exit full screen</source> <translation type="unfinished">Volledig scherm afsluiten</translation> </message> <message> <source>Hide messages</source> <translation type="unfinished"></translation> </message> <message> <source>Show messages</source> <translation type="unfinished"></translation> </message> </context> <context> <name>Nexus</name> <message> <source>View</source> <comment>OS X Menu bar</comment> <translation>Weergave</translation> </message> <message> <source>Window</source> <comment>OS X Menu bar</comment> <translation>Venster</translation> </message> <message> <source>Minimize</source> <comment>OS X Menu bar</comment> <translation>Minimaliseren</translation> </message> <message> <source>Bring All to Front</source> <comment>OS X Menu bar</comment> <translation>Alles naar de voorgrond brengen</translation> </message> <message> <source>Exit Fullscreen</source> <translation>Volledig scherm verlaten</translation> </message> <message> <source>Enter Fullscreen</source> <translation>Volledig scherm gebruiken</translation> </message> </context> <context> <name>NotificationEdgeWidget</name> <message numerus="yes"> <source>Unread message(s)</source> <translation> <numerusform>Ongelezen bericht</numerusform> <numerusform>Ongelezen berichten</numerusform> </translation> </message> </context> <context> <name>NotificationGenerator</name> <message> <source>New message</source> <translation type="unfinished">Nieuw bericht</translation> </message> <message> <source>New group message</source> <translation type="unfinished">Nieuw groepsbericht</translation> </message> <message> <source>Incoming file transfer</source> <translation type="unfinished">Inkomende bestandsoverdracht</translation> </message> <message> <source>%1 - file transfer</source> <extracomment>e.g. Bob - file transfer</extracomment> <translation type="unfinished"></translation> </message> <message> <source>Group invite received</source> <translation type="unfinished">Groepsuitnodiging ontvangen</translation> </message> <message> <source>%1 invites you to join a group.</source> <translation type="unfinished"></translation> </message> <message> <source>Friend request received</source> <translation type="unfinished">Vriendschapsverzoek ontvangen</translation> </message> <message> <source>Friend request received from %1</source> <translation type="unfinished"></translation> </message> </context> <context> <name>PasswordEdit</name> <message> <source>CAPS-LOCK ENABLED</source> <translation>CAPS-LOCK INGESCHAKELD</translation> </message> </context> <context> <name>PrivacyForm</name> <message> <source>Privacy</source> <translation>Privacy</translation> </message> <message> <source>Confirmation</source> <translation>Bevestiging</translation> </message> <message> <source>Do you want to permanently delete all chat history?</source> <translation>Wil je alle chatsgeschiedenis voorgoed verwijderen?</translation> </message> </context> <context> <name>PrivacySettings</name> <message> <source>Your friends will be able to see when you are typing.</source> <comment>tooltip for typing notifications setting</comment> <translation>Je vrienden kunnen zien wanneer je typt.</translation> </message> <message> <source>Send typing notifications</source> <translation>Typmeldingen versturen</translation> </message> <message> <source>Keep chat history</source> <translation>Chatgeschiedenis behouden</translation> </message> <message> <source>NoSpam is part of your Tox ID. If you are being spammed with friend requests, you should change your NoSpam. People will be unable to add you with your old ID, but you will keep your current friends.</source> <comment>toolTip for nospam</comment> <translation>NoSpam is een deel van je Tox-ID. Als je gebombardeerd wordt met vriendschapsverzoeken is het verstandig om je NoSpam te veranderen. Mensen die je oude Tox-ID hebben kunnen je dan niet meer toevoegen, maar je huidige vriendenlijst wordt behouden.</translation> </message> <message> <source>NoSpam</source> <translation>NoSpam</translation> </message> <message> <source>NoSpam is a part of your ID that can be changed at will. If you are getting spammed with friend requests, change the NoSpam.</source> <translation>NoSpam is een deel van je Tox-ID dat veranderd kan worden. Verander de NoSpam als je gebombardeerd wordt met vriendschapsverzoeken.</translation> </message> <message> <source>Generate random NoSpam</source> <translation>Willekeurige NoSpam genereren</translation> </message> <message> <source>Chat history keeping is still in development. Save format changes are possible, which may result in data loss.</source> <comment>toolTip for Keep History setting</comment> <translation>Het opslaan van chatgeschiedenis is nog in ontwikkeling. Het is mogelijk dat er zich veranderingen in het formaat voordoen, wat kan leiden tot gegevensverlies.</translation> </message> <message> <source>Privacy</source> <translation>Privacy</translation> </message> <message> <source>BlackList</source> <translation>Zwarte lijst</translation> </message> <message> <source>Filter group messages by group members&apos; public keys. Put public keys here, one per line.</source> <translation type="unfinished"></translation> </message> </context> <context> <name>Profile</name> <message> <source>Failed to derive key from password, the profile won&apos;t use the new password.</source> <translation>Sleutel ophalen van wachtwoord mislukt, het profiel zal het nieuwe wachtwoord niet gebruiken.</translation> </message> <message> <source>Toxing on qTox</source> <translation>Toxt op qTox</translation> </message> <message> <source>Couldn&apos;t change database password, it may be corrupted or use the old password.</source> <translation type="unfinished"></translation> </message> </context> <context> <name>ProfileForm</name> <message> <source>Current profile: </source> <translation>Huidig profiel: </translation> </message> <message> <source>Choose a profile picture</source> <translation>Kies een profielfoto</translation> </message> <message> <source>Error</source> <translation>Fout</translation> </message> <message> <source>Unable to open this file.</source> <translation>Kan dit bestand niet openen.</translation> </message> <message> <source>Unable to read this image.</source> <translation>Kan deze afbeelding niet lezen.</translation> </message> <message> <source>The supplied image is too large. Please use another image.</source> <translation>De geselecteerde afbeelding is te groot. Gebruik een andere afbeelding.</translation> </message> <message> <source>Rename &quot;%1&quot;</source> <comment>renaming a profile</comment> <translation>‘%1’ hernoemen</translation> </message> <message> <source>Couldn&apos;t rename the profile to &quot;%1&quot;</source> <translation>Kon het profiel niet hernoemen naar ‘%1’</translation> </message> <message> <source>Location not writable</source> <comment>Title of permissions popup</comment> <translation>Locatie niet schrijfbaar</translation> </message> <message> <source>Are you sure you want to delete this profile?</source> <comment>deletion confirmation text</comment> <translation>Weet je zeker dat je dit profiel wilt verwijderen?</translation> </message> <message> <source>Save</source> <comment>save qr image</comment> <translation>Opslaan</translation> </message> <message> <source>Save QrCode (*.png)</source> <comment>save dialog filter</comment> <translation>QR-code opslaan (*.png)</translation> </message> <message> <source>Nothing to remove</source> <translation>Niets om te verwijderen</translation> </message> <message> <source>Your profile does not have a password!</source> <translation>Je profiel heeft geen wachtwoord!</translation> </message> <message> <source>Please enter a new password.</source> <translation>Voer een nieuw wachtwoord in.</translation> </message> <message> <source>Remove</source> <translation>Verwijderen</translation> </message> <message> <source>Files could not be deleted!</source> <comment>deletion failed title</comment> <translation>Bestanden konden niet verwijderd worden!</translation> </message> <message> <source>Change password</source> <comment>button text</comment> <translation>Wachtwoord wijzigen</translation> </message> <message> <source>Set profile password</source> <comment>button text</comment> <translation>Profielwachtwoord instellen</translation> </message> <message> <source>Current profile location: %1</source> <translation>Huidige profiellocatie: %1</translation> </message> <message> <source>Couldn&apos;t change password</source> <translation>Kon wachtwoord niet wijzigen</translation> </message> <message> <source>Empty path is unavaliable</source> <translation>Leeg pad is niet beschikbaar</translation> </message> <message> <source>Failed to rename</source> <translation>Hernoemen mislukt</translation> </message> <message> <source>Profile already exists</source> <translation>Profiel bestaat al</translation> </message> <message> <source>A profile named &quot;%1&quot; already exists.</source> <translation>Een profiel met de naam ‘%1’ bestaat al.</translation> </message> <message> <source>Empty name</source> <translation>Lege naam</translation> </message> <message> <source>Empty name is unavaliable</source> <translation>Lege naam is niet beschikbaar</translation> </message> <message> <source>Empty path</source> <translation>Leeg pad</translation> </message> <message> <source>Export profile</source> <translation>Profiel exporteren</translation> </message> <message> <source>Tox save file (*.tox)</source> <extracomment>save dialog filter</extracomment> <translation>Tox-opslagbestand (*.tox)</translation> </message> <message> <source>The following files could not be deleted:</source> <extracomment>deletion failed text part 1</extracomment> <translation>De volgende bestanden konden niet verwijderd worden:</translation> </message> <message> <source>Please manually remove them.</source> <extracomment>deletion failed text part 2</extracomment> <translation>Verwijder ze handmatig.</translation> </message> <message> <source>Images (%1)</source> <comment>filetype filter</comment> <translation>Afbeeldingen (%1)</translation> </message> <message> <source>You do not have permission to write to that location. Choose another, or cancel the save dialog.</source> <comment>text of permissions popup</comment> <translation type="unfinished"></translation> </message> <message> <source>Failed to save file</source> <translation type="unfinished"></translation> </message> <message> <source>The file you chose could not be saved.</source> <translation type="unfinished"></translation> </message> <message> <source>Empty path is unavaliable.</source> <translation type="unfinished"></translation> </message> <message> <source>Couldn&apos;t change database password, it may be corrupted or use the old password.</source> <translation type="unfinished"></translation> </message> <message> <source>Tox user names cannot exceed %1 characters.</source> <translation type="unfinished"></translation> </message> <message> <source>Delete profile</source> <comment>deletion confirmation title</comment> <translation type="unfinished"></translation> </message> <message> <source>Remove password</source> <comment>deletion confirmation title</comment> <translation type="unfinished">Wachtwoord verwijderen</translation> </message> <message> <source>Are you sure you want to remove your password?</source> <extracomment>deletion confirmation text</extracomment> <translation type="unfinished"></translation> </message> <message> <source>This ID allows other Tox users to add and contact you. Share it with your friends to begin chatting. This ID includes the NoSpam code (in blue), and the checksum (in gray).</source> <translation type="unfinished"></translation> </message> </context> <context> <name>ProfileImporter</name> <message> <source>Import profile</source> <comment>import dialog title</comment> <translation>Profiel importeren</translation> </message> <message> <source>Tox save file (*.tox)</source> <comment>import dialog filter</comment> <translation>Tox-opslagbestand (*.tox)</translation> </message> <message> <source>Ignoring non-Tox file</source> <comment>popup title</comment> <translation>Niet-Tox-bestand wordt genegeerd</translation> </message> <message> <source>Warning: You have chosen a file that is not a Tox save file; ignoring.</source> <comment>popup text</comment> <translation>Waarschuwing: het door jou gekozen bestand is geen Tox-opslagbestand; het wordt genegeerd.</translation> </message> <message> <source>Profile already exists</source> <comment>import confirm title</comment> <translation>Profiel bestaat al</translation> </message> <message> <source>A profile named &quot;%1&quot; already exists. Do you want to erase it?</source> <comment>import confirm text</comment> <translation>Er bestaat al een profiel met de naam ‘%1’. Wil je het wissen?</translation> </message> <message> <source>File doesn&apos;t exist</source> <translation>Bestand bestaat niet</translation> </message> <message> <source>Profile doesn&apos;t exist</source> <translation>Profiel bestaat niet</translation> </message> <message> <source>Profile imported</source> <translation>Profiel geïmporteerd</translation> </message> <message> <source>%1.tox was successfully imported</source> <translation>%1.tox is met succes geïmporteerd</translation> </message> </context> <context> <name>QApplication</name> <message> <source>Ok</source> <translation>Oké</translation> </message> <message> <source>Cancel</source> <translation>Annuleren</translation> </message> <message> <source>Yes</source> <translation>Ja</translation> </message> <message> <source>No</source> <translation>Nee</translation> </message> <message> <source>LTR</source> <comment>Translate this string to the string &apos;RTL&apos; in right-to-left languages (for example Hebrew and Arabic) to get proper widget layout</comment> <translation>LTR</translation> </message> </context> <context> <name>QMessageBox</name> <message> <source>Couldn&apos;t add friend</source> <translation>Kon vriend niet toevoegen</translation> </message> <message> <source>You can&apos;t add yourself as a friend!</source> <comment>When trying to add your own Tox ID as friend</comment> <translation>Je kunt jezelf niet als vriend toevoegen!</translation> </message> <message> <source>%1 is not a valid Tox address.</source> <translation type="unfinished"></translation> </message> </context> <context> <name>QObject</name> <message> <source>Tox URI to parse</source> <translation>Te verwerken Tox-URI</translation> </message> <message> <source>Starts new instance and loads specified profile.</source> <translation>Start nieuwe instantie en laadt specifiek profiel.</translation> </message> <message> <source>profile</source> <translation>profiel</translation> </message> <message> <source>Default</source> <translation>Standaard</translation> </message> <message> <source>Blue</source> <translation>Blauw</translation> </message> <message> <source>Olive</source> <translation>Olijfgroen</translation> </message> <message> <source>Red</source> <translation>Rood</translation> </message> <message> <source>Violet</source> <translation>Violet</translation> </message> <message> <source>Incoming call...</source> <translation>Inkomende oproep…</translation> </message> <message> <source>%1 here! Tox me maybe?</source> <comment>Default message in Tox URI friend requests. Write something appropriate!</comment> <translation>%1 hier! Tox met me!</translation> </message> <message> <source>Error</source> <translation>Fout</translation> </message> <message> <source>qTox couldn&apos;t open your chat logs, they will be disabled.</source> <translation>qTox kon je gespreksgeschiedenis niet openen, deze zal uitgeschakeld worden.</translation> </message> <message> <source>None</source> <comment>No camera device set</comment> <translation>Geen</translation> </message> <message> <source>Desktop</source> <comment>Desktop as a camera input for screen sharing</comment> <translation>Bureaublad</translation> </message> <message> <source>Starts new instance and opens the login screen.</source> <translation>Start nieuwe instantie en opent aanmeldscherm.</translation> </message> <message> <source>Dark</source> <translation>Donker</translation> </message> <message> <source>Dark blue</source> <translation>Donkerblauw</translation> </message> <message> <source>Dark olive</source> <translation>Donkerolijfgroen</translation> </message> <message> <source>Dark red</source> <translation>Donkerrood</translation> </message> <message> <source>Dark violet</source> <translation>Donkerviolet</translation> </message> <message> <source>Failed to load profile automatically.</source> <translation>Kon profiel niet automatisch laden.</translation> </message> <message> <source>online</source> <comment>contact status</comment> <translation>online</translation> </message> <message> <source>away</source> <comment>contact status</comment> <translation>afwezig</translation> </message> <message> <source>busy</source> <comment>contact status</comment> <translation>bezet</translation> </message> <message> <source>offline</source> <comment>contact status</comment> <translation>offline</translation> </message> <message> <source>blocked</source> <comment>contact status</comment> <translation>geblokkeerd</translation> </message> <message> <source>Reformatting text...</source> <comment>Waiting for text to be reformatted</comment> <translation type="unfinished"></translation> </message> <message> <source>Sets IPv6 &lt;on&gt;/&lt;off&gt;. Default is ON.</source> <translation type="unfinished"></translation> </message> <message> <source>on/off</source> <translation type="unfinished"></translation> </message> <message> <source>Sets UDP &lt;on&gt;/&lt;off&gt;. Default is ON.</source> <translation type="unfinished"></translation> </message> <message> <source>Sets LAN discovery &lt;on&gt;/&lt;off&gt;. UDP off overrides. Default is ON.</source> <translation type="unfinished"></translation> </message> <message> <source>Sets proxy settings. Default is NONE.</source> <translation type="unfinished"></translation> </message> <message> <source>(SOCKS5/HTTP/NONE):(ADDRESS):(PORT)</source> <translation type="unfinished"></translation> </message> <message> <source>%1 message(s) from %2 chats</source> <extracomment>e.g. 3 messages from 2 chats</extracomment> <translation type="unfinished"></translation> </message> <message> <source>%1 message(s) from %2</source> <extracomment>e.g. 2 messages from Bob</extracomment> <translation type="unfinished"></translation> </message> <message> <source>negotitating</source> <comment>contact status</comment> <translation type="unfinished"></translation> </message> <message> <source>Failed to send file &quot;%1&quot;</source> <translation type="unfinished">Kon bestand ‘%1’ niet verzenden</translation> </message> <message> <source>%1 has joined the group</source> <translation type="unfinished">%1 neemt nu deel aan de groep</translation> </message> <message> <source>%1 has left the group</source> <translation type="unfinished">%1 heeft de groep verlaten</translation> </message> <message> <source>%1 is now known as %2</source> <translation type="unfinished">%1 staat nu bekend als %2</translation> </message> <message> <source>%1 has set the title to %2</source> <translation type="unfinished">%1 heeft de titel gewijzigd naar %2</translation> </message> <message> <source>Cleared</source> <translation type="unfinished">Gewist</translation> </message> <message> <source>Call with %1 ended unexpectedly. %2</source> <translation type="unfinished">Gesprek met %1 is onverwacht beëindigd. %2</translation> </message> <message> <source>Call with %1 ended. %2</source> <translation type="unfinished">Gesprek met %1 beëindigd. %2</translation> </message> <message> <source>%1 is now %2</source> <comment>e.g. &quot;Dubslow is now online&quot;</comment> <translation type="unfinished">%1 is nu %2</translation> </message> <message> <source>Calling %1</source> <translation type="unfinished">%1 bellen</translation> </message> <message> <source>%1 calling</source> <translation type="unfinished">%1 belt</translation> </message> <message> <source>Message failed to send</source> <translation type="unfinished">Bericht kon niet verstuurd worden</translation> </message> <message> <source>Initializing</source> <translation type="unfinished"></translation> </message> <message> <source>Transmitting</source> <translation type="unfinished"></translation> </message> <message> <source>Finished</source> <translation type="unfinished"></translation> </message> <message> <source>Broken</source> <translation type="unfinished"></translation> </message> <message> <source>Canceled</source> <translation type="unfinished"></translation> </message> <message> <source>Paused</source> <translation type="unfinished">Gepauzeerd</translation> </message> <message> <source>Remote paused</source> <translation type="unfinished"></translation> </message> <message> <source>File Name</source> <translation type="unfinished"></translation> </message> <message> <source>Contact</source> <translation type="unfinished"></translation> </message> <message> <source>Progress</source> <translation type="unfinished"></translation> </message> <message> <source>Size</source> <translation type="unfinished"></translation> </message> <message> <source>Speed</source> <translation type="unfinished"></translation> </message> <message> <source>Status</source> <translation type="unfinished">Status</translation> </message> <message> <source>Control</source> <translation type="unfinished"></translation> </message> </context> <context> <name>RemoveFriendDialog</name> <message> <source>Remove friend</source> <translation>Vriend verwijderen</translation> </message> <message> <source>Also remove chat history</source> <translation>Gespreksgeschiedenis ook verwijderen</translation> </message> <message> <source>Remove</source> <translation>Verwijderen</translation> </message> <message> <source>Are you sure you want to remove %1 from your contacts list?</source> <translation>Weet je zeker dat je %1 uit je contactenlijst wil verwijderen?</translation> </message> <message> <source>Remove all chat history with the friend if set</source> <translation>Indien ingesteld alle gespreksgeschiedenis met de vriend verwijderen</translation> </message> </context> <context> <name>ScreenshotGrabber</name> <message> <source>Click and drag to select a region. Press %1 to hide/show qTox window, or %2 to cancel.</source> <comment>Help text shown when no region has been selected yet</comment> <translation>Klik en sleep om een gebied te selecteren. Druk op %1 om het qTox-venster te verbergen/herstellen, of %2 om te annuleren.</translation> </message> <message> <source>Space</source> <comment>[Space] key on the keyboard</comment> <translation>Spatie</translation> </message> <message> <source>Escape</source> <comment>[Escape] key on the keyboard</comment> <translation>Escape</translation> </message> <message> <source>Press %1 to send a screenshot of the selection, %2 to hide/show qTox window, or %3 to cancel.</source> <comment>Help text shown when a region has been selected</comment> <translation>Druk op %1 om een schermafdruk van de selectie te versturen, op %2 om het qTox-scherm te verbergen/herstellen, of op %3 om te annuleren.</translation> </message> <message> <source>Enter</source> <comment>[Enter] key on the keyboard</comment> <translation>Enter</translation> </message> </context> <context> <name>SearchForm</name> <message> <source>The text could not be found.</source> <translation>De tekst kon niet gevonden worden.</translation> </message> <message> <source>Start</source> <translation>Start</translation> </message> </context> <context> <name>SearchSettingsForm</name> <message> <source>Form</source> <translation>Formulier</translation> </message> <message> <source>Start search:</source> <translation>Zoekopdracht starten:</translation> </message> <message> <source>from the end</source> <translation>vanaf het einde</translation> </message> <message> <source>from the beginning</source> <translation>vanaf het begin</translation> </message> <message> <source>after date</source> <translation>na datum</translation> </message> <message> <source>before date</source> <translation>vóór datum</translation> </message> <message> <source>00.00.0000</source> <translation>00.00.0000</translation> </message> <message> <source>Case sensitive</source> <translation>Hoofdlettergevoelig</translation> </message> <message> <source>Whole words only</source> <translation>Alleen hele woorden</translation> </message> <message> <source>Use regular expressions</source> <translation>Reguliere expressies gebruiken</translation> </message> <message> <source>Select Date Dialog</source> <translation type="unfinished"></translation> </message> <message> <source>Select a date</source> <translation type="unfinished">Selecteer een datum</translation> </message> </context> <context> <name>SetPasswordDialog</name> <message> <source>Set your password</source> <translation>Je wachtwoord instellen</translation> </message> <message> <source>The password doesn&apos;t match.</source> <translation>Het wachtwoord komt niet overeen.</translation> </message> <message> <source>Confirm:</source> <translation>Bevestig:</translation> </message> <message> <source>Password:</source> <translation>Wachtwoord:</translation> </message> <message> <source>Password strength: %p%</source> <translation>Wachtwoordsterkte: %p%</translation> </message> <message> <source>Confirm password</source> <translation>Wachtwoord bevestigen</translation> </message> <message> <source>Confirm password input</source> <translation>Invoer voor bevestigen van wachtwoord</translation> </message> <message> <source>Password input</source> <translation>Wachtwoordinvoer</translation> </message> <message> <source>Password input field, minimum 6 characters long</source> <translation>Wachtwoordinvoerveld, minimaal 6 tekens</translation> </message> <message> <source>The password is too short.</source> <translation type="unfinished"></translation> </message> </context> <context> <name>Settings</name> <message> <source>Circle #%1</source> <translation>Cirkel #%1</translation> </message> </context> <context> <name>ToxURIDialog</name> <message> <source>Add a friend</source> <comment>Title of the window to add a friend through Tox URI</comment> <translation>Vriend toevoegen</translation> </message> <message> <source>Do you want to add %1 as a friend?</source> <translation>Wil je %1 als vriend toevoegen?</translation> </message> <message> <source>User ID:</source> <translation>Gebruikers-ID:</translation> </message> <message> <source>Friend request message:</source> <translation>Bericht voor vriendschapsverzoek:</translation> </message> <message> <source>Send</source> <comment>Send a friend request</comment> <translation>Versturen</translation> </message> <message> <source>Cancel</source> <comment>Don&apos;t send a friend request</comment> <translation>Annuleren</translation> </message> </context> <context> <name>UserInterfaceForm</name> <message> <source>None</source> <translation>Geen</translation> </message> <message> <source>User Interface</source> <translation>Gebruikersinterface</translation> </message> </context> <context> <name>UserInterfaceSettings</name> <message> <source>Chat</source> <translation>Chat</translation> </message> <message> <source>Base font:</source> <translation>Basislettertype:</translation> </message> <message> <source>px</source> <translation>px</translation> </message> <message> <source>Size: </source> <translation>Grootte: </translation> </message> <message> <source>New text styling preference may not load until qTox restarts.</source> <translation>De nieuwe tekststijlvoorkeur wordt mogelijk niet geladen totdat qTox opnieuw is opgestart.</translation> </message> <message> <source>Text Style format:</source> <translation>Tekststijlformaat:</translation> </message> <message> <source>Select text styling preference.</source> <translation>Selecteer een tekststijlvoorkeur.</translation> </message> <message> <source>Plaintext</source> <translation>Platte tekst</translation> </message> <message> <source>Show formatting characters</source> <translation>Formatteringstekens tonen</translation> </message> <message> <source>Don&apos;t show formatting characters</source> <translation>Formatteringstekens niet tonen</translation> </message> <message> <source>New message</source> <translation>Nieuw bericht</translation> </message> <message> <source>Open qTox&apos;s window when you receive a new message and no window is open yet.</source> <comment>tooltip for Show window setting</comment> <translation>qTox-venster openen wanneer je een bericht ontvangt en er nog geen venster open is.</translation> </message> <message> <source>Open window</source> <translation>Venster openen</translation> </message> <message> <source>Contact list</source> <translation>Contactlijst</translation> </message> <message> <source>Place groupchats at top of friend list</source> <translation>Groepsgesprekken bovenaan vriendenlijst plaatsen</translation> </message> <message> <source>Your contact list will be shown in compact mode.</source> <comment>toolTip for compact layout setting</comment> <translation>Je contactlijst zal in compacte modus getoond worden.</translation> </message> <message> <source>Compact contact list</source> <translation>Compacte contactenlijst</translation> </message> <message> <source>Multiple windows mode</source> <translation>Meerderevenstersmodus</translation> </message> <message> <source>Open each chat in an individual window</source> <translation>Elke chat openen in een apart venster</translation> </message> <message> <source>Emoticons</source> <translation>Emoticons</translation> </message> <message> <source>Use emoticons</source> <translation>Emoticons gebruiken</translation> </message> <message> <source>Emoticon size:</source> <translation>Emoticongrootte:</translation> </message> <message> <source> px</source> <translation> px</translation> </message> <message> <source>Theme</source> <translation>Thema</translation> </message> <message> <source>Style:</source> <translation>Stijl:</translation> </message> <message> <source>Theme color:</source> <translation>Themakleur:</translation> </message> <message> <source>Timestamp format:</source> <translation>Tijdsaanduiding:</translation> </message> <message> <source>Date format:</source> <translation>Datumformaat:</translation> </message> <message> <source>Use identicons instead of empty avatars</source> <translation>Identicons gebruiken in plaats van lege avatars</translation> </message> <message> <source>Show a notification when you receive a new message and the window is not selected.</source> <comment>tooltip for Notify setting</comment> <translation>Toon een notificatie wanneer je een nieuw bericht ontvangt en het venster niet geselecteerd is.</translation> </message> <message> <source>Notify</source> <translation>Melden</translation> </message> <message> <source>Group chats only notify when mentioned</source> <translation>Groepchats alleen melden als je genoemd wordt</translation> </message> <message> <source>Play sound</source> <translation>Geluid afspelen</translation> </message> <message> <source>Play sound while Busy</source> <translation>Geluid afspelen indien Bezet</translation> </message> <message> <source>Notify via desktop notifications</source> <translation>Via bureaubladmeldingen melden</translation> </message> <message> <source>Hide message sender and contents</source> <translation>Afzender en berichtinhoud verbergen</translation> </message> <message> <source>Use colored nicknames in group chats</source> <translation type="unfinished"></translation> </message> <message> <source>Only notify about new messages in group chats when mentioned.</source> <comment>toolTip for Group chats only notify when mentioned</comment> <translation type="unfinished"></translation> </message> <message> <source>If checked, group chats will be placed at the top of the friends list, otherwise, they&apos;ll be placed below online friends.</source> <comment>toolTip for groupchat positioning</comment> <translation type="unfinished"></translation> </message> <message> <source>If enabled, every contact without an avatar will have a generated icon based on their Tox ID instead of the default picture. Requires restart to apply.</source> <comment>toolTip for show identicons</comment> <translation type="unfinished"></translation> </message> <message> <source>Smiley pack:</source> <extracomment>Text on smiley pack label</extracomment> <translation type="unfinished"></translation> </message> </context> <context> <name>Widget</name> <message> <source>Online</source> <comment>Button to set your status to &apos;Online&apos;</comment> <translation>Online</translation> </message> <message> <source>Away</source> <comment>Button to set your status to &apos;Away&apos;</comment> <translation>Afwezig</translation> </message> <message> <source>Busy</source> <comment>Button to set your status to &apos;Busy&apos;</comment> <translation>Bezet</translation> </message> <message> <source>File</source> <translation>Bestand</translation> </message> <message> <source>Edit</source> <translation>Bewerken</translation> </message> <message> <source>Filter...</source> <translation>Filteren…</translation> </message> <message> <source>Contacts</source> <translation>Contacten</translation> </message> <message> <source>Executable file</source> <comment>popup title</comment> <translation>Uitvoerbaar bestand</translation> </message> <message> <source>You have asked qTox to open an executable file. Executable files can potentially damage your computer. Are you sure want to open this file?</source> <comment>popup text</comment> <translation>Je hebt qTox gevraagd een uitvoerbaar bestand te openen. Uitvoerbare bestanden kunnen schade toebrengen aan je computer. Weet je zeker dat je dit bestand wilt openen?</translation> </message> <message> <source>Status</source> <translation>Status</translation> </message> <message> <source>Add new circle...</source> <translation>Nieuwe cirkel toevoegen…</translation> </message> <message> <source>By Name</source> <translation>Op naam</translation> </message> <message> <source>By Activity</source> <translation>Op activiteit</translation> </message> <message> <source>All</source> <translation>Alle</translation> </message> <message> <source>Online</source> <translation>Online</translation> </message> <message> <source>Offline</source> <translation>Offline</translation> </message> <message> <source>Friends</source> <translation>Vrienden</translation> </message> <message> <source>Groups</source> <translation>Groepen</translation> </message> <message> <source>Search Contacts</source> <translation>Contacten doorzoeken</translation> </message> <message> <source>Your name</source> <translation>Je naam</translation> </message> <message> <source>Groupchat #%1</source> <translation>Groepsgesprek #%1</translation> </message> <message> <source>Create new group...</source> <translation>Nieuwe groep aanmaken…</translation> </message> <message> <source>Logout</source> <comment>Tray action menu to logout user</comment> <translation>Uitloggen</translation> </message> <message> <source>Show</source> <comment>Tray action menu to show qTox window</comment> <translation>Tonen</translation> </message> <message> <source>Add friend</source> <comment>title of the window</comment> <translation>Vriend toevoegen</translation> </message> <message> <source>Group invites</source> <comment>title of the window</comment> <translation>Groepsuitnodigingen</translation> </message> <message> <source>File transfers</source> <comment>title of the window</comment> <translation>Bestandsoverdrachten</translation> </message> <message> <source>Settings</source> <comment>title of the window</comment> <translation>Instellingen</translation> </message> <message> <source>My profile</source> <comment>title of the window</comment> <translation>Mijn profiel</translation> </message> <message> <source>Toxcore failed to start, the application will terminate after you close this message.</source> <translation type="unfinished"></translation> </message> <message> <source>Toxcore failed to start with your proxy settings. qTox cannot run; please modify your settings and restart.</source> <comment>popup text</comment> <translation type="unfinished"></translation> </message> <message> <source>Couldn&apos;t send friend request</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> <source>%n new friend request(s)</source> <translation type="unfinished"> <numerusform></numerusform> <numerusform></numerusform> </translation> </message> <message numerus="yes"> <source>%n new group invite(s)</source> <translation type="unfinished"> <numerusform></numerusform> <numerusform></numerusform> </translation> </message> <message> <source>Exit</source> <comment>Tray action menu to exit Tox</comment> <translation type="unfinished">Afsluiten</translation> </message> <message> <source>Change status</source> <translation type="unfinished"></translation> </message> <message> <source>Edit profile</source> <translation type="unfinished"></translation> </message> <message> <source>Logout</source> <translation type="unfinished">Uitloggen</translation> </message> <message> <source>Add contact...</source> <translation type="unfinished"></translation> </message> <message> <source>Next conversation</source> <translation type="unfinished"></translation> </message> <message> <source>Previous conversation</source> <translation type="unfinished"></translation> </message> </context> </TS>
tux3/qTox
translations/nl.ts
TypeScript
gpl-3.0
106,102
/* This file is part of AlgAudio. AlgAudio, Copyright (C) 2015 CeTA - Audiovisual Technology Center AlgAudio is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. AlgAudio is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with AlgAudio. If not, see <http://www.gnu.org/licenses/>. */ #include "UI/UIMouseEventsBase.hpp" #include "UI/UIWidget.hpp" namespace AlgAudio{ bool UIMouseEventsBase::OnMousePress(bool down, MouseButton b,Point2D p){ // Ignore all mouse clicks it the widget is hidden in any way. if(display_mode != DisplayMode::Visible) return true; // Prolong instance lifetime in case this widget would get destroyed as a // result of a subscribers' action std::shared_ptr<UIWidget> ptr; auto widg = dynamic_cast<UIWidget*>(this); if(widg) ptr = widg->shared_from_this(); bool reachedBottom = CustomMousePress(down,b,p); //if(reachedBottom) std::cout << "BOTTOM" << std::endl; // In other case, execute our own code if(down == true && b == MouseButton::Left){ pressed = true; if(focusable && reachedBottom){ RequestFocus(); } on_pressed.Happen(true); }else if(down == false && b == MouseButton::Left && pressed == true){ pressed = false; on_pressed.Happen(false); on_clicked.Happen(); } return reachedBottom; } void UIMouseEventsBase::OnMouseEnter(Point2D p){ CustomMouseEnter(p); pointed = true; last_mouse_pos = p; on_pointed.Happen(true); } void UIMouseEventsBase::OnMouseLeave(Point2D p){ CustomMouseLeave(p); last_mouse_pos = p; if(pressed){ pressed = false; on_pressed.Happen(false); } if(pointed){ pointed = false; on_pointed.Happen(false); } } void UIMouseEventsBase::OnMouseMotion(Point2D p1, Point2D p2){ CustomMouseMotion(p1,p2); last_mouse_pos = p2; on_motion.Happen(p2); } } // namespace AlgAudio
rafalcieslak/algAudio
libalgaudio/UI/UIMouseEventsBase.cpp
C++
gpl-3.0
2,287
#pragma once #define MAX_BYTES 4096 #include <iostream> #include <fstream> #include <string> class Buffer { public: Buffer(std::string inputFile, std::streamoff startPosition, size_t bufferSize); ~Buffer(); char* get(const uint64_t position, const size_t size); private: void load(const uint64_t FRAGMENT); char* buffer; uint64_t currentFragment; std::ifstream* inputStream; const std::streamoff START_POSITION; const size_t BUFFER_SIZE; };
LarsHadidi/BDSim
BDRenderer/src/Buffer.h
C
gpl-3.0
525
/* libltc - en+decode linear timecode Copyright (C) 2006-2012 Robin Gareus <robin@gareus.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see <http://www.gnu.org/licenses/>. */ //#include <stdio.h> //#include <stdlib.h> //#include <string.h> //#include <math.h> /** * add values to the output buffer */ static int addvalues(LTCEncoder *e, int n) { const ltcsnd_sample_t tgtval = e->state ? e->enc_hi : e->enc_lo; if (e->offset + n >= e->bufsize) { #if 0 fprintf(stderr, "libltc: buffer overflow: %d/%lu\n", (int) e->offset, (unsigned long) e->bufsize); #endif return 1; } ltcsnd_sample_t * const wave = &(e->buf[e->offset]); const double tcf = e->filter_const; if (tcf > 0) { /* low-pass-filter * LTC signal should have a rise time of 40 us +/- 10 us. * * rise-time means from <10% to >90% of the signal. * in each call to addvalues() we start at 50%, so * here we need half-of it. (0.000020 sec) * * e->cutoff = 1.0 -exp( -1.0 / (sample_rate * .000020 / exp(1.0)) ); */ int i; ltcsnd_sample_t val = SAMPLE_CENTER; int m = (n+1)>>1; for (i = 0 ; i < m ; i++) { val = val + tcf * (tgtval - val); wave[n-i-1] = wave[i] = val; } } else { /* perfect square wave */ memset(wave, tgtval, n); } e->offset += n; return 0; } int encode_byte(LTCEncoder *e, int byte, double speed) { if (byte < 0 || byte > 9) return -1; if (speed ==0) return -1; int err = 0; const unsigned char c = ((unsigned char*)&e->f)[byte]; unsigned char b = (speed < 0)?128:1; // bit const double spc = e->samples_per_clock * fabs(speed); const double sph = e->samples_per_clock_2 * fabs(speed); do { int n; if ((c & b) == 0) { n = (int)(spc + e->sample_remainder); e->sample_remainder = spc + e->sample_remainder - n; e->state = !e->state; err |= addvalues(e, n); } else { n = (int)(sph + e->sample_remainder); e->sample_remainder = sph + e->sample_remainder - n; e->state = !e->state; err |= addvalues(e, n); n = (int)(sph + e->sample_remainder); e->sample_remainder = sph + e->sample_remainder - n; e->state = !e->state; err |= addvalues(e, n); } /* this is based on the assumption that with every compiler * ((unsigned char) 128)<<1 == ((unsigned char 1)>>1) == 0 */ if (speed < 0) b >>= 1; else b <<= 1; } while (b); return err; }
benkuper/Chataigne
Source/Common/LTC/encoder.c
C
gpl-3.0
2,939
--Number 24: Idol Master of Belief and Faith Akari Oozora function c59821064.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0xa1a2),4,2) c:EnableReviveLimit() --pendulum summon aux.EnablePendulumAttribute(c) --atk down local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetRange(LOCATION_PZONE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetTargetRange(0,LOCATION_MZONE) e1:SetValue(-200) c:RegisterEffect(e1) --place pcard local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(59821064,1)) e2:SetType(EFFECT_TYPE_IGNITION) e2:SetRange(LOCATION_PZONE) e2:SetCountLimit(1,59821064) e2:SetCondition(c59821064.pencon) e2:SetTarget(c59821064.pentg) e2:SetOperation(c59821064.penop) c:RegisterEffect(e2) --fusion local e3=Effect.CreateEffect(c) e3:SetDescription(aux.Stringid(59821064,0)) e3:SetCategory(CATEGORY_SPECIAL_SUMMON) e3:SetType(EFFECT_TYPE_IGNITION) e3:SetRange(LOCATION_PZONE) e3:SetCountLimit(1,59821064) e3:SetTarget(c59821064.fustg) e3:SetOperation(c59821064.fusop) c:RegisterEffect(e3) --battle indestructable local e4=Effect.CreateEffect(c) e4:SetType(EFFECT_TYPE_SINGLE) e4:SetCode(EFFECT_INDESTRUCTABLE_BATTLE) e4:SetValue(c59821064.indes) c:RegisterEffect(e4) --immune spell local e5=Effect.CreateEffect(c) e5:SetType(EFFECT_TYPE_SINGLE) e5:SetCode(EFFECT_IMMUNE_EFFECT) e5:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e5:SetRange(LOCATION_MZONE) e5:SetCondition(c59821064.imcon) e5:SetValue(c59821064.effectfilter) c:RegisterEffect(e5) --halve ATK local e6=Effect.CreateEffect(c) e6:SetDescription(aux.Stringid(59821064,2)) e6:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE) e6:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e6:SetCode(EVENT_SPSUMMON_SUCCESS) e6:SetCondition(c59821064.atkcon) e6:SetOperation(c59821064.atkop) c:RegisterEffect(e6) --to deck local e7=Effect.CreateEffect(c) e7:SetDescription(aux.Stringid(59821064,3)) e7:SetCategory(CATEGORY_TODECK) e7:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e7:SetCode(EVENT_BATTLE_DESTROYING) e7:SetProperty(EFFECT_FLAG_CARD_TARGET) e7:SetCondition(c59821064.tdcon) e7:SetCost(c59821064.tdcost) e7:SetTarget(c59821064.tdtg) e7:SetOperation(c59821064.tdop) c:RegisterEffect(e7) --to pzone local e8=Effect.CreateEffect(c) e8:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY) e8:SetCategory(CATEGORY_DESTROY) e8:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e8:SetCode(EVENT_DESTROYED) e8:SetCondition(c59821064.con) e8:SetOperation(c59821064.op) c:RegisterEffect(e8) --spsummon condition local e9=Effect.CreateEffect(c) e9:SetType(EFFECT_TYPE_SINGLE) e9:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e9:SetCode(EFFECT_SPSUMMON_CONDITION) e9:SetValue(c59821064.splimit) c:RegisterEffect(e9) --alias local e10=Effect.CreateEffect(c) e10:SetType(EFFECT_TYPE_SINGLE) e10:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e10:SetRange(LOCATION_MZONE) e10:SetCode(EFFECT_CHANGE_CODE) e10:SetValue(59821024) c:RegisterEffect(e10) --add setcode local e11=Effect.CreateEffect(c) e11:SetType(EFFECT_TYPE_SINGLE) e11:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e11:SetCode(EFFECT_ADD_SETCODE) e11:SetValue(0x48) c:RegisterEffect(e11) end function c59821064.splimit(e,se,sp,st) return bit.band(st,SUMMON_TYPE_XYZ)==SUMMON_TYPE_XYZ end function c59821064.penfilter4(c) return c:IsSetCard(0xa1a2) end function c59821064.pencon(e,tp,eg,ep,ev,re,r,rp) local seq=e:GetHandler():GetSequence() return Duel.GetFieldCard(tp,LOCATION_SZONE,13-seq)==nil end function c59821064.pentg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.IsExistingMatchingCard(c59821064.penfilter4,tp,LOCATION_EXTRA,0,1,nil) end end function c59821064.penop(e,tp,eg,ep,ev,re,r,rp) Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription()) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD) local g=Duel.SelectMatchingCard(tp,c59821064.penfilter4,tp,LOCATION_EXTRA,0,1,1,nil) if g:GetCount()>0 then local tc=g:GetFirst() Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEUP,true) end end function c59821064.fusifilter1(c,e) return c:IsCanBeFusionMaterial() and not c:IsImmuneToEffect(e) end function c59821064.fusifilter2(c,e,tp,m,f,chkf) return c:IsType(TYPE_FUSION) and c:IsSetCard(0xa1a2) and (not f or f(c)) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false) and c:CheckFusionMaterial(m,nil,chkf) end function c59821064.fustg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then local chkf=Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and PLAYER_NONE or tp local mg1=Duel.GetMatchingGroup(Card.IsCanBeFusionMaterial,tp,LOCATION_MZONE,0,nil) local res=Duel.IsExistingMatchingCard(c59821064.fusifilter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg1,nil,chkf) if not res then local ce=Duel.GetChainMaterial(tp) if ce~=nil then local fgroup=ce:GetTarget() local mg2=fgroup(ce,e,tp) local mf=ce:GetValue() res=Duel.IsExistingMatchingCard(c59821064.fusifilter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg2,mf,chkf) end end return res end Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA) end function c59821064.fusop(e,tp,eg,ep,ev,re,r,rp) Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription()) if not e:GetHandler():IsRelateToEffect(e) then return end local chkf=Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and PLAYER_NONE or tp local mg1=Duel.GetMatchingGroup(c59821064.fusifilter1,tp,LOCATION_MZONE,0,nil,e) local sg1=Duel.GetMatchingGroup(c59821064.fusifilter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,chkf) local mg2=nil local sg2=nil local ce=Duel.GetChainMaterial(tp) if ce~=nil then local fgroup=ce:GetTarget() mg2=fgroup(ce,e,tp) local mf=ce:GetValue() sg2=Duel.GetMatchingGroup(c59821064.fusifilter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg2,mf,chkf) end if sg1:GetCount()>0 or (sg2~=nil and sg2:GetCount()>0) then local sg=sg1:Clone() if sg2 then sg:Merge(sg2) end Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) local tg=sg:Select(tp,1,1,nil) local tc=tg:GetFirst() if sg1:IsContains(tc) and (sg2==nil or not sg2:IsContains(tc) or not Duel.SelectYesNo(tp,ce:GetDescription())) then local mat1=Duel.SelectFusionMaterial(tp,tc,mg1,nil,chkf) tc:SetMaterial(mat1) Duel.SendtoGrave(mat1,REASON_EFFECT+REASON_MATERIAL+REASON_FUSION) Duel.BreakEffect() Duel.SpecialSummon(tc,SUMMON_TYPE_FUSION,tp,tp,false,false,POS_FACEUP) else local mat2=Duel.SelectFusionMaterial(tp,tc,mg2,nil,chkf) local fop=ce:GetOperation() fop(ce,e,tp,tc,mat2) end tc:CompleteProcedure() end end function c59821064.indes(e,c) return not c:IsSetCard(0x48) end function c59821064.imcon(e) return e:GetHandler():GetOverlayCount()>0 end function c59821064.effectfilter(e,te) return e:GetHandlerPlayer()~=te:GetHandlerPlayer() and te:IsActiveType(TYPE_SPELL) end function c59821064.atkcon(e,tp,eg,ep,ev,re,r,rp) return bit.band(e:GetHandler():GetSummonType(),SUMMON_TYPE_XYZ)==SUMMON_TYPE_XYZ end function c59821064.atkop(e,tp,eg,ep,ev,re,r,rp) local c=e:GetHandler() local tg=Duel.GetMatchingGroup(Card.IsFaceup,tp,0,LOCATION_MZONE,nil) local tc=tg:GetFirst() while tc do local atk=tc:GetAttack() local def=tc:GetDefense() local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SET_ATTACK_FINAL) e1:SetValue(atk/2) e1:SetReset(RESET_EVENT+0x1fe0000) tc:RegisterEffect(e1) local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE) e2:SetCode(EFFECT_SET_DEFENSE_FINAL) e2:SetValue(def/2) e2:SetReset(RESET_EVENT+0x1fe0000) tc:RegisterEffect(e2) tc=tg:GetNext() end end function c59821064.tdcon(e,tp,eg,ep,ev,re,r,rp) local c=e:GetHandler() return c:IsRelateToBattle() and c:GetBattleTarget():IsType(TYPE_MONSTER) end function c59821064.tdcost(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST) end function c59821064.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) if chkc then return chkc:IsOnField() end if chk==0 then return true end Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK) local g=Duel.SelectTarget(tp,nil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil) local tc=g:GetFirst() if tc and tc:IsAbleToDeck() then Duel.SetOperationInfo(0,CATEGORY_TODECK,tc,1,0,0) end end function c59821064.tdop(e,tp,eg,ep,ev,re,r,rp) local tc=Duel.GetFirstTarget() if tc and tc:IsRelateToEffect(e) then Duel.SendtoDeck(tc,nil,0,REASON_EFFECT) end end function c59821064.penfilter1(c) return c:IsDestructable() and c:GetSequence()==6 end function c59821064.penfilter2(c) return c:IsDestructable() and c:GetSequence()==7 end function c59821064.con(e,tp,eg,ep,ev,re,r,rp) local p1=Duel.GetFieldCard(tp,LOCATION_SZONE,6) local p2=Duel.GetFieldCard(tp,LOCATION_SZONE,7) if not p1 and not p2 then return false end return (e:GetHandler():IsReason(REASON_EFFECT) or e:GetHandler():IsReason(REASON_BATTLE)) and (p1 and p1:IsDestructable()) or (p2 and p2:IsDestructable()) and e:GetHandler():GetPreviousLocation()==LOCATION_MZONE end function c59821064.op(e,tp,eg,ep,ev,re,r,rp) local p1=Duel.GetFieldCard(tp,LOCATION_SZONE,6) local p2=Duel.GetFieldCard(tp,LOCATION_SZONE,7) local g1=nil local g2=nil if p1 then g1=Duel.GetMatchingGroup(c59821064.penfilter1,tp,LOCATION_SZONE,0,nil) end if p2 then g2=Duel.GetMatchingGroup(c59821064.penfilter2,tp,LOCATION_SZONE,0,nil) if g1 then g1:Merge(g2) else g1=g2 end end if g1 and Duel.Destroy(g1,REASON_EFFECT)~=0 then local c=e:GetHandler() Duel.MoveToField(c,tp,tp,LOCATION_SZONE,POS_FACEUP,true) end end
RisingPhoenixYGOPRO/YGOPro-Custom-Cards
script/c59821064.lua
Lua
gpl-3.0
9,712
#include <QtWidgets> #include "Div/dragtimelabel.h" #include "XemlCSVLoader/loaderdatetimepage.h" LoaderDateTimePage::LoaderDateTimePage(int _column,int _row,QWizardPage *parent) : QDialog(parent) { this->row=_row; this->column=_column; QVBoxLayout * mainlayout=new QVBoxLayout; QHBoxLayout * combolayout=new QHBoxLayout; dateTimeDelimiter= new QLabel(tr("date Time delimiters:")); this->selectDateTimeDelimiter =new QComboBox; this->selectDateTimeDelimiter->addItem("YY/MM/dd HH:mm:ss"); this->selectDateTimeDelimiter->addItem("MM/dd/YY HH:mm:ss"); this->selectDateTimeDelimiter->addItem("MMM/dd/YY HH:mm:ss"); this->selectDateTimeDelimiter->addItem("YY/dd/MMMM HH:mm:ss"); this->selectDateTimeDelimiter->addItem("dd/MM/yyyy hh:mm:ss"); this->selectDateTimeDelimiter->addItem("YY/MM/dd HH:mm:ss"); this->selectDateTimeDelimiter->addItem("dd/YY/MM HH:mm:ss"); this->selectDateTimeDelimiter->addItem("YY/MM/dd HH:mm"); this->selectDateTimeDelimiter->addItem("mm/dd/YY HH:mm"); this->selectDateTimeDelimiter->addItem("MM/dd/YY HH:mm"); this->selectDateTimeDelimiter->addItem("YY/dd/MM HH:mm"); this->selectDateTimeDelimiter->addItem("dd/MM/YY HH:mm"); this->selectDateTimeDelimiter->addItem("dd/MM/yyyy hh:mm"); this->selectDateTimeDelimiter->addItem("dd/MM/yyyy HH:mm"); this->selectDateTimeDelimiter->addItem("dd/YY/MM HH:mm"); this->selectDateTimeDelimiter->addItem("dd/MM/yyyy"); this->selectDateTimeDelimiter->addItem("dd/MM/yy"); this->selectDateTimeDelimiter->addItem("MM/dd/yyyy"); this->selectDateTimeDelimiter->addItem("MM/dd/yy"); this->selectDateTimeDelimiter->addItem("HH:mm"); this->selectDateTimeDelimiter->addItem("hh:mm"); this->selectDateTimeDelimiter->addItem("hh:mm:ss"); this->selectDateTimeDelimiter->addItem("HH:mm:ss"); combolayout->addWidget(dateTimeDelimiter); combolayout->addWidget(selectDateTimeDelimiter); mainlayout->addLayout(combolayout); QDialogButtonBox * button_Box = new QDialogButtonBox(QDialogButtonBox::Help,Qt::Horizontal); this->okButton=new QPushButton("OK"); this->cancelButton=new QPushButton("Cancel"); this->add_new_expression=new QPushButton("add your own expression"); button_Box->addButton(this->okButton,QDialogButtonBox::ActionRole); button_Box->addButton(this->cancelButton,QDialogButtonBox::ActionRole); mainlayout->addWidget(button_Box); connect(button_Box,SIGNAL(helpRequested()),this,SLOT(show_help())); connect(this->okButton,SIGNAL(clicked()),this,SLOT(set_up_finished())); connect(this->cancelButton,SIGNAL(clicked()),this,SLOT(close())); setAcceptDrops(true); setLayout(mainlayout); setMinimumSize(400,400); setWindowTitle(tr("Date time creator")); } void LoaderDateTimePage::on_new_expression_added(){ QDialog * timedialog=new QDialog(); QLineEdit * timeEdit=new QLineEdit("enter your expression"); QDialogButtonBox * button_Box = new QDialogButtonBox(Qt::Horizontal); QPushButton *okButton=new QPushButton("OK"); QPushButton *cancelButton=new QPushButton("Cancel"); button_Box->addButton(okButton,QDialogButtonBox::ActionRole); button_Box->addButton(cancelButton,QDialogButtonBox::ActionRole); QVBoxLayout * layout= new QVBoxLayout; layout->addWidget(timeEdit); timedialog->setLayout(layout); timedialog->show(); } void LoaderDateTimePage::show_help(){ QString HtmlString(tr("<html>" "<h2>example time format</h2>" "<pre>d the day as number with a leading zero (1 to 31)</pre>" "<pre>dd the day as number with a leading zero (01 to 31)</pre>" "<pre>ddd the abbreviated localized day name (e.g. 'Mon' to 'Sun')</pre>" "<pre>dddd the long localized day name (e.g. 'Monday' to 'Sunday')</pre>" "<pre>M the month as number without a leading zero (1-12)</pre>" "<pre>MM the month as number with a leading zero (01-12)</pre>" "<pre>MMM the abbreviated localized month name (e.g. 'Jan' to 'Dec')</pre>" "<pre>MMMM the long localized month name (e.g. 'January' to 'December')</pre>" "<pre>yy the year as two digit number (00-99)</pre>" "<pre>yyyy the year as four digit number</pre>" "<pre>h the hour without a leading zero (0 to 23 or 1 to 12 if AM/PM display)</pre>" "<pre>hh the hour with a leading zero (00 to 23 or 01 to 12 if AM/PM display)</pre>" "<pre>H the hour without a leading zero (0 to 23, even with AM/PM display)</pre>" "<pre>HH the hour with a leading zero (00 to 23, even with AM/PM display)</pre>" "<pre>mm the minute with a leading zero (00 to 59)</pre>" "<pre>ss the second with a leading zero (00 to 59)</pre>" "<html/>")); QMessageBox::about(this,"Time helper",HtmlString); } void LoaderDateTimePage::set_up_finished(){ emit delimitered_dateTime(this->column,this->row,this->selectDateTimeDelimiter->currentText()); this->close(); } void LoaderDateTimePage::dragEnterEvent(QDragEnterEvent *event) { if (event->mimeData()->hasText()) { if (event->source() == this) { event->setDropAction(Qt::MoveAction); event->accept(); } else { event->acceptProposedAction(); } } else { event->ignore(); } } void LoaderDateTimePage::dropEvent(QDropEvent *event) { if (event->mimeData()->hasText()) { const QMimeData *mime = event->mimeData(); QStringList pieces = mime->text().split(QRegExp("\\s+"), QString::SkipEmptyParts); QPoint position = event->pos(); QPoint hotSpot; QList<QByteArray> hotSpotPos = mime->data("application/x-hotspot").split(' '); if (hotSpotPos.size() == 2) { hotSpot.setX(hotSpotPos.first().toInt()); hotSpot.setY(hotSpotPos.last().toInt()); } foreach (QString piece, pieces) { DragTimeLabel *newLabel = new DragTimeLabel(piece, this); newLabel->move(position - hotSpot); newLabel->show(); newLabel->setAttribute(Qt::WA_DeleteOnClose); position += QPoint(newLabel->width(), 0); } if (event->source() == this) { event->setDropAction(Qt::MoveAction); event->accept(); } else { event->acceptProposedAction(); } } else { event->ignore(); } foreach (QObject *child, children()) { if (child->inherits("QWidget")) { QWidget *widget = static_cast<QWidget *>(child); if (!widget->isVisible()) widget->deleteLater(); } } } void LoaderDateTimePage::mousePressEvent(QMouseEvent *event) { QLabel *child = static_cast<QLabel*>(childAt(event->pos())); if (!child) return; QPoint hotSpot = event->pos() - child->pos(); QMimeData *mimeData = new QMimeData; mimeData->setText(child->text()); mimeData->setData("application/x-hotspot", QByteArray::number(hotSpot.x()) + " " + QByteArray::number(hotSpot.y())); QPixmap pixmap(child->size()); child->render(&pixmap); QDrag *drag = new QDrag(this); drag->setMimeData(mimeData); drag->setPixmap(pixmap); drag->setHotSpot(hotSpot); Qt::DropAction dropAction = drag->exec(Qt::CopyAction | Qt::MoveAction, Qt::CopyAction); if (dropAction == Qt::MoveAction) child->close(); }
cbib/XEML-Lab
Src/XemlLab/XemlDesigner/XemlCSVLoader/loaderdatetimepage.cpp
C++
gpl-3.0
7,073
//---------------------------------------------------------------- // _____ // / \ // /____ \____ // / \===\ \==/ // /___\===\___\/ AVNET // \======/ // \====/ //--------------------------------------------------------------- // // This design is the property of Avnet. Publication of this // design is not authorized without written consent from Avnet. // // Please direct any questions to: technical.support@avnet.com // // Disclaimer: // Avnet, Inc. makes no warranty for the use of this code or design. // This code is provided "As Is". Avnet, Inc assumes no responsibility for // any errors, which may appear in this code, nor does it make a commitment // to update the information contained herein. Avnet, Inc specifically // disclaims any implied warranties of fitness for a particular purpose. // Copyright(c) 2012 Avnet, Inc. // All rights reserved. // //---------------------------------------------------------------- // // Create Date: Oct 24, 2012 // Design Name: FMC-IMAGEON HDMI Video Frame Buffer // Module Name: fmc_imageon_hdmi_framebuffer.c // Project Name: FMC-IMAGEON HDMI Video Frame Buffer Program // Target Devices: Spartan-6, Virtex-6, Kintex-6 // Hardware Boards: FMC-IMAGEON // // // Tool versions: ISE 14.3 // // Description: FMC-IMAGEON HDMI Demo Program // This application will configure the FMC-IMAGEON module // for the simple case of an HDMI passthrough: // - HDMI Input // - ADV7611 configured for 16 bit YCbCr 4:2:2 mode // with embedded syncs // - HDMI Output // - ADV7511 configured for 16 bit YCbCr 4:2:2 mode // with embedded syncs // If present, it will also reset the Video Timing Controller // that is used for timing in the AXI4-Stream bridges // // Dependencies: // // Revision: Oct 24, 2012: 1.00 Initial version // Nov 01, 2012: 1.02 Update EDID content // Jan 10, 2013: 1.03 Add SSC on video output clock // for CE compliance // //---------------------------------------------------------------- #include <stdio.h> #include "fmc_imageon_hdmi_framebuffer.h" Xuint8 fmc_imageon_hdmii_edid_content[256] = { 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x06, 0xD4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x16, 0x01, 0x03, 0x81, 0x46, 0x27, 0x78, 0x0A, 0x32, 0x30, 0xA1, 0x54, 0x52, 0x9E, 0x26, 0x0A, 0x49, 0x4B, 0xA3, 0x08, 0x00, 0x81, 0xC0, 0x81, 0x00, 0x81, 0x0F, 0x81, 0x40, 0x81, 0x80, 0x95, 0x00, 0xB3, 0x00, 0x01, 0x01, 0x02, 0x3A, 0x80, 0x18, 0x71, 0x38, 0x2D, 0x40, 0x58, 0x2C, 0x45, 0x00, 0xC4, 0x8E, 0x21, 0x00, 0x00, 0x1E, 0xA9, 0x1A, 0x00, 0xA0, 0x50, 0x00, 0x16, 0x30, 0x30, 0x20, 0x37, 0x00, 0xC4, 0x8E, 0x21, 0x00, 0x00, 0x1A, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x46, 0x4D, 0x43, 0x2D, 0x49, 0x4D, 0x41, 0x47, 0x45, 0x4F, 0x4E, 0x0A, 0x20, 0x00, 0x00, 0x00, 0xFD, 0x00, 0x38, 0x4B, 0x20, 0x44, 0x11, 0x00, 0x0A, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x01, 0x54, 0x02, 0x03, 0x1F, 0x71, 0x4B, 0x90, 0x03, 0x04, 0x05, 0x12, 0x13, 0x14, 0x1F, 0x20, 0x07, 0x16, 0x26, 0x15, 0x07, 0x50, 0x09, 0x07, 0x01, 0x67, 0x03, 0x0C, 0x00, 0x10, 0x00, 0x00, 0x1E, 0x01, 0x1D, 0x00, 0x72, 0x51, 0xD0, 0x1E, 0x20, 0x6E, 0x28, 0x55, 0x00, 0xC4, 0x8E, 0x21, 0x00, 0x00, 0x1E, 0x01, 0x1D, 0x80, 0x18, 0x71, 0x1C, 0x16, 0x20, 0x58, 0x2C, 0x25, 0x00, 0xC4, 0x8E, 0x21, 0x00, 0x00, 0x9E, 0x8C, 0x0A, 0xD0, 0x8A, 0x20, 0xE0, 0x2D, 0x10, 0x10, 0x3E, 0x96, 0x00, 0xC4, 0x8E, 0x21, 0x00, 0x00, 0x18, 0x01, 0x1D, 0x80, 0x3E, 0x73, 0x38, 0x2D, 0x40, 0x7E, 0x2C, 0x45, 0x80, 0xC4, 0x8E, 0x21, 0x00, 0x00, 0x1E, 0x1A, 0x36, 0x80, 0xA0, 0x70, 0x38, 0x1F, 0x40, 0x30, 0x20, 0x25, 0x00, 0xC4, 0x8E, 0x21, 0x00, 0x00, 0x1A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 }; int fmc_imageon_hdmi_framebuffer_init( fmc_imageon_hdmi_framebuffer_t *pDemo ) { int ret; Xuint32 timeout = 100; Xuint32 iterations = 0; xil_printf("\n\r"); xil_printf("------------------------------------------------------\n\r"); xil_printf("-- FMC-IMAGEON HDMI Video Frame Buffer --\n\r"); xil_printf("------------------------------------------------------\n\r"); xil_printf("\n\r"); xil_printf( "FMC-IMAGEON Initialization ...\n\r" ); ret = fmc_iic_xps_init(&(pDemo->fmc_imageon_iic),"FMC-IMAGEON I2C Controller", pDemo->uBaseAddr_IIC_FmcImageon ); if ( !ret ) { xil_printf( "ERROR : Failed to open FMC-IIC driver\n\r" ); exit(0); } fmc_imageon_init(&(pDemo->fmc_imageon), "FMC-IMAGEON", &(pDemo->fmc_imageon_iic)); pDemo->fmc_imageon.bVerbose = pDemo->bVerbose; // Configure Video Clock Synthesizer fmc_imageon_vclk_init( &(pDemo->fmc_imageon) ); fmc_imageon_vclk_config( &(pDemo->fmc_imageon), FMC_IMAGEON_VCLK_FREQ_148_500_000); // Initialize HDMI Input (including EDID content) /* xil_printf( "HDMI Input Initialization ...\n\r" ); ret = fmc_imageon_hdmii_init( &(pDemo->fmc_imageon), 1, // hdmiiEnable = 1 1, // editInit = 1 fmc_imageon_hdmii_edid_content ); if ( !ret ) { xil_printf( "ERROR : Failed to init HDMI Input Interface\n\r" ); exit(0); } */ // Configure Video Clock Synthesizer xil_printf( "Video Clock Synthesizer Configuration ...\n\r" ); fmc_imageon_vclk_config( &(pDemo->fmc_imageon), FMC_IMAGEON_VCLK_FREQ_148_500_000); sleep(1); xil_printf( "Enabling spread-spectrum clocking (SSC)\n\r" ); xil_printf( "\ttype=down-spread, amount=-0.75%%\n\r" ); { Xuint8 num_bytes; int i; Xuint8 iic_cdce913_ssc_on[3][2]= { 0x10, 0x6D, // SSC = 011 (0.75%) 0x11, 0xB6, // 0x12, 0xDB // }; fmc_imageon_iic_mux( &(pDemo->fmc_imageon), FMC_IMAGEON_I2C_SELECT_VID_CLK ); for ( i = 0; i < 3; i++ ) { num_bytes = pDemo->fmc_imageon.pIIC->fpIicWrite( pDemo->fmc_imageon.pIIC, FMC_IMAGEON_VID_CLK_ADDR, (0x80 | iic_cdce913_ssc_on[i][0]), &(iic_cdce913_ssc_on[i][1]), 1); } } // Set HDMI output to 1080P60 resolution pDemo->hdmio_resolution = VIDEO_RESOLUTION_1080P; pDemo->hdmio_width = 1920; pDemo->hdmio_height = 1080; //pDemo->hdmio_timing.IsHDMI = 1; // HDMI Mode pDemo->hdmio_timing.IsHDMI = 0; // DVI Mode pDemo->hdmio_timing.IsEncrypted = 0; pDemo->hdmio_timing.IsInterlaced = 0; pDemo->hdmio_timing.ColorDepth = 8; pDemo->hdmio_timing.HActiveVideo = 1920; pDemo->hdmio_timing.HFrontPorch = 88; pDemo->hdmio_timing.HSyncWidth = 44; pDemo->hdmio_timing.HSyncPolarity = 1; pDemo->hdmio_timing.HBackPorch = 148; pDemo->hdmio_timing.VActiveVideo = 1080; pDemo->hdmio_timing.VFrontPorch = 4; pDemo->hdmio_timing.VSyncWidth = 5; pDemo->hdmio_timing.VSyncPolarity = 1; pDemo->hdmio_timing.VBackPorch = 36; xil_printf( "HDMI Output Initialization ...\n\r" ); ret = fmc_imageon_hdmio_init( &(pDemo->fmc_imageon), 1, // hdmioEnable = 1 &(pDemo->hdmio_timing), // pTiming 0 // waitHPD = 0 ); if ( !ret ) { xil_printf( "ERROR : Failed to init HDMI Output Interface\n\r" ); //exit(0); } // Clear frame stores Xuint32 i; Xuint32 storage_size = pDemo->uNumFrames_HdmiFrameBuffer * ((1920*1080)<<1); volatile Xuint32 *pStorageMem = (Xuint32 *)pDemo->uBaseAddr_MEM_HdmiFrameBuffer; // Frame #1 - Red pixels for ( i = 0; i < storage_size / pDemo->uNumFrames_HdmiFrameBuffer; i += 4 ) { *pStorageMem++ = 0x29F0296E; } // Frame #1 - Green pixels for ( i = 0; i < storage_size / pDemo->uNumFrames_HdmiFrameBuffer; i += 4 ) { *pStorageMem++ = 0x91229136; } // Frame #1 - Blue pixels for ( i = 0; i < storage_size / pDemo->uNumFrames_HdmiFrameBuffer; i += 4 ) { *pStorageMem++ = 0x296E29F0; } // Initialize Output Side of AXI VDMA xil_printf( "Video DMA (Output Side) Initialization ...\n\r" ); vfb_common_init( pDemo->uDeviceId_VDMA_HdmiFrameBuffer, // uDeviceId &(pDemo->vdma_hdmi) // pAxiVdma ); vfb_tx_init( &(pDemo->vdma_hdmi), // pAxiVdma &(pDemo->vdmacfg_hdmi_read), // pReadCfg pDemo->hdmio_resolution, // uVideoResolution pDemo->hdmio_resolution, // uStorageResolution pDemo->uBaseAddr_MEM_HdmiFrameBuffer, // uMemAddr pDemo->uNumFrames_HdmiFrameBuffer // uNumFrames ); // Configure VTC on output data path xil_printf( "Video Timing Controller (generator) Initialization ...\n\r" ); vgen_init( &(pDemo->vtc_hdmio_generator), pDemo->uDeviceId_VTC_HdmioGenerator ); vgen_config( &(pDemo->vtc_hdmio_generator), pDemo->hdmio_resolution, 1 ); /* xil_printf( "Waiting for ADV7611 to locked on incoming video ...\n\r" ); pDemo->hdmii_locked = 0; timeout = 100; while ( !(pDemo->hdmii_locked) && timeout-- ) { usleep(100000); // wait 100msec ... pDemo->hdmii_locked = fmc_imageon_hdmii_get_lock( &(pDemo->fmc_imageon) ); } if ( !(pDemo->hdmii_locked) ) { xil_printf( "\tERROR : ADV7611 has NOT locked on incoming video, aborting !\n\r" ); //return -1; continue; } xil_printf( "\tADV7611 Video Input LOCKED\n\r" ); usleep(100000); // wait 100msec for timing to stabilize // Get Video Input information fmc_imageon_hdmii_get_timing( &(pDemo->fmc_imageon), &(pDemo->hdmii_timing) ); pDemo->hdmii_width = pDemo->hdmii_timing.HActiveVideo; pDemo->hdmii_height = pDemo->hdmii_timing.VActiveVideo; pDemo->hdmii_resolution = vres_detect( pDemo->hdmii_width, pDemo->hdmii_height ); xil_printf( "ADV7611 Video Input Information\n\r" ); xil_printf( "\tVideo Input = %s", pDemo->hdmii_timing.IsHDMI ? "HDMI" : "DVI" ); xil_printf( "%s", pDemo->hdmii_timing.IsEncrypted ? ", HDCP Encrypted" : "" ); xil_printf( ", %s\n\r", pDemo->hdmii_timing.IsInterlaced ? "Interlaced" : "Progressive" ); xil_printf( "\tColor Depth = %d bits per channel\n\r", pDemo->hdmii_timing.ColorDepth ); xil_printf( "\tHSYNC Timing = hav=%04d, hfp=%02d, hsw=%02d(hsp=%d), hbp=%03d\n\r", pDemo->hdmii_timing.HActiveVideo, pDemo->hdmii_timing.HFrontPorch, pDemo->hdmii_timing.HSyncWidth, pDemo->hdmii_timing.HSyncPolarity, pDemo->hdmii_timing.HBackPorch ); xil_printf( "\tVSYNC Timing = vav=%04d, vfp=%02d, vsw=%02d(vsp=%d), vbp=%03d\n\r", pDemo->hdmii_timing.VActiveVideo, pDemo->hdmii_timing.VFrontPorch, pDemo->hdmii_timing.VSyncWidth, pDemo->hdmii_timing.VSyncPolarity, pDemo->hdmii_timing.VBackPorch ); xil_printf( "\tVideo Dimensions = %d x %d\n\r", pDemo->hdmii_width, pDemo->hdmii_height ); if ( (pDemo->hdmii_resolution) == -1 ) { xil_printf( "\tERROR : Invalid resolution, aborting !\n\r" ); //return -1; continue; } */ usleep(100000); // Reset VTC on input data path vdet_init( &(pDemo->vtc_hdmii_detector), pDemo->uDeviceId_VTC_HdmiiDetector ); vdet_reset( &(pDemo->vtc_hdmii_detector) ); /* xil_printf( "Video DMA (Input Side) Initialization ...\n\r" ); // Initialize Input Side of AXI VDMA vfb_rx_init( &(pDemo->vdma_hdmi), // pAxiVdma &(pDemo->vdmacfg_hdmi_write), // pWriteCfg pDemo->hdmio_resolution, // uVideoResolution pDemo->hdmio_resolution, // uStorageResolution pDemo->uBaseAddr_MEM_HdmiFrameBuffer, // uMemAddr pDemo->uNumFrames_HdmiFrameBuffer // uNumFrames ); xil_printf( "HDMI Output Re-Initialization ...\n\r" ); ret = fmc_imageon_hdmio_init( &(pDemo->fmc_imageon), 1, // hdmioEnable = 1 &(pDemo->hdmio_timing), // pTiming 0 // waitHPD = 0 ); if ( !ret ) { xil_printf( "ERROR : Failed to init HDMI Output Interface\n\r" ); //exit(0); } */ sleep(1); // Status of AXI VDMA vfb_dump_registers( &(pDemo->vdma_hdmi) ); if ( vfb_check_errors( &(pDemo->vdma_hdmi), 1/*clear errors, if any*/ ) ) { vfb_dump_registers( &(pDemo->vdma_hdmi) ); } xil_printf("\n\r"); xil_printf( "Done\n\r" ); xil_printf("\n\r"); return 0; }
CprE488/Final
hdmi_in/sw/fmc_imageon_framebuffer/src/fmc_imageon_hdmi_framebuffer.c
C
gpl-3.0
13,307
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_55) on Fri Oct 28 22:06:01 EDT 2016 --> <title>engine Class Hierarchy</title> <meta name="date" content="2016-10-28"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="engine Class Hierarchy"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li>Class</li> <li>Use</li> <li class="navBarCell1Rev">Tree</li> <li><a href="../deprecated-list.html">Deprecated</a></li> <li><a href="../index-files/index-1.html">Index</a></li> <li><a href="../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li><a href="../test/package-tree.html">Next</a></li> </ul> <ul class="navList"> <li><a href="../index.html?engine/package-tree.html" target="_top">Frames</a></li> <li><a href="package-tree.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h1 class="title">Hierarchy For Package engine</h1> <span class="strong">Package Hierarchies:</span> <ul class="horizontal"> <li><a href="../overview-tree.html">All Packages</a></li> </ul> </div> <div class="contentContainer"> <h2 title="Class Hierarchy">Class Hierarchy</h2> <ul> <li type="circle">java.lang.Object <ul> <li type="circle">engine.<a href="../engine/Blocks.html" title="class in engine"><span class="strong">Blocks</span></a></li> <li type="circle">engine.<a href="../engine/Blocks.Block.html" title="class in engine"><span class="strong">Blocks.Block</span></a></li> <li type="circle">engine.<a href="../engine/Hitbox.html" title="class in engine"><span class="strong">Hitbox</span></a></li> <li type="circle">engine.<a href="../engine/Map.html" title="class in engine"><span class="strong">Map</span></a></li> </ul> </li> </ul> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li>Class</li> <li>Use</li> <li class="navBarCell1Rev">Tree</li> <li><a href="../deprecated-list.html">Deprecated</a></li> <li><a href="../index-files/index-1.html">Index</a></li> <li><a href="../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li><a href="../test/package-tree.html">Next</a></li> </ul> <ul class="navList"> <li><a href="../index.html?engine/package-tree.html" target="_top">Frames</a></li> <li><a href="package-tree.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>
TartarusFire/2D-Tile-Engine-Java-
doc/engine/package-tree.html
HTML
gpl-3.0
4,409
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Qwt User&#39;s Guide: QwtWeedingCurveFitter Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">Qwt User&#39;s Guide &#160;<span id="projectnumber">6.1.4</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('class_qwt_weeding_curve_fitter.html','');}); /* @license-end */ </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> &#124; <a href="class_qwt_weeding_curve_fitter-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">QwtWeedingCurveFitter Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>A curve fitter implementing Douglas and Peucker algorithm. <a href="class_qwt_weeding_curve_fitter.html#details">More...</a></p> <p><code>#include &lt;<a class="el" href="qwt__curve__fitter_8h_source.html">qwt_curve_fitter.h</a>&gt;</code></p> <div class="dynheader"> Inheritance diagram for QwtWeedingCurveFitter:</div> <div class="dyncontent"> <div class="center"><img src="class_qwt_weeding_curve_fitter__inherit__graph.png" border="0" usemap="#_qwt_weeding_curve_fitter_inherit__map" alt="Inheritance graph"/></div> <map name="_qwt_weeding_curve_fitter_inherit__map" id="_qwt_weeding_curve_fitter_inherit__map"> <area shape="rect" id="node2" href="class_qwt_curve_fitter.html" title="Abstract base class for a curve fitter. " alt="" coords="33,5,143,32"/> </map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a7deb4d070a329cbdee454023194898a7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_weeding_curve_fitter.html#a7deb4d070a329cbdee454023194898a7">QwtWeedingCurveFitter</a> (double <a class="el" href="class_qwt_weeding_curve_fitter.html#a484813f52d921cc5dc57bb6dcf82668d">tolerance</a>=1.0)</td></tr> <tr class="separator:a7deb4d070a329cbdee454023194898a7"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:abbd30a948fc6974f881678f80a29768c"><td class="memItemLeft" align="right" valign="top"><a id="abbd30a948fc6974f881678f80a29768c"></a> virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_weeding_curve_fitter.html#abbd30a948fc6974f881678f80a29768c">~QwtWeedingCurveFitter</a> ()</td></tr> <tr class="memdesc:abbd30a948fc6974f881678f80a29768c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr> <tr class="separator:abbd30a948fc6974f881678f80a29768c"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a62c303f6826fef2be7b7bbe82f530680"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_weeding_curve_fitter.html#a62c303f6826fef2be7b7bbe82f530680">setTolerance</a> (double)</td></tr> <tr class="separator:a62c303f6826fef2be7b7bbe82f530680"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a484813f52d921cc5dc57bb6dcf82668d"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_weeding_curve_fitter.html#a484813f52d921cc5dc57bb6dcf82668d">tolerance</a> () const</td></tr> <tr class="separator:a484813f52d921cc5dc57bb6dcf82668d"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a9f17a819447cba0e733bd71d90ee2766"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_weeding_curve_fitter.html#a9f17a819447cba0e733bd71d90ee2766">setChunkSize</a> (uint)</td></tr> <tr class="separator:a9f17a819447cba0e733bd71d90ee2766"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:adfffe6d108f7170bafe5cc81379eaef7"><td class="memItemLeft" align="right" valign="top">uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_weeding_curve_fitter.html#adfffe6d108f7170bafe5cc81379eaef7">chunkSize</a> () const</td></tr> <tr class="separator:adfffe6d108f7170bafe5cc81379eaef7"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:acf876e668d027828c86288e8ac9808ab"><td class="memItemLeft" align="right" valign="top">virtual QPolygonF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_weeding_curve_fitter.html#acf876e668d027828c86288e8ac9808ab">fitCurve</a> (const QPolygonF &amp;) const</td></tr> <tr class="separator:acf876e668d027828c86288e8ac9808ab"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="inherit_header pub_methods_class_qwt_curve_fitter"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_qwt_curve_fitter')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_qwt_curve_fitter.html">QwtCurveFitter</a></td></tr> <tr class="memitem:a62919f309f0441d94adea94573d0f778 inherit pub_methods_class_qwt_curve_fitter"><td class="memItemLeft" align="right" valign="top"><a id="a62919f309f0441d94adea94573d0f778"></a> virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_curve_fitter.html#a62919f309f0441d94adea94573d0f778">~QwtCurveFitter</a> ()</td></tr> <tr class="memdesc:a62919f309f0441d94adea94573d0f778 inherit pub_methods_class_qwt_curve_fitter"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr> <tr class="separator:a62919f309f0441d94adea94573d0f778 inherit pub_methods_class_qwt_curve_fitter"><td class="memSeparator" colspan="2">&#160;</td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pro_methods_class_qwt_curve_fitter"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_qwt_curve_fitter')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_qwt_curve_fitter.html">QwtCurveFitter</a></td></tr> <tr class="memitem:ad804660017ae0f3ede604470724b3df3 inherit pro_methods_class_qwt_curve_fitter"><td class="memItemLeft" align="right" valign="top"><a id="ad804660017ae0f3ede604470724b3df3"></a> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_curve_fitter.html#ad804660017ae0f3ede604470724b3df3">QwtCurveFitter</a> ()</td></tr> <tr class="memdesc:ad804660017ae0f3ede604470724b3df3 inherit pro_methods_class_qwt_curve_fitter"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr> <tr class="separator:ad804660017ae0f3ede604470724b3df3 inherit pro_methods_class_qwt_curve_fitter"><td class="memSeparator" colspan="2">&#160;</td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>A curve fitter implementing Douglas and Peucker algorithm. </p> <p>The purpose of the Douglas and Peucker algorithm is that given a 'curve' composed of line segments to find a curve not too dissimilar but that has fewer points. The algorithm defines 'too dissimilar' based on the maximum distance (tolerance) between the original curve and the smoothed curve.</p> <p>The runtime of the algorithm increases non linear ( worst case O( n*n ) ) and might be very slow for huge polygons. To avoid performance issues it might be useful to split the polygon ( <a class="el" href="class_qwt_weeding_curve_fitter.html#a9f17a819447cba0e733bd71d90ee2766">setChunkSize()</a> ) and to run the algorithm for these smaller parts. The disadvantage of having no interpolation at the borders is for most use cases irrelevant.</p> <p>The smoothed curve consists of a subset of the points that defined the original curve.</p> <p>In opposite to <a class="el" href="class_qwt_spline_curve_fitter.html" title="A curve fitter using cubic splines. ">QwtSplineCurveFitter</a> the Douglas and Peucker algorithm reduces the number of points. By adjusting the tolerance parameter according to the axis scales <a class="el" href="class_qwt_spline_curve_fitter.html" title="A curve fitter using cubic splines. ">QwtSplineCurveFitter</a> can be used to implement different level of details to speed up painting of curves of many points. </p> </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2> <a id="a7deb4d070a329cbdee454023194898a7"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7deb4d070a329cbdee454023194898a7">&#9670;&nbsp;</a></span>QwtWeedingCurveFitter()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QwtWeedingCurveFitter::QwtWeedingCurveFitter </td> <td>(</td> <td class="paramtype">double&#160;</td> <td class="paramname"><em>tolerance</em> = <code>1.0</code></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Constructor</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">tolerance</td><td>Tolerance </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_weeding_curve_fitter.html#a62c303f6826fef2be7b7bbe82f530680">setTolerance()</a>, <a class="el" href="class_qwt_weeding_curve_fitter.html#a484813f52d921cc5dc57bb6dcf82668d">tolerance()</a> </dd></dl> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="adfffe6d108f7170bafe5cc81379eaef7"></a> <h2 class="memtitle"><span class="permalink"><a href="#adfffe6d108f7170bafe5cc81379eaef7">&#9670;&nbsp;</a></span>chunkSize()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint QwtWeedingCurveFitter::chunkSize </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>Maximum for the number of points passed to a run of the algorithm - or 0, when unlimited </dd></dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_weeding_curve_fitter.html#a9f17a819447cba0e733bd71d90ee2766">setChunkSize()</a> </dd></dl> </div> </div> <a id="acf876e668d027828c86288e8ac9808ab"></a> <h2 class="memtitle"><span class="permalink"><a href="#acf876e668d027828c86288e8ac9808ab">&#9670;&nbsp;</a></span>fitCurve()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">QPolygonF QwtWeedingCurveFitter::fitCurve </td> <td>(</td> <td class="paramtype">const QPolygonF &amp;&#160;</td> <td class="paramname"><em>points</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">points</td><td>Series of data points </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Curve points </dd></dl> <p>Implements <a class="el" href="class_qwt_curve_fitter.html#afa9bf5b328aa553229e204533a60fec0">QwtCurveFitter</a>.</p> </div> </div> <a id="a9f17a819447cba0e733bd71d90ee2766"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9f17a819447cba0e733bd71d90ee2766">&#9670;&nbsp;</a></span>setChunkSize()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtWeedingCurveFitter::setChunkSize </td> <td>(</td> <td class="paramtype">uint&#160;</td> <td class="paramname"><em>numPoints</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Limit the number of points passed to a run of the algorithm</p> <p>The runtime of the Douglas Peucker algorithm increases non linear with the number of points. For a chunk size &gt; 0 the polygon is split into pieces passed to the algorithm one by one.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">numPoints</td><td>Maximum for the number of points passed to the algorithm</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_weeding_curve_fitter.html#adfffe6d108f7170bafe5cc81379eaef7">chunkSize()</a> </dd></dl> </div> </div> <a id="a62c303f6826fef2be7b7bbe82f530680"></a> <h2 class="memtitle"><span class="permalink"><a href="#a62c303f6826fef2be7b7bbe82f530680">&#9670;&nbsp;</a></span>setTolerance()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtWeedingCurveFitter::setTolerance </td> <td>(</td> <td class="paramtype">double&#160;</td> <td class="paramname"><em>tolerance</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Assign the tolerance</p> <p>The tolerance is the maximum distance, that is acceptable between the original curve and the smoothed curve.</p> <p>Increasing the tolerance will reduce the number of the resulting points.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">tolerance</td><td>Tolerance</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_weeding_curve_fitter.html#a484813f52d921cc5dc57bb6dcf82668d">tolerance()</a> </dd></dl> </div> </div> <a id="a484813f52d921cc5dc57bb6dcf82668d"></a> <h2 class="memtitle"><span class="permalink"><a href="#a484813f52d921cc5dc57bb6dcf82668d">&#9670;&nbsp;</a></span>tolerance()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double QwtWeedingCurveFitter::tolerance </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>Tolerance </dd></dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_weeding_curve_fitter.html#a62c303f6826fef2be7b7bbe82f530680">setTolerance()</a> </dd></dl> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="class_qwt_weeding_curve_fitter.html">QwtWeedingCurveFitter</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li> </ul> </div> </body> </html>
digifant/multidisplay-app
libs/qwt-6.1.4/doc/html/class_qwt_weeding_curve_fitter.html
HTML
gpl-3.0
18,392
import React from 'react'; import AccessibleReactTable from 'accessible-react-table'; import PropTypes from 'prop-types'; import gql from 'graphql-tag'; import { Query } from 'react-apollo'; import EmailDownload from '../../shared/EmailDownload'; import Map from '../../shared/visualization/Map'; import { getBoundsFromPolygonData, combinePolygonsFromNeighborhoodList } from '../../utilities/mapUtilities'; import LoadingAnimation from '../../shared/LoadingAnimation'; import Error from '../../shared/Error'; import { english } from './english'; import { spanish } from './spanish'; import { withLanguage } from '../../utilities/lang/LanguageContext'; import createFilterRenderer from '../../shared/FilterRenderer'; const GET_ADDRESSES_BY_NEIGHBORHOOD = gql` query addresses_by_neighborhood($nbrhd_ids: [String]) { addresses_by_neighborhood (nbrhd_ids: $nbrhd_ids) { civic_address_id x y street_name street_prefix street_number street_type unit city zipcode is_in_city owner_name owner_address owner_cityname owner_state owner_zipcode } neighborhoods (nbrhd_ids: $nbrhd_ids) { name polygon { outer { points { x y } } holes { points { x y } } } } } `; const AddressesByNeighborhood = props => ( <Query query={GET_ADDRESSES_BY_NEIGHBORHOOD} variables={{ nbrhd_ids: [props.location.query.id.trim()], }} > {({ loading, error, data }) => { if (loading) return <LoadingAnimation />; if (error) return <Error message={error.message} />; // set language let content; switch (props.language.language) { case 'Spanish': content = spanish; break; default: content = english; } const dataColumns = [ { Header: content.address, accessor: 'Address', Cell: row => ( <div> <div>{row.original.street_number} {row.original.street_prefix} {row.original.street_name} {row.original.street_type} {row.original.unit ? `#${row.original.unit}` : ''}</div> <div>{row.original.city}, NC {row.original.zipcode}</div> </div> ), Filter: createFilterRenderer(content.placeholder), filterMethod: (filter, row) => { const joinedAddressInfo = `${row._original.street_number} ${row._original.street_prefix} ${row._original.street_name} ${row._original.street_type} ${row._original.unit ? '#' : ''} ${row._original.unit} ${row._original.city}, NC ${row._original.zipcode}`; return row._original !== undefined ? joinedAddressInfo.toLowerCase().indexOf(filter.value.toLowerCase()) > -1 : true; // eslint-disable-line }, }, { Header: content.owner, accessor: 'Owner', Cell: row => ( <div> <div>{row.original.owner_name}</div> <div>{row.original.owner_address}</div> <div>{row.original.owner_cityname}, {row.original.owner_state} {row.original.owner_zipcode}</div> </div> ), Filter: createFilterRenderer(content.placeholder), filterMethod: (filter, row) => { const joinedOwnerInfo = [row._original.owner_name, row._original.owner_address, row._original.owner_cityname, [',', row._original.owner_state].join(''), row._original.owner_zipcode].join(' '); // eslint-disable-line return row._original !== undefined ? // eslint-disable-line joinedOwnerInfo.toLowerCase().indexOf(filter.value.toLowerCase()) > -1 : true; }, }, ]; const mapData = data.addresses_by_neighborhood.map(item => (Object.assign( {}, item, { popup: `<b>${content.address}</b><div>${item.street_number} ${item.street_prefix} ${item.street_name} ${item.unit || ''}</div><div>${item.city}, NC ${item.zipcode}</div><br /><b>${content.owner}</b><div>${item.owner_name}</div><div>${item.owner_address}</div><div>${item.owner_cityname}, ${item.owner_state} ${item.owner_zipcode}</div>` } // eslint-disable-line ))); return ( <div> <div className="row"> <div className="col-sm-12"> <EmailDownload downloadData={data.addresses_by_neighborhood} fileName={content.addresses_by_neighborhood_filename} /> </div> <div id="listView" hidden={props.location.query.view === 'map'} className="col-sm-12"> {data.addresses_by_neighborhood.length < 1 ? <div className="alert alert-info">{content.no_results_found}</div> : <div style={{ marginTop: '10px' }}> <AccessibleReactTable data={data.addresses_by_neighborhood} arialLabel="Neighborhood Addresses" columns={dataColumns} showPagination={data.addresses_by_neighborhood.length > 20} defaultPageSize={data.addresses_by_neighborhood.length <= 20 ? data.addresses_by_neighborhood.length : 20} getTdProps={() => ( { style: { whiteSpace: 'normal', }, } )} filterable /> </div> } </div> <div id="mapView" className="col-xs-12" hidden={props.location.query.view !== 'map'}> {data.addresses_by_neighborhood.length === 0 || props.location.query.view !== 'map' ? <div className="alert alert-info">{content.no_results_found}</div> : <Map data={mapData} drawPolygon polygonData={combinePolygonsFromNeighborhoodList([data.neighborhoods[0]])} bounds={getBoundsFromPolygonData([data.neighborhoods[0].polygon])} /> } </div> </div> </div> ); }} </Query> ); AddressesByNeighborhood.propTypes = { spatialEventTopic: PropTypes.string.isRequired, location: PropTypes.object, // eslint-disable-line query: PropTypes.object, // eslint-disable-line react/forbid-prop-types }; AddressesByNeighborhood.defaultProps = { spatialEventTopic: 'crime', query: { entity: 'address', label: '123 Main street' }, }; export default withLanguage(AddressesByNeighborhood);
cityofasheville/simplicity2
src/app/address/AddressesByNeighborhood.js
JavaScript
gpl-3.0
6,767
#ifndef AUTHAUTHORIZATION_H #define AUTHAUTHORIZATION_H // Generated by APIGenerator 1.0 // DO NOT EDIT!!! #include "../../types/basic.h" #include "../../types/telegramobject.h" #include "user.h" class AuthAuthorization: public TelegramObject { Q_OBJECT Q_PROPERTY(TLInt flags READ flags WRITE setFlags NOTIFY flagsChanged) Q_PROPERTY(TLInt tmpSessions READ tmpSessions WRITE setTmpSessions NOTIFY tmpSessionsChanged) Q_PROPERTY(User* user READ user WRITE setUser NOTIFY userChanged) Q_ENUMS(Constructors) public: enum Constructors { CtorAuthAuthorization = 0xcd050916, }; public: explicit AuthAuthorization(QObject* parent = 0); virtual void read(MTProtoStream* mtstream); virtual void write(MTProtoStream* mtstream); protected: virtual void compileFlags(); public: TLInt flags() const; void setFlags(TLInt flags); TLInt tmpSessions() const; void setTmpSessions(TLInt tmp_sessions); User* user() const; void setUser(User* user); signals: void flagsChanged(); void tmpSessionsChanged(); void userChanged(); private: TLInt _flags; TLInt _tmp_sessions; User* _user; }; #endif // AUTHAUTHORIZATION_H
QtGram/LibQTelegram
autogenerated/types/authauthorization.h
C
gpl-3.0
1,158
#include "PrintInfo.h" #include "utils_time.h" #include "text.h" #include "BMPText.h" using namespace utils_time; ////////////////////////////////////////////// ///////////PrintInfoItem Class//////////////// ////////////////////////////////////////////// PrintInfoItem::PrintInfoItem(int scenario_id /* = 0 */, int calibration_id /* = -1 */) : m_1DDataWithRowCol(nullptr), m_nRows(-1), m_1DData(nullptr), m_nLayers(-1), m_2DData(nullptr), TimeSeriesDataForSubbasinCount(-1), SiteID(-1), SiteIndex(-1), SubbasinID(-1), SubbasinIndex(-1), StartTime(""), m_startTime(0), EndTime(""), m_endTime(0), Suffix(""), Corename(""), Filename(""), m_scenarioID(scenario_id), m_calibrationID(calibration_id), m_Counter(-1), m_AggregationType(AT_Unknown) { TimeSeriesData.clear(); TimeSeriesDataForSubbasin.clear(); } PrintInfoItem::~PrintInfoItem() { StatusMessage(("Start to release PrintInfoItem for " + Filename + " ...").c_str()); Release2DArray(m_Counter, m_1DDataWithRowCol); Release1DArray(m_1DData); Release2DArray(m_nRows, m_2DData); for (auto it = TimeSeriesDataForSubbasin.begin(); it != TimeSeriesDataForSubbasin.end();) { if (it->second != nullptr) { Release1DArray(it->second); } TimeSeriesDataForSubbasin.erase(it++); } TimeSeriesDataForSubbasin.clear(); StatusMessage(("End to release PrintInfoItem for " + Filename + " ...").c_str()); } bool PrintInfoItem::IsDateInRange(time_t dt) { bool bStatus = false; if (dt >= m_startTime && dt <= m_endTime) { bStatus = true; } return bStatus; } void PrintInfoItem::add1DTimeSeriesResult(time_t t, int n, const float* data) { float* temp = new float[n]; for (int i = 0; i < n; i++) { temp[i] = data[i]; } TimeSeriesDataForSubbasin[t] = temp; TimeSeriesDataForSubbasinCount = n; } void PrintInfoItem::Flush(const string& projectPath, MongoGridFs* gfs, FloatRaster* templateRaster, string header) { // For MPI version, 1) Output to MongoDB, then 2) combined to tiff /* Currently, I cannot find a way to store GridFS files with the same filename but with * different metadata information by mongo-c-driver, which can be done by pymongo. * So, temporarily, I decided to append scenario ID and calibration ID to the filename. * * The format of filename of OUPUT by SEIMS MPI version is: * * <SubbasinID>_CoreFileName_ScenarioID_CalibrationID * * If no ScenarioID or CalibrationID, i.e., with a value of -1, just left blank. e.g., * - 1_SED_OL_SUM_1_ means ScenarioID is 1 and Calibration ID is -1 * - 1_SED_OL_SUM__ means ScenarioID is -1 and Calibration ID is -1 * - 1_SED_OL_SUM_0_2 means ScenarioID is 0 and Calibration ID is 2 */ // For OMP version, Output to tiff file directly. bool outToMongoDB = false; // By default, not output to MongoDB. // Additional metadata information map<string, string> opts; if (SubbasinID != 0 && SubbasinID != 9999 && // Not the whole basin, Not the field-version (m_1DData != nullptr || m_2DData != nullptr)) { // Spatial outputs outToMongoDB = true; // Add subbasin ID as prefix Filename = itoa(SubbasinID) + "_" + Corename; #ifdef HAS_VARIADIC_TEMPLATES opts.emplace("SCENARIO_ID", itoa(m_scenarioID)); opts.emplace("CALIBRATION_ID", itoa(m_calibrationID)); #else opts.insert(make_pair("SCENARIO_ID", itoa(m_scenarioID))); opts.insert(make_pair("CALIBRATION_ID", itoa(m_calibrationID))); #endif } /// Filename should appended by AggregateType to avoiding the same names. By LJ, 2016-7-12 if (!StringMatch(AggType, "")) { Filename += "_" + AggType; Corename += "_" + AggType; } // Concatenate GridFS filename for SEIMS MPI version. string gfs_name = Filename + "_"; if (m_scenarioID >= 0) gfs_name += itoa(m_scenarioID); gfs_name += "_"; if (m_calibrationID >= 0) gfs_name += itoa(m_calibrationID); StatusMessage(("Creating output file " + Filename + "...").c_str()); // Don't forget add appropriate suffix to Filename... ZhuLJ, 2015/6/16 if (m_AggregationType == AT_SpecificCells) { // TODO, this function has been removed in current version /*if(m_specificOutput != NULL) { m_specificOutput->dump(projectPath + Filename + ".txt"); StatusMessage(("Create " + projectPath + Filename + " successfully!").c_str()); }*/ return; } if (!TimeSeriesData.empty() && (SiteID != -1 || SubbasinID != -1)) { //time series data std::ofstream fs; string filename = projectPath + Filename + "." + TextExtension; fs.open(filename.c_str(), std::ios::out | std::ios::app); /// append if more than one print item. By LJ if (fs.is_open()) { if (SubbasinID == 0) { fs << "Watershed: " << endl; } else { fs << "Subbasin: " << SubbasinID << endl; } // Write header fs << header << endl; for (auto it = TimeSeriesData.begin(); it != TimeSeriesData.end(); ++it) { fs << ConvertToString2(it->first) << " " << std::right << std::fixed << std::setw(15) << std::setfill(' ') << setprecision(8) << it->second << endl; } fs.close(); StatusMessage(("Create " + filename + " successfully!").c_str()); } return; } if (!TimeSeriesDataForSubbasin.empty() && SubbasinID != -1) { //time series data for subbasin std::ofstream fs; string filename = projectPath + Filename + "." + TextExtension; fs.open(filename.c_str(), std::ios::out | std::ios::app); if (fs.is_open()) { fs << endl; if (SubbasinID == 0 || SubbasinID == 9999) { fs << "Watershed: " << endl; } else { fs << "Subbasin: " << SubbasinID << endl; } fs << header << endl; for (auto it = TimeSeriesDataForSubbasin.begin(); it != TimeSeriesDataForSubbasin.end(); ++it) { fs << ConvertToString2(it->first); for (int i = 0; i < TimeSeriesDataForSubbasinCount; i++) { fs << " " << std::right << std::fixed << std::setw(15) << std::setfill(' ') << setprecision(8) << it->second[i]; } fs << endl; } fs.close(); StatusMessage(("Create " + filename + " successfully!").c_str()); } return; } if (nullptr != m_1DData && m_nRows > -1 && m_nLayers == 1) { if (templateRaster == nullptr) { throw ModelException("PrintInfoItem", "Flush", "The templateRaster is NULL."); } if (Suffix == GTiffExtension || Suffix == ASCIIExtension) { if (outToMongoDB) { gfs->RemoveFile(gfs_name); FloatRaster(templateRaster, m_1DData).OutputToMongoDB(gfs_name, gfs, opts); } else { FloatRaster(templateRaster, m_1DData).OutputToFile(projectPath + Filename + "." + Suffix); } } else if (Suffix == TextExtension) { /// For field-version models, the Suffix is TextExtension std::ofstream fs; string filename = projectPath + Filename + "." + TextExtension; DeleteExistedFile(filename); fs.open(filename.c_str(), std::ios::out); if (fs.is_open()) { int valid_num = templateRaster->GetValidNumber(); for (int idx = 0; idx < valid_num; idx++) { fs << idx << ", " << setprecision(8) << m_1DData[idx] << endl; } fs.close(); StatusMessage(("Create " + filename + " successfully!").c_str()); } } return; } if (nullptr != m_2DData && m_nRows > -1 && m_nLayers > 1) { if (templateRaster == nullptr) { throw ModelException("PrintInfoItem", "Flush", "The templateRaster is NULL."); } if (Suffix == GTiffExtension || Suffix == ASCIIExtension) { /// Multi-Layers raster data if (outToMongoDB) { gfs->RemoveFile(gfs_name); FloatRaster(templateRaster, m_2DData, m_nLayers).OutputToMongoDB(gfs_name, gfs, opts); } else { FloatRaster(templateRaster, m_2DData, m_nLayers).OutputToFile(projectPath + Filename + "." + Suffix); } } else if (Suffix == TextExtension) { /// For field-version models, the Suffix is TextExtension std::ofstream fs; string filename = projectPath + Filename + "." + TextExtension; DeleteExistedFile(filename); fs.open(filename.c_str(), std::ios::out); if (fs.is_open()) { int valid_num = templateRaster->GetValidNumber(); int nlyrs = templateRaster->GetLayers(); for (int idx = 0; idx < valid_num; idx++) { fs << idx; for (int ilyr = 0; ilyr < nlyrs; ilyr++) { fs << ", " << setprecision(8) << m_2DData[idx][ilyr]; } fs << endl; } fs.close(); StatusMessage(("Create " + filename + " successfully!").c_str()); } } return; } if (!TimeSeriesData.empty()) { /// time series data std::ofstream fs; string filename = projectPath + Filename + "." + TextExtension; DeleteExistedFile(filename); fs.open(filename.c_str(), std::ios::out); if (fs.is_open()) { for (auto it = TimeSeriesData.begin(); it != TimeSeriesData.end(); ++it) { fs << ConvertToString2(it->first) << " " << std::right << std::fixed << std::setw(15) << std::setfill(' ') << setprecision(8) << it->second << endl; } fs.close(); StatusMessage(("Create " + filename + " successfully!").c_str()); } return; } //Don't throw exception, just print the warning message. by lj 08/6/17 //throw ModelException("PrintInfoItem", "Flush", "Creating " + Filename + // " is failed. There is no result data for this file. Please check output variables of modules."); cout << "PrintInfoItem\n Flush\n Creating " << Filename << " is failed. There is no result data for this file. Please check output variables of modules." << endl; } void PrintInfoItem::AggregateData2D(time_t time, int nRows, int nCols, float** data) { if (m_AggregationType == AT_SpecificCells) { return; // TODO to implement. } // check to see if there is an aggregate array to add data to if (m_2DData == nullptr) { // create the aggregate array m_nRows = nRows; m_nLayers = nCols; Initialize2DArray(m_nRows, m_nLayers, m_2DData, NODATA_VALUE); m_Counter = 0; } switch (m_AggregationType) { case AT_Average: #pragma omp parallel for for (int i = 0; i < m_nRows; i++) { for (int j = 0; j < m_nLayers; j++) { if (!FloatEqual(data[i][j], NODATA_VALUE)) { if (FloatEqual(m_2DData[i][j], NODATA_VALUE)) { m_2DData[i][j] = 0.f; } m_2DData[i][j] = (m_2DData[i][j] * m_Counter + data[i][j]) / (m_Counter + 1.f); } } } break; case AT_Sum: #pragma omp parallel for for (int i = 0; i < m_nRows; i++) { for (int j = 0; j < m_nLayers; j++) { if (!FloatEqual(data[i][j], NODATA_VALUE)) { if (FloatEqual(m_2DData[i][j], NODATA_VALUE)) { m_2DData[i][j] = 0.f; } m_2DData[i][j] += data[i][j]; } } } break; case AT_Minimum: #pragma omp parallel for for (int i = 0; i < m_nRows; i++) { for (int j = 0; j < m_nLayers; j++) { if (!FloatEqual(data[i][j], NODATA_VALUE)) { if (FloatEqual(m_2DData[i][j], NODATA_VALUE)) { m_2DData[i][j] = MAXIMUMFLOAT; } if (data[i][j] <= m_2DData[i][j]) { m_2DData[i][j] = data[i][j]; } } } } break; case AT_Maximum: #pragma omp parallel for for (int i = 0; i < m_nRows; i++) { for (int j = 0; j < m_nLayers; j++) { if (!FloatEqual(data[i][j], NODATA_VALUE)) { if (FloatEqual(m_2DData[i][j], NODATA_VALUE)) { m_2DData[i][j] = MISSINGFLOAT; } if (data[i][j] >= m_2DData[i][j]) { m_2DData[i][j] = data[i][j]; } } } } break; default: break; } m_Counter++; } void PrintInfoItem::AggregateData(time_t time, int numrows, float* data) { if (m_AggregationType == AT_SpecificCells) { /*if(m_specificOutput != NULL) { m_specificOutput->setData(time,data); } */ } else { // check to see if there is an aggregate array to add data to if (m_1DData == nullptr) { // create the aggregate array m_nRows = numrows; m_nLayers = 1; Initialize1DArray(m_nRows, m_1DData, NODATA_VALUE); m_Counter = 0; } // depending on the type of aggregation #pragma omp parallel for for (int rw = 0; rw < m_nRows; rw++) { switch (m_AggregationType) { case AT_Average: if (!FloatEqual(data[rw], NODATA_VALUE)) { if (FloatEqual(m_1DData[rw], NODATA_VALUE)) { m_1DData[rw] = 0.f; } m_1DData[rw] = (m_1DData[rw] * m_Counter + data[rw]) / (m_Counter + 1.f); } break; case AT_Sum: if (!FloatEqual(data[rw], NODATA_VALUE)) { if (FloatEqual(m_1DData[rw], NODATA_VALUE)) { m_1DData[rw] = 0.f; } m_1DData[rw] += data[rw]; } break; case AT_Minimum: if (!FloatEqual(data[rw], NODATA_VALUE)) { if (FloatEqual(m_1DData[rw], NODATA_VALUE)) { m_1DData[rw] = MAXIMUMFLOAT; } if (m_1DData[rw] >= data[rw]) { m_1DData[rw] = data[rw]; } } break; case AT_Maximum: if (!FloatEqual(data[rw], NODATA_VALUE)) { if (FloatEqual(m_1DData[rw], NODATA_VALUE)) { m_1DData[rw] = MISSINGFLOAT; } if (m_1DData[rw] <= data[rw]) { m_1DData[rw] = data[rw]; } } break; default: break; } } m_Counter++; } } void PrintInfoItem::AggregateData(int numrows, float** data, AggregationType type, float NoDataValue) { // check to see if there is an aggregate array to add data to if (m_1DDataWithRowCol == nullptr) { // create the aggregate array m_nRows = numrows; m_1DDataWithRowCol = new float *[m_nRows]; for (int i = 0; i < m_nRows; i++) { m_1DDataWithRowCol[i] = new float[3]; m_1DDataWithRowCol[i][0] = NoDataValue; m_1DDataWithRowCol[i][1] = NoDataValue; m_1DDataWithRowCol[i][2] = NoDataValue; } m_Counter = 0; } // depending on the type of aggregation switch (type) { case AT_Average: #pragma omp parallel for for (int rw = 0; rw < m_nRows; rw++) { if (!FloatEqual(data[rw][2], NoDataValue)) { // initialize value to 0.0 if this is the first time if (FloatEqual(m_1DDataWithRowCol[rw][2], NoDataValue)) m_1DDataWithRowCol[rw][2] = 0.0f; m_1DDataWithRowCol[rw][0] = data[rw][0]; // store the row number m_1DDataWithRowCol[rw][1] = data[rw][1]; // store the column number if (m_Counter == 0) { // first value so average = value m_1DDataWithRowCol[rw][2] = data[rw][2]; // store the value } else { // calculate the incremental average m_1DDataWithRowCol[rw][2] = (m_1DDataWithRowCol[rw][2] * m_Counter + data[rw][2]) / (m_Counter + 1); } } } m_Counter++; break; case AT_Sum: #pragma omp parallel for for (int rw = 0; rw < m_nRows; rw++) { if (!FloatEqual(data[rw][2], NoDataValue)) { // initialize value to 0.0 if this is the first time if (FloatEqual(m_1DDataWithRowCol[rw][2], NoDataValue)) m_1DDataWithRowCol[rw][2] = 0.0f; m_1DDataWithRowCol[rw][0] = data[rw][0]; m_1DDataWithRowCol[rw][1] = data[rw][1]; // add the next value to the current sum m_1DDataWithRowCol[rw][2] += data[rw][2]; } } break; case AT_Minimum: #pragma omp parallel for for (int rw = 0; rw < m_nRows; rw++) { if (!FloatEqual(data[rw][2], NoDataValue)) { // initialize value to 0.0 if this is the first time if (FloatEqual(m_1DDataWithRowCol[rw][2], NoDataValue)) m_1DDataWithRowCol[rw][2] = 0.0f; m_1DDataWithRowCol[rw][0] = data[rw][0]; m_1DDataWithRowCol[rw][1] = data[rw][1]; // if the next value is smaller than the current value if (data[rw][2] <= m_1DDataWithRowCol[rw][2]) { // set the current value to the next (smaller) value m_1DDataWithRowCol[rw][2] = data[rw][2]; } } } break; case AT_Maximum: #pragma omp parallel for for (int rw = 0; rw < m_nRows; rw++) { if (!FloatEqual(data[rw][2], NoDataValue)) { // initialize value to 0.0 if this is the first time if (FloatEqual(m_1DDataWithRowCol[rw][2], NoDataValue)) m_1DDataWithRowCol[rw][2] = 0.0f; m_1DDataWithRowCol[rw][0] = data[rw][0]; m_1DDataWithRowCol[rw][1] = data[rw][1]; // if the next value is larger than the current value if (data[rw][2] >= m_1DDataWithRowCol[rw][2]) { // set the current value to the next (larger) value m_1DDataWithRowCol[rw][2] = data[rw][2]; } } } break; default: break; } } AggregationType PrintInfoItem::MatchAggregationType(string type) { AggregationType res = AT_Unknown; if (StringMatch(type, Tag_Unknown)) { res = AT_Unknown; } if (StringMatch(type, Tag_Sum)) { res = AT_Sum; } if (StringMatch(type, Tag_Average) || StringMatch(type, Tag_Average2) || StringMatch(type, Tag_Average3)) { res = AT_Average; } if (StringMatch(type, Tag_Minimum)) { res = AT_Minimum; } if (StringMatch(type, Tag_Maximum)) { res = AT_Maximum; } if (StringMatch(type, Tag_SpecificCells)) { res = AT_SpecificCells; } return res; } ////////////////////////////////////////// ///////////PrintInfo Class//////////////// ////////////////////////////////////////// PrintInfo::PrintInfo(int scenario_id /* = 0 */, int calibration_id /* = -1 */) : m_scenarioID(scenario_id), m_calibrationID(calibration_id), m_Interval(0), m_IntervalUnits(""), m_moduleIndex(-1), m_OutputID(""), m_param(nullptr), m_subbasinSelectedArray(nullptr) { m_PrintItems.clear(); } PrintInfo::~PrintInfo() { for (auto it = m_PrintItems.begin(); it != m_PrintItems.end();) { if (nullptr != *it) { delete *it; *it = nullptr; } it = m_PrintItems.erase(it); } m_PrintItems.clear(); m_param = nullptr; /// since m_param has not been malloc by new, just set it to nullptr if (nullptr != m_subbasinSelectedArray) { Release1DArray(m_subbasinSelectedArray); } } string PrintInfo::getOutputTimeSeriesHeader() { vector<string> headers; if (StringMatch(m_OutputID, VAR_SNWB)) { headers.emplace_back("Time"); headers.emplace_back("P"); headers.emplace_back("P_net"); headers.emplace_back("P_blow"); headers.emplace_back("T"); headers.emplace_back("Wind"); headers.emplace_back("SR"); headers.emplace_back("SE"); headers.emplace_back("SM"); headers.emplace_back("SA"); } else if (StringMatch(m_OutputID, VAR_SOWB)) { headers.emplace_back("Time"); headers.emplace_back("PCP (mm)"); headers.emplace_back("meanTmp (deg C)"); headers.emplace_back("soilTmp (deg C)"); headers.emplace_back("netPcp (mm)"); headers.emplace_back("InterceptionET (mm)"); headers.emplace_back("DepressionET (mm)"); headers.emplace_back("Infiltration (mm)"); headers.emplace_back("Total_ET (mm)"); headers.emplace_back("Soil_ET (mm)"); headers.emplace_back("NetPercolation (mm)"); headers.emplace_back("Revaporization (mm)"); headers.emplace_back("SurfaceRunoff (mm)"); headers.emplace_back("SubsurfaceRunoff (mm)"); headers.emplace_back("Baseflow (mm)"); headers.emplace_back("AllRunoff (mm)"); headers.emplace_back("SoilMoisture (mm)"); //headers.emplace_back("MoistureDepth"); } else if (StringMatch(m_OutputID, VAR_GWWB)) { headers.emplace_back("Time"); headers.emplace_back("Percolation (mm)"); headers.emplace_back("Revaporization (mm)"); headers.emplace_back("Deep Percolation (mm)"); headers.emplace_back("Baseflow (mm)"); headers.emplace_back("Groundwater storage (mm)"); headers.emplace_back("Baseflow discharge (m3/s)"); } else if (StringMatch(m_OutputID, "T_RECH")) { headers.emplace_back("Time"); headers.emplace_back("QS"); headers.emplace_back("QI"); headers.emplace_back("QG"); headers.emplace_back("Q(m^3/s)"); headers.emplace_back("Q(mm)"); } else if (StringMatch(m_OutputID, "T_WABA")) { headers.emplace_back("Time"); headers.emplace_back("Vin"); headers.emplace_back("Vside"); headers.emplace_back("Vdiv"); headers.emplace_back("Vpoint"); headers.emplace_back("Vseep"); headers.emplace_back("Vnb"); headers.emplace_back("Ech"); headers.emplace_back("Lbank"); headers.emplace_back("Vbank"); headers.emplace_back("Vout"); headers.emplace_back("Vch"); headers.emplace_back("Depth"); headers.emplace_back("Velocity"); } else if (StringMatch(m_OutputID, "T_RSWB")) { headers.emplace_back("Time"); headers.emplace_back("Qin(m^3/s)"); headers.emplace_back("Area(ha)"); headers.emplace_back("Storage(10^4*m^3)"); headers.emplace_back("QSout(m^3/s)"); headers.emplace_back("QIout(m^3/s)"); headers.emplace_back("QGout(m^3/s)"); headers.emplace_back("Qout(m^3/s)"); headers.emplace_back("Qout(mm)"); } else if (StringMatch(m_OutputID, "T_CHSB")) { headers.emplace_back("Time"); headers.emplace_back("SedInUpStream"); headers.emplace_back("SedInSubbasin"); headers.emplace_back("SedDeposition"); headers.emplace_back("SedDegradation"); headers.emplace_back("SedStorage"); headers.emplace_back("SedOut"); } else if (StringMatch(m_OutputID, "T_RESB")) { headers.emplace_back("Time"); headers.emplace_back("ResSedIn"); headers.emplace_back("ResSedSettling"); headers.emplace_back("ResSedStorage"); headers.emplace_back("ResSedOut"); } std::ostringstream oss; for (auto it = headers.begin(); it < headers.end(); ++it) { if (StringMatch(*it, "Time")) { oss << *it; } else { oss << " " << std::setw(15) << std::right << std::setfill(' ') << *it; } } return oss.str(); } void PrintInfo::AddPrintItem(string& start, string& end, string& file, string& sufi) { // create a new object instance PrintInfoItem* itm = new PrintInfoItem(m_scenarioID, m_calibrationID); // set its properties itm->SiteID = -1; itm->StartTime = start; itm->EndTime = end; itm->Corename = file; itm->Filename = file; itm->Suffix = sufi; /// Be default, date time format has hour info. itm->m_startTime = ConvertToTime(start, "%d-%d-%d %d:%d:%d", true); itm->m_endTime = ConvertToTime(end, "%d-%d-%d %d:%d:%d", true); // add it to the list m_PrintItems.emplace_back(itm); } void PrintInfo::AddPrintItem(string& type, string& start, string& end, string& file, string& sufi, int subbasinID /* = 0 */) { // create a new object instance PrintInfoItem* itm = new PrintInfoItem(m_scenarioID, m_calibrationID); // set its properties itm->SiteID = -1; itm->SubbasinID = subbasinID; itm->StartTime = start; itm->EndTime = end; itm->Corename = file; itm->Filename = subbasinID == 0 || subbasinID == 9999 ? file : file + "_" + ValueToString(subbasinID); itm->Suffix = sufi; itm->m_startTime = ConvertToTime(start, "%d-%d-%d %d:%d:%d", true); itm->m_endTime = ConvertToTime(end, "%d-%d-%d %d:%d:%d", true); type = Trim(type); itm->AggType = type; AggregationType enumType = PrintInfoItem::MatchAggregationType(type); if (enumType == AT_Unknown) { throw ModelException("PrintInfo", "AddPrintItem", "The type of output " + m_OutputID + " can't be unknown. Please check file.out. The type should be MIN, MAX, SUM or AVERAGE (AVE or MEAN)."); } itm->setAggregationType(enumType); // add it to the list m_PrintItems.emplace_back(itm); } void PrintInfo::AddPrintItem(string& start, string& end, string& file, string sitename, string& sufi, bool isSubbasin) { PrintInfoItem* itm = new PrintInfoItem(m_scenarioID, m_calibrationID); char* strend = nullptr; errno = 0; if (!isSubbasin) { itm->SiteID = strtol(sitename.c_str(), &strend, 10); if (errno != 0) { throw ModelException("PrintInfo", "AddPrintItem", "SiteID converted to integer failed!"); } } else { itm->SubbasinID = strtol(sitename.c_str(), &strend, 10); // deprecated atoi if (errno != 0) { throw ModelException("PrintInfo", "AddPrintItem", "SubbasinID converted to integer failed!"); } itm->SubbasinIndex = CVT_INT(m_subbasinSeleted.size()); m_subbasinSeleted.emplace_back(itm->SubbasinID); } itm->StartTime = start; itm->EndTime = end; itm->Corename = file; itm->Filename = file; itm->Suffix = sufi; itm->m_startTime = ConvertToTime(start, "%d-%d-%d %d:%d:%d", true); itm->m_endTime = ConvertToTime(end, "%d-%d-%d %d:%d:%d", true); m_PrintItems.emplace_back(itm); } void PrintInfo::getSubbasinSelected(int* count, float** subbasins) { *count = CVT_INT(m_subbasinSeleted.size()); if (m_subbasinSelectedArray == nullptr && !m_subbasinSeleted.empty()) { m_subbasinSelectedArray = new float[m_subbasinSeleted.size()]; int index = 0; for (auto it = m_subbasinSeleted.begin(); it < m_subbasinSeleted.end(); ++it) { m_subbasinSelectedArray[index] = CVT_FLT(*it); index++; } } *subbasins = m_subbasinSelectedArray; } PrintInfoItem* PrintInfo::getPrintInfoItem(const int index) { // default is nullptr PrintInfoItem* res = nullptr; // is the index in the valid range if (index >= 0 && index < CVT_INT(m_PrintItems.size())) { // assign the reference to the given item res = m_PrintItems.at(index); } // return the reference return res; }
lreis2415/SEIMS
seims/src/seims_main/base/data/PrintInfo.cpp
C++
gpl-3.0
29,502
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML><HEAD><TITLE>Links</TITLE> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </HEAD> <BODY> <H3 ALIGN="center">Matches for Komal_Nawaz_Hello.java & Hina_Nadir_Task.java</H3> <H1 align="center">36.3%</H1> <CENTER> <A HREF="index.html#matches" TARGET="_top">INDEX</A> - <A HREF="help-en.html" TARGET="_top">HELP</A></CENTER> </BODY> </HTML>
ctestlms/portal
mod/assign/Result_Assignment_ID_2014_02_25/match25-link.html
HTML
gpl-3.0
437
# Mantid Repository : https://github.com/mantidproject/mantid # # Copyright &copy; 2018 ISIS Rutherford Appleton Laboratory UKRI, # NScD Oak Ridge National Laboratory, European Spallation Source # & Institut Laue - Langevin # SPDX - License - Identifier: GPL - 3.0 + #pylint: disable=no-init,attribute-defined-outside-init import systemtesting from mantid.simpleapi import * from reduction_workflow.instruments.sans.sns_command_interface import * from reduction_workflow.instruments.sans.hfir_command_interface import * FILE_LOCATION = "/SNS/EQSANS/IPTS-5636/data/" class EQSANSFlatTest(systemtesting.MantidSystemTest): def requiredFiles(self): files = [] files.append(FILE_LOCATION+"EQSANS_5704_event.nxs") files.append(FILE_LOCATION+"EQSANS_5734_event.nxs") files.append(FILE_LOCATION+"EQSANS_5732_event.nxs") files.append(FILE_LOCATION+"EQSANS_5738_event.nxs") files.append(FILE_LOCATION+"EQSANS_5729_event.nxs") files.append(FILE_LOCATION+"EQSANS_5737_event.nxs") files.append(FILE_LOCATION+"EQSANS_5703_event.nxs") files.append("bl6_flux_at_sample") return files def runTest(self): """ System test for EQSANS. This test is meant to be run at SNS and takes a long time. It is used to verify that the complete reduction chain works and reproduces reference results. """ configI = ConfigService.Instance() configI["facilityName"]='SNS' EQSANS() SolidAngle() DarkCurrent(FILE_LOCATION+"EQSANS_5704_event.nxs") TotalChargeNormalization(beam_file="bl6_flux_at_sample") AzimuthalAverage(n_bins=100, n_subpix=1, log_binning=False) IQxQy(nbins=100) UseConfigTOFTailsCutoff(True) PerformFlightPathCorrection(True) UseConfigMask(True) SetBeamCenter(89.6749, 129.693) SensitivityCorrection(FILE_LOCATION+'EQSANS_5703_event.nxs', min_sensitivity=0.5, max_sensitivity=1.5, use_sample_dc=True) DirectBeamTransmission(FILE_LOCATION+"EQSANS_5734_event.nxs", FILE_LOCATION+"EQSANS_5738_event.nxs", beam_radius=3) ThetaDependentTransmission(False) AppendDataFile([FILE_LOCATION+"EQSANS_5729_event.nxs"]) CombineTransmissionFits(True) Background(FILE_LOCATION+"EQSANS_5732_event.nxs") BckDirectBeamTransmission(FILE_LOCATION+"EQSANS_5737_event.nxs", FILE_LOCATION+"EQSANS_5738_event.nxs", beam_radius=3) BckThetaDependentTransmission(False) BckCombineTransmissionFits(True) SaveIqAscii(process='None') SetAbsoluteScale(277.781) Reduce1D() # This reference is old, ignore the first non-zero point and # give the comparison a reasonable tolerance (less than 0.5%). mtd['EQSANS_5729_event_frame1_Iq'].dataY(0)[1] = 856.30028119108 def validate(self): self.tolerance = 5.0 self.disableChecking.append('Instrument') self.disableChecking.append('Sample') self.disableChecking.append('SpectraMap') self.disableChecking.append('Axes') return "EQSANS_5729_event_frame1_Iq", 'EQSANSFlatTest.nxs'
mganeva/mantid
Testing/SystemTests/tests/analysis/EQSANSFlatTestAPIv2.py
Python
gpl-3.0
3,330
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License This file is part of OpenFOAM. OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenFOAM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. \*---------------------------------------------------------------------------*/ #include "VoFClouds.H" #include "compressibleTwoPhaseMixture.H" #include "fvmSup.H" #include "uniformDimensionedFields.H" #include "addToRunTimeSelectionTable.H" // * * * * * * * * * * * * * Static Member Functions * * * * * * * * * * * * // namespace Foam { namespace fv { defineTypeNameAndDebug(VoFClouds, 0); addToRunTimeSelectionTable ( fvModel, VoFClouds, dictionary ); } } // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // Foam::fv::VoFClouds::VoFClouds ( const word& sourceName, const word& modelType, const dictionary& dict, const fvMesh& mesh ) : fvModel(sourceName, modelType, dict, mesh), phaseName_(dict.lookup("phase")), carrierPhaseName_(dict.lookup("carrierPhase")), thermo_ ( mesh.lookupObject<fluidThermo> ( IOobject::groupName(physicalProperties::typeName, phaseName_) ) ), carrierThermo_ ( mesh.lookupObject<fluidThermo> ( IOobject::groupName(physicalProperties::typeName, carrierPhaseName_) ) ), clouds_ ( carrierThermo_.rho(), mesh.lookupObject<volVectorField>("U"), mesh.lookupObject<uniformDimensionedVectorField>("g"), carrierThermo_ ), curTimeIndex_(-1) {} // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // Foam::wordList Foam::fv::VoFClouds::addSupFields() const { return wordList({thermo_.rho()().name(), "U", "T"}); } void Foam::fv::VoFClouds::correct() { if (curTimeIndex_ == mesh().time().timeIndex()) { return; } clouds_.evolve(); curTimeIndex_ = mesh().time().timeIndex(); } void Foam::fv::VoFClouds::addSup ( const volScalarField& rho, fvMatrix<scalar>& eqn, const word& fieldName ) const { if (debug) { Info<< type() << ": applying source to " << eqn.psi().name() << endl; } if (fieldName == thermo_.rho()().name()) { eqn += clouds_.Srho(); } else if (fieldName == "T") { const volScalarField::Internal Cv(thermo_.Cv()); eqn += clouds_.Sh(eqn.psi())()/Cv + clouds_.Srho()*(eqn.psi() - thermo_.he()/Cv); } else { FatalErrorInFunction << "Support for field " << fieldName << " is not implemented" << exit(FatalError); } } void Foam::fv::VoFClouds::addSup ( const volScalarField& rho, fvMatrix<vector>& eqn, const word& fieldName ) const { if (debug) { Info<< type() << ": applying source to " << eqn.psi().name() << endl; } eqn += clouds_.SU(eqn.psi()); } void Foam::fv::VoFClouds::preUpdateMesh() { // Store the particle positions clouds_.storeGlobalPositions(); } void Foam::fv::VoFClouds::updateMesh(const mapPolyMesh&) {} void Foam::fv::VoFClouds::distribute(const mapDistributePolyMesh& map) { clouds_.distribute(map); } bool Foam::fv::VoFClouds::movePoints() { return true; } // ************************************************************************* //
OpenFOAM/OpenFOAM-dev
applications/solvers/multiphase/compressibleInterFoam/VoFClouds/VoFClouds.C
C++
gpl-3.0
4,350
/* * Copyright (C) 2013 Cupertino Miranda * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program. If not, see <http://www.gnu.org/ * licenses>. * * Contributors: * Cupertino Miranda - initial API and implementation */ #include "LabelCell.h" #include "../Core/fonts/courB08.h" //bool LabelCell::startAnimation() //{ // printf("Entering animation\n"); // FontAccess font(font_courB08); // SpecialFontTexture texture(&font); // texture.setProgString(getData()->string_pointer); // if(selected && texture.width() > frame.size.width) // return true; // return false; //} //bool LabelCell::endAnimation() { // if(selected) // return false; //} void LabelCell::draw() { int16_t pos = 0; FontAccess font(font_courB08); SpecialFontTexture texture(&font); texture.setProgString(getData()->string_pointer); if(0 && selected && texture.width() > frame.size.width) { uint8_t diff = texture.width() - frame.size.width; Time step = animationStep(); const uint8_t slide_speed = 1; pos = -(step * slide_speed); if(step * slide_speed < diff) pos = -diff + ((step * slide_speed) - diff); printf("STEP = %d, POS = %d\n", step, pos); } View::draw_with(pos, 0, &texture); }
philfine/open_ui_library
UI/Views/LabelCell.cpp
C++
gpl-3.0
1,770
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="pinterest" content="nopin"> <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> <meta name="generator" content="Hugo 0.56.3" /> <link rel="alternate" type="application/rss+xml" title="RSS" href="https://snail007.host900.com/goproxy/page/index.xml"> <link rel="canonical" href="https://snail007.host900.com/goproxy/page/"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css"> <title>Pages - GOPROXY IN ACTION</title> <link href="https://snail007.host900.com/goproxy/css/styles.css" rel="stylesheet"> </head> <body> <header class="l-header"> <nav class="navbar navbar-default"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="https://snail007.host900.com/goproxy/">GOPROXY IN ACTION</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav navbar-right"> <li><a href="https://github.com/snail007/goproxy/releases/">下载</a></li> <li><a href="https://snail007.host900.com/goproxy/categories/goproxy%E6%89%8B%E5%86%8C/">实战</a></li> <li><a href="https://snail007.host900.com/goproxy/manual/zh/#/">手册</a></li> <li><a href="/goproxy/about/">关于</a></li> </ul> </div> </div> </nav> </header> <main> <div class="container"> <div class="row"> <div class="col-md-8"> <header class="page-header"> <h1>Pages</h1> </header> <ul class="p-articles"> <li><article class="li"> <header> <ul class="p-facts"> <li><i class="fa fa-calendar" aria-hidden="true"></i><time datetime="2019-06-26T13:19:15JST">Jun 26, 2019</time></li> <li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail007.host900.com/goproxy/page/">page</a></li> </ul> <h2 class="title"><a href="https://snail007.host900.com/goproxy/page/free_vs_commercial/">GOPROXY免费版VS商业版</a></h2> </header> <div class="summary">目前,GOPROXY 和 SDK 提供免费版和商业版,功能对比如下。 免费版 商业版 TCP转发 √ √ UDP转发 √ √ HTTP(S)代理 √ √ Socks5代理 √ √</div> <footer> <a href="https://snail007.host900.com/goproxy/page/free_vs_commercial/" title="GOPROXY免费版VS商业版">Read More…</a> </footer> </article> </li> <li><article class="li"> <header> <ul class="p-facts"> <li><i class="fa fa-calendar" aria-hidden="true"></i><time datetime="2019-06-14T16:29:13JST">Jun 14, 2019</time></li> <li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail007.host900.com/goproxy/page/">page</a></li> </ul> <h2 class="title"><a href="https://snail007.host900.com/goproxy/page/faq/goproxy%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94/">常见问题解答</a></h2> </header> <div class="summary">问:http代理支持https网站吗? 答:goproxy的http代理同时支持http和https网站。 问:socks5代理支持UDP吗? 答</div> <footer> <a href="https://snail007.host900.com/goproxy/page/faq/goproxy%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94/" title="常见问题解答">Read More…</a> </footer> </article> </li> <li><article class="li"> <header> <ul class="p-facts"> <li><i class="fa fa-calendar" aria-hidden="true"></i><time datetime="2019-06-26T13:19:15JST">Jun 26, 2019</time></li> <li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail007.host900.com/goproxy/page/">page</a></li> </ul> <h2 class="title"><a href="https://snail007.host900.com/goproxy/page/free_vs_commercial_en/">GOPROXY Free Version VS Commercial Version</a></h2> </header> <div class="summary">Currently, GOPROXY and SDK are available in both free and commercial versions. Function Free |Commercial TCP forwarding √ √ UDP forwarding √ √ HTTP(S)Agent √ √ Socks5 Agent √ √ Socks5 proxy UDP support √ √ SPS Integrated Agent √ √ SPS superior certification √ √ Intranet penetration √ √ DNS proxy, anti-pollution, independent DNS service √ √ HTTP(S) proxy authentication, authentication API, load balancing × √ SOCKS5 proxy authentication,</div> <footer> <a href="https://snail007.host900.com/goproxy/page/free_vs_commercial_en/" title="GOPROXY Free Version VS Commercial Version">Read More…</a> </footer> </article> </li> <li><article class="li"> <header> <ul class="p-facts"> <li><i class="fa fa-calendar" aria-hidden="true"></i><time datetime="2019-06-14T15:29:47JST">Jun 14, 2019</time></li> <li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail007.host900.com/goproxy/page/">page</a></li> </ul> <h2 class="title"><a href="https://snail007.host900.com/goproxy/page/categories/">Categories</a></h2> </header> <div class="summary">不用看这里,没什么内容,仅仅为了定义目录和tags。</div> </article> </li> <li><article class="li"> <header> <ul class="p-facts"> <li><i class="fa fa-calendar" aria-hidden="true"></i><time datetime="2019-06-14T13:22:19JST">Jun 14, 2019</time></li> <li><i class="fa fa-bookmark" aria-hidden="true"></i><a href="https://snail007.host900.com/goproxy/page/">page</a></li> </ul> <h2 class="title"><a href="https://snail007.host900.com/goproxy/page/about/">About</a></h2> </header> <div class="summary">It&rsquo;s YOU!</div> </article> </li> </ul> </div> <div class="col-md-4"> <aside class="l-sidebar"> <section class="panel panel-default"> <div class="panel-heading"> <div class="panel-title">LATESTS</div> </div> <div class="list-group"> <a href="https://snail007.host900.com/goproxy/usage/first/" class="list-group-item">手册前言(使用必读)</a> <a href="https://snail007.host900.com/goproxy/page/free_vs_commercial/" class="list-group-item">GOPROXY免费版VS商业版</a> <a href="https://snail007.host900.com/goproxy/page/faq/goproxy%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94/" class="list-group-item">常见问题解答</a> <a href="https://snail007.host900.com/goproxy/posts/domain-cf/" class="list-group-item">域名解析 域名控制台&#43;极客&#43;cloudflare 的配置方法</a> <a href="https://snail007.host900.com/goproxy/posts/windows-global-proxy-using-dns/" class="list-group-item">在windows下实现基于dns的自动全局代理</a> <a href="https://snail007.host900.com/goproxy/usage/tcp/" class="list-group-item">TCP代理</a> <a href="https://snail007.host900.com/goproxy/posts/cloudflare/" class="list-group-item">Cloudflare使用简明教程</a> <a href="https://snail007.host900.com/goproxy/posts/http-nat-cdn/" class="list-group-item">内网穿透也能用CDN???!</a> <a href="https://snail007.host900.com/goproxy/page/free_vs_commercial_en/" class="list-group-item">GOPROXY Free Version VS Commercial Version</a> <a href="https://snail007.host900.com/goproxy/posts/http_cdn_ws/" class="list-group-item">代理之套用CDN</a> </div> </section> <section class="panel panel-default"> <div class="panel-heading"> <div class="panel-title">CATEGORY</div> </div> <div class="list-group"> <a href="https://snail007.host900.com/goproxy/categories/%E9%BB%98%E8%AE%A4%E5%88%86%E7%B1%BB" class="list-group-item">默认分类</a> <a href="https://snail007.host900.com/goproxy/categories/goproxy%E6%89%8B%E5%86%8C" class="list-group-item">goproxy手册</a> <a href="https://snail007.host900.com/goproxy/categories/%E6%9E%B6%E6%9E%84%E8%A7%A3%E8%AF%B4" class="list-group-item">架构解说</a> <a href="https://snail007.host900.com/goproxy/categories/%E7%BB%86%E8%AF%B4%E5%B1%82%E7%BA%A7" class="list-group-item">细说层级</a> </div> </section> <section class="panel panel-default"> <div class="panel-heading"> <div class="panel-title">TAG</div> </div> <div class="list-group"> <a href="https://snail007.host900.com/goproxy/tags/cdn" class="list-group-item">cdn</a> <a href="https://snail007.host900.com/goproxy/tags/ws" class="list-group-item">ws</a> <a href="https://snail007.host900.com/goproxy/tags/cloudflare" class="list-group-item">cloudflare</a> <a href="https://snail007.host900.com/goproxy/tags/%E5%95%86%E4%B8%9A%E7%89%88" class="list-group-item">商业版</a> <a href="https://snail007.host900.com/goproxy/tags/commercial" class="list-group-item">commercial</a> <a href="https://snail007.host900.com/goproxy/tags/domain" class="list-group-item">domain</a> <a href="https://snail007.host900.com/goproxy/tags/tcp" class="list-group-item">tcp</a> <a href="https://snail007.host900.com/goproxy/tags/%E5%85%A8%E5%B1%80%E4%BB%A3%E7%90%86" class="list-group-item">全局代理</a> <a href="https://snail007.host900.com/goproxy/tags/%E5%86%85%E7%BD%91%E7%A9%BF%E9%80%8F" class="list-group-item">内网穿透</a> </div> </section> </aside> </div> </div> </div> </main> <footer class="l-footer"> <div class="container"> <p><span class="h-logo">&copy; GOPROXY IN ACTION</span></p> </div> </footer> <script src="//code.jquery.com/jquery-3.1.1.min.js"></script> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script> <script>hljs.initHighlightingOnLoad();</script> <script> $(function(){ $("img[css]").each(function(){ $(this).attr("style",$(this).attr("css")); }); }); </script> </body> </html>
snail007/goproxy
docs/page/index.html
HTML
gpl-3.0
11,094
#include <gtest/gtest.h> #include "andBoolExpr.h" #include "boolTable.h" #include "notBoolExpr.h" #include "orBoolExpr.h" #include "simpleExpr.h" class BoolExprTest : public ::testing::Test { protected: virtual void SetUp() {} virtual void TearDown() { // Code here will be called immediately after each test // (right before the destructor) } }; TEST_F(BoolExprTest, simpleBool) { DP::SimpleExpr simple1("toto", "Boolean expression toto"); ASSERT_TRUE(simple1()); DP::NotBoolExpr nt(&simple1); ASSERT_FALSE(nt()); DP::SimpleExpr simple2("titi", "Another boolean expression titi"); DP::AndBoolExpr and1(&nt, &simple2); ASSERT_FALSE(and1()); DP::OrBoolExpr or1(&nt, &simple2); ASSERT_TRUE(or1()); DP::BoolTable table; or1.solve(table); std::string tb = table.getString(); ASSERT_EQ(std::string("toto() ; titi() ; \n\n 0 0 : 1\n 1 0 : 0\n 0 1 : 1\n 1 1 : 1\n\n"), tb); and1.solve(table); tb = table.getString(); ASSERT_EQ(std::string("toto() ; titi() ; \n\n 0 0 : 0\n 1 0 : 0\n 0 1 : 1\n 1 1 : 0\n\n"), tb); } TEST_F(BoolExprTest, sameSimpleExprMultiple) { { DP::SimpleExpr simple1("toto", "Simple Expression to find multiple times"); DP::SimpleExpr simple2("toto", "Simple Expression repeated a second time"); DP::AndBoolExpr and1(&simple1, &simple2); DP::BoolTable table; and1.solve(table); std::string tb = table.getString(); ASSERT_EQ(std::string("toto() ; \n\n 0 : 0\n 1 : 1\n\n"), tb); } };
bouda1/dr-pythagore
tests/test_boolExpr.cpp
C++
gpl-3.0
1,519
<html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <style type="text/css"> a {text-decoration: none} </style> </head> <body text="#000000" link="#000000" alink="#000000" vlink="#000000"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr><td width="50%">&nbsp;</td><td align="center"> <a name="JR_PAGE_ANCHOR_0_1"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 24px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 122px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 58px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 60px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="21"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="9"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="8"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="21"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="9"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="7" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="5"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="21"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="2"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="21"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 474px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="9" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="10"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="21"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="20" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 1 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="21"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_2"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 60px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-19032</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: MONITOR, TTF (PLANO), MATERIAL: METAL/PLÁSTICO COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-19032</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="15"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="15"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-18840</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS, TECLADO, EN ESPAÑOL, MATERIAL: PLÁSTICO, COLOR GRIS / NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">20</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">2.25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08659</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="15"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="15"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17518</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA DE CONFERENCIA, MOVIL, CON BASE GIRATORIA MATERIAL: METAL Y PLASTICO, TAPIZ: TELA COLOR AZUL</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">2006060955</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">96.0</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-007564</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="15"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="15"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-19144</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">MODULO DE RED, ABIERTO, MATERIAL: ACERO INOXIDABLE, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">Q5016606</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">52.67</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08652</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="15"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="15"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14372</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARCHIVADOR AUXILIAR, DE 2 GAVETAS, MATERIAL: MDF (MADERA DE FÓRMICA) COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/05081-1288558</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">96.0</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07561</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="15"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="15"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-03812</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">PIZARRA, DE MURAL LAMINADA, CON MARCO DE ALUMINIO, MATERIAL: ACRILICO (A), COLOR BLANCO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">5.45</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04796</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="15"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="15"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-03684</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SACAPUNTAS ELECTRICO, ESTANDAR, MATERIAL: METAL/PLASTICO COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">KCC1KMT</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">3560.0</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07519</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="15"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="15"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 51px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 2 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="30"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_3"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">31</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Dirección de Infraestructura Tecnológica y Seguridad de Información</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14252</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA SECRETARIAL, MOVIL, MATERIAL: METAL Y PLASTICO, TAPIZ: TELA COLOR AZUL</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">34.22</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07553</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-00626</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">TELEFONO, BASICO, SIN MENU, MATERIAL: PLASTICO (A), COLOR BLANCO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">96.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-11708</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-08602</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">CENTRAL TELEFÓNICA ELÉCTRICA, MÓVIL, MATERIAL: METAL/PLASTICO, COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">83869HA071194</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">930.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08662</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-10643</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SERVIDOR DE RED, DE &nbsp;DESKTOP, MATERIAL: METAL/PLASTICO COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/83869HA067702</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">930.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08690</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13523</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">EQUIPOS DE COMUNICACIÓN: SWITCH, PARA RACK, MATERIAL: METAL/PLÁSTICO COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">F93A90A5BTG1G3R</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">42.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08682</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-15926</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: MONITOR, TTF (PLANO), MATERIAL: PLÁSTICO COLOR GRIS / NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">MXD54404CHC3</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">3364.57</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07606</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14225</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARCHIVADOR AUXILIAR, DE 2 GAVETAS, MATERIAL: MDF (MADERA DE FÓRMICA) COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">96.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07594</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 42px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 3 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_4"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">31</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Dirección de Infraestructura Tecnológica y Seguridad de Información</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17508</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA DE CONFERENCIA, MOVIL, CON BASE GIRATORIA MATERIAL: METAL Y PLASTICO, TAPIZ: TELA COLOR AZUL</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">2006063431</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">96.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-17508</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14352</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">MODULO, ESTACION DE TRABAJO, CON ALA, SIN GAVETAS MATERIAL: MDFM (MADERA DE FORMICA Y METAL), COLOR </span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07590</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-10828</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: REGULADOR DE VOLTAJE, DE 2 TOMAS, MATERIAL: METAL, COLOR ACERO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08668</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14260</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA SEMI EJECUTIVA, MOVIL, CON BASE GIRATORIA MATERIAL: METAL, TAPIZ: TELA, COLOR AZUL</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">M17HMEY722839E</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">20</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">930.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07651</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13116</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARCHIVADOR AUXILIAR, DE 3 GAVETAS, MATERIAL: MDFM (MADERA DE FÓRMICA Y METAL), COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">20</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-12130</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13787</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARCHIVADOR AUXILIAR, DE 2 GAVETAS, MATERIAL: MDF (MADERA DE FÓRMICA) COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">20</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">96.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-01768</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 56px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 4 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_5"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">33</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Dirección de Sistemas de Información</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-16136</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: &nbsp;CASE, MINITOWER, MATERIAL: &nbsp;METAL/PLÁSTICO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">1G141000429</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">20</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">120.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-01726</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13784</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARCHIVADOR AUXILIAR, DE 2 GAVETAS, MATERIAL: MDF (MADERA DE FÓRMICA) COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">05081-1288556</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">20</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">96.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-01787</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-15737</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: REGULADOR DE VOLTAJE, DE 2 TOMAS, MATERIAL: PLÁSTICO, COLOR GRIS</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">20</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">1113.62</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04781</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-15791</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: REGULADOR DE VOLTAJE, DE 2 TOMAS, MATERIAL: PLÁSTICO, COLOR GRIS</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">20</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04792</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14346</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARCHIVADOR AUXILIAR, DE 2 GAVETAS, MATERIAL: MDF (MADERA DE FÓRMICA) COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">20</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">1366.4</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04785</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-15525</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: TECLADO, EN ESPAÑOL, MATERIAL: METAL/PLÁSTICO COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">1.3</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02310</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 5 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_6"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">48</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Dirección General de Planificación Institucional</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-19202</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA, MATERIAL: METAL, TAPIZ: &nbsp;CUERO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">MXL6380101</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">3364.57</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02389</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17552</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARMARIO ESTÁNDAR, DE 2 PUERTAS CON 2 NIVELES, MATERIAL: MDF (MADERA DE FÓRMICA), COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">0412045967</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">42.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-17552</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17573</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ESCRITORIO, EJECUTIVO, SIN GAVETAS, MATERIAL: MDF (MADERA DE FÓRMICA), COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">309.34</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02364</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-15521</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: TECLADO, EN ESPAÑOL, MATERIAL: METAL/PLÁSTICO COLOR GRIS / NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">1.4</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02210</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17543</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">MODULO ESTACIÓN DE TRABAJO, DE 5 GAVETAS, MATERIAL: MDFM (MADERA DE FORMICA Y METAL), COLOR BEIGE.</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">24.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02313</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-16333</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: &nbsp;CASE, MINITOWER, MATERIAL: &nbsp;METAL/PLÁSTICO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">1G14107768B</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">120.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02309</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 6 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_7"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">48</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Dirección General de Planificación Institucional</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-18529</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARCHIVADOR AUXILIAR, DE 2 GAVETAS, MATERIAL: MDF (MADERA DE FÓRMICA) COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">42.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02603</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17578</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA, MATERIAL: METAL, TAPIZ: TELA, COLOR AZUL</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">SG54U24012</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">46740.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02368</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17581</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARMARIO ESTÁNDAR, DE 2 PUERTAS CON 2 NIVELES, MATERIAL: MDF (MADERA DE FÓRMICA), COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">F93A90A5BTJ39</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">42.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02379</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-12656</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">EQUIPOS DE IMPRESIÓN: IMPRESORAS LÁSER, BLANCO Y NEGRO, MATERIAL: METAL/PLÁSTICO COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">5015.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02362</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-19203</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA, MATERIAL: METAL, TAPIZ: &nbsp;CUERO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">MXL63800JQ</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">3364.57</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02390</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17577</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA MATERIAL: METAL Y PLASTICO, TAPIZ: TELA COLOR AZUL</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/ SG57M2311J</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">46740.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02369</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 7 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_8"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">48</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Dirección General de Planificación Institucional</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17554</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARMARIO ESTÁNDAR, DE 2 PUERTAS CON 2 NIVELES, MATERIAL: MDF (MADERA DE FÓRMICA), COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">P0509041835</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">42.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02345</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17574</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARCHIVADOR AUXILIAR, DE 2 GAVETAS, MATERIAL: MDF (MADERA DE FÓRMICA) COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.8</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02365</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13666</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: &nbsp;CASE, MINITOWER, MATERIAL: &nbsp;METAL/PLÁSTICO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">02806641</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">120.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02209</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17533</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA MATERIAL: METAL, TAPIZ: &nbsp;CUERO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">AEY0081238</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">245.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02613</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17553</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARMARIO ESTÁNDAR, DE 2 PUERTAS CON 2 NIVELES, MATERIAL: MDF (MADERA DE FÓRMICA), COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">MO42KC</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">42.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02306</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-18300</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">BIBLIOTECA MODULAR, DE 4 NIVELES, MATERIAL: MDF (MADERA DE FÓRMICA), COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">C0509146329</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">120.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02307</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 8 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_9"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">48</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Dirección General de Planificación Institucional</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17584</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA MATERIAL: METAL Y PLASTICO, TAPIZ: TELA COLOR AZUL</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">230.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02428</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17575</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARMARIO ESTÁNDAR, DE 2 PUERTAS CON 2 NIVELES, MATERIAL: MDF (MADERA DE FÓRMICA), COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">1101181011038</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">24.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02415</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-19198</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ESCRITORIO EJECUTIVO, CON LATERAL IZQUIERDO, DE 7 GAVETAS MATERIAL: MDF (MADERA DE FORMICA), COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/ 83869HA0677637</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">420.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02384</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-09914</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">TELEFONO BASICO, SIN MENU, MATERIAL: PLASTICO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">96.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02420</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17544</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARCHIVADOR AUXILIAR, DE 2 GAVETAS, MATERIAL: MDF (MADERA DE FÓRMICA) COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">3.95</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02314</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17536</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA, MATERIAL: METAL, TAPIZ: TELA, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">245.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02615</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 9 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_10"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">48</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Dirección General de Planificación Institucional</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-16496</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: REGULADOR DE VOLTAJE, DE 2 TOMAS, MATERIAL: ACRÍLICO (A), COLOR AZUL</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02382</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-05131</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: REGULADOR DE VOLTAJE, DE 4 TOMAS, MATERIAL: METAL/PLÁSTICO COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02319</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-01371</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">TELEFONO, BASICO, SIEMENS, MATERIAL: PLASTICO (A), COLOR BLANCO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">72.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02600</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-05716</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">PIZARRA DE MURAL CON MARCO DE ALUMINIO ACRILICA COLOR BLANCO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02432</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17541</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA, MATERIAL: METAL, TAPIZ: &nbsp;CUERO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/MY04F110ZC</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02616</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17532</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA EJECUTIVA, MOVIL,CON BASE GIRATORIA Y APOYA CABEZA MATERIAL: METAL, TAPIZ: CUERO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02604</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 56px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 10 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_11"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">48</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Dirección General de Planificación Institucional</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-19201</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA SEMI EJECUTIVA, MOVIL, CON BASE GIRATORIA MATERIAL: METAL, TAPIZ: &nbsp;CUERO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">930.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02386</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17539</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA, MATERIAL: METAL, TAPIZ: &nbsp;CUERO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">NA</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">245.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02617</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17540</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA, MATERIAL: METAL, TAPIZ: &nbsp;CUERO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">AEY0081253</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02611</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-19917</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA SEMI EJECUTIVA, MOVIL, CON BASE GIRATORIA MATERIAL: METAL/PLASTICO COLOR AZUL</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/ MX-0T6130-48323-5</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">25</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">930.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-02318</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-15485</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: TECLADO, EN ESPAÑOL, MATERIAL: METAL/PLÁSTICO COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">1.4</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-06963</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14210</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA MATERIAL: METAL Y PLASTICO, TAPIZ: TELA COLOR AZUL / NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08286</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-16837</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: &nbsp;CASE, MINITOWER, MATERIAL: &nbsp;METAL/PLÁSTICO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">B93CB0AVBTC5GX</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">22</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">120.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07006</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 42px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 11 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_12"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">26</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Oficina de Gestión Humana</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-16954</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS, TECLADO, EN ESPAÑOL, MATERIAL: PLÁSTICO, COLOR GRIS / NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-09718</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-16838</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: TECLADO, EN ESPAÑOL, MATERIAL: METAL/PLÁSTICO COLOR GRIS /NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">22</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">2.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07007</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17522</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA DE CONFERENCIA, MOVIL, CON BASE GIRATORIA MATERIAL: METAL Y PLASTICO, TAPIZ: TELA COLOR AZUL</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/N</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">96.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08367</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13126</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA SEMI EJECUTIVA, MÓVIL, CON BASE GIRATORIA SIN APOYA CABEZA,MATERIAL: METAL, TAPIZ: TELA, COLOR AZUL</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/MCNC4470WD2</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">930.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08312</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13631</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: MONITOR, CRT, MATERIAL: METAL/PLÁSTICO COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">1366.39</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08314</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-06282</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">CUADRO ARTÍSTICO PAISAJISTA, PINTURA, MATERIAL: MADERA, COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">1.2</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04086</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 12 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_13"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">26</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Oficina de Gestión Humana</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-03243</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">BÁSCULA CLINICA MEDIDOR DE PESO Y TALLA MANUAL DE METAL COLOR AMARILLO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">22</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07018</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14232</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARMARIO ESTÁNDAR, DE 2 PUERTAS CON 2 NIVELES, MATERIAL: MDF (MADERA DE FÓRMICA), COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">X800898</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">64.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-09571</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-04477</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">TELEFONO BASICO SIN MENU PLASTICO (A) COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">22</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">96.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07012</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-05390</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, DE 3 PUESTOS, MATERIAL: METAL, TAPIZ: &nbsp;CUERO, COLOR MARRON</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">22</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-12971</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13123</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: &nbsp;CASE, MINITOWER, MATERIAL: &nbsp;METAL/PLÁSTICO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/1G14101241B</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">22</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">120.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-06962</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-12501</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">EQUIPOS DE IMPRESIÓN: IMPRESORAS LÁSER, A COLOR, MATERIAL: METAL/PLÁSTICO COLOR BLANCO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">5015.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-01827</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 84px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 13 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_14"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">26</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Oficina de Gestión Humana</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-11695</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">CUADRO ARTISTICO PAISAJISTA PINTURA DE MADERA COLOR BLANCO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">22</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-06985</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-00537</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">TELEFONO / FAX, BASICO, CON IMPRESIÓN DE TINTA, MATERIAL: PLASTICO (A), COLOR BLANCO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">42.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08384</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-03233</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SOPORTE PARA SUERO PARAL FIJO, MATERIAL :METAL COLOR BLANCO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">22</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-00322</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14213</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA MATERIAL: METAL Y PLASTICO, TAPIZ: TELA COLOR AZUL / NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08284</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-16990</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: MONITOR, TTF (PLANO), MATERIAL: METAL/PLÁSTICO COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">22</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">32.29</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-06961</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13732</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">MODULO, ESTACIÓN DE TRABAJO, CON ALA, SIN GAVETAS MATERIAL: MDFM (MADERA DE FORMICA Y METAL), COLOR &nbsp;BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-06623</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 84px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 14 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_15"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">26</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Oficina de Gestión Humana</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-15208</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: REGULADOR DE VOLTAJE, DE 2 TOMAS, MATERIAL: METAL/PLÁSTICO COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">1113.62</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08387</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13726</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">MODULO, ESTACIÓN DE TRABAJO, CON ALA, SIN GAVETAS MATERIAL: MDFM (MADERA DE FÓRMICA Y METAL), COLOR &nbsp;BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-12462</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-16189</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: SCANNER, DE FORMATO ESTANDAR, MATERIAL: PLÁSTICO, COLOR GRIS </span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08350</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-15051</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARCHIVADOR AUXILIAR, DE 2 GAVETAS, MATERIAL: MDF (MADERA DE FÓRMICA) COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">96.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08386</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-15050</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARMARIO ESTÁNDAR, DE 2 PUERTAS CON 2 NIVELES, MATERIAL: MDF (MADERA DE FÓRMICA), COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">P0509040808</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">42.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08346</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-16397</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: REGULADOR DE VOLTAJE, DE 4 TOMAS, MATERIAL: METAL/PLÁSTICO COLOR AZUL</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">22</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">5015.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-06697</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 42px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 15 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_16"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">26</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Oficina de Gestión Humana</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-01547</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA, SECRETARIAL, MOVIL, MATERIAL: SEMI CUERO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/ 222084</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">34.22</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-05351</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13934</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">BIBLIOTECA MODULAR, DE 10 &nbsp;NIVELES, CON 5 PUERTAS MATERIAL: MDFM (MADERA DE FÓRMICA Y METAL), COLOR MARRÓN/NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08273</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-15805</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: REGULADOR DE VOLTAJE, DE 2 TOMAS, MATERIAL: METAL/PLÁSTICO COLOR AZUL</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">22</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33--07014</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13966</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ESCRITORIO, EJECUTIVO, CON ALA SIN GAVETAS MATERIAL: MDFM (MADERA DE FÓRMICA Y METAL), COLOR MARRÓN </span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/ MD52001JV</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">3364.57</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-09035</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13970</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA, MATERIAL: METAL, TAPIZ: &nbsp;CUERO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">JGCE52001V</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">3304118</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-09200</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: REGULADOR DE VOLTAJE, DE 2 TOMAS, MATERIAL: METAL/PLÁSTICO COLOR BLANCO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04336</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 42px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 16 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_17"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">27</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Oficina de Planficacion y Presupuesto</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14478</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARCHIVADOR AUXILIAR, DE 2 GAVETAS, MATERIAL: MDF (MADERA DE FÓRMICA) COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">96.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04338</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14237</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ESCRITORIO, EJECUTIVO, CON LATERAL DERECHO, DE 7 GAVETAS MATERIAL: MDFM (MADERA DE FORMICA Y METAL),</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/CNC52986MZ</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">930.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04337</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17811</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA DE CONFERENCIA, MOVIL, CON BASE GIRATORIA MATERIAL: METAL, TAPIZ: &nbsp;CUERO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04045</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17763</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">MESA, DE CONFERENCIA, REDONDA, MATERIAL: MDF (MADERA DE FORMICA), COLOR NEGRO,</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">1692415</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">64.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04047</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-15179</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">EQUIPOS DE IMPRESIÓN: IMPRESORAS DE INYECCIÓN, CON CARRO ANCHO, MATERIAL: METAL/PLÁSTICO COLOR GRIS</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">C/8ZCEK14T75V330770;</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">72445.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04187</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-05908</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">TELEFONO EJECUTIVO, CON MENU Y CON PANTALLA, MATERIAL: PLASTICO, COLOR BLANCO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04109</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 56px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 17 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_18"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">27</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Oficina de Planficacion y Presupuesto</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17813</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA DE CONFERENCIA, MOVIL, CON BASE GIRATORIA MATERIAL: METAL, TAPIZ: &nbsp;CUERO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/05061-125334</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">96.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04046</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13967</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">MESA DE CENTRO, CUADRADA, MATERIAL: MDFM (MADERA DE FORMICA Y METAL), COLOR MARRON / NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-041143</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-19513</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">MODULO ESTACION DE TRABAJO, CON ALA SIN GAVETAS, MATERIAL: MDFM (MADERA DE FORMICA Y METAL), COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07677</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-18992</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA, MATERIAL: METAL, TAPIZ: &nbsp;CUERO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04117</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13971</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">BIBLIOTECA MODULAR, DE 3 NIVELES Y 2 PUERTAS, MATERIAL: METAL Y VIDRIO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">2167890</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-13120</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14240</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA, MATERIAL: METAL Y PLASTICO, TAPIZ: TELA COLOR AZUL</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">42.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04342</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 56px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 18 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_19"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">27</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Oficina de Planficacion y Presupuesto</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-17818</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA DE CONFERENCIA, MOVIL, CON BASE GIRATORIA MATERIAL: METAL, TAPIZ: &nbsp;CUERO, COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">AS0052111066</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04044</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-05099</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">MESA PARA PC MODULAR DE MADERA PALO ROSA</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/ B93CBOLVBTI93A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">120.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-04101</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="26"><img alt="" src="bienes.html_files/px" style="width: 1112px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 25px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-13333</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">EQUIPOS DE IMPRESIÓN: MULTIFUNCIONAL VOLUMEN ALTO, MATERIAL: METAL/PLÁSTICO COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">55BBF70</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">17</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">420.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-13145</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14392</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">ARCHIVADOR AUXILIAR, DE 2 GAVETAS, MATERIAL: MDF (MADERA DE FÓRMICA) COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">309.34</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07616</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14150</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA SEMI EJECUTIVA, MOVIL, CON BASE GIRATORIA MATERIAL: METAL, TAPIZ: TELA, COLOR AZUL</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/DPOO501128</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">420.0</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07660</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-15465</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS, REGULADOR DE VOLTAJE, DE 4 TOMAS, MATERIAL: PLÁSTICO (A), COLOR NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08919</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 22px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 22px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 32px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 82px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 19 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> <br/> <br/> <a name="JR_PAGE_ANCHOR_0_20"></a> <table style="width: 1225px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 1px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 16px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 4px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 30px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 20px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 256px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 28px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 3px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 39px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 74px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 19px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 27px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 76px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 34px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 43px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 15px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 92px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 72px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 9px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> <tr valign="top"> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 41px; height: 70px;"/></td> <td colspan="15"><img src="bienes.html_files/img_0_0_0" style="height: 70px" alt=""/></td> <td colspan="12"><img alt="" src="bienes.html_files/px" style="width: 592px; height: 70px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 41px;"/></td> </tr> <tr valign="top"> <td colspan="13"><img alt="" src="bienes.html_files/px" style="width: 271px; height: 50px;"/></td> <td colspan="11" valign="middle" style="text-align: center;"><span style="font-family: Times New Roman; color: #000000; font-size: 24px; font-weight: bold;">Inventario de Bienes</span></td> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 362px; height: 50px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 24px; height: 15px;"/></td> <td colspan="3"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">N° Bien_Ant</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Descripción</span></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 88px; height: 15px;"/></td> <td colspan="2" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Serial</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 122px; height: 15px;"/></td> <td colspan="3" style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Piso</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 15px;"/></td> <td style="text-align: center;"><span style="font-family: Arial; color: #736343; font-size: 12px; font-weight: bold;">Costo</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 15px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 7px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="25" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 224px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 24px;"/></td> <td colspan="27" style="background-color: #F2EBDF; "> <table style="width: 1149px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 36px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 49px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 969px; height: 1px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 24px;"/></td> <td style="background-color: #736343; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 7px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">29</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 67px; height: 24px;"/></td> <td><span style="font-family: Arial; color: #736343; font-size: 18px; font-weight: bold;">Oficina de Tecnologías de Información y la Comunicación</span></td> </tr> </table> </td> <td><img alt="" src="bienes.html_files/px" style="width: 51px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14292</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">MESA DE CENTRO, RECTANGULAR, MATERIAL: MDF (MADERA DE FORMICA), COLOR BEIGE</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/MX14135468</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">2703.96</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07624</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-03700</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">BIBLIOTECA MODULAR DE 2 NIVELES CON 2 PUERTAS DE MADERA PALO ROSA</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">N/A</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">0.1</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07623</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-18474</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">COMPONENTES EXTERNOS: MONITOR, TTF (PLANO), MATERIAL: METAL/PLÁSTICO,COLOR GRIS / NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">MXL638017C</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">3364.57</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-08914</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 29px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 12px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 3px;"/></td> <td colspan="3" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">29-14458</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 3px;"/></td> <td colspan="4" rowspan="5"><span style="font-family: Arial; color: #000000; font-size: 12px;">SILLA VISITANTE, CON BASE FIJA, MATERIAL: METAL, TAPIZ: TELA, COLOR AZUL / NEGRO</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 3px;"/></td> <td colspan="6" rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">S/MXD54404DL</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 3px;"/></td> <td rowspan="3"><span style="font-family: Arial; color: #000000; font-size: 12px;">19</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 3px;"/></td> <td rowspan="3" style="text-align: right;"><span style="font-family: Arial; color: #000000; font-size: 12px;">3364.57</span></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 3px;"/></td> </tr> <tr valign="top"> <td colspan="7"><img alt="" src="bienes.html_files/px" style="width: 138px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 1px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 1px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td colspan="3" rowspan="2"><span style="font-family: Arial; color: #000000; font-size: 12px;">33-07626</span></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 25px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 21px; height: 11px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 18px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 110px; height: 11px;"/></td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 95px; height: 11px;"/></td> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 132px; height: 11px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 4px;"/></td> <td colspan="6"><img alt="" src="bienes.html_files/px" style="width: 120px; height: 4px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 4px;"/></td> </tr> <tr valign="top"> <td colspan="11"><img alt="" src="bienes.html_files/px" style="width: 233px; height: 8px;"/></td> <td colspan="16"><img alt="" src="bienes.html_files/px" style="width: 670px; height: 8px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 64px;"/></td> </tr> <tr valign="top"> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 21px; height: 1px;"/></td> <td colspan="15" style="background-color: #FFFFFF; border-top-style: solid; border-top-width: 1px; border-top-color: #999999; "><img alt="" src="bienes.html_files/px" border="0"/></td> <td colspan="14"><img alt="" src="bienes.html_files/px" style="width: 649px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 202px;"/></td> </tr> <tr valign="top"> <td colspan="29" style="background-color: #F2EBDF; "> <table style="width: 1165px; border-collapse: collapse" cellpadding="0" cellspacing="0" border="0"> <tr> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 100px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 80px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 40px; height: 1px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 1px;"/></td> </tr> <tr valign="top"> <td colspan="3"><img alt="" src="bienes.html_files/px" style="width: 453px; height: 4px;"/></td> <td rowspan="2" valign="middle" style="text-align: right;"><span style="font-family: Arial; color: #736343; font-size: 10px;">Page 20 of</span></td> <td rowspan="2" valign="middle"><span style="font-family: Arial; color: #736343; font-size: 10px;">&nbsp;20</span></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 4px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 16px;"/></td> <td rowspan="2"><img alt="" src="bienes.html_files/px" border="0"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 312px; height: 16px;"/></td> <td><img alt="" src="bienes.html_files/px" style="width: 592px; height: 16px;"/></td> </tr> <tr valign="top"> <td><img alt="" src="bienes.html_files/px" style="width: 41px; height: 4px;"/></td> <td colspan="4"><img alt="" src="bienes.html_files/px" style="width: 1024px; height: 4px;"/></td> </tr> </table> </td> <td colspan="2"><img alt="" src="bienes.html_files/px" style="width: 60px; height: 24px;"/></td> </tr> <tr valign="top"> <td colspan="31"><img alt="" src="bienes.html_files/px" style="width: 1225px; height: 20px;"/></td> </tr> </table> </td><td width="50%">&nbsp;</td></tr> </table> </body> </html>
bcoronel/bienes
report/bienes.html
HTML
gpl-3.0
596,226
import time from datetime import datetime from pytz import timezone from dateutil.relativedelta import relativedelta import openerp from openerp.report.interface import report_rml from openerp.tools import to_xml from openerp.report import report_sxw from datetime import datetime from openerp.tools.translate import _ from openerp.osv import osv, fields, orm, fields import math import re class edukits_total_retail(report_rml): def create_xml(self,cr,uid,ids,datas,context={}): def _thousand_separator(decimal,amount): if not amount: amount = 0.0 if type(amount) is float : amount = str(decimal%amount) else : amount = str(amount) if (amount == '0'): return ' ' orig = amount new = re.sub("^(-?\d+)(\d{3})", "\g<1>.\g<2>", amount) if orig == new: return new else: return _thousand_separator(decimal,new) pool = openerp.registry(cr.dbname) order_obj = pool.get('sale.order') wh_obj = pool.get('stock.warehouse') session_obj = pool.get('pos.session') user_obj = pool.get('res.users') users = user_obj.browse(cr,uid,uid) warehouse_ids = datas['form']['warehouse_ids'] or wh_obj.search(cr, uid, []) company = users.company_id rml_parser = report_sxw.rml_parse(cr, uid, 'edukits_total_retail', context=context) rml = """ <document filename="test.pdf"> <template pageSize="(21.0cm,29.7cm)" title="Total Retail Report" author="SGEEDE" allowSplitting="20"> <pageTemplate id="first"> <frame id="first" x1="50.0" y1="0.0" width="500" height="830"/> </pageTemplate> </template> <stylesheet> <blockTableStyle id="Table1"> <blockAlignment value="LEFT"/> <blockValign value="TOP"/> <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="-1,-1"/> <lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,-1"/> <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="-1,-1"/> <lineStyle kind="LINEAFTER" colorName="#000000" start="0,0" stop="-1,-1"/> </blockTableStyle> <blockTableStyle id="parent_table"> <blockAlignment value="LEFT"/> <blockLeftPadding start="0,0" length="0.1cm"/> <blockRightPadding start="0,0" length="0.1cm"/> <blockTopPadding start="0,0" length="0.15cm"/> <blockBottomPadding start="0,0" length="0.15cm"/> </blockTableStyle> <blockTableStyle id="Table2"> <blockAlignment value="LEFT"/> <blockValign value="TOP"/> <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="-1,-1"/> <lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,-1"/> <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="-1,-1"/> <lineStyle kind="LINEAFTER" colorName="#000000" start="0,0" stop="-1,-1"/> </blockTableStyle> <blockTableStyle id="Table3"> <blockAlignment value="LEFT"/> <blockValign value="TOP"/> </blockTableStyle> <blockTableStyle id="Table3_Normal"> <blockAlignment value="LEFT"/> <blockValign value="TOP"/> <blockTopPadding start="0,0" length="-0.15cm"/> <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="-1,-1"/> <lineStyle kind="LINEBELOW" colorName="#000000" start="0,1" stop="0,1"/> <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/> <lineStyle kind="LINEAFTER" colorName="#000000" start="0,0" stop="-1,-1"/> </blockTableStyle> <blockTableStyle id="Table3_PARENT"> <blockAlignment value="CENTER"/> <blockValign value="TOP"/> </blockTableStyle> """ for warehouse in wh_obj.browse(cr,uid,warehouse_ids): if warehouse.color: rml += """ <blockTableStyle id="Table3""" + to_xml(str(warehouse.color.name)) + """"> <blockBackground colorName="#"""+ to_xml(str(warehouse.color.color)) + """" start="0,0" stop="0,-1"/> <blockAlignment value="LEFT"/> <blockValign value="TOP"/> <blockTopPadding start="0,0" length="0.1cm"/> <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="-1,-1"/> <lineStyle kind="LINEBELOW" colorName="#000000" start="0,1" stop="0,1"/> <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/> <lineStyle kind="LINEAFTER" colorName="#000000" start="0,0" stop="-1,-1"/> </blockTableStyle> """ if not warehouse.color: rml += """ <blockTableStyle id="Table3False"> <blockAlignment value="LEFT"/> <blockValign value="TOP"/> <blockTopPadding start="0,0" length="0.1cm"/> <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="-1,-1"/> <lineStyle kind="LINEBELOW" colorName="#000000" start="0,1" stop="0,1"/> <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/> <lineStyle kind="LINEAFTER" colorName="#000000" start="0,0" stop="-1,-1"/> </blockTableStyle> """ rml += """ <blockTableStyle id="Table3_LINE"> <blockAlignment value="LEFT"/> <blockValign value="TOP"/> <lineStyle kind="LINEBELOW" colorName="#000000" start="2,0" stop="2,3"/> </blockTableStyle> <blockTableStyle id="Table3_LINE2"> <blockAlignment value="LEFT"/> <blockValign value="TOP"/> </blockTableStyle> <blockTableStyle id="Table3_LINE2W"> <blockBackground colorName="white"/> <blockAlignment value="LEFT"/> <blockValign value="TOP"/> </blockTableStyle> <blockTableStyle id="Table1_line"> <blockAlignment value="LEFT"/> <blockValign value="TOP"/> <lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="2,0"/> <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="2,0"/> </blockTableStyle> <blockTableStyle id="Table1_lines"> <blockBackground colorName="white"/> <blockAlignment value="LEFT"/> <blockValign value="TOP"/> <lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="2,0"/> <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="2,0"/> <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="2,0"/> <lineStyle kind="LINEAFTER" colorName="#000000" start="0,0" stop="2,0"/> </blockTableStyle> <initialize> <paraStyle name="all" alignment="justify"/> </initialize> <paraStyle name="P1" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="P2" fontName="Helvetica-Bold" fontSize="14.0" leading="17" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="P3" fontName="Times-Roman" fontSize="11.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="P4" fontName="Times-Roman" fontSize="11.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="P5" fontName="Times-Roman" fontSize="11.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="P6" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/> <paraStyle name="P7" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/> <paraStyle name="P8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/> <paraStyle name="P9" fontName="Times-Roman" fontSize="11.0" leading="14" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="P10" fontName="Times-Roman" fontSize="11.0" leading="14" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="P11" fontName="Times-Roman" fontSize="11.0" leading="14" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="P12" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/> <paraStyle name="P13" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="P14" fontName="Helvetica-Bold" fontSize="12.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="1.0"/> <paraStyle name="P15" textColor="black" fontName="Helvetica" fontSize="10.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="1.0"/> <paraStyle name="P15_W" textColor="white" fontName="Helvetica" fontSize="10.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="1.0"/> <paraStyle name="P15_RIGHT" textColor="black" fontName="Helvetica" fontSize="10.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="1.0"/> <paraStyle name="P15_CENTER" textColor="black" fontName="Helvetica-Bold" fontSize="12.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="1.0"/> <paraStyle name="P15_CENTER_2" textColor="black" fontName="Helvetica-Bold" fontSize="14.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="1.0"/> <paraStyle name="P16" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="P17" fontName="Times-Roman" fontSize="8.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="1.0"/> <paraStyle name="P19" rightIndent="0.0" leftIndent="0.0" fontName="Times-Roman" fontSize="10.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="P20" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="12.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="Standard" fontName="Times-Roman"/> <paraStyle name="Text body" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/> <paraStyle name="List" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/> <paraStyle name="Table Contents" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/> <paraStyle name="Table Heading" fontName="Times-Roman" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/> <paraStyle name="Caption" fontName="Times-Roman" fontSize="10.0" leading="13" spaceBefore="6.0" spaceAfter="6.0"/> <paraStyle name="Index" fontName="Times-Roman"/> <paraStyle name="Heading" fontName="Helvetica" fontSize="15.0" leading="19" spaceBefore="12.0" spaceAfter="6.0"/> <paraStyle name="Footer" fontName="Times-Roman"/> <paraStyle name="Horizontal Line" fontName="Times-Roman" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/> <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/> <paraStyle name="Heading 9" fontName="Helvetica-Bold" fontSize="75%" leading="NaN" spaceBefore="12.0" spaceAfter="6.0"/> <paraStyle name="terp_tblheader_General" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/> <paraStyle name="terp_tblheader_Details" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/> <paraStyle name="terp_default_8" fontName="Helvetica" fontSize="9.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="terp_default_Bold_8" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="terp_tblheader_General_Centre" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/> <paraStyle name="terp_tblheader_General_Right" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/> <paraStyle name="terp_tblheader_Details_Centre" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/> <paraStyle name="terp_tblheader_Details_Right" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/> <paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/> <paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/> <paraStyle name="terp_header_Centre2" fontName="Helvetica-Bold" fontSize="12.0" leading="19" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/> <paraStyle name="terp_header_Centre3" fontName="Helvetica-Bold" fontSize="12.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/> <paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="terp_default_12" fontName="Helvetica" fontSize="12.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="terp_default_Bold_9_Right" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="terp_default_Centre_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="terp_default_Right_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="Heading 1" fontName="Times-Bold" fontSize="24.0" leading="29" spaceBefore="0.0" spaceAfter="0.0"/> <paraStyle name="Heading 2" fontName="Times-Bold" fontSize="20.0" leading="29" spaceBefore="0.0" spaceAfter="0.0"/> <images/> </stylesheet> <story> """ no_total = 1 rml += """ <blockTable colWidths="250,250" style="Table3_PARENT"> """ # Day transaction for batamcentre center = False currency_amount = 0 currency_symbol ='' bank_ids = [] date_end = datetime.strptime(datas['form']['date_end'],"%Y-%m-%d") # Normal transaction for warehouse in wh_obj.browse(cr,uid,warehouse_ids): currency_amount = warehouse.currency_id.rate_silent location_id = warehouse.lot_stock_id.id results = [] total_bank = 0.0 if warehouse.is_split: date_start_day = datetime.strptime(datas['form']['date_end']+ ' 00:00:00',"%Y-%m-%d %H:%M:%S") date_stop_day = datetime.strptime(datas['form']['date_end']+ ' 17:59:59',"%Y-%m-%d %H:%M:%S") date_start = datetime.strptime(datas['form']['date_end']+ ' 18:00:00',"%Y-%m-%d %H:%M:%S") date_stop = datetime.strptime(datas['form']['date_end']+ ' 23:59:59',"%Y-%m-%d %H:%M:%S") sessions_ids = session_obj.search(cr,uid,[('stock_location_rel','=',location_id),('stop_at','!=',False)]) session_night_ids = [] session_day_ids = [] for sessions in session_obj.browse(cr,uid,sessions_ids): stop_temp=datetime.strptime(sessions.stop_at,"%Y-%m-%d %H:%M:%S") tz_count = 0 hour_offset = "" minute_offset = "" for tz_offset in users.tz_offset: tz_count +=1 if tz_count <= 3: hour_offset += tz_offset elif tz_count <= 5: minute_offset +=tz_offset stop_at= stop_temp + relativedelta(hours=int(hour_offset)) if (stop_at >= date_start) and (stop_at <= date_stop): session_night_ids.append(sessions.id) if (stop_at >= date_start_day) and (stop_at <= date_stop_day): session_day_ids.append(sessions.id) # if not warehouse.is_split: session_ids = session_obj.search(cr,uid,[('stop_at','>=',datas['form']['date_end']+ ' 00:00:00'),('stop_at','<=',datas['form']['date_end']+ ' 23:59:59'),('stock_location_rel','=',location_id)]) if len(warehouse_ids) == 1: rml += """ <tr> <td> """ elif no_total % 2 == 0: rml += """<td>""" else: rml += """ <tr> <td> """ if warehouse.color: rml += """ <blockTable colWidths="210" style="Table3"> """ if not warehouse.color: rml += """ <blockTable colWidths="210" style="Table3_Normal"> """ rml += """ <tr> </tr> <tr> <td> <blockTable rowHeights="38" colWidths="198" style="Table3""" + to_xml(str(warehouse.color.name)) + """"> <tr> <td> <para style="P15_CENTER_2">"""+ to_xml(str(warehouse.name)) + """</para> </td> </tr> </blockTable> <blockTable colWidths="198" style="Table1_lines"> <tr> <td> <para style="P15">TGL: """+ to_xml(str(format(date_end,'%d-%B-%y')))+"""</para> </td> </tr> </blockTable> <blockTable rowHeights="17" colWidths="198" style="Table3""" + to_xml(str(warehouse.color.name)) + """"> <tr> <td background="pink"> <para style="P15_CENTER">SETORAN</para> </td> </tr> </blockTable> <blockTable colWidths="198" style="Table1_lines"> <tr> <td> """ total_card = 0.0 # if not session_ids: # rml +=""" # <para style="P15">-</para> # """ total_amount = 0.0 total_amount_night = 0.0 #for day transaction if report is split if warehouse.is_split: for session in session_obj.browse(cr,uid,session_day_ids): for bank in session.statement_ids: if bank.journal_id.type == 'bank': total_card +=bank.balance_end if session.cashier_deposit_ids: for cashier in session.cashier_deposit_ids: total_amount += cashier.amount_total else: for session in session_obj.browse(cr,uid,session_ids): for bank in session.statement_ids: if bank.journal_id.type == 'bank': total_card +=bank.balance_end if session.cashier_deposit_ids: for cashier in session.cashier_deposit_ids: total_amount += cashier.amount_total rml += """ <para style="P15">""" + rml_parser.formatLang(total_amount+0, currency_obj=company.currency_id) + """</para> """ # if warehouse.is_split: if session_ids: sessions = session_obj.browse(cr,uid,session_ids[0]) if warehouse.is_split: rml += """ </td> </tr> </blockTable> <blockTable rowHeights="17" colWidths="198" style="Table3""" + to_xml(str(warehouse.color.name)) + """"> <tr> <td background="pink"> <para style="P15_CENTER">SETORAN (Malam)</para> </td> </tr> </blockTable> <blockTable colWidths="198" style="Table1_lines"> <tr> <td> """ for session in session_obj.browse(cr,uid,session_night_ids): for bank in session.statement_ids: if bank.journal_id.type == 'bank': total_card +=bank.balance_end if session.cashier_deposit_ids: for cashier in session.cashier_deposit_ids: total_amount_night += cashier.amount_total rml += """ <para style="P15">""" + rml_parser.formatLang(total_amount_night+0, currency_obj=company.currency_id) + """</para> """ # if not session_night_ids: # rml +=""" # <para style="P15">-</para> # """ #normal transaction rml += """ </td> </tr> </blockTable> <blockTable rowHeights="17" colWidths="198" style="Table3""" + to_xml(str(warehouse.color.name)) + """"> <tr> <td background="pink"> <para style="P15_CENTER">CC and DC</para> </td> </tr> </blockTable> <blockTable colWidths="100,98" style="Table1_lines"> <tr> <td> """ if not session_ids: rml +=""" <para style="P15">-</para> """ session_list = [] bank_ids = [] for session in session_obj.browse(cr,uid,session_ids): session_list.append(session.id) # for bank in session.statement_ids: # if bank.journal_id.type == 'bank': # rml +=""" # <para style="P15">""" + to_xml(str(bank.journal_id.name)) + """</para> # """ if len(session_list) == 1: cr.execute(""" SELECT sum(abs.balance_end), aj.name from account_bank_statement abs inner join account_journal aj on abs.journal_id = aj.id where pos_session_id = %s and aj.type != 'cash' group by aj.name; """ % (tuple(session_list)[0],)) bank_ids = cr.fetchall() if len(session_list) > 1: cr.execute(""" SELECT sum(abs.balance_end), aj.name from account_bank_statement abs inner join account_journal aj on abs.journal_id = aj.id where pos_session_id in %s and aj.type != 'cash' group by aj.name; """ % (tuple(session_list),)) bank_ids = cr.fetchall() if bank_ids: for edukits_bank in bank_ids: rml +=""" <para style="P15">""" + to_xml(str(edukits_bank[1])) + """</para> """ rml +=""" </td> <td> """ if not session_ids: rml +=""" <para style="P15">-</para> """ if bank_ids: for edukits_bank in bank_ids: total_bank_amount = 0 if edukits_bank[0]: total_bank_amount = edukits_bank[0] total_bank += edukits_bank[0] rml +=""" <para style="P15">""" + rml_parser.formatLang(total_bank_amount+0,currency_obj=company.currency_id) + """</para> """ rml +=""" </td> </tr> </blockTable> <blockTable rowHeights="17" colWidths="198" style="Table3""" + to_xml(str(warehouse.color.name)) + """"> <tr> <td background="pink"> <para style="P15_CENTER">PENGELUARAN</para> </td> </tr> </blockTable> <blockTable colWidths="198" style="Table1_lines"> <tr> <td background="pink"> <para style="P15_W">Table</para> </td> </tr> </blockTable> <blockTable colWidths="198" style="Table1_lines"> <tr> <td background="pink"> <para style="P15_W">Table</para> </td> </tr> </blockTable> <blockTable colWidths="80,118" style="Table1_lines"> <tr> <td> <para style="P15">MAITRI</para> </td> <td> <para style="P15_RIGHT"></para> <para style="P15_RIGHT">""" + rml_parser.formatLang(total_amount +total_amount_night+ total_bank+0, currency_obj=company.currency_id) +"""</para> </td> </tr> </blockTable> <blockTable colWidths="80,118" style="Table1_lines"> <tr> <td> <para style="P15">KURS :""" + rml_parser.formatLang(currency_amount,) +"""</para> </td> <td> <para style="P15_RIGHT">""" + rml_parser.formatLang( (total_amount+total_amount_night)*currency_amount, currency_obj=warehouse.currency_id) +"""</para> </td> </tr> </blockTable> <blockTable colWidths="80,5,110" style="Table3_LINE2"> <tr> <td> <para style="P15"></para> </td> <td> <para style="P15"></para> </td> <td> <para style="P15_CENTER"></para> </td> </tr> </blockTable> </td> </tr> </blockTable> <spacer length="0.5cm"/>""" rml += """ </td> """ if center: if len(warehouse_ids) == 1: rml += """<td></td>""" rml += """ </tr> """ elif ( (no_total % 2 == 1 ) and (len(warehouse_ids)+1 == no_total)): rml += """<td></td>""" rml += """ </tr> """ elif no_total % 2 == 0: rml += """ </tr> """ else: if len(warehouse_ids)+1 == no_total: rml += """ </tr> """ else: if len(warehouse_ids) == 1: rml += """<td></td>""" rml += """ </tr> """ elif ( (no_total % 2 == 1 ) and (len(warehouse_ids) == no_total)): rml += """<td></td>""" rml += """ </tr> """ elif no_total % 2 == 0: rml += """ </tr> """ else: if len(warehouse_ids) == no_total: rml += """ </tr> """ no_total += 1 rml += """ </blockTable> </story> </document>""" date_cur = time.strftime('%Y-%m-%d %H:%M:%S') return rml edukits_total_retail('report.edukits.total.retail', 'pos.session', '', '')
davidsetiyadi/draft_python
new_edukits/edukits_total_retail_report.py
Python
gpl-3.0
24,578
/*- * #%L * A library that allows the connection of ImageJ and OpenCV. * %% * Copyright (C) 2017 - 2021 University of La Rioja * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * #L% */ package ijopencv.opencv; import ij.ImagePlus; import ij.process.ByteProcessor; import ij.process.ColorProcessor; import ij.process.FloatProcessor; import ij.process.ImageProcessor; import ij.process.ShortProcessor; import org.bytedeco.javacpp.FloatPointer; import org.bytedeco.javacpp.ShortPointer; import org.bytedeco.javacpp.opencv_core; import org.bytedeco.javacpp.opencv_core.Mat; import org.scijava.Prioritized; import org.scijava.Priority; import org.scijava.convert.AbstractConverter; import org.scijava.convert.Converter; import org.scijava.log.LogService; import org.scijava.plugin.Plugin; /** * @author J. Heras * @author W. Burger */ @Plugin(type = Converter.class, priority = Priority.LOW_PRIORITY) public class MatImagePlusConverter extends AbstractConverter< Mat, ImagePlus> { @Override public int compareTo(Prioritized o) { return super.compareTo(o); } @Override public LogService log() { return super.log(); } @Override public String getIdentifier() { return super.getIdentifier(); } @Override public < T> T convert(Object o, Class< T> type) { Mat image = (Mat) o; ImageProcessor ip = toImageProcessor(image); return (T) (new ImagePlus("image", ip)); } @Override public Class< ImagePlus> getOutputType() { return ImagePlus.class; } @Override public Class< Mat> getInputType() { return Mat.class; } /** * Convert from an OpenCV Matrix to the equivalent ImageProcessor * @param mat the OpenCV matrix to convert * @return result the ImageProcessor resulting from the conversion */ public static ImageProcessor toImageProcessor(Mat mat) { final int type = mat.type(); ImageProcessor result = null; if (type == opencv_core.CV_8UC1) { // type = BufferedImage.TYPE_BYTE_GRAY; result = makeByteProcessor(mat); } else if (type == opencv_core.CV_8UC3) { // type = BufferedImage.TYPE_3BYTE_BGR; result = makeColorProcessor(mat); // faulty } else if (type == opencv_core.CV_16UC1) { // signed short image result = makeShortProcessor(mat); } else if (type == opencv_core.CV_32FC1) { // float image result = makeFloatProcessor(mat); } else { throw new IllegalArgumentException("cannot convert Mat of type " + type); } return result; } /** * Convert from an OpenCV Matrix to the equivalent ImagePlus with default title Image * @param mat the OpenCV matrix to convert * @return result the ImagePlus resulting from the conversion */ public static ImagePlus toImagePlus(Mat mat) { ImageProcessor ip = toImageProcessor(mat); return new ImagePlus("Image", ip); } /** * Convert from an OpenCV Matrix to the equivalent ImagePlus with custom title * @param mat the OpenCV matrix to convert * @param title Title for the ImagePlus * @return result the ImagePlus resulting from the conversion */ public static ImagePlus toImagePlus(Mat mat, String title) { ImageProcessor ip = toImageProcessor(mat); return new ImagePlus(title, ip); } // private methods ---------------------------------------------- private static ByteProcessor makeByteProcessor(Mat mat) { if (mat.type() != opencv_core.CV_8UC1) { throw new IllegalArgumentException("wrong Mat type: " + mat.type()); } final int w = mat.cols(); final int h = mat.rows(); ByteProcessor bp = new ByteProcessor(w, h); mat.data().get((byte[]) bp.getPixels()); return bp; } private static ShortProcessor makeShortProcessor(Mat mat) { if (mat.type() != opencv_core.CV_16UC1) { throw new IllegalArgumentException("wrong Mat type: " + mat.type()); } final int w = mat.cols(); final int h = mat.rows(); ShortProcessor sp = new ShortProcessor(w, h); ShortPointer sptr = new ShortPointer(mat.data()); sptr.get((short[]) sp.getPixels()); sptr.close(); return sp; } private static FloatProcessor makeFloatProcessor(Mat mat) { if (mat.type() != opencv_core.CV_32FC1) { throw new IllegalArgumentException("wrong Mat type: " + mat.type()); } final int w = mat.cols(); final int h = mat.rows(); FloatProcessor fp = new FloatProcessor(w, h); FloatPointer fptr = new FloatPointer(mat.data()); fptr.get((float[]) fp.getPixels()); fptr.close(); return fp; } private static ColorProcessor makeColorProcessor(Mat mat) { if (mat.type() != opencv_core.CV_8UC3) { throw new IllegalArgumentException("wrong Mat type: " + mat.type()); } final int w = mat.cols(); final int h = mat.rows(); byte[] pixels = new byte[w * h * (int) mat.elemSize()]; mat.data().get(pixels); // convert byte array to int-encoded RGB values ColorProcessor cp = new ColorProcessor(w, h); int[] iData = (int[]) cp.getPixels(); for (int i = 0; i < w * h; i++) { int red = pixels[i * 3 + 0] & 0xff; int grn = pixels[i * 3 + 1] & 0xff; int blu = pixels[i * 3 + 2] & 0xff; iData[i] = (red << 16) | (grn << 8) | blu; } return cp; } }
joheras/IJ-OpenCV
src/main/java/ijopencv/opencv/MatImagePlusConverter.java
Java
gpl-3.0
6,948
// Responder.cpp #include "Responder.h" #include <sys/socket.h> #include <unistd.h> Responder::Responder() { rfd = 0; sfd = 1; ok_ = true; } Responder::~Responder() { shutdown(sfd, SHUT_WR); // or should this be SHUT_RDWR? shutdown(rfd, SHUT_RD); close(sfd); close(rfd); }
wagenadl/iplot
src/Responder.cpp
C++
gpl-3.0
290
package dk.aau.ida8.util.groupbuilders; import dk.aau.ida8.model.Competition; import dk.aau.ida8.model.Group; import dk.aau.ida8.model.Lifter; import dk.aau.ida8.model.Participant; import dk.aau.ida8.util.groupcomparators.CompetingComparator; import org.junit.Test; import org.junit.BeforeClass; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import static org.junit.Assert.*; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; public class TotalWeightGroupBuilderTest { // Values used to create Competition. private static Competition competition; private static List<Participant> maleParticipants; private static List<Participant> femaleParticipants; private static GroupBuilder builder; @BeforeClass public static void setUpBeforeClass() throws Exception { // instantiate the class under test competition = mock(Competition.class); when(competition.getCompetitionType()).thenReturn(Competition.CompetitionType.TOTAL_WEIGHT); List<Integer> snatchWeights = Arrays.asList( 50, 50, 55, 60, 62, 66, 67, 67, 71, 72, 75, 79, 81, 85, 86, 90, 90, 90, 95, 95, 100, 100, 110, 110, 112, 113, 115, 119, 120, 120, 121, 130, 140, 160, 161, 190, 200, 250, 300, 1000 ); Collections.shuffle(snatchWeights); maleParticipants = new ArrayList<>(); femaleParticipants = new ArrayList<>(); List<Participant> allParticipants = new ArrayList<>(); for (int i = 0; i < 40; i++) { Participant p = mock(Participant.class); Lifter l = mock(Lifter.class); when(l.getId()).thenReturn((long) i); when(p.getCurrentWeight()).thenReturn(snatchWeights.get(i)); when(p.getStartingSnatchWeight()).thenReturn(snatchWeights.get(i)); when(p.getStartingSnatchWeight()).thenReturn(snatchWeights.get(i)); when(p.getLifter()).thenReturn(l); // Create 30 male lifters if (i < 30) { when(p.getGender()).thenReturn(Lifter.Gender.MALE); // Create 15 male lifters in WC1 if (i < 15) { when(p.getWeightClass()).thenReturn(1); // and create 15 male lifters in WC2 } else { when(p.getWeightClass()).thenReturn(2); } maleParticipants.add(p); // and create 10 female lifters } else { when(p.getGender()).thenReturn(Lifter.Gender.FEMALE); when(p.getWeightClass()).thenReturn(1); femaleParticipants.add(p); } allParticipants.add(p); } when(competition.getParticipants()).thenReturn(allParticipants); builder = new TotalWeightGroupBuilder(competition); } @Test public void createRankingGroups() throws Exception { // Sort by starting weight Collections.sort( maleParticipants, (p1, p2) -> { if (p1.getWeightClass() == p2.getWeightClass()) { return p1.getStartingSnatchWeight() - p2.getStartingSnatchWeight(); } else { return p1.getWeightClass() - p2.getWeightClass(); } } ); Collections.sort( femaleParticipants, (p1, p2) -> { if (p1.getWeightClass() == p2.getWeightClass()) { return p1.getStartingSnatchWeight() - p2.getStartingSnatchWeight(); } else { return p1.getWeightClass() - p2.getWeightClass(); } } ); List<Group> expectedGs = new ArrayList<>(); expectedGs.add(new Group(competition, new ArrayList<>(femaleParticipants), Group.ComparatorType.TOTAL_WEIGHT_RANKING)); expectedGs.add(new Group(competition, new ArrayList<>(maleParticipants.subList(0, 15)), Group.ComparatorType.TOTAL_WEIGHT_RANKING)); expectedGs.add(new Group(competition, new ArrayList<>(maleParticipants.subList(15, 30)), Group.ComparatorType.TOTAL_WEIGHT_RANKING)); List<Group> actualGs = builder.createRankingGroups(); for (int i = 0; i < expectedGs.size(); i++) { assertEquals( expectedGs.get(i).getParticipants(), actualGs.get(i).getParticipants() ); } } @Test public void createCompetingGroups() throws Exception { // Sort by starting weight Collections.sort( maleParticipants, (p1, p2) -> { if (p1.getWeightClass() == p2.getWeightClass()) { return p1.getStartingSnatchWeight() - p2.getStartingSnatchWeight(); } else { return p1.getWeightClass() - p2.getWeightClass(); } } ); Collections.sort( femaleParticipants, (p1, p2) -> { if (p1.getWeightClass() == p2.getWeightClass()) { return p1.getStartingSnatchWeight() - p2.getStartingSnatchWeight(); } else { return p1.getWeightClass() - p2.getWeightClass(); } } ); List<Group> expectedGs = new ArrayList<>(); expectedGs.add(new Group(competition, new ArrayList<>(femaleParticipants), Group.ComparatorType.COMPETING)); expectedGs.add(new Group(competition, new ArrayList<>(maleParticipants.subList(0, 8)), Group.ComparatorType.COMPETING)); expectedGs.add(new Group(competition, new ArrayList<>(maleParticipants.subList(8, 15)), Group.ComparatorType.COMPETING)); expectedGs.add(new Group(competition, new ArrayList<>(maleParticipants.subList(15, 23)), Group.ComparatorType.COMPETING)); expectedGs.add(new Group(competition, new ArrayList<>(maleParticipants.subList(23, 30)), Group.ComparatorType.COMPETING)); List<Group> actualGs = builder.createCompetingGroups(); for (int i = 0; i < expectedGs.size(); i++) { assertEquals( expectedGs.get(i).getParticipants(), actualGs.get(i).getParticipants() ); } } }
DanMeakin/P8-Project
src/test/java/dk/aau/ida8/util/groupbuilders/TotalWeightGroupBuilderTest.java
Java
gpl-3.0
7,099
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SwitchPlayerInput : MonoBehaviour { private const string ENDING_TRIGGER_NAME = "SwitchPlayerInputTrigger - Ending"; public enum inputSwitch { PlayerToAI, AIToPlayer }; public inputSwitch change = inputSwitch.PlayerToAI; public PlayerInputAI.AIProgram program = PlayerInputAI.AIProgram.None; void Start() { GetComponent<Renderer>().enabled = false; } private void OnTriggerEnter(Collider collision) { if (collision.tag == "Player") { bool useAI = change == inputSwitch.PlayerToAI ? true : false; PlayerController controller = collision.GetComponent<PlayerController>(); if (useAI) { controller.GetComponent<PlayerInputAI>().SetAIProgram(program); if (gameObject.name.Equals(ENDING_TRIGGER_NAME)) { AudioManager.instance.currentState = AudioManager.State.ENDING; collision.GetComponent<PlayerStatus>().PlayFx("what"); } } controller.switchAIInput(useAI); } } }
azarrias/criminalcat
Metalhalla/Assets/Scripts/Miscellaneous scripts/SwitchPlayerInput.cs
C#
gpl-3.0
1,232
<div class="formulaire_spip formulaire_configurer formulaire_#FORM formulaire_#FORM-#ENV{id,nouveau}"> <h3 class='titrem'><img src="#CHEMIN_IMAGE{preview-24.png}" class="cadre-icone" /><:previsualisation:>#AIDER{previsu}</h3> [<p class="reponse_formulaire reponse_formulaire_ok" role="status">(#ENV*{message_ok})</p>] [<p class="reponse_formulaire reponse_formulaire_erreur" role="alert">(#ENV*{message_erreur})</p>] [(#ENV{editable}) <p><:info_preview_texte:></p> <form method='post' action='#ENV{action}'><div> [(#REM) declarer les hidden qui declencheront le service du formulaire parametre : url d'action ] #ACTION_FORMULAIRE <div class="editer-groupe"> #SET{name,preview}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} <div class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> [ <span class='erreur_message'>(#GET{erreurs})</span> ] <div class="choix"> <input type="checkbox" name="#GET{name}\[\]" id="#GET{name}_0minirezo" value="0minirezo" [(#VAL{0minirezo}|in_any{#ENV{#GET{name}}}|oui)checked="checked"] /><label for="#GET{name}_0minirezo"><:info_administrateurs:></label> </div> <div class="choix"> <input type="checkbox" name="#GET{name}\[\]" id="#GET{name}_1comite" value="1comite" [(#VAL{1comite}|in_any{#ENV{#GET{name}}}|oui)checked="checked"] /><label for="#GET{name}_1comite"><:info_redacteurs:></label> </div> </div> </div> [(#REM) ajouter les saisies supplementaires : extra et autre, a cet endroit ] <!--extra--> <p class='boutons'><span class='image_loading'>&nbsp;</span><input type='submit' class='btn submit' value='<:bouton_enregistrer:>' /></p> </div></form> ] </div>
spip/SPIP
prive/formulaires/configurer_previsualiseur.html
HTML
gpl-3.0
1,711
--- title: Aurora ApplicationManagement permalink: /Aurora/ApplicationManagement/ --- Overview -------- This page describes the way how applications are handled within the aurora system.
freesmartphone/freesmartphone.github.io
fso-mediawiki-export/Aurora/ApplicationManagement.md
Markdown
gpl-3.0
188
CREATE OR ALTER VIEW [mtc_admin].[vewPupilsWithActiveLivePins] AS SELECT p.id, p.foreName, p.lastName, p.middleNames, p.foreNameAlias, p.lastNameAlias, p.dateOfBirth, p.urlSlug, p.upn, p.school_id, pin.val as pin, cp.pinExpiresAt, p.group_id FROM [mtc_admin].[pupil] p INNER JOIN [mtc_admin].[check] chk ON (p.currentCheckId = chk.id) INNER JOIN [mtc_admin].[checkStatus] chkStatus ON (chk.checkStatus_id = chkStatus.id) INNER JOIN [mtc_admin].[checkPin] cp ON (chk.id = cp.check_id) INNER JOIN [mtc_admin].[pin] pin ON (cp.pin_id = pin.id) WHERE cp.pinExpiresAt > GETUTCDATE() AND chkStatus.code = 'NEW' AND chk.isLiveCheck = 1 AND p.attendanceId IS NULL AND p.currentCheckId IS NOT NULL ;
DFEAGILEDEVOPS/MTC
db/migrations/schema-objects/20211007155238.undo.mod_vewpupilswithactivelivepins.sql
SQL
gpl-3.0
786
import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; // Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. // A mapping of digit to letters (just like on the telephone buttons) is given below. Note that 1 does not map to any letters. // Example: // Input: "23" // Output: ["ad", "ae", "af", "bd", "be", "bf", "cd", "ce", "cf"]. // Note: // Although the above answer is in lexicographical order, your answer could be in any order you want. class Solution { // score:7.24(5ms) // tim:O(?) // space:O(?) public List<String> letterCombinations(String digits) { List<String> ret = new ArrayList<>(); if (digits.length() == 0) { return ret; } backtrack("", 0, digits, ret); return ret; } void backtrack(String prefix, int offset, String digits, List<String> ret) { Map<Character, String[]> m = new HashMap<>(); m.put('2', new String[] { "a", "b", "c" }); m.put('3', new String[] { "d", "e", "f" }); m.put('4', new String[] { "g", "h", "i" }); m.put('5', new String[] { "j", "k", "l" }); m.put('6', new String[] { "m", "n", "o" }); m.put('7', new String[] { "p", "q", "r", "s" }); m.put('8', new String[] { "t", "u", "v" }); m.put('9', new String[] { "w", "x", "y", "z" }); if (offset >= digits.length()) { ret.add(prefix); return; } String[] letters = m.get(digits.charAt(offset)); for (int i = 0; i < letters.length; i++) { backtrack(prefix + letters[i], offset + 1, digits, ret); } } }
whelan957/leetcode
java/Backtracking/leetcode017_LetterCombinationsOfAPhoneNumber.java
Java
gpl-3.0
1,737
# Copyright (C) 2005-2010 MISG/ICTI/EIA-FR # See LICENSE for details. """ Factories for AMQ clients, Thrift clients and SMAC Clients and servers. @author: Jonathan Stoppani <jonathan.stoppani@edu.hefr.ch> """ import weakref from twisted.internet.protocol import ReconnectingClientFactory from twisted.internet import defer, error from txamqp.protocol import AMQClient from txamqp.contrib.thrift.client import ThriftTwistedDelegate from txamqp.queue import TimeoutDeferredQueue, Closed from txamqp.contrib.thrift.transport import TwistedAMQPTransport from thrift.transport import TTransport from thrift.protocol import TBinaryProtocol from smac.python import log from smac.amqp.models import Exchange, Queue, IAddress from smac.conf import topology from smac.modules import utils class SMACServerFactory(object): iprot_factory = TBinaryProtocol.TBinaryProtocolFactory() oprot_factory = TBinaryProtocol.TBinaryProtocolFactory() def __init__(self, client, channel=None): self.client = client self.channel = channel or 1 if client.check_0_8(): self.reply_to = "reply to" else: self.reply_to = "reply-to" @defer.inlineCallbacks def build_server(self, delegate, processor, handler, address, queues=None, standalone=True): processor_name = processor.__name__ log.debug("Creating new server for {0} with ID {1}".format( processor_name, address.instance)) address = IAddress(address) if not queues: queues = topology.queues if isinstance(self.channel, int): channel = yield self.client.channel(self.channel) yield channel.channel_open() else: # Assume it's already open! channel = self.channel deferreds = [] # Declare all exchanges exchanges = {} for k, e in topology.exchanges.iteritems(): e = Exchange(channel, **e) e.format_name(**dict(address)) e.declare() exchanges[k] = e self.responses = Exchange(channel, **topology.exchanges['responses']) # Declare all queues qs = [] for q in queues: q = q.copy() bindings = q.pop('bindings') q = Queue(channel, **q) q.format_name(**dict(address)) q.declare() deferreds += [q.bind(exchanges[e], k.format(**dict(address))) for e, k in bindings] qs.append(q) # Wait for declarations and bindings yield defer.DeferredList(deferreds) log.debug("All queues and needed exchanges declared and bound, start listening") tags = [] for queue in qs: tag = yield queue.consume() tags.append(tag) @defer.inlineCallbacks def destroy(ref): log.debug("Server for {0} garbage collected, removing " \ "subscriptions".format(processor_name)) try: yield defer.DeferredList([channel.basic_cancel(t) for t in tags]) except Exception as e: pass if not standalone: handler = weakref.proxy(handler, destroy) processor = processor.Processor(handler) for tag in tags: queue = yield self.client.queue(tag) self.get_next_message(channel, queue, processor, delegate) def parse_message(self, msg, channel, queue, processor, delegate): tag = msg.delivery_tag try: sender = msg.content[self.reply_to] except KeyError: sender = None transport_in = TTransport.TMemoryBuffer(msg.content.body) transport_out = TwistedAMQPTransport(channel, str(self.responses), sender) iprot = self.iprot_factory.getProtocol(transport_in) oprot = self.oprot_factory.getProtocol(transport_out) d = processor.process(iprot, oprot) d.addErrback(delegate.processing_error) channel.basic_ack(tag, True) self.get_next_message(channel, queue, processor, delegate) def get_next_message(self, channel, queue, processor, delegate): d = queue.get() d.addCallback(self.parse_message, channel, queue, processor, delegate) d.addErrback(self.catch_closed_queue, delegate) d.addErrback(delegate.queue_error) def catch_closed_queue(self, failure, delegate): failure.trap(Closed) delegate.queue_closed(failure) class SMACClientFactory(object): iprot_factory = TBinaryProtocol.TBinaryProtocolFactory() oprot_factory = TBinaryProtocol.TBinaryProtocolFactory() def __init__(self, client, channel=None): self.client = client self.client_lock = defer.DeferredLock() self.clients = {} if client.check_0_8(): self.reply_to = "reply to" else: self.reply_to = "reply-to" self.channel = channel or 1 @defer.inlineCallbacks def build_client(self, address, service=None, distribution=None, cache=True): yield self.client_lock.acquire() try: address = IAddress(address) if not service: service = utils.get_module_from_address(address) service_name = service.__name__ + address.routing_key distribution = distribution or address.distribution if not distribution: raise ValueError("The distribution mode was not defined and " \ "could not be inferred from the address.") key = (service, address.routing_key, distribution) try: client = self.clients[key] except KeyError: log.debug("Creating new client for {0} with routing key {1} and distribution {2}".format( service.__name__, address.routing_key, distribution)) if isinstance(self.channel, int): channel = yield self.client.channel(self.channel) yield channel.channel_open() else: # Assume it's already open! channel = self.channel response_exchange = Exchange(channel, **topology.exchanges['responses']) response_queue = Queue(channel, exclusive=True, auto_delete=True) yield response_queue.declare() yield response_queue.bind(response_exchange) consumer_tag = yield response_queue.consume() service_exchange = Exchange(channel, **topology.exchanges[distribution]) service_exchange.format_name(**dict(address)) yield service_exchange.declare() amqp_transport = TwistedAMQPTransport(channel, str(service_exchange), address.routing_key, service_name, str(response_queue), self.reply_to) client = service.Client(amqp_transport, self.oprot_factory) client.address = address client.factory = self if cache: weak_client = client self.clients[key] = client else: @defer.inlineCallbacks def destroy(ref): log.debug("Client for {0} garbage collected, removing " \ "subscriptions".format(service_name)) try: yield channel.basic_cancel(consumer_tag) except Exception as e: pass weak_client = weakref.proxy(client, destroy) queue = yield self.client.queue(consumer_tag) self.get_next_message(channel, queue, weak_client) queue = yield self.client.get_return_queue(service_name) self.get_next_unroutable_message(channel, queue, weak_client) else: log.debug("Using cached client for {0} with routing key {1} and distribution {2}".format( service.__name__, address.routing_key, distribution)) finally: self.client_lock.release() defer.returnValue(client) def parse_message(self, msg, channel, queue, client): tag = msg.delivery_tag transport = TTransport.TMemoryBuffer(msg.content.body) iprot = self.iprot_factory.getProtocol(transport) (fname, mtype, rseqid) = iprot.readMessageBegin() if rseqid not in client._reqs: log.warn('Missing rseqid! fname = %r, rseqid = %s, mtype = %r, routing key = %r, client = %r, msg.content.body = %r' % (fname, rseqid, mtype, msg.routing_key, client, msg.content.body)) method = getattr(client, 'recv_' + fname) method(iprot, mtype, rseqid) channel.basic_ack(tag, True) self.get_next_message(channel, queue, client) def unrouteable_message(self, msg, channel, queue, client): transport = TTransport.TMemoryBuffer(msg.content.body) iprot = self.iprot_factory.getProtocol(transport) (fname, mtype, rseqid) = iprot.readMessageBegin() try: d = client._reqs.pop(rseqid) except KeyError: # KeyError will occur if the remote Thrift method is oneway, # since there is no outstanding local request deferred for # oneway calls. pass else: type = TTransport.TTransportException.NOT_OPEN, msg = 'Unrouteable message, routing key = %r calling function %r' % (msg.routing_key, fname) d.errback(TTransport.TTransportException(type, msg)) self.get_next_unroutable_message(channel, queue, client) def get_next_unroutable_message(self, channel, queue, client): d = queue.get() d.addCallback(self.unrouteable_message, channel, queue, client) d.addErrback(self.catch_closed_queue) d.addErrback(self.handle_queue_error) def get_next_message(self, channel, queue, client): d = queue.get() d.addCallback(self.parse_message, channel, queue, client) d.addErrback(self.catch_closed_queue) d.addErrback(self.handle_queue_error) def catch_closed_queue(self, failure): failure.trap(Closed) self.handle_closed_queue(failure) def handle_queue_error(self, failure): log.err("Error in queue") log.err(failure) pass def handle_closed_queue(self, failure): log.debug("Queue closed") class ThriftAMQClient(AMQClient, object): def __init__(self, *args, **kwargs): super(ThriftAMQClient, self).__init__(*args, **kwargs) self.return_queues_lock = defer.DeferredLock() self.return_queues = {} @defer.inlineCallbacks def get_return_queue(self, key): yield self.return_queues_lock.acquire() try: try: q = self.return_queues[key] except KeyError: q = TimeoutDeferredQueue() self.return_queues[key] = q finally: self.return_queues_lock.release() defer.returnValue(q) thriftBasicReturnQueue = get_return_queue # compatibility with # ThriftTwistedDelegate class AMQClientFactory(ReconnectingClientFactory, object): """ Factory for AMQP connections intended to be used by thrift clients. Overriding the C{protocol} property with a more general C{AMQClient} class should allow a more generic use of the factory. """ protocol = ThriftAMQClient def __init__(self, spec, vhost): self.spec = spec self.vhost = vhost self.closed = False def buildProtocol(self, _): client = self.protocol(ThriftTwistedDelegate(), self.vhost, self.spec) client.factory = self return client def clientConnectionLost(self, connector, reason): if self.closed: log.info("Connection to the AMQP broker closed.") return log.error('Connection to AMQP broker lost. Reason {0}'.format(reason)) super(AMQClientFactory, self).clientConnectionLost(connector, reason) def clientConnectionFailed(self, connector, reason): log.error('Connection to AMQP broker failed. Reason {0}'.format(reason)) super(AMQClientFactory, self).clientConnectionFailed(connector, reason)
SMAC/corelib
smac/amqp/protocol.py
Python
gpl-3.0
13,170
# silhouette_Octave ### _Code MATLAB's silhouette function into Octave_ Usage: - si = silhouette(X, clust) - si = silhouette(X, clust, *metric*); -- update log 20161117 -- - Add 'Euclidean' distance - Add 'sqEuclidean' distance and set it default - Renew usage -- update log 20161116 --- - The first version - Can calculate silhouette values - Only 'cosine' distance can be calculated - Cannot plot
solo7773/silhouette_Octave
README.md
Markdown
gpl-3.0
403
import { it, describe, async, inject, beforeEach, addProviders, TestComponentBuilder } from '@angular/core/testing'; import { MockCommonDependency } from '../../app/common-mocks/mocked.services'; import { CountryComponent } from '../../../src/country/country.component'; import { Observable } from 'rxjs'; import { ActivatedRoute } from '@angular/router'; describe('ArticleComponent', () => { let mockCommonDependency = new MockCommonDependency(); beforeEach(() => { addProviders([ mockCommonDependency.getProviders() ]); }); let context; let fixture; beforeEach(async(inject([TestComponentBuilder, ActivatedRoute], (tcb: TestComponentBuilder, activatedRoute: ActivatedRoute) => { return tcb.createAsync(CountryComponent).then((fixtureInst: any) => { fixture = fixtureInst; context = fixture.debugElement.componentInstance; activatedRoute.params = Observable.of({id: '55ef338d0d2b3c8203788448'}); }); }))); it('ngOnInit ngOnDestroy', ()=> { context.ngOnInit(); spyOn(context.queryParamsSubscribe, 'unsubscribe'); expect(context.countryId).toEqual('55ef338d0d2b3c8203788448'); context.ngOnDestroy(); expect(context.queryParamsSubscribe.unsubscribe).toHaveBeenCalled(); }); it('setTitle', ()=> { spyOn(context, 'setTitle').and.callThrough(); context.setTitle('Latvia'); expect(context.setTitle).toHaveBeenCalledWith('Latvia'); }); });
Gapminder/dollar-street-pages
test/app/country/country.component.spec.ts
TypeScript
gpl-3.0
1,454
package me.ccrama.redditslide.Activities; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import android.support.v4.view.ViewPager; import net.dean.jraw.models.Comment; import net.dean.jraw.models.CommentNode; import net.dean.jraw.models.Submission; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import me.ccrama.redditslide.Adapters.CommentUrlObject; import me.ccrama.redditslide.Adapters.MultiredditPosts; import me.ccrama.redditslide.Adapters.SubmissionDisplay; import me.ccrama.redditslide.Adapters.SubredditPosts; import me.ccrama.redditslide.Authentication; import me.ccrama.redditslide.ContentType; import me.ccrama.redditslide.Fragments.AlbumFull; import me.ccrama.redditslide.Fragments.AlbumFullComments; import me.ccrama.redditslide.Fragments.MediaFragment; import me.ccrama.redditslide.Fragments.MediaFragmentComment; import me.ccrama.redditslide.Fragments.SelftextFull; import me.ccrama.redditslide.Fragments.TitleFull; import me.ccrama.redditslide.HasSeen; import me.ccrama.redditslide.LastComments; import me.ccrama.redditslide.OfflineSubreddit; import me.ccrama.redditslide.PostLoader; import me.ccrama.redditslide.R; import me.ccrama.redditslide.SettingValues; import me.ccrama.redditslide.util.LogUtil; /** * Created by ccrama on 9/17/2015. */ public class ShadowboxComments extends FullScreenActivity { public static ArrayList<CommentUrlObject> comments; @Override public void onCreate(Bundle savedInstance) { overrideSwipeFromAnywhere(); if(comments == null || comments.isEmpty()){ finish(); } applyDarkColorTheme(comments.get(0).comment.getComment().getSubredditName()); super.onCreate(savedInstance); setContentView(R.layout.activity_slide); ViewPager pager = (ViewPager) findViewById(R.id.content_view); commentPager = new OverviewPagerAdapter(getSupportFragmentManager()); pager.setAdapter(commentPager); } OverviewPagerAdapter commentPager; public class OverviewPagerAdapter extends FragmentStatePagerAdapter { public OverviewPagerAdapter(FragmentManager fm) { super(fm); } @Override public Fragment getItem(int i) { Fragment f = null; Comment comment = comments.get(i).comment.getComment(); String url = comments.get(i).url; ContentType.Type t = ContentType.getContentType(url); switch (t) { case GIF: case IMAGE: case IMGUR: case REDDIT: case EXTERNAL: case XKCD: case SPOILER: case DEVIANTART: case EMBEDDED: case LINK: case STREAMABLE: case VIDEO: { f = new MediaFragmentComment(); Bundle args = new Bundle(); args.putString("contentUrl", url); args.putString("firstUrl", url); args.putInt("page", i); args.putString("sub", comment.getSubredditName()); f.setArguments(args); } break; case ALBUM: { f = new AlbumFullComments(); Bundle args = new Bundle(); args.putInt("page", i); f.setArguments(args); } break; } return f; } @Override public int getCount() { return comments.size() ; } } }
Alexendoo/Slide
app/src/main/java/me/ccrama/redditslide/Activities/ShadowboxComments.java
Java
gpl-3.0
3,785
### # #%L # Artimate Model Compiler # %% # Copyright (C) 2011 - 2012 INRIA # %% # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this program. If not, see # <http://www.gnu.org/licenses/gpl-3.0.html>. # #L% ### import re class Segmentation: def __init__(self, lab_file=None): try: self.segments = self.parse(lab_file) except TypeError: self.segments = [] def parse(self, lab_file): header = True segments = [] start = 0 for line in lab_file: if line.strip() == '#': header = False continue if header: continue match = re.match(r'\s*(?P<end>\d+(\.\d+)?)\s+\d+\s+(?P<label>.*)\s*', line) segment = Segment(start, match.group('end'), match.group('label')) segments.append(segment) start = match.group('end') return segments def __str__(self): return '\n'.join(['start\tend\tlabel'] + [str(segment) for segment in self.segments]) class Segment: def __init__(self, start, end, label): self.start = float(start) self.end = float(end) self.label = label def startframe(self): # TODO set this from context return int(self.start * 200.0) startframe = property(startframe) def endframe(self): # TODO set this from context return int(self.end * 200.0) endframe = property(endframe) def __str__(self): return "%s\t%s\t%s" % (self.start, self.end, self.label)
psibre/artimate
artimate-model/src/main/resources/archetype-resources/__rootArtifactId__-model-animator/src/main/scripts/lab.py
Python
gpl-3.0
2,097
/* * Multi2Sim * Copyright (C) 2014 Rafael Ubal (ubal@ece.neu.edu) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <lib/cpp/Misc.h> #include "Context.h" namespace x86 { // Macros defined to prevent accidental use of functions that cause unsafe // execution in speculative mode. #undef assert #define memory __COMPILATION_ERROR__ #define fatal __COMPILATION_ERROR__ #define panic __COMPILATION_ERROR__ #define warning __COMPILATION_ERROR__ #define assert __COMPILATION_ERROR__ #define __UNIMPLEMENTED__ throw misc::Panic(misc::fmt("Unimplemented instruction %s", __FUNCTION__)); void Context::ExecuteInst_addps_xmm_xmmm128() { XMMValue dest; XMMValue src; this->LoadXMM(dest); this->LoadXMMM128(src); int spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "addps %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } this->StoreXMM(dest); this->newUInst(UInstFpAdd, UInstDepXmmm128, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_addss_xmm_xmmm32() { XMMValue dest; XMMValue src; int spec_mode; LoadXMM(dest); LoadXMMM32(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "addss %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmFpAdd, UInstDepXmmm32, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_andps_xmm_xmmm128() { XMMValue dest; XMMValue src; LoadXMM(dest); LoadXMMM128(src); __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "andps %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ StoreXMM(dest); newUInst(UInstXmmAnd, UInstDepXmmm128, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } #define X86_ISA_CMPP_ASM(__inst) \ __X86_ISA_ASM_START__ \ asm volatile ( \ "movdqu %1, %%xmm0\n\t" \ "movdqu %0, %%xmm1\n\t" \ __inst " %%xmm0, %%xmm1\n\t" \ "movdqu %%xmm1, %0\n\t" \ : "=m" (dest) \ : "m" (src) \ : "xmm0", "xmm1" \ ); \ __X86_ISA_ASM_END__ void Context::ExecuteInst_cmppd_xmm_xmmm128_imm8() { XMMValue dest; XMMValue src; int spec_mode; int imm8 = inst.getImmByte(); LoadXMM(dest); LoadXMMM128(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { switch (imm8) { case 0: X86_ISA_CMPP_ASM("cmpeqpd"); break; case 1: X86_ISA_CMPP_ASM("cmpltpd"); break; case 2: X86_ISA_CMPP_ASM("cmplepd"); break; case 3: X86_ISA_CMPP_ASM("cmpunordpd"); break; case 4: X86_ISA_CMPP_ASM("cmpneqpd"); break; case 5: X86_ISA_CMPP_ASM("cmpnltpd"); break; case 6: X86_ISA_CMPP_ASM("cmpnlepd"); break; case 7: X86_ISA_CMPP_ASM("cmpordpd"); break; default: throw misc::Error(misc::fmt( "%s: invalid value for 'imm8'", __FUNCTION__)); } } StoreXMM(dest); newUInst(UInstXmmFpComp, UInstDepXmmm128, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_cmpps_xmm_xmmm128_imm8() { XMMValue dest; XMMValue src; int spec_mode; int imm8 = inst.getImmByte(); LoadXMM(dest); LoadXMMM128(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { switch (imm8) { case 0: X86_ISA_CMPP_ASM("cmpeqps"); break; case 1: X86_ISA_CMPP_ASM("cmpltps"); break; case 2: X86_ISA_CMPP_ASM("cmpleps"); break; case 3: X86_ISA_CMPP_ASM("cmpunordps"); break; case 4: X86_ISA_CMPP_ASM("cmpneqps"); break; case 5: X86_ISA_CMPP_ASM("cmpnltps"); break; case 6: X86_ISA_CMPP_ASM("cmpnleps"); break; case 7: X86_ISA_CMPP_ASM("cmpordps"); break; default: throw misc::Error(misc::fmt( "%s: invalid value for 'imm8'", __FUNCTION__)); } } StoreXMM(dest); newUInst(UInstXmmFpComp, UInstDepXmmm128, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_cvtsi2ss_xmm_rm32() { XMMValue dest; unsigned int src; int spec_mode; src = LoadRm32(); LoadXMM(dest); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %0, %%xmm0\n\t" "mov %1, %%eax\n\t" "cvtsi2ss %%eax, %%xmm0\n\t" "movdqu %%xmm0, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "eax" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmConv, UInstDepXmm, UInstDepRm32, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_cvttss2si_r32_xmmm32() { XMMValue xmm; unsigned int r32; int spec_mode; LoadXMMM32(xmm); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "cvttss2si %1, %%eax\n\t" "mov %%eax, %0" : "=m" (r32) : "m" (xmm) : "eax" ); __X86_ISA_ASM_END__ } StoreR32(r32); newUInst(UInstXmmConv, UInstDepXmmm32, 0, 0, UInstDepR32, 0, 0, 0); } void Context::ExecuteInst_divps_xmm_xmmm128() { XMMValue dest; XMMValue src; int spec_mode; LoadXMM(dest); LoadXMMM128(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "divps %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmFpDiv, UInstDepXmmm128, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_divss_xmm_xmmm32() { XMMValue dest; XMMValue src; int spec_mode; LoadXMM(dest); LoadXMMM32(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "divss %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmFpDiv, UInstDepXmmm32, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_ldmxcsr_m32() { __UNIMPLEMENTED__ } void Context::ExecuteInst_maxps_xmm_xmmm128() { XMMValue dest; XMMValue src; int spec_mode; LoadXMM(dest); LoadXMMM128(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "maxps %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmFpComp, UInstDepXmmm128, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_maxss_xmm_xmmm32() { XMMValue dest; XMMValue src; int spec_mode; LoadXMM(dest); LoadXMMM32(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "maxss %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmFpComp, UInstDepXmmm32, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_minps_xmm_xmmm128() { XMMValue dest; XMMValue src; int spec_mode; LoadXMM(dest); LoadXMMM128(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "minps %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmFpComp, UInstDepXmmm128, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_minss_xmm_xmmm32() { XMMValue dest; XMMValue src; int spec_mode; LoadXMM(dest); LoadXMMM32(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "minss %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmFpComp, UInstDepXmmm32, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_movaps_xmm_xmmm128() { XMMValue xmm; LoadXMMM128(xmm); StoreXMM(xmm); newUInst(UInstXmmMove, UInstDepXmmm128, 0, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_movaps_xmmm128_xmm() { XMMValue xmm; LoadXMM(xmm); StoreXMMM128(xmm); newUInst(UInstXmmMove, UInstDepXmm, 0, 0, UInstDepXmmm128, 0, 0, 0); } void Context::ExecuteInst_movhlps_xmm_xmmm128() { XMMValue xmm1; XMMValue xmm2; LoadXMM(xmm1); LoadXMMM128(xmm2); xmm1.setAsUInt64(0, xmm2.getAsUInt64(1)); StoreXMM(xmm1); newUInst(UInstXmmMove, UInstDepXmmm128, 0, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_movlhps_xmm_xmmm128() { XMMValue xmm1; XMMValue xmm2; LoadXMM(xmm1); LoadXMMM128(xmm2); xmm1.setAsUInt64(1, xmm2.getAsUInt64(0)); StoreXMM(xmm1); newUInst(UInstXmmMove, UInstDepXmmm128, 0, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_movss_xmm_xmmm32() { XMMValue value; /* xmm <= m32: bits 127-32 of xmm set to 0. * xmm <= xmm: bits 127-32 unmodified */ if (inst.getModRmMod() == 3) LoadXMM(value); else value.setWithMemset(0, 0, 16); LoadXMMM32(value); StoreXMM(value); newUInst(UInstXmmMove, UInstDepXmmm32, 0, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_movss_xmmm32_xmm() { XMMValue value; /* xmm <= xmm: bits 127-32 unmodified. * m32 <= xmm: copy 32 bits to memory */ LoadXMM(value); StoreXMMM32(value); newUInst(UInstXmmMove, UInstDepXmm, 0, 0, UInstDepXmmm32, 0, 0, 0); } void Context::ExecuteInst_movups_xmm_xmmm128() { XMMValue xmm; LoadXMMM128(xmm); StoreXMM(xmm); newUInst(UInstXmmMove, UInstDepXmmm128, 0, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_movups_xmmm128_xmm() { XMMValue xmm; LoadXMM(xmm); StoreXMMM128(xmm); newUInst(UInstXmmMove, UInstDepXmm, 0, 0, UInstDepXmmm128, 0, 0, 0); } void Context::ExecuteInst_mulps_xmm_xmmm128() { XMMValue dest; XMMValue src; int spec_mode; LoadXMM(dest); LoadXMMM128(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "mulps %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmFpMult, UInstDepXmmm128, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_mulss_xmm_xmmm32() { XMMValue dest; XMMValue src; int spec_mode; LoadXMM(dest); LoadXMMM32(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "mulss %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmFpMult, UInstDepXmmm32, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_orps_xmm_xmmm128() { XMMValue dest; XMMValue src; LoadXMM(dest); LoadXMMM128(src); __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "orps %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ StoreXMM(dest); newUInst(UInstXmmOr, UInstDepXmmm128, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_pextrw_r32_xmmm128_imm8() { XMMValue xmm; unsigned char imm8; unsigned int result; /* Get 'xmm' source */ LoadXMMM128(xmm); /* Take the 3 LSB of 'imm8' */ imm8 = inst.getImmByte() & 0x7; /* Select 2-byte word from 'xmm' pointed to by 'imm8', * and place it in the 2 LSBytes of 'result' */ result = xmm.getAsUShort(imm8); StoreR32(result); newUInst(UInstXmmShift, UInstDepXmmm128, 0, 0, UInstDepR32, 0, 0, 0); } void Context::ExecuteInst_pinsrw_xmm_r32m16_imm8() { XMMValue xmm; unsigned short r32m16; unsigned char imm8; LoadXMM(xmm); r32m16 = LoadR32M16(); imm8 = inst.getImmByte() & 0x7; /* Update word in 'xmm' */ xmm.setAsUShort(imm8, r32m16); StoreXMM(xmm); newUInst(UInstXmmShift, UInstDepXmm, UInstDepRm32, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_pmovmskb_r32_xmmm128() { XMMValue src; unsigned int r32; LoadXMMM128(src); __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "pmovmskb %%xmm0, %%eax\n\t" "mov %%eax, %0" : "=m" (r32) : "m" (src) : "xmm0", "eax" ); __X86_ISA_ASM_END__ StoreR32(r32); newUInst(UInstXmmShift, UInstDepXmmm128, 0, 0, UInstDepR32, 0, 0, 0); } void Context::ExecuteInst_shufps_xmm_xmmm128_imm8() { XMMValue dest; XMMValue src; unsigned char imm; LoadXMM(dest); LoadXMMM128(src); imm = inst.getImmByte(); dest.setAsInt(0, dest.getAsInt(imm & 3)); dest.setAsInt(1, dest.getAsInt((imm >> 2) & 3)); dest.setAsInt(2, src.getAsInt((imm >> 4) & 3)); dest.setAsInt(3, src.getAsInt((imm >> 6) & 3)); StoreXMM(dest); newUInst(UInstXmmShuf, UInstDepXmmm128, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_sqrtps_xmm_xmmm128() { XMMValue dest; XMMValue src; int spec_mode; LoadXMM(dest); LoadXMMM128(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "sqrtps %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmFpSqrt, UInstDepXmmm128, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_sqrtss_xmm_xmmm32() { XMMValue dest; XMMValue src; int spec_mode; LoadXMM(dest); LoadXMMM32(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "sqrtss %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmFpSqrt, UInstDepXmmm32, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_stmxcsr_m32() { __UNIMPLEMENTED__ } void Context::ExecuteInst_subps_xmm_xmmm128() { XMMValue dest; XMMValue src; int spec_mode; LoadXMM(dest); LoadXMMM128(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "subps %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmFpSub, UInstDepXmmm128, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_subss_xmm_xmmm32() { XMMValue dest; XMMValue src; int spec_mode; LoadXMM(dest); LoadXMMM32(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "subss %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmFpSub, UInstDepXmmm32, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_ucomisd_xmm_xmmm64() { XMMValue dest; XMMValue src; unsigned long eflags = regs.getEflags(); int spec_mode; LoadXMM(dest); LoadXMMM64(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "push %3\n\t" "popf\n\t" "movdqu %2, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "ucomisd %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" "pushf\n\t" "pop %1\n\t" : "=m" (dest), "=g" (eflags) : "m" (src), "g" (eflags) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); regs.setEflags(eflags); newUInst(UInstXmmFpComp, UInstDepXmmm64, UInstDepXmm, 0, UInstDepZps, UInstDepCf, UInstDepOf, 0); } void Context::ExecuteInst_ucomiss_xmm_xmmm32() { XMMValue dest; XMMValue src; unsigned long eflags = regs.getEflags(); int spec_mode; LoadXMM(dest); LoadXMMM32(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "push %3\n\t" "popf\n\t" "movdqu %2, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "ucomiss %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" "pushf\n\t" "pop %1\n\t" : "=m" (dest), "=g" (eflags) : "m" (src), "g" (eflags) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); regs.setEflags(eflags); newUInst(UInstXmmFpComp, UInstDepXmmm32, UInstDepXmm, 0, UInstDepZps, UInstDepCf, UInstDepOf, 0); } void Context::ExecuteInst_unpckhps_xmm_xmmm128() { XMMValue dest; XMMValue src; int spec_mode; LoadXMM(dest); LoadXMMM128(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "unpckhps %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmShuf, UInstDepXmmm128, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_unpcklps_xmm_xmmm128() { XMMValue dest; XMMValue src; int spec_mode; LoadXMM(dest); LoadXMMM128(src); /* Prevent execution of the floating-point computation in speculative * mode, since it may cause host exceptions for garbage input operands. */ spec_mode = this->getState(StateSpecMode); if (!spec_mode) { __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "unpcklps %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ } StoreXMM(dest); newUInst(UInstXmmShuf, UInstDepXmmm128, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } void Context::ExecuteInst_xorps_xmm_xmmm128() { XMMValue dest; XMMValue src; LoadXMM(dest); LoadXMMM128(src); __X86_ISA_ASM_START__ asm volatile ( "movdqu %1, %%xmm0\n\t" "movdqu %0, %%xmm1\n\t" "xorps %%xmm0, %%xmm1\n\t" "movdqu %%xmm1, %0\n\t" : "=m" (dest) : "m" (src) : "xmm0", "xmm1" ); __X86_ISA_ASM_END__ StoreXMM(dest); newUInst(UInstXmmXor, UInstDepXmmm128, UInstDepXmm, 0, UInstDepXmm, 0, 0, 0); } } // namespace x86
intersense/multi2sim
src/arch/x86/emu/ContextIsaSSE.cc
C++
gpl-3.0
22,222
import React from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import PublicationPageLayout from '../components/PublicationPageLayout'; import * as PublicationPageActions from '../actions/PublicationPageActions'; class PublicationPage extends React.Component { render() { return ( <PublicationPageLayout {...this.props} /> ); } } const mapStateToProps = (state) => ({ id: state.userState.id, title: state.publicationState.publication.title, description: state.publicationState.publication.description, }); const mapDispatchToProps = (dispatch) => ({ ...bindActionCreators({ ...PublicationPageActions, }, dispatch) }); export default connect(mapStateToProps, mapDispatchToProps)(PublicationPage);
ASIX-ALS/asix-final-project-frontend
src/containers/PublicationPage.js
JavaScript
gpl-3.0
780
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - Hans-Kristian Arntzen * * RetroArch is free software: you can redistribute it and/or modify it under the terms * of the GNU General Public License as published by the Free Software Found- * ation, either version 3 of the License, or (at your option) any later version. * * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with RetroArch. * If not, see <http://www.gnu.org/licenses/>. */ #ifndef __RARCH_CHEATS_H #define __RARCH_CHEATS_H typedef struct cheat_manager cheat_manager_t; cheat_manager_t* cheat_manager_new(const char *path); void cheat_manager_free(cheat_manager_t *handle); void cheat_manager_index_next(cheat_manager_t *handle); void cheat_manager_index_prev(cheat_manager_t *handle); void cheat_manager_toggle(cheat_manager_t *handle); #endif
SuperrSonic/RA-SS
cheats.h
C
gpl-3.0
1,120
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ --> <!-- This file redirects to the location of a node or anchor --> <head> <title>GNU Octave: XREFcputime</title> <meta name="description" content="GNU Octave: XREFcputime"> <meta name="keywords" content="GNU Octave: XREFcputime"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="makeinfo"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style type="text/css"> <!-- a.summary-letter {text-decoration: none} blockquote.smallquotation {font-size: smaller} div.display {margin-left: 3.2em} div.example {margin-left: 3.2em} div.indentedblock {margin-left: 3.2em} div.lisp {margin-left: 3.2em} div.smalldisplay {margin-left: 3.2em} div.smallexample {margin-left: 3.2em} div.smallindentedblock {margin-left: 3.2em; font-size: smaller} div.smalllisp {margin-left: 3.2em} kbd {font-style:oblique} pre.display {font-family: inherit} pre.format {font-family: inherit} pre.menu-comment {font-family: serif} pre.menu-preformatted {font-family: serif} pre.smalldisplay {font-family: inherit; font-size: smaller} pre.smallexample {font-size: smaller} pre.smallformat {font-family: inherit; font-size: smaller} pre.smalllisp {font-size: smaller} span.nocodebreak {white-space:nowrap} span.nolinebreak {white-space:nowrap} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} --> </style> <meta http-equiv="Refresh" content="0; url=Timing-Utilities.html#XREFcputime"> </head> <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> <p>The node you are looking for is at <a href="Timing-Utilities.html#XREFcputime">XREFcputime</a>.</p> </body>
dac922/octave-pkg-octave
doc/interpreter/octave.html/XREFcputime.html
HTML
gpl-3.0
1,940
// This file is part of MatrixPilot. // // http://code.google.com/p/gentlenav/ // // Copyright 2009-2011 MatrixPilot Team // See the AUTHORS.TXT file for a list of authors of MatrixPilot. // // MatrixPilot is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // MatrixPilot is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with MatrixPilot. If not, see <http://www.gnu.org/licenses/>. #include "USB/usb.h" #include "USB/usb_function_msd.h" #include "MDD_AT45D.h" //The LUN variable definition is critical to the MSD function driver. This // array is a structure of function pointers that are the functions that // will take care of each of the physical media. For each additional LUN // that is added to the system, an entry into this array needs to be added // so that the stack can know where to find the physical layer functions. // In this example the media initialization function is named // "MediaInitialize", the read capacity function is named "ReadCapacity", // etc. LUN_FUNCTIONS LUN[MAX_LUN + 1] = { { &MDD_AT45D_MediaInitialize, &MDD_AT45D_ReadCapacity, &MDD_AT45D_ReadSectorSize, &MDD_AT45D_MediaDetect, &MDD_AT45D_SectorRead, &MDD_AT45D_WriteProtectState, &MDD_AT45D_SectorWrite } }; // Standard Response to INQUIRY command stored in ROM const ROM InquiryResponse inq_resp = { 0x00, // peripheral device is connected, direct access block device 0x80, // removable 0x04, // version = 00=> does not conform to any standard, 4=> SPC-2 0x02, // response is in format specified by SPC-2 0x20, // n-4 = 36-4=32= 0x20 0x00, // sccs etc. 0x00, // bque=1 and cmdque=0,indicates simple queueing 00 is obsolete, // but as in case of other device, we are just using 00 0x00, // 00 obsolete, 0x80 for basic task queueing {'M','i','c','r','o','c','h','p' }, // this is the T10 assigned Vendor ID {'M','a','s','s',' ','S','t','o','r','a','g','e',' ',' ',' ',' ' }, {'0','0','0','1' } };
Inspirati/freeMixer
libFlashFS/usb_msd.c
C
gpl-3.0
2,400
/** * Mandelbulber v2, a 3D fractal generator ,=#MKNmMMKmmßMNWy, * ,B" ]L,,p%%%,,,§;, "K * Copyright (C) 2020 Mandelbulber Team §R-==%w["'~5]m%=L.=~5N * ,=mm=§M ]=4 yJKA"/-Nsaj "Bw,==,, * This file is part of Mandelbulber. §R.r= jw",M Km .mM FW ",§=ß., ,TN * ,4R =%["w[N=7]J '"5=],""]]M,w,-; T=]M * Mandelbulber is free software: §R.ß~-Q/M=,=5"v"]=Qf,'§"M= =,M.§ Rz]M"Kw * you can redistribute it and/or §w "xDY.J ' -"m=====WeC=\ ""%""y=%"]"" § * modify it under the terms of the "§M=M =D=4"N #"%==A%p M§ M6 R' #"=~.4M * GNU General Public License as §W =, ][T"]C § § '§ e===~ U !§[Z ]N * published by the 4M",,Jm=,"=e~ § § j]]""N BmM"py=ßM * Free Software Foundation, ]§ T,M=& 'YmMMpM9MMM%=w=,,=MT]M m§;'§, * either version 3 of the License, TWw [.j"5=~N[=§%=%W,T ]R,"=="Y[LFT ]N * or (at your option) TW=,-#"%=;[ =Q:["V"" ],,M.m == ]N * any later version. J§"mr"] ,=,," =="""J]= M"M"]==ß" * §= "=C=4 §"eM "=B:m|4"]#F,§~ * Mandelbulber is distributed in "9w=,,]w em%wJ '"~" ,=,,ß" * the hope that it will be useful, . "K= ,=RMMMßM""" * but WITHOUT ANY WARRANTY; .''' * without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * See the GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with Mandelbulber. If not, see <http://www.gnu.org/licenses/>. * * ########################################################################### * * Authors: Krzysztof Marczak (buddhi1980@gmail.com) * * TODO: description */ #ifndef MANDELBULBER2_SRC_SYSTEM_DATA_HPP_ #define MANDELBULBER2_SRC_SYSTEM_DATA_HPP_ #include <QElapsedTimer> #include <QLocale> #include <QString> #include <QThread> enum enumRenderingThreadPriority { renderingPriorityLowest = 0, renderingPriorityLow = 1, renderingPriorityNormal = 2, renderingPriorityHigh = 3 }; struct sSystem { bool IsUpgraded() const; void Upgrade() const; QString GetIniFile() const; QString GetImageFileNameSuggestion(); int GetPreferredFontSize() const { return preferredFontSize; } void SetPreferredFontSize(int preferredFontSizeInput) { preferredFontSize = preferredFontSizeInput; } int GetPreferredThumbnailSize() const { return preferredThumbnailSize; } void SetPreferredThumbnailSize(int preferredThumbnailSizeInput) { preferredThumbnailSize = preferredThumbnailSizeInput; } int GetPreferredFontPointSize() const { return preferredFontPointSize; } void SetPreferredFontPointSize(int preferredFontPointSizeInput) { preferredFontPointSize = preferredFontPointSizeInput; } void SetLogfileName(QString logfileNameInput) { logfileName = std::move(logfileNameInput); } QThread::Priority GetQThreadPriority(enumRenderingThreadPriority priority); int getPreferredCustomFormulaFontSize() const { return preferredCustomFormulaFontSize; } void setPreferredCustomFormulaFontSize(int _preferredCustomFormulaFontSize) { this->preferredCustomFormulaFontSize = _preferredCustomFormulaFontSize; } QString logfileName; QString lastSettingsFile; QString lastImageFile; QString lastImagePaletteFile; QString lastGradientFile; QHash<QString, QString> supportedLanguages; int numberOfThreads; bool noGui; bool silent; QString decimalPoint; QLocale locale; int terminalWidth; bool statsOnCLI; bool useColor; int loggingVerbosity; bool settingsLoadedFromCLI; QElapsedTimer globalTimer; bool globalStopRequest; enumRenderingThreadPriority threadsPriority; int preferredFontSize; int preferredFontPointSize; int preferredCustomFormulaFontSize; int preferredThumbnailSize; bool isOutputTty; }; struct sActualFileNames { QString actualFilenameSettings; QString actualFilenameImage; QString actualFilenamePalette; }; extern sSystem systemData; extern sActualFileNames actualFileNames; #endif /* MANDELBULBER2_SRC_SYSTEM_DATA_HPP_ */
buddhi1980/mandelbulber2
mandelbulber2/src/system_data.hpp
C++
gpl-3.0
4,227