_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c169700
validation
// MoveTiles moves tiles in the given tiles map if possible. // MoveTiles returns true if there are tiles that are to move, otherwise false. // // When MoveTiles is called, all tiles must not be about to move.
{ "resource": "" }
c169701
validation
// Update updates the tile's animation states.
{ "resource": "" }
c169702
validation
// String returns a string representation of ColorM.
{ "resource": "" }
c169703
validation
// ScaleColor is deprecated as of 1.2.0-alpha. Use Scale instead.
{ "resource": "" }
c169704
validation
// TranslateColor is deprecated as of 1.2.0-alpha. Use Translate instead.
{ "resource": "" }
c169705
validation
// RotateHue is deprecated as of 1.2.0-alpha. Use RotateHue member function instead.
{ "resource": "" }
c169706
validation
// availableFilename returns a filename that is valid as a new file or directory.
{ "resource": "" }
c169707
validation
// appMain is the main routine for gomobile-build mode.
{ "resource": "" }
c169708
validation
// repeatingKeyPressed return true when key is pressed considering the repeat state.
{ "resource": "" }
c169709
validation
// totalBytes returns the size in bytes for one element of the array buffer.
{ "resource": "" }
c169710
validation
// newArrayBuffer creates OpenGL's buffer object for the array buffer.
{ "resource": "" }
c169711
validation
// enable binds the array buffer the given program to use the array buffer.
{ "resource": "" }
c169712
validation
// disable stops using the array buffer.
{ "resource": "" }
c169713
validation
// reset resets or initializes the OpenGL state.
{ "resource": "" }
c169714
validation
// areSameFloat32Array returns a boolean indicating if a and b are deeply equal.
{ "resource": "" }
c169715
validation
// NewInfiniteLoopWithIntro creates a new infinite loop stream with an intro part. // NewInfiniteLoopWithIntro accepts a source stream src, introLength in bytes and loopLength in bytes.
{ "resource": "" }
c169716
validation
// Read is implementation of ReadSeekCloser's Read.
{ "resource": "" }
c169717
validation
// Seek is implementation of ReadSeekCloser's Seek.
{ "resource": "" }
c169718
validation
// remove removes img from the images.
{ "resource": "" }
c169719
validation
// resolveStaleImages resolves stale images.
{ "resource": "" }
c169720
validation
// MoveForward moves the player p forward.
{ "resource": "" }
c169721
validation
// RotateRight rotates the player p in the right direction.
{ "resource": "" }
c169722
validation
// RotateLeft rotates the player p in the left direction.
{ "resource": "" }
c169723
validation
// updateGroundImage updates the ground image according to the current player's position.
{ "resource": "" }
c169724
validation
// drawGroundImage draws the ground image to the given screen image.
{ "resource": "" }
c169725
validation
// String returns a string representing the direction.
{ "resource": "" }
c169726
validation
// Update updates the current input states.
{ "resource": "" }
c169727
validation
// Dir returns a currently pressed direction. // Dir returns false if no direction key is pressed.
{ "resource": "" }
c169728
validation
// Read is io.Reader's Read. // // Read fills the data with sine wave samples.
{ "resource": "" }
c169729
validation
// Size returns the size of the image.
{ "resource": "" }
c169730
validation
// Fill fills the image with a solid color. // // When the image is disposed, Fill does nothing. // // Fill always returns nil as of 1.5.0-alpha.
{ "resource": "" }
c169731
validation
// Bounds returns the bounds of the image.
{ "resource": "" }
c169732
validation
// Dispose disposes the image data. After disposing, most of image functions do nothing and returns meaningless values. // // Dispose is useful to save memory. // // When the image is disposed, Dipose does nothing. // // Dipose always return nil as of 1.5.0-alpha.
{ "resource": "" }
c169733
validation
// NewImage returns an empty image. // // If width or height is less than 1 or more than device-dependent maximum size, NewImage panics. // // filter argument is just for backward compatibility. // If you are not sure, specify FilterDefault. // // Error returned by NewImage is always nil as of 1.5.0-alpha.
{ "resource": "" }
c169734
validation
// makeVolatile makes the image 'volatile'. // A volatile image is always cleared at the start of a frame. // // This is suitable for offscreen images that pixels are changed often. // // Regular non-volatile images need to record drawing history or read its pixels from GPU if necessary so that all // the images can be...
{ "resource": "" }
c169735
validation
// isFullscreen must be called from the main thread.
{ "resource": "" }
c169736
validation
// getSize must be called from the main thread.
{ "resource": "" }
c169737
validation
// getScale must be called from the main thread.
{ "resource": "" }
c169738
validation
// actualScreenScale must be called from the main thread.
{ "resource": "" }
c169739
validation
// setScreenSize must be called from the main thread.
{ "resource": "" }
c169740
validation
// currentMonitor returns the monitor most suitable with the current window. // // currentMonitor must be called on the main thread.
{ "resource": "" }
c169741
validation
// CopyImage copies img to a new RGBA image. // // Basically CopyImage just calls draw.Draw. // If img is a paletted image, an optimized copying method is used. // // CopyImage is used only internally but it is exposed for testing.
{ "resource": "" }
c169742
validation
// appendVertices appends vertices to the queue.
{ "resource": "" }
c169743
validation
// EnqueueDrawTrianglesCommand enqueues a drawing-image command.
{ "resource": "" }
c169744
validation
// Enqueue enqueues a drawing command other than a draw-image command. // // For a draw-image command, use EnqueueDrawTrianglesCommand.
{ "resource": "" }
c169745
validation
// Flush flushes the command queue.
{ "resource": "" }
c169746
validation
// Exec executes the drawTrianglesCommand.
{ "resource": "" }
c169747
validation
// CanMerge returns a boolean value indicating whether the other drawTrianglesCommand can be merged // with the drawTrianglesCommand c.
{ "resource": "" }
c169748
validation
// Exec executes the replacePixelsCommand.
{ "resource": "" }
c169749
validation
// Exec executes a pixelsCommand.
{ "resource": "" }
c169750
validation
// Exec executes the disposeCommand.
{ "resource": "" }
c169751
validation
// Exec executes a newImageCommand.
{ "resource": "" }
c169752
validation
// Exec executes a newScreenFramebufferImageCommand.
{ "resource": "" }
c169753
validation
// schemaHostNetworkPolicy returns schema items for resources that need to work // with a HostNetworkPolicy, such as virtual switches and port groups.
{ "resource": "" }
c169754
validation
// expandHostNicFailureCriteria reads certain ResourceData keys and returns a // HostNicFailureCriteria.
{ "resource": "" }
c169755
validation
// flattenHostNicFailureCriteria reads various fields from a // HostNicFailureCriteria into the passed in ResourceData.
{ "resource": "" }
c169756
validation
// expandHostNicOrderPolicy reads certain ResourceData keys and returns a // HostNicOrderPolicy.
{ "resource": "" }
c169757
validation
// flattenHostNicOrderPolicy reads various fields from a HostNicOrderPolicy // into the passed in ResourceData.
{ "resource": "" }
c169758
validation
// expandHostNicTeamingPolicy reads certain ResourceData keys and returns a // HostNicTeamingPolicy.
{ "resource": "" }
c169759
validation
// flattenHostNicTeamingPolicy reads various fields from a HostNicTeamingPolicy // into the passed in ResourceData.
{ "resource": "" }
c169760
validation
// expandHostNetworkSecurityPolicy reads certain ResourceData keys and returns // a HostNetworkSecurityPolicy.
{ "resource": "" }
c169761
validation
// flattenHostNetworkSecurityPolicy reads various fields from a // HostNetworkSecurityPolicy into the passed in ResourceData.
{ "resource": "" }
c169762
validation
// expandHostNetworkTrafficShapingPolicy reads certain ResourceData keys and // returns a HostNetworkTrafficShapingPolicy.
{ "resource": "" }
c169763
validation
// flattenHostNetworkTrafficShapingPolicy reads various fields from a // HostNetworkTrafficShapingPolicy into the passed in ResourceData.
{ "resource": "" }
c169764
validation
// expandHostNetworkPolicy reads certain ResourceData keys and returns a // HostNetworkPolicy.
{ "resource": "" }
c169765
validation
// flattenHostNetworkPolicy reads various fields from a HostNetworkPolicy into // the passed in ResourceData.
{ "resource": "" }
c169766
validation
// schemaHostNasVolumeSpec returns schema items for resources that need to work // with a HostNasVolumeSpec.
{ "resource": "" }
c169767
validation
// expandHostNasVolumeSpec reads certain ResourceData keys and returns a // HostNasVolumeSpec.
{ "resource": "" }
c169768
validation
// flattenHostNasVolume reads various fields from a HostNasVolume into the // passed in ResourceData. // // Note the name attribute is not set here, bur rather set in // flattenDatastoreSummary and sourced from there.
{ "resource": "" }
c169769
validation
// isNasVolume returns true if the HostFileSystemVolumeFileSystemType matches // one of the possible filesystem types that a NAS datastore supports.
{ "resource": "" }
c169770
validation
// expandVMwareDVSPortgroupPolicy reads certain ResourceData keys and // returns a VMwareDVSPortgroupPolicy.
{ "resource": "" }
c169771
validation
// flattenVMwareDVSPortgroupPolicy reads various fields from a // VMwareDVSPortgroupPolicy into the passed in ResourceData.
{ "resource": "" }
c169772
validation
// expandDVPortgroupConfigSpec reads certain ResourceData keys and // returns a DVPortgroupConfigSpec.
{ "resource": "" }
c169773
validation
// flattenDVPortgroupConfigInfo reads various fields from a // DVPortgroupConfigInfo into the passed in ResourceData. // // This is the flatten counterpart to expandDVPortgroupConfigSpec.
{ "resource": "" }
c169774
validation
// expandClusterHostGroup reads certain ResourceData keys and returns a // ClusterHostGroup.
{ "resource": "" }
c169775
validation
// flattenClusterHostGroup saves a ClusterHostGroup into the supplied ResourceData.
{ "resource": "" }
c169776
validation
// resourceVSphereComputeClusterHostGroupFlattenID makes an ID for the // vsphere_cluster_host_group resource.
{ "resource": "" }
c169777
validation
// resourceVSphereComputeClusterHostGroupFetchObjects fetches the "objects" for // a cluster host group. This is currently just the cluster object as the name // of the group is a static value and a pass-through - this is to keep its // workflow consistent with other cluster-dependent resources that derive from // Arra...
{ "resource": "" }
c169778
validation
// netifKey renders a specific network_interface key for a specific resource // index.
{ "resource": "" }
c169779
validation
// matchGateway take an IP, mask, and gateway, and checks to see if the gateway // is reachable from the IP address.
{ "resource": "" }
c169780
validation
// expandCustomizationGlobalIPSettings reads certain ResourceData keys and // returns a CustomizationGlobalIPSettings.
{ "resource": "" }
c169781
validation
// expandCustomizationLinuxPrep reads certain ResourceData keys and // returns a CustomizationLinuxPrep.
{ "resource": "" }
c169782
validation
// expandCustomizationGuiRunOnce reads certain ResourceData keys and // returns a CustomizationGuiRunOnce.
{ "resource": "" }
c169783
validation
// expandCustomizationGuiUnattended reads certain ResourceData keys and // returns a CustomizationGuiUnattended.
{ "resource": "" }
c169784
validation
// expandCustomizationIdentification reads certain ResourceData keys and // returns a CustomizationIdentification.
{ "resource": "" }
c169785
validation
// expandCustomizationUserData reads certain ResourceData keys and // returns a CustomizationUserData.
{ "resource": "" }
c169786
validation
// expandCustomizationSysprep reads certain ResourceData keys and // returns a CustomizationSysprep.
{ "resource": "" }
c169787
validation
// expandCustomizationSysprepText reads certain ResourceData keys and // returns a CustomizationSysprepText.
{ "resource": "" }
c169788
validation
// expandCustomizationIPSettingsIPV6AddressSpec reads certain ResourceData keys and // returns a CustomizationIPSettingsIpV6AddressSpec.
{ "resource": "" }
c169789
validation
// expandCustomizationIPSettings reads certain ResourceData keys and // returns a CustomizationIPSettings.
{ "resource": "" }
c169790
validation
// expandSliceOfCustomizationAdapterMapping reads certain ResourceData keys and // returns a CustomizationAdapterMapping slice.
{ "resource": "" }
c169791
validation
// ExpandCustomizationSpec reads certain ResourceData keys and // returns a CustomizationSpec.
{ "resource": "" }
c169792
validation
// ValidateCustomizationSpec checks the validity of the supplied customization // spec. It should be called during diff customization to veto invalid configs.
{ "resource": "" }
c169793
validation
// schemaHostVirtualSwitchBondBridge returns schema items for resources that // need to work with a HostVirtualSwitchBondBridge, such as virtual switches.
{ "resource": "" }
c169794
validation
// expandHostVirtualSwitchBeaconConfig reads certain ResourceData keys and // returns a HostVirtualSwitchBeaconConfig.
{ "resource": "" }
c169795
validation
// flattenHostVirtualSwitchBeaconConfig reads various fields from a // HostVirtualSwitchBeaconConfig into the passed in ResourceData.
{ "resource": "" }
c169796
validation
// expandLinkDiscoveryProtocolConfig reads certain ResourceData keys and // returns a LinkDiscoveryProtocolConfig.
{ "resource": "" }
c169797
validation
// flattenLinkDiscoveryProtocolConfig reads various fields from a // LinkDiscoveryProtocolConfig into the passed in ResourceData.
{ "resource": "" }
c169798
validation
// expandHostVirtualSwitchBondBridge reads certain ResourceData keys and // returns a HostVirtualSwitchBondBridge.
{ "resource": "" }
c169799
validation
// flattenHostVirtualSwitchBondBridge reads various fields from a // HostVirtualSwitchBondBridge into the passed in ResourceData.
{ "resource": "" }