This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MediaSource::ReadOptions options; | |
| int64_t thumbNailTime; | |
| if (trackMeta->findInt64(kKeyThumbnailTime, &thumbNailTime)) { | |
| options.setSeekTo(thumbNailTime); | |
| } else { | |
| thumbNailTime = -1; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mCodecInputBuffers = mCodec.getInputBuffers(); | |
| mCodecOutputBuffers = mCodec.getOutputBuffers(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mCodecInputBuffers = mCodec.getInputBuffers(); | |
| mCodecOutputBuffers = mCodec.getOutputBuffers(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function cksLongestPlateau(data) { | |
| var length = 1; | |
| for (var i = 1; i < data.length; ++i) { | |
| if (data[i] == data[i - length]) | |
| ++length; | |
| } | |
| return length; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Run tests that need a body at doc ready | |
| jQuery(function() { | |
| var container, outer, inner, table, td, offsetSupport, | |
| marginDiv, conMarginTop, style, html, positionTopLeftWidthHeight, | |
| paddingMarginBorderVisibility, paddingMarginBorder, | |
| body = document.getElementsByTagName("body")[0]; | |
| if ( !body ) { | |
| // Return for frameset docs that don't have a body | |
| return; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Create a callback list using the following parameters: | |
| * | |
| * flags: an optional list of space-separated flags that will change how | |
| * the callback list behaves | |
| * | |
| * By default a callback list will act like an event callback list and can be | |
| * "fired" multiple times. | |
| * | |
| * Possible flags: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ready: function( fn ) { | |
| // Attach the listeners | |
| jQuery.bindReady(); | |
| // Add the callback | |
| readyList.add( fn ); | |
| return this; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| init: function( selector, context, rootjQuery ) { | |
| var match, elem, ret, doc; | |
| // Handle $(""), $(null), or $(undefined) | |
| if ( !selector ) { | |
| return this; | |
| } | |
| // Handle $(DOMElement) | |
| if ( selector.nodeType ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // HANDLE: $(function) | |
| // Shortcut for document ready | |
| } else if ( jQuery.isFunction( selector ) ) { | |
| return rootjQuery.ready( selector ); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //... skipped ... | |
| ready: function( fn ) { | |
| // Attach the listeners | |
| jQuery.bindReady(); | |
| // Add the callback | |
| readyList.add( fn ); | |
| return this; | |
| }, |