PageRenderTime 40ms queryTime 110ms sortTime 976ms getByIdsTime 1606ms findMatchingLines 85ms

66+ results for 'osx' (40 ms)

Not the results you expected?
dataview.h https://gitlab.com/Hexexpeck/dolphin-emulator | C Header | 113 lines
                    
2/////////////////////////////////////////////////////////////////////////////
                    
3// Name:        wx/osx/core/dataview.h
                    
4// Purpose:     wxDataViewCtrl native implementation header for OSX
                    
17// ---------------------------------------------------------
                    
18// Helper functions for dataview implementation on OSX
                    
19// ---------------------------------------------------------
                    
                
README.md https://github.com/DennisOSRM/Project-OSRM.git | Markdown | 136 lines
                    
4
                    
5[![Linux & Max OSX Build Status](https://travis-ci.org/ThePhD/sol2.svg?branch=develop)](https://travis-ci.org/ThePhD/sol2)
                    
6[![Windows Build status](https://ci.appveyor.com/api/projects/status/n38suofr21e9uk7h?svg=true)](https://ci.appveyor.com/project/ThePhD/sol2)
                    
                
iOS.cmake https://gitlab.com/generic-library/opencv | CMake | 164 lines
                    
8# Darwin versions:
                    
9#   6.x == Mac OSX 10.2
                    
10#   7.x == Mac OSX 10.3
                    
11#   8.x == Mac OSX 10.4
                    
12#   9.x == Mac OSX 10.5
                    
13#  10.x == Mac OSX 10.6 (Snow Leopard)
                    
16
                    
17# Do not use the "-Wl,-search_paths_first" flag with the OSX 10.2 compiler.
                    
18# Done this way because it is too early to do a TRY_COMPILE.
                    
35
                    
36set (CMAKE_C_OSX_COMPATIBILITY_VERSION_FLAG "-compatibility_version ")
                    
37set (CMAKE_C_OSX_CURRENT_VERSION_FLAG "-current_version ")
                    
37set (CMAKE_C_OSX_CURRENT_VERSION_FLAG "-current_version ")
                    
38set (CMAKE_CXX_OSX_COMPATIBILITY_VERSION_FLAG "${CMAKE_C_OSX_COMPATIBILITY_VERSION_FLAG}")
                    
39set (CMAKE_CXX_OSX_CURRENT_VERSION_FLAG "${CMAKE_C_OSX_CURRENT_VERSION_FLAG}")
                    
                
EntityGummyBall.java https://gitlab.com/valentin4311/CandyCraft | Java | 261 lines
                    
43		super(par1World, par2EntityLivingBase);
                    
44		setLocationAndAngles(par2EntityLivingBase.posX, par2EntityLivingBase.posY + par2EntityLivingBase.getEyeHeight(), par2EntityLivingBase.posZ, par2EntityLivingBase.rotationYaw, par2EntityLivingBase.rotationPitch);
                    
45		setPowerful(power);
                    
53		setSize(0.25F, 0.25F);
                    
54		setLocationAndAngles(par2EntityLivingBase.posX, par2EntityLivingBase.posY + par2EntityLivingBase.getEyeHeight(), par2EntityLivingBase.posZ, par2EntityLivingBase.rotationYaw, par2EntityLivingBase.rotationPitch);
                    
55		posX -= MathHelper.cos(rotationYaw / 180.0F * (float) Math.PI) * 0.16F;
                    
57		posZ -= MathHelper.sin(rotationYaw / 180.0F * (float) Math.PI) * 0.16F;
                    
58		setPosition(posX, posY, posZ);
                    
59		float f = getPowerful() == 3 ? 0.002F : 0.4F;
                    
243	{
                    
244		ParticleBreaking fx = new EntityBreakingParticleFX(worldObj, posX, posY, posZ, CCItems.gummyBall);
                    
245		Minecraft.getMinecraft().effectRenderer.addEffect(fx);
                    
250	{
                    
251		worldObj.spawnParticle(EnumParticleTypes.FLAME, posX - 0.5F + rand.nextDouble(), posY - 0.5F + rand.nextDouble(), posZ - 0.5F + rand.nextDouble(), 0.0F, 0.0F, 0.0F);
                    
252	}
                    
                
OSXTimeBar.m https://github.com/zkrebs/workrave.git | Objective C | 276 lines
                    
1#import "OSXTimeBar.h"
                    
2
                    
3
                    
4@implementation OSXTimeBar
                    
5
                    
                
DataDrivenTemplateExample.java https://github.com/esteban-aliverti/drools.git | Java | 184 lines
                    
91        ActivityType iss = new ActivityType( "ISS" );
                    
92        ActivityType osx = new ActivityType( "OSX" );
                    
93        FeeType commission = new FeeType( "Commission" );
                    
136                               sblc,
                    
137                               osx,
                    
138                               telex,
                    
                
Trivial.php https://github.com/orchestra-io/sample-openx.git | PHP | 260 lines
                    
233    {
                    
234        $this->_posX = 0;
                    
235        return $this->_posX;
                    
245    {
                    
246        if ($this->_posX >= $this->count()) {
                    
247            return false;
                    
248        }
                    
249        $x = $this->_getPointX($this->_posX);
                    
250        $y = $this->_getPointY($this->_posX);
                    
250        $y = $this->_getPointY($this->_posX);
                    
251        $ID = $this->_getPointID($this->_posX);
                    
252        $data = $this->_getPointData($this->_posX);
                    
252        $data = $this->_getPointData($this->_posX);
                    
253        $this->_posX += $this->_stepX();
                    
254
                    
                
karazhan.cpp https://github.com/vertrigo/scriptdev2.git | C++ | 433 lines
                    
84    uint32  uiEntry;
                    
85    float   fPosX;
                    
86};
                    
235                for(int i=0; i < 4; ++i)
                    
236                    m_creature->SummonCreature(aSpawns_OZ[i].uiEntry, aSpawns_OZ[i].fPosX, SPAWN_Y, SPAWN_Z, SPAWN_O, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, HOUR*2*IN_MILLISECONDS);
                    
237                break;
                    
238            case EVENT_HOOD:
                    
239                m_creature->SummonCreature(Spawn_HOOD.uiEntry, Spawn_HOOD.fPosX, SPAWN_Y, SPAWN_Z, SPAWN_O, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, HOUR*2*IN_MILLISECONDS);
                    
240                break;
                    
241            case EVENT_RAJ:
                    
242                m_creature->SummonCreature(Spawn_RAJ.uiEntry, Spawn_RAJ.fPosX, SPAWN_Y, SPAWN_Z, SPAWN_O, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, HOUR*2*IN_MILLISECONDS);
                    
243                break;
                    
                
css_size.html https://gitlab.com/emad.rashad/mls-grading | HTML | 528 lines
                    
119			<td>Firefox 1.0</td>
                    
120			<td>Win 98+ / OSX.2+</td>
                    
121			<td class="center">1.7</td>
                    
126			<td>Firefox <br>1.5</td>
                    
127			<td>Win 98+ / OSX.2+</td>
                    
128			<td class="center">1.8</td>
                    
133			<td>Firefox 2.0</td>
                    
134			<td>Win 98+ / OSX.2+</td>
                    
135			<td class="center">1.8</td>
                    
140			<td>Firefox 3.0</td>
                    
141			<td>Win 2k+ / OSX.3+</td>
                    
142			<td class="center">1.9</td>
                    
147			<td>Camino 1.0</td>
                    
148			<td>OSX.2+</td>
                    
149			<td class="center">1.8</td>
                    
                
object.h https://github.com/anguslees/scummvm.git | C Header | 212 lines
                    
166	OBJECT *pObj,	// pointer to object
                    
167	int *pPosX,	// gets set to objects X animation position
                    
168	int *pPosY);	// gets set to objects Y animation position
                    
                
ofFileUtils.h https://github.com/damiannz/openFrameworks.git | C Header | 278 lines
                    
177
                    
178	//be careful with slashes here - appending a slash when moving a folder will causes mad headaches in osx
                    
179	static bool moveFromTo(string pathSrc, string pathDst, bool bRelativeToData = true, bool overwrite = false);
                    
                
index.html https://github.com/dinomite/dinomite.github.io.git | HTML | 170 lines
                    
33<ul>
                    
34<li><a href="http://dinomite.net/computers/darwin-kernel-compile/">Darwin Kernel Compile</a> -  A how-to for compiling your own kernel under Mac OSX. Now you can snub off all of those people who say it&rsquo;s not a real OS unless you run a custom kernel. The reason you probably want to build your own Mac kernel is to enable MAC address spoofing, which I cover.</li>
                    
35<li><a href="http://dinomite.net/computers/nmap/">Nmap</a> -  An introduction to portscanning and Nmap.</li>
                    
                
ofDirectShowGrabber.cpp https://gitlab.com/cocoroac/walkingartists | C++ | 304 lines
                    
175
                    
176							float posx = i * scaleW;
                    
177							float posy = j * scaleH;
                    
183
                    
184							int xbase = (int)floor(posx);
                    
185							int xhigh = (int)ceil(posx);
                    
185							int xhigh = (int)ceil(posx);
                    
186							float pctx = (posx - xbase);
                    
187
                    
192
                    
193							int posPix = (((int)posy * inputW * 3) + ((int)posx * 3));
                    
194
                    
                
index.js https://gitlab.com/18runt88/react-native-desktop | JavaScript | 288 lines
                    
100      ],
                    
101      platforms: ['ios', 'android', 'osx'],
                    
102      preferNativePlatform: true,
                    
104      cache: opts.cache,
                    
105      shouldThrowOnUnresolvedErrors: (_, platform) => (platform === 'ios' ||  platform === 'osx'),
                    
106      transformCode: opts.transformCode,
                    
                
tkPlatDecls.h https://github.com/andreas-kupries/critcl.git | C Header | 253 lines
                    
69#endif /* WIN */
                    
70#ifdef MAC_OSX_TK /* AQUA */
                    
71#ifndef Tk_MacOSXSetEmbedHandler_TCL_DECLARED
                    
71#ifndef Tk_MacOSXSetEmbedHandler_TCL_DECLARED
                    
72#define Tk_MacOSXSetEmbedHandler_TCL_DECLARED
                    
73/* 0 */
                    
73/* 0 */
                    
74EXTERN void		Tk_MacOSXSetEmbedHandler(
                    
75				Tk_MacOSXEmbedRegisterWinProc *registerWinProcPtr,
                    
75				Tk_MacOSXEmbedRegisterWinProc *registerWinProcPtr,
                    
76				Tk_MacOSXEmbedGetGrafPortProc *getPortProcPtr,
                    
77				Tk_MacOSXEmbedMakeContainerExistProc *containerExistProcPtr,
                    
146#ifdef MAC_OSX_TK /* AQUA */
                    
147    void (*tk_MacOSXSetEmbedHandler) (Tk_MacOSXEmbedRegisterWinProc *registerWinProcPtr, Tk_MacOSXEmbedGetGrafPortProc *getPortProcPtr, Tk_MacOSXEmbedMakeContainerExistProc *containerExistProcPtr, Tk_MacOSXEmbedGetClipProc *getClipProc, Tk_MacOSXEmbedGetOffsetInParentProc *getOffsetProc); /* 0 */
                    
148    void (*tk_MacOSXTurnOffMenus) (void); /* 1 */
                    
                
CMakeLists.txt https://github.com/stan1y/dfhack.git | CMake | 253 lines
                    
155
                    
156SET(PROJECT_SRCS_MACOSX
                    
157modules/WindowIO-macosx.cpp
                    
171IF(APPLE)
                    
172	LIST(APPEND PROJECT_HDRS ${PROJECT_HDRS_MACOSX})
                    
173	LIST(APPEND PROJECT_SRCS ${PROJECT_SRCS_MACOSX})
                    
                
FloatPoint.h https://gitlab.com/0072016/Facebook-SDK- | C Header | 288 lines
                    
38
                    
39#if OS(MACOSX)
                    
40typedef struct CGPoint CGPoint;
                    
146
                    
147#if OS(MACOSX)
                    
148    FloatPoint(const CGPoint&);
                    
                
defer_loading.html https://gitlab.com/emad.rashad/mls-grading | HTML | 281 lines
                    
50			<td>Firefox 1.0</td>
                    
51			<td>Win 98+ / OSX.2+</td>
                    
52			<td>1.7</td>
                    
57			<td>Firefox 1.5</td>
                    
58			<td>Win 98+ / OSX.2+</td>
                    
59			<td>1.8</td>
                    
64			<td>Firefox 2.0</td>
                    
65			<td>Win 98+ / OSX.2+</td>
                    
66			<td>1.8</td>
                    
71			<td>Firefox 3.0</td>
                    
72			<td>Win 2k+ / OSX.3+</td>
                    
73			<td>1.9</td>
                    
78			<td>Camino 1.0</td>
                    
79			<td>OSX.2+</td>
                    
80			<td>1.8</td>
                    
                
theme.html https://gitlab.com/emad.rashad/mls-grading | HTML | 503 lines
                    
112			<td>Firefox 1.0</td>
                    
113			<td>Win 98+ / OSX.2+</td>
                    
114			<td class="center">1.7</td>
                    
119			<td>Firefox 1.5</td>
                    
120			<td>Win 98+ / OSX.2+</td>
                    
121			<td class="center">1.8</td>
                    
126			<td>Firefox 2.0</td>
                    
127			<td>Win 98+ / OSX.2+</td>
                    
128			<td class="center">1.8</td>
                    
133			<td>Firefox 3.0</td>
                    
134			<td>Win 2k+ / OSX.3+</td>
                    
135			<td class="center">1.9</td>
                    
140			<td>Camino 1.0</td>
                    
141			<td>OSX.2+</td>
                    
142			<td class="center">1.8</td>
                    
                
luaglu.c https://github.com/LuaDist/luagl.git | C | 351 lines
                    
21#endif
                    
22#if defined (__APPLE__) || defined (OSX)
                    
23	#include <OpenGL/gl.h>
                    
                
PLYLoader.js https://github.com/nosy-b/three.js.git | JavaScript | 562 lines
                    
360
                    
361				const attrX = findAttrName( [ 'x', 'px', 'posx' ] ) || 'x';
                    
362				const attrY = findAttrName( [ 'y', 'py', 'posy' ] ) || 'y';
                    
                
Page.php https://github.com/sistemaskd/appcredIntegradora.git | PHP | 340 lines
                    
110	 * @param My_Pdf_Table $table
                    
111	 * @param int $posX
                    
112	 * @param int $posY
                    
113	 */
                    
114	public function addTable(My_Pdf_Table $table,$posX,$posY,$inContentArea=true){
                    
115		//render table --> check for new pages
                    
115		//render table --> check for new pages
                    
116		$pages=$table->render($this,$posX,$posY,$inContentArea);
                    
117		if(is_array($pages))
                    
124	 * @param string $text
                    
125	 * @param int $posX
                    
126	 * @param int $posY
                    
                
hw2bp1.c https://github.com/carmi/comp356.git | C | 406 lines
                    
17
                    
18#ifdef __MACOSX__
                    
19#include <OpenGL/gl.h>
                    
                
skillrectanglelistbox.h https://gitlab.com/Alige/manaplus | C Header | 418 lines
                    
238                return nullptr;
                    
239            const int posX = (event.getX() - mPadding) / mBoxWidth;
                    
240            const int posY = (event.getY() - mPadding) / mBoxHeight;
                    
247                {
                    
248                    if (posX == e->x && posY == e->y)
                    
249                        return e;
                    
258                return -1;
                    
259            const int posX = (event.getX() - mPadding) / mBoxWidth;
                    
260            const int posY = (event.getY() - mPadding) / mBoxHeight;
                    
267                {
                    
268                    if (posX == e->x && posY == e->y)
                    
269                        return i;
                    
                
AbstractPanel.java https://bitbucket.org/aurecchia/railwayexpress.git | Java | 266 lines
                    
161    @Override
                    
162    public void setLocation(final int newPosX, final int newPosY) {
                    
163        final int deltaX = this.getX() - newPosX;
                    
167        }
                    
168        super.setLocation(newPosX, newPosY);
                    
169    }
                    
                
README.md https://gitlab.com/savitojs/gitlab-ci-multi-runner | Markdown | 301 lines
                    
13
                    
14+ If the GitLab Runner is run as service on Linux/OSX  the daemon logs to syslog.
                    
15+ If the GitLab Runner is run as service on Windows it logs to System's Event Log.
                    
141
                    
142This message may occur when you try to install GitLab Runner on OSX. Make sure
                    
143that you manage GitLab Runner service from the GUI Terminal application, not
                    
147
                    
148If your Runner is stuck on the above message when using OSX, there are two
                    
149causes to why this happens:
                    
167   the only solution to make Code Signing work. That changed recently with
                    
168   **OSX El Capitan** which introduced a lot of new security features that
                    
169   altered this behavior.
                    
                
init.c https://github.com/awebneck/ruby.git | C | 616 lines
                    
156#endif
                    
157	if (arg.alen && arg.alen != sizeof(arg.buf)) /* OSX doesn't return a from result for connection-oriented sockets */
                    
158	    return rb_assoc_new(str, rsock_ipaddr((struct sockaddr*)&arg.buf, fptr->mode & FMODE_NOREVLOOKUP));
                    
                
platform_file_posix.cc https://gitlab.com/f3822/qtwebengine-chromium | C++ | 465 lines
                    
31
                    
32#if defined(OS_BSD) || defined(OS_MACOSX) || defined(OS_NACL)
                    
33typedef struct stat stat_wrapper_t;
                    
392  const int64 creation_time_nsec = file_info.st_ctime_nsec;
                    
393#elif defined(OS_MACOSX) || defined(OS_IOS) || defined(OS_BSD)
                    
394  const time_t last_modified_sec = file_info.st_mtimespec.tv_sec;
                    
                
SampleCCTCameraController.cpp https://bitbucket.org/barakianc/nvidia-physx-and-apex-in-gge.git | C++ | 427 lines
                    
123	DIGITAL_INPUT_EVENT_DEF(CAMERA_MOVE_RIGHT,			SCAN_CODE_RIGHT,		XKEY_D,			PS3KEY_D,			AKEY_UNKNOWN,	SCAN_CODE_RIGHT,	PSP2KEY_UNKNOWN,	IKEY_UNKNOWN,	SCAN_CODE_RIGHT);
                    
124	DIGITAL_INPUT_EVENT_DEF(CAMERA_SHIFT_SPEED,			SCAN_CODE_LEFT_SHIFT,	XKEY_SHIFT,		PS3KEY_SHIFT,		AKEY_UNKNOWN,	OSXKEY_SHIFT,		PSP2KEY_UNKNOWN,	IKEY_UNKNOWN,	LINUXKEY_SHIFT);
                    
125	DIGITAL_INPUT_EVENT_DEF(CAMERA_JUMP,				SCAN_CODE_SPACE,		XKEY_SPACE,		PS3KEY_SPACE,		AKEY_UNKNOWN,	OSXKEY_SPACE,		PSP2KEY_UNKNOWN,	IKEY_UNKNOWN,	LINUXKEY_SPACE);
                    
126	DIGITAL_INPUT_EVENT_DEF(CAMERA_CROUCH,				SCAN_CODE_DOWN,			XKEY_C,			PS3KEY_C,			AKEY_UNKNOWN,	SCAN_CODE_DOWN,		PSP2KEY_UNKNOWN,	IKEY_UNKNOWN,	SCAN_CODE_DOWN);
                    
127	DIGITAL_INPUT_EVENT_DEF(CAMERA_CONTROLLER_INCREASE,	WKEY_ADD,				XKEY_ADD,		PS3KEY_ADD,			AKEY_UNKNOWN,	OSXKEY_ADD,			PSP2KEY_UNKNOWN,	IKEY_UNKNOWN,	LINUXKEY_ADD);
                    
128	DIGITAL_INPUT_EVENT_DEF(CAMERA_CONTROLLER_DECREASE,	WKEY_SUBTRACT,			XKEY_SUBTRACT,	PS3KEY_SUBTRACT,	AKEY_UNKNOWN,	OSXKEY_SUBTRACT,	PSP2KEY_UNKNOWN,	IKEY_UNKNOWN,	LINUXKEY_SUBTRACT);
                    
                
upgrade.html https://github.com/akiernan/omnibus.git | HTML | 106 lines
                    
9A:link, A:visited, A:active { text-decoration: underline }
                    
10</style><title>Upgrading 1.x code</title></head><body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000"><table border="0" width="100%" cellpadding="5" cellspacing="0" align="center"><tr><td width="120"><a href="http://swpat.ffii.org/"><img src="epatents.png" alt="Action against software patents" /></a></td><td width="180"><a href="http://www.gnome.org/"><img src="gnome2.png" alt="Gnome2 Logo" /></a><a href="http://www.w3.org/Status"><img src="w3c.png" alt="W3C Logo" /></a><a href="http://www.redhat.com/"><img src="redhat.gif" alt="Red Hat Logo" /></a><div align="left"><a href="http://xmlsoft.org/"><img src="Libxml2-Logo-180x168.gif" alt="Made with Libxml2 Logo" /></a></div></td><td><table border="0" width="90%" cellpadding="2" cellspacing="0" align="center" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3" bgcolor="#fffacd"><tr><td align="center"><h1>The XML C parser and toolkit of Gnome</h1><h2>Upgrading 1.x code</h2></td></tr></table></td></tr></table></td></tr></table><table border="0" cellpadding="4" cellspacing="0" width="100%" align="center"><tr><td bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td valign="top" width="200" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Developer Menu</b></center></td></tr><tr><td bgcolor="#fffacd"><form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form><ul><li><a href="index.html" style="font-weight:bold">Main Menu</a></li><li><a href="html/index.html" style="font-weight:bold">Reference Manual</a></li><li><a href="examples/index.html" style="font-weight:bold">Code Examples</a></li><li><a href="guidelines.html">XML Guidelines</a></li><li><a href="tutorial/index.html">Tutorial</a></li><li><a href="xmlreader.html">The Reader Interface</a></li><li><a href="ChangeLog.html">ChangeLog</a></li><li><a href="XSLT.html">XSLT</a></li><li><a href="python.html">Python and bindings</a></li><li><a href="architecture.html">libxml2 architecture</a></li><li><a href="tree.html">The tree output</a></li><li><a href="interface.html">The SAX interface</a></li><li><a href="xmlmem.html">Memory Management</a></li><li><a href="xmlio.html">I/O Interfaces</a></li><li><a href="library.html">The parser interfaces</a></li><li><a href="entities.html">Entities or no entities</a></li><li><a href="namespaces.html">Namespaces</a></li><li><a href="upgrade.html">Upgrading 1.x code</a></li><li><a href="threads.html">Thread safety</a></li><li><a href="DOM.html">DOM Principles</a></li><li><a href="example.html">A real example</a></li><li><a href="xml.html">flat page</a>, <a href="site.xsl">stylesheet</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>API Indexes</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="APIchunk0.html">Alphabetic</a></li><li><a href="APIconstructors.html">Constructors</a></li><li><a href="APIfunctions.html">Functions/Types</a></li><li><a href="APIfiles.html">Modules</a></li><li><a href="APIsymbols.html">Symbols</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Related links</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="http://mail.gnome.org/archives/xml/">Mail archive</a></li><li><a href="http://xmlsoft.org/XSLT/">XSLT libxslt</a></li><li><a href="http://phd.cs.unibo.it/gdome2/">DOM gdome2</a></li><li><a href="http://www.aleksey.com/xmlsec/">XML-DSig xmlsec</a></li><li><a href="ftp://xmlsoft.org/">FTP</a></li><li><a href="http://www.zlatkovic.com/projects/libxml/">Windows binaries</a></li><li><a href="http://opencsw.org/packages/libxml2">Solaris binaries</a></li><li><a href="http://www.explain.com.au/oss/libxml2xslt.html">MacOsX binaries</a></li><li><a href="http://codespeak.net/lxml/">lxml Python bindings</a></li><li><a href="http://cpan.uwinnipeg.ca/dist/XML-LibXML">Perl bindings</a></li><li><a href="http://libxmlplusplus.sourceforge.net/">C++ bindings</a></li><li><a href="http://www.zend.com/php5/articles/php5-xmlphp.php#Heading4">PHP bindings</a></li><li><a href="http://sourceforge.net/projects/libxml2-pas/">Pascal bindings</a></li><li><a href="http://libxml.rubyforge.org/">Ruby bindings</a></li><li><a href="http://tclxml.sourceforge.net/">Tcl bindings</a></li><li><a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml2">Bug Tracker</a></li></ul></td></tr></table></td></tr></table></td><td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd"><p>Incompatible changes:</p><p>Version 2 of libxml2 is the first version introducing serious backward
                    
11incompatible changes. The main goals were:</p><ul><li>a general cleanup. A number of mistakes inherited from the very early
                    
                
os.c https://github.com/rogerz/uffs.git | C | 331 lines
                    
23** from within OsOpen()), but some third-party implementations may.
                    
24** So we test the effects of a malloc() failing and the sqlite3OsXXX()
                    
25** function returning SQLITE_IOERR_NOMEM using the DO_OS_MALLOC_TEST macro.
                    
                
bootcards-android.css https://gitlab.com/Blueprint-Marketing/cdnjs | CSS | 974 lines
                    
187	-webkit-font-smoothing: antialiased;
                    
188	-moz-osx-font-smoothing: grayscale;
                    
189}
                    
                
combobox.mm https://gitlab.com/Hexexpeck/dolphin-emulator | Objective C++ | 332 lines
                    
1/////////////////////////////////////////////////////////////////////////////
                    
2// Name:        src/osx/cocoa/combobox.mm
                    
3// Purpose:     wxChoice
                    
22
                    
23#include "wx/osx/cocoa/private/textimpl.h"
                    
24
                    
45        initialized = YES;
                    
46        wxOSXCocoaClassAddWXMethods( self );
                    
47    }
                    
184        reset = true;
                    
185        loop->OSXUseLowLevelWakeup(true);
                    
186    }
                    
187    
                    
188    wxOSX_EventHandlerPtr superimpl = (wxOSX_EventHandlerPtr) [[slf superclass] instanceMethodForSelector:(SEL)_cmd];
                    
189    superimpl(slf, (SEL)_cmd, event);
                    
                
menu.cpp https://bitbucket.org/delroth/dolphin-llvm-dsp.git | C++ | 437 lines
                    
1/////////////////////////////////////////////////////////////////////////////
                    
2// Name:        src/osx/carbon/menu.cpp
                    
3// Purpose:     wxMenu, wxMenuBar, wxMenuItem
                    
30
                    
31#include "wx/osx/private.h"
                    
32#include "wx/stockitem.h"
                    
186    wxMenuCarbonImpl( wxMenu* peer , MenuRef menu , MenuRef oldMenu , SInt16 menuId)
                    
187        : wxMenuImpl(peer), m_osxMenu(menu), m_oldMenuRef(oldMenu), m_menuId(menuId)
                    
188    {
                    
200        if ( pos == (size_t) -1 )
                    
201            index = CountMenuItems(m_osxMenu);
                    
202
                    
204        {
                    
205            InsertMenuItemTextWithCFString( m_osxMenu, CFSTR(""), index, kMenuItemAttrSeparator, 0);
                    
206            // now switch to the Carbon 1 based counting
                    
                
typography.md https://gitlab.com/Ltaimao/amazeui | Markdown | 454 lines
                    
19- __Segoe UI__ - Windows UI Font( Used since Windows Vista);
                    
20- __Helvetica Neue__ Font in iOS7 and OSX 10.10 UI ( Has some problems when using center align, so temporarily use `Lucida Grande` instead);
                    
21- Some Windows users installed `Hiragino Sans GB W3`, which has some rendering problem on windows. So we put `Microsoft YaHei` in front of `Hiragino Sans GB W3`;
                    
76
                    
77__2014.10.10 update:__`-moz-osx-font-smoothing` is added in Firefox for OSX since v25 to achieve the similar effect as Webkit.
                    
78
                    
81  -webkit-font-smoothing: antialiased;
                    
82  -moz-osx-font-smoothing: grayscale;
                    
83}
                    
90  -webkit-font-smoothing: subpixel-antialiased;
                    
91  -moz-osx-font-smoothing: auto;
                    
92}
                    
134- [-webkit-font-smoothing](http://ued.ctrip.com/blog/wp-content/webkitcss/prop/font-smoothing.html)
                    
135- [Better font-rendering on OSX](http://maximilianhoffmann.com/posts/better-font-rendering-on-osx)
                    
136
                    
                
platform_canvas_unittest.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 417 lines
                    
21
                    
22#if defined(OS_MACOSX)
                    
23#import <ApplicationServices/ApplicationServices.h>
                    
82
                    
83#if !defined(USE_AURA) && !defined(OS_MACOSX)
                    
84// Return true if canvas has something that passes for a rounded-corner
                    
138}
                    
139#elif defined(OS_MACOSX)
                    
140void DrawNativeRect(SkCanvas& canvas, int x, int y, int w, int h) {
                    
385// modify test and remove this guard.
                    
386#if !defined(OS_MACOSX)
                    
387  // Translate both before and after, and have a path clip.
                    
                
PureLayoutDefines.h https://gitlab.com/dingchuandong1/XM_Bick | C Header | 224 lines
                    
34#define __PureLayout_MinBaseSDK_iOS_8_0                   (TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_7_1)
                    
35#define __PureLayout_MinBaseSDK_OSX_10_10                 (!TARGET_OS_IPHONE && __MAC_OS_X_VERSION_MAX_ALLOWED > __MAC_10_9)
                    
36
                    
39#define __PureLayout_MinSysVer_iOS_8_0                    (TARGET_OS_IPHONE && floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_7_1)
                    
40#define __PureLayout_MinSysVer_OSX_10_9                   (!TARGET_OS_IPHONE && floor(NSFoundationVersionNumber) > NSFoundationVersionNumber10_8_4)
                    
41
                    
                
project_branches.py https://github.com/catlee/buildbot-configs.git | Python | 390 lines
                    
44            },
                    
45            'macosx64': {
                    
46                'enable_checktests': False,
                    
49            },
                    
50            'macosx64-debug': {
                    
51                'enable_checktests': False,
                    
81            },
                    
82            'macosx64': {
                    
83                'slave_platforms': ['yosemite_r7'],
                    
84            },
                    
85            'macosx64-debug': {
                    
86                'slave_platforms': ['yosemite_r7'],
                    
128            },
                    
129            'macosx64': {
                    
130                'dep_signing_servers': 'release-signing',
                    
                
integer_sort.hpp https://gitlab.com/cdeclare/intcrypt | C++ Header | 185 lines
                    
46   \n
                    
47   <a href="../../doc/graph/osx_integer_sort.htm"> osx_integer_sort</a>
                    
48
                    
95   \n
                    
96   <a href="../../doc/graph/osx_integer_sort.htm"> osx_integer_sort</a>
                    
97
                    
145  * <a href="../../doc/graph/windows_integer_sort.htm"> windows_integer_sort</a>\n
                    
146  * <a href="../../doc/graph/osx_integer_sort.htm"> osx_integer_sort</a>
                    
147
                    
                
linker.rs https://gitlab.com/0072016/0072016-rusty | Rust | 368 lines
                    
67    fn takes_hints(&self) -> bool {
                    
68        !self.sess.target.target.options.is_like_osx
                    
69    }
                    
92        let target = &self.sess.target.target;
                    
93        if !target.options.is_like_osx {
                    
94            self.cmd.arg("-Wl,--whole-archive")
                    
97        } else {
                    
98            // -force_load is the OSX equivalent of --whole-archive, but it
                    
99            // involves passing the full path to the library to link.
                    
106    fn link_whole_rlib(&mut self, lib: &Path) {
                    
107        if self.sess.target.target.options.is_like_osx {
                    
108            let mut v = OsString::from("-Wl,-force_load,");
                    
131        // insert it here.
                    
132        if self.sess.target.target.options.is_like_osx {
                    
133            self.cmd.arg("-Wl,-dead_strip");
                    
                
evtloop.h https://gitlab.com/WoomyNightClub/dolphin | C Header | 435 lines
                    
18//       monitored using MsgWaitForMultipleObjects())
                    
19#if defined(__WXOSX__) || (defined(__UNIX__) && !defined(__WXMSW__))
                    
20    #define wxUSE_EVENTLOOP_SOURCE 1
                    
212
                    
213#if defined(__WINDOWS__) || defined(__WXMAC__) || defined(__WXDFB__) || (defined(__UNIX__) && !defined(__WXOSX__))
                    
214
                    
261    // any case too (although maybe it actually shouldn't be there at all)
                    
262    #include "wx/osx/core/evtloop.h"
                    
263#endif
                    
279    #include "wx/cocoa/evtloop.h"
                    
280#elif defined(__WXOSX__)
                    
281    #include "wx/osx/evtloop.h"
                    
346
                    
347#if wxUSE_GUI && !defined(__WXOSX__)
                    
348// ----------------------------------------------------------------------------
                    
                
treectrl.h https://gitlab.com/SplatoonModdingHub/dolphin | C Header | 306 lines
                    
1/////////////////////////////////////////////////////////////////////////////
                    
2// Name:        wx/osx/treectrl.h
                    
3// Purpose:     wxTreeCtrl class
                    
                
menu.cpp https://github.com/goofoo/Helium.git | C++ | 420 lines
                    
1/////////////////////////////////////////////////////////////////////////////
                    
2// Name:        src/osx/carbon/menu.cpp
                    
3// Purpose:     wxMenu, wxMenuBar, wxMenuItem
                    
30
                    
31#include "wx/osx/private.h"
                    
32#include "wx/stockitem.h"
                    
185public :
                    
186    wxMenuCarbonImpl( wxMenu* peer , MenuRef menu) : wxMenuImpl(peer), m_osxMenu(menu)
                    
187    {
                    
199        if ( pos == (size_t) -1 )
                    
200            index = CountMenuItems(m_osxMenu);
                    
201
                    
203        {
                    
204            InsertMenuItemTextWithCFString( m_osxMenu, CFSTR(""), index, kMenuItemAttrSeparator, 0);
                    
205            // now switch to the Carbon 1 based counting
                    
                
RenderingConfig.java https://gitlab.com/darithorn/Terasology | Java | 469 lines
                    
33    private PixelFormat pixelFormat;
                    
34    private int windowPosX;
                    
35    private int windowPosY;
                    
94
                    
95    public int getWindowPosX() {
                    
96        return windowPosX;
                    
98
                    
99    public void setWindowPosX(int posX) {
                    
100        this.windowPosX = posX;
                    
                
doc.tex https://gitlab.com/z80lives/btvis | LaTeX | 324 lines
                    
68\label{sec-2-1-2}
                    
69If you have git installed on your computer, you can easily download and install the latest version to the project. Latest version of, Git can be downloaded from \url{https://git-scm.com/}. If you have a linux, OSX or a unix family operating system, you can get the latest version using your package manager software.
                    
70
                    
                
Support.c https://gitlab.com/envieidoc/Clover | C | 321 lines
                    
262  //Slice - or no! This is only thing that resolves memory KP in SnowLeopard
                    
263  //usr-sse2 http://www.projectosx.com/forum/index.php?showtopic=2008&view=findpost&p=13284
                    
264  //slice http://www.projectosx.com/forum/index.php?showtopic=2008&view=findpost&p=14702
                    
264  //slice http://www.projectosx.com/forum/index.php?showtopic=2008&view=findpost&p=14702
                    
265  //dmazar http://www.projectosx.com/forum/index.php?showtopic=2008&view=findpost&p=16046
                    
266  //solution half a year later http://www.projectosx.com/forum/index.php?showtopic=2008&view=findpost&p=16405
                    
                
APIchunk29.html https://github.com/akiernan/omnibus.git | HTML | 130 lines
                    
9A:link, A:visited, A:active { text-decoration: underline }
                    
10</style><title>API Alphabetic Index y-z for libxml2</title></head><body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000"><table border="0" width="100%" cellpadding="5" cellspacing="0" align="center"><tr><td width="120"><a href="http://swpat.ffii.org/"><img src="epatents.png" alt="Action against software patents" /></a></td><td width="180"><a href="http://www.gnome.org/"><img src="gnome2.png" alt="Gnome2 Logo" /></a><a href="http://www.w3.org/Status"><img src="w3c.png" alt="W3C Logo" /></a><a href="http://www.redhat.com/"><img src="redhat.gif" alt="Red Hat Logo" /></a><div align="left"><a href="http://xmlsoft.org/"><img src="Libxml2-Logo-180x168.gif" alt="Made with Libxml2 Logo" /></a></div></td><td><table border="0" width="90%" cellpadding="2" cellspacing="0" align="center" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3" bgcolor="#fffacd"><tr><td align="center"><h1>The XML C parser and toolkit of Gnome</h1><h2>API Alphabetic Index y-z for libxml2</h2></td></tr></table></td></tr></table></td></tr></table><table border="0" cellpadding="4" cellspacing="0" width="100%" align="center"><tr><td bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td valign="top" width="200" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Developer Menu</b></center></td></tr><tr><td bgcolor="#fffacd"><form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form><ul><li><a href="index.html" style="font-weight:bold">Main Menu</a></li><li><a href="html/index.html" style="font-weight:bold">Reference Manual</a></li><li><a href="examples/index.html" style="font-weight:bold">Code Examples</a></li><li><a href="guidelines.html">XML Guidelines</a></li><li><a href="tutorial/index.html">Tutorial</a></li><li><a href="xmlreader.html">The Reader Interface</a></li><li><a href="ChangeLog.html">ChangeLog</a></li><li><a href="XSLT.html">XSLT</a></li><li><a href="python.html">Python and bindings</a></li><li><a href="architecture.html">libxml2 architecture</a></li><li><a href="tree.html">The tree output</a></li><li><a href="interface.html">The SAX interface</a></li><li><a href="xmlmem.html">Memory Management</a></li><li><a href="xmlio.html">I/O Interfaces</a></li><li><a href="library.html">The parser interfaces</a></li><li><a href="entities.html">Entities or no entities</a></li><li><a href="namespaces.html">Namespaces</a></li><li><a href="upgrade.html">Upgrading 1.x code</a></li><li><a href="threads.html">Thread safety</a></li><li><a href="DOM.html">DOM Principles</a></li><li><a href="example.html">A real example</a></li><li><a href="xml.html">flat page</a>, <a href="site.xsl">stylesheet</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>API Indexes</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="APIchunk0.html">Alphabetic</a></li><li><a href="APIconstructors.html">Constructors</a></li><li><a href="APIfunctions.html">Functions/Types</a></li><li><a href="APIfiles.html">Modules</a></li><li><a href="APIsymbols.html">Symbols</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Related links</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="http://mail.gnome.org/archives/xml/">Mail archive</a></li><li><a href="http://xmlsoft.org/XSLT/">XSLT libxslt</a></li><li><a href="http://phd.cs.unibo.it/gdome2/">DOM gdome2</a></li><li><a href="http://www.aleksey.com/xmlsec/">XML-DSig xmlsec</a></li><li><a href="ftp://xmlsoft.org/">FTP</a></li><li><a href="http://www.zlatkovic.com/projects/libxml/">Windows binaries</a></li><li><a href="http://opencsw.org/packages/libxml2">Solaris binaries</a></li><li><a href="http://www.explain.com.au/oss/libxml2xslt.html">MacOsX binaries</a></li><li><a href="http://codespeak.net/lxml/">lxml Python bindings</a></li><li><a href="http://cpan.uwinnipeg.ca/dist/XML-LibXML">Perl bindings</a></li><li><a href="http://libxmlplusplus.sourceforge.net/">C++ bindings</a></li><li><a href="http://www.zend.com/php5/articles/php5-xmlphp.php#Heading4">PHP bindings</a></li><li><a href="http://sourceforge.net/projects/libxml2-pas/">Pascal bindings</a></li><li><a href="http://libxml.rubyforge.org/">Ruby bindings</a></li><li><a href="http://tclxml.sourceforge.net/">Tcl bindings</a></li><li><a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml2">Bug Tracker</a></li></ul></td></tr></table></td></tr></table></td><td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd"><h2 align="center"><a href="APIchunk0.html">A-B</a>
                    
11<a href="APIchunk1.html">C-C</a>
                    
                
Makefile.in https://bitbucket.org/thelearninglabs/uclinux-distro-tll-public.git | Autoconf | 482 lines
                    
181LTLIBOBJS = @LTLIBOBJS@
                    
182MACOSX_DEPLOYMENT_TARGET = @MACOSX_DEPLOYMENT_TARGET@
                    
183MAINT = @MAINT@
                    
                
ios.coffee https://gitlab.com/arreeba-dev/assetpress | CoffeeScript | 333 lines
                    
9
                    
10iOSXCAssets = require './ios-xcassets'
                    
11iOSConstants = require './ios-constants'
                    
282    if options.xcassets
                    
283      iOSXCAssets outputDirectory, { verbose: options.verbose }, callback
                    
284    else
                    
                
webgl_animation_skinning_morph.html https://gitlab.com/trolizmaslom/three.js | HTML | 669 lines
                    
192				var urls = [
                    
193						path + 'posx' + format, path + 'negx' + format,
                    
194						path + 'posy' + format, path + 'negy' + format,
                    
                
OSXStorageProvider.cpp https://gitlab.com/freesoftware/xbmc | C++ | 335 lines
                    
18#include <IOKit/storage/IODVDMedia.h>
                    
19#include "platform/darwin/osx/CocoaInterface.h"
                    
20
                    
20
                    
21std::vector<std::pair<std::string, std::string>> COSXStorageProvider::m_mountsToNotify;
                    
22std::vector<std::pair<std::string, std::string>> COSXStorageProvider::m_unmountsToNotify;
                    
25{
                    
26  return std::make_unique<COSXStorageProvider>();
                    
27}
                    
28
                    
29COSXStorageProvider::COSXStorageProvider()
                    
30{
                    
33
                    
34void COSXStorageProvider::GetLocalDrives(VECSOURCES& localDrives)
                    
35{
                    
                
darwin.h https://github.com/haiku/buildtools.git | C Header | 357 lines
                    
54   "%{static-libgcc|static: 						   \
                    
55       %:version-compare(>= 10.6 mmacosx-version-min= -lSystem)		   \
                    
56       -lgcc_eh -lgcc;							   \
                    
57      shared-libgcc|fexceptions|fgnu-runtime:				   \
                    
58       %:version-compare(!> 10.5 mmacosx-version-min= -lgcc_s.10.4)	   \
                    
59       %:version-compare(>< 10.5 10.6 mmacosx-version-min= -lgcc_s.10.5)   \
                    
59       %:version-compare(>< 10.5 10.6 mmacosx-version-min= -lgcc_s.10.5)   \
                    
60       %:version-compare(!> 10.5 mmacosx-version-min= -lgcc_ext.10.4)	   \
                    
61       %:version-compare(>= 10.5 mmacosx-version-min= -lgcc_ext.10.5)	   \
                    
62       -lgcc ;								   \
                    
63      :%:version-compare(>< 10.3.9 10.5 mmacosx-version-min= -lgcc_s.10.4) \
                    
64       %:version-compare(>< 10.5 10.6 mmacosx-version-min= -lgcc_s.10.5)   \
                    
64       %:version-compare(>< 10.5 10.6 mmacosx-version-min= -lgcc_s.10.5)   \
                    
65       %:version-compare(!> 10.5 mmacosx-version-min= -lgcc_ext.10.4)	   \
                    
66       %:version-compare(>= 10.5 mmacosx-version-min= -lgcc_ext.10.5)	   \
                    
                
Makefile.in https://bitbucket.org/thelearninglabs/uclinux-distro-tll-public.git | Autoconf | 409 lines
                    
133INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
                    
134INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
                    
135IPV6_CFLAGS = @IPV6_CFLAGS@
                    
                
build.properties https://bitbucket.org/cheinema/eclipse-poolplatz.git | Properties File | 293 lines
                    
58#	hpux, motif, ia64_32 & \
                    
59#	macosx, carbon, ppc & \
                    
60#	macosx, carbon, x86 & \
                    
60#	macosx, carbon, x86 & \
                    
61#	macosx, cocoa, ppc & \
                    
62#	macosx, cocoa, x86 & \
                    
62#	macosx, cocoa, x86 & \
                    
63#	macosx, cocoa, x86_64
                    
64
                    
82#	hpux, motif, PA_RISC - antZip& \
                    
83#	macosx, carbon, ppc - antZip
                    
84
                    
                
mem.c https://github.com/simX/d2x-xl.git | C | 534 lines
                    
36#include <string.h>
                    
37#ifdef __macosx__
                    
38# include <sys/malloc.h>
                    
346#endif
                    
347#ifndef __macosx__
                    
348nBytesMalloced -= *(((int *) buffer) - 1);
                    
                
metafile.cpp https://github.com/goofoo/Helium.git | C++ | 365 lines
                    
1/////////////////////////////////////////////////////////////////////////////
                    
2// Name:        src/osx/carbon/metafile.cpp
                    
3// Purpose:     wxMetaFile, wxMetaFileDC etc. These classes are optional.
                    
26#include "wx/clipbrd.h"
                    
27#include "wx/osx/private.h"
                    
28#include "wx/graphics.h"
                    
28#include "wx/graphics.h"
                    
29#include "wx/osx/metafile.h"
                    
30
                    
218
                    
219#if wxOSX_USE_COCOA_OR_CARBON && !defined( __LP64__ )
                    
220void wxMetafile::SetPICT(void* pictHandle)
                    
                
thumbs.py https://github.com/floppya/django-thumbs.git | Python | 263 lines
                    
36except:
                    
37    # Mac OSX
                    
38    import Image, ImageOps
                    
                
compositor_util.cc https://gitlab.com/f3822/qtwebengine-chromium | C++ | 414 lines
                    
229
                    
230#if defined(OS_MACOSX) || defined(OS_WIN)
                    
231  // Windows Vista+ has been shipping with TCM enabled at 100% since M24 and
                    
231  // Windows Vista+ has been shipping with TCM enabled at 100% since M24 and
                    
232  // Mac OSX 10.8+ since M28. The blacklist check above takes care of returning
                    
233  // false before this hits on unsupported Win/Mac versions.
                    
255
                    
256#if defined(OS_MACOSX) || defined(OS_WIN)
                    
257  // Windows Vista+ has been shipping with TCM enabled at 100% since M24 and
                    
257  // Windows Vista+ has been shipping with TCM enabled at 100% since M24 and
                    
258  // Mac OSX 10.8+ since M28. The blacklist check above takes care of returning
                    
259  // false before this hits on unsupported Win/Mac versions.
                    
                
fbsplash.c https://gitlab.com/openbar/busybox | C | 540 lines
                    
65#define nbar_height	ns[1]	// progress bar height
                    
66#define nbar_posx	ns[2]	// progress bar horizontal position
                    
67#define nbar_posy	ns[3]	// progress bar vertical position
                    
233	// horizontal lines
                    
234	ptr1 = G.addr + G.nbar_posy * G.scr_fix.line_length + G.nbar_posx * G.bytes_per_pixel;
                    
235	ptr2 = G.addr + (G.nbar_posy + G.nbar_height - 1) * G.scr_fix.line_length + G.nbar_posx * G.bytes_per_pixel;
                    
244	// vertical lines
                    
245	ptr1 = G.addr + G.nbar_posy * G.scr_fix.line_length + G.nbar_posx * G.bytes_per_pixel;
                    
246	ptr2 = G.addr + G.nbar_posy * G.scr_fix.line_length + (G.nbar_posx + G.nbar_width - 1) * G.bytes_per_pixel;
                    
296	// outer box
                    
297	left_x = G.nbar_posx;
                    
298	top_y = G.nbar_posy;
                    
                
ftredraw.c https://github.com/akdh/Ingres.git | C | 468 lines
                    
402                ++vis;
                    
403            if (fld->fld_var.flregfld->flhdr.fhposx +
                    
404		fld->fld_var.flregfld->flhdr.fhmaxx >= COLS)
                    
410                ++vis;
                    
411            if (fld->fld_var.fltblfld->tfhdr.fhposx +
                    
412		fld->fld_var.fltblfld->tfhdr.fhmaxx >= COLS)
                    
422        {
                    
423            i4  posx;
                    
424            fldHdr = (FLDHDR*) frm->frfld[fldno]->fld_var.flregfld;
                    
426            /* IF TABLE FIELD... ADJUST OFFSET FOR RELATIVE COLUMN */
                    
427            posx = fldHdr->fhposx;
                    
428            if (frm->frfld[fldno]->fltag == FTABLE)
                    
434                    for (i = 0; i < tf->tfcurcol; i++, ++fc)
                    
435                        posx += (*fc)->flhdr.fhmaxx;
                    
436
                    
                
dnd.h https://github.com/goofoo/Helium.git | C Header | 412 lines
                    
194
                    
195        @onlyfor{wxmsw,wxosx}
                    
196
                    
218
                    
219        @onlyfor{wxmsw,wxosx}
                    
220
                    
                
saveload.cpp https://github.com/athrxx/scummvm.git | C++ | 467 lines
                    
133
                    
134				posx = CLIP(posx - (LenText / 2), 2, MAXX - 2 - LenText);
                    
135				drawText.set(
                    
135				drawText.set(
                    
136					Common::Rect(posx, FIRSTLINE + ICONDY + 10, LenText + posx, CARHEI + (FIRSTLINE + ICONDY + 10)),
                    
137					Common::Rect(0, 0, LenText, CARHEI),
                    
205			drawText.set(
                    
206				Common::Rect(posx, FIRSTLINE + ICONDY + 10, LenText + posx, CARHEI + (FIRSTLINE + ICONDY + 10)),
                    
207				Common::Rect(0, 0, LenText, CARHEI),
                    
317				else
                    
318					posX = posX - (lenText / 2);
                    
319				if (posX + lenText > MAXX - 2)
                    
322				drawText.set(
                    
323					Common::Rect(posX, FIRSTLINE + ICONDY + 10, lenText + posX, CARHEI + (FIRSTLINE + ICONDY + 10)),
                    
324					Common::Rect(0, 0, lenText, CARHEI),
                    
                
cairomodule.c https://github.com/curaloucura/Enso-Ubuntu.git | C | 476 lines
                    
239
                    
240    m = Py_InitModule("enso.platform.osx.cairo._cairo", cairo_functions);
                    
241
                    
321    if (CairoError == NULL) {
                    
322	CairoError = PyErr_NewException("enso.platform.osx.cairo.Error", NULL, NULL);
                    
323	if (CairoError == NULL)
                    
                
StandardVMRunner.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 412 lines
                    
341	protected String[] prependJREPath(String[] env) {
                    
342		if (Platform.OS_MACOSX.equals(Platform.getOS())) {
                    
343			if (fVMInstance instanceof IVMInstall2) {
                    
                
sis_csv.rb https://github.com/kidakaka/canvas-lms.git | Ruby | 389 lines
                    
25    
                    
26    IGNORE_FILES = /__macosx|desktop d[bf]|\A\..*/i
                    
27
                    
                
mono-mmap.c https://github.com/hollow87/mono.git | C | 644 lines
                    
376	if (flags & MONO_MMAP_DISCARD) {
                    
377		/* on non-linux the pages are not guaranteed to be zeroed (*bsd, osx at least) */
                    
378#ifdef __linux__
                    
                
 

Source

Language