text:
Questionário

	Aqui é onde você pode cadastrar seu acervo a ser acrescentado em nosso banco de dados. Se preferir, imprima o arquivo em pdf, preencha-o e envie para:

PROJETOCRA - Largo Senador Raul Cardoso, 207, Vila Clementino; São Paulo - SP; CEP 04021-070

Informações ou dúvidas: Giba (cra.giba@gmail.com) ou Lidia (cra.lidiag@gmail.com)

Telefone: (11) 3512 6111, ramais 236 e 239, respectivamente

1º
passo

2º
passo

3º
passo

4º
passo

	<form role="form" id="form_dados" name="formDados" class="form-horizontal" novalidate>

Dados do acervo

		Identificação do acervo

			<input class="form-control" ng-model="acervo.dados.acervo.id" ng-value="dados.catalogacao.id" name="dados_id" id="dados_id" placeholder="" type="text"  required>

		Nome do arquivo

			<input class="form-control" ng-model="acervo.dados.acervo.nome" id="dados_nome" name="dados_nome"  type="text"  required>

		Endereço

			<input class="form-control" ng-model="acervo.dados.acervo.endereco" id="dados_endereco" name="dados_endereco" placeholder="" type="text" required>

			Estado

			<select id="dados_estado" ng-model="acervo.dados.acervo.estado" name="dados_estado" combo-estado  required>
			</select>

			cidade

			<select class="col-sm-12" ng-model="acervo.dados.acervo.cidade" id="dados_cidade" name="dados_cidade"  required>
			</select>

			CEP

			<input class="form-control" ng-model="acervo.dados.acervo.cep" id="dados_cep" name="dados_cep" type="text"  required>

Dados do responsável

		Responsável

			<input class="form-control" ng-model="acervo.dados.responsavel.nome" name="dados_nome" id="dados_nome" placeholder="" type="text"  required>

		Telefone

			<input class="form-control" ng-model="acervo.dados.responsavel.telefone.ddd" name="dados_telefone_ddd" id="dados_telefone_ddd" placeholder="DDD" type="text"  required>

			<input class="form-control" ng-model="acervo.dados.responsavel.telefone.n" name="dados_telefone_n" id="dados_telefone_n" placeholder="Número" type="text" required>

		E-mail

			<input class="form-control" ng-model="acervo.dados.responsavel.email" id="dados_email" type="email"  required>

		Data do cadastro

			<input class="form-control dataAtual" ng-model="acervo.dados.responsavel.data" id="dados_data" name="dados_data" placeholder=" dia/mês/ano" type="text" maxlength="10"  required>

 Por favor preencha corretamente todos os campos acima

			<button ng-click="mudapasso(1)" ng-disabled="formDados.$invalid" class="btn btn-primary btn-block">Próximo passo</button>

	</form>

Detalhamento do tipo de Material

	<form role="form" id="form_material" class="form-horizontal">

			<input ng-model="acervo.material.pelicula.show" ng-value="1" type="checkbox"> Material em película?

Material

				Qte. Aproximada (pés, horas ou unidades)
				Observações (qualidade, organização, conteúdo, etc)

					Bitola

					16mm
					<input class="form-control" ng-model="acervo.material.bitola.mm16.sim" name="material_pelicula_16" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.bitola.mm16.qte" name="material_pelicula_16_qte" type="text" />
					<textarea name="material_pelicula_16_obs" class="form-control"></textarea>

					35mm
					<input class="form-control" ng-model="acervo.material.bitola.mm35.sim" name="material_pelicula_35" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.bitola.mm35.qte" name="material_pelicula_35_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.bitola.mm35.obs" name="material_pelicula_35_obs" ></textarea>

					8mm
					<input class="form-control" ng-model="acervo.material.bitola.mm8.sim" name="material_pelicula_8" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.bitola.mm8.qte" name="material_pelicula_8_qte" type="text" />
					<textarea ng-model="acervo.material.bitola.mm8.obs" name="material_pelicula_8_obs" class="form-control"></textarea>

					S8mm
					<input class="form-control" ng-model="acervo.material.bitola.mms8.sim" name="material_pelicula_s8" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.bitola.mms8.qte" name="material_pelicula_s8_qte" type="text" />
					<textarea ng-model="acervo.material.bitola.mms8.obs" name="material_pelicula_s8_obs" class="form-control"></textarea>

					9,5mm
					<input class="form-control" ng-model="acervo.material.bitola.mm9_5.sim" name="material_pelicula_95" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.bitola.mm9_5.qte" name="material_pelicula_95_qte" type="text" />
					<textarea ng-model="acervo.material.bitola.mm9_5.obs" name="material_pelicula_95_obs" class="form-control"></textarea>

					Outros (especifique no campo "observação")
					<input class="form-control" ng-model="acervo.material.bitola.outros.sim" name="material_pelicula_outros" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.bitola.outros.qte" name="material_pelicula_outros_qte" type="text" />
					<textarea class="form-control"ng-model="acervo.material.bitola.outros.obs" name="material_pelicula_outros_obs" ></textarea>

					Negativo original

					Cor
					<input class="form-control" ng-model="acervo.material.negativo.cor.sim" name="material_pelicula_negativo_cor" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.negativo.cor.qte" name="material_pelicula_negativo_qte_cor" type="text" />
					<textarea ng-model="acervo.material.negativo.cor.obs" name="material_pelicula_negativo_cor_obs" class="form-control"></textarea>

					pb
					<input class="form-control" ng-model="acervo.material.negativo.pb.sim" name="material_pelicula_negativo_pb" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.negativo.pb.qte" name="material_pelicula_negativo_pb_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.negativo.pb.obs" name="material_pelicula_negativo_pb_obs"></textarea>

					Contratipo
(internegativo)

					Cor
					<input class="form-control" ng-model="acervo.material.contratipo.cor.sim" name="material_pelicula_contratipo_cor" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.contratipo.cor.qte" name="material_pelicula_contratipo_cor_obs" type="text" />
					<textarea class="form-control" ng-model="acervo.material.contratipo.cor.obs" name="material_pelicula_contratipo_cor_obs"></textarea>

					pb
					<input class="form-control" type="checkbox" ng-model="acervo.material.contratipo.pb.sim" name="material_pelicula_contratipo_pb">
					<input class="form-control" ng-model="acervo.material.contratipo.pb.qte" name="material_pelicula_contratipo_pb_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.contratipo.pb.obs" name="material_pelicula_contratipo_pb_qte"></textarea>

					Máster
(interpositivo)

					Cor
					<input class="form-control" ng-model="acervo.material.interpositivo.cor.sim" name="material_pelicula_interpositivo_cor" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.interpositivo.cor.qte" name="material_pelicula_interpositivo_cor_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.interpositivo.cor.obs" name="material_pelicula_interpositivo_cor_obs"></textarea>

					pb
					<input class="form-control" ng-model="acervo.material.interpositivo.pb.sim" name="material_pelicula_interpositivo_pb" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.interpositivo.pb.qte" name="material_pelicula_interpositivo_pb_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.interpositivo.pb.obs" name="material_pelicula_interpositivo_pb_obs"></textarea>

					Cópia

					Cor
					<input class="form-control" ng-model="acervo.material.copia.cor.sim" name="material_pelicula_copia_cor" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.copia.cor.qte" name="material_pelicula_copia_cor_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.copia.cor.obs" name="material_pelicula_copia_cor_obs"></textarea>

					pb
					<input class="form-control" ng-model="acervo.material.copia.pb.sim" name="material_pelicula_copia_pb" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.copia.pb.qte" name="material_pelicula_copia_pb_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.copia.pb.obs" name="material_pelicula_copia_pb_obs"></textarea>

					Outros
(ex: sobras, copião...)

					Cor
					<input class="form-control" ng-model="acervo.material.pelicula.outros.cor.sim" name="material_pelicula_outros_cor" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.pelicula.outros.cor.qte" name="material_pelicula_outros_cor_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.pelicula.outros.cor.obs" name="material_pelicula_outros_cor_obs"></textarea>

					pb
					<input class="form-control" ng-model="acervo.material.pelicula.outros.pb.sim" name="material_pelicula_outros_pb" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.pelicula.outros.pb.qte" name="material_pelicula_outros_pb_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.pelicula.outros.pb.obs" name="material_pelicula_outros_pb_obs"></textarea>

		<input ng-model="acervo.material.video.show" ng-value="1" type="checkbox"> Material em vídeo?

Tipo

				Qte. Aproximada (unidades, horas, etc.)
				Observações (qualidade, organização, conteúdo, etc)

					VHS
					<input class="form-control" ng-model="acervo.material.vhs.sim" name="material_vhs" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.vhs.qte" name="material_vhs_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.vhs.obs" name="material_vhs_obs"></textarea>

					Umatic
					<input class="form-control" ng-model="acervo.material.umatic.sim" name="material_umatic" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.umatic.qte" name="material_umatic_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.umatic.obs" name="material_umatic_qte"></textarea>

					Betamax
					<input class="form-control" ng-model="acervo.material.betamax.sim" name="material_betamax" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.betamax.qte" name="material_betamax_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.betamax.obs" name="material_betamax_obs"></textarea>

					Betacam
					<input class="form-control" ng-model="acervo.material.betacam.sim" name="material_betacam" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.betacam.qte" name="material_betacam_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.betacam.obs" name="material_betacam_obs"></textarea>

					Digital
					<input class="form-control" ng-model="acervo.material.digital.sim" name="material_digital" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.digital.qte" name="material_digital_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.digital.obs" name="material_digital_obs"></textarea>

					DVD
					<input class="form-control" ng-model="acervo.material.dvd.sim" name="material_dvd" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.dvd.qte" name="material_dvd_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.dvd.obs" name="material_dvd_qte"></textarea>

					Outros
(especifique no campo "observação")
					<input class="form-control" ng-model="acervo.material.video.outros.sim" name="material_video_outros" ng-value="sim" type="checkbox" />
					<input class="form-control" type="text" ng-model="acervo.material.video.outros.qte" name="material_video_outros_qte">
					<textarea class="form-control" ng-model="acervo.material.video.outros.obs" name="material_video_outros_obs"></textarea>

			<input ng-model="acervo.material.outros.show" ng-value="1" type="checkbox"> Materiais correlatados (cartazes, fotos, etc)?

Tipo

				Qte. Aproximada (unidades, caixas, etc.)
				Observações (qualidade, organização, conteúdo, etc)

					Documentos
					<input class="form-control" ng-model="acervo.material.documentos.sim" name="material_documentos" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.documentos.qts" name="material_documentos_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.documentos.obs" name="material_documentos_obs"></textarea>

					Fotos
					<input class="form-control" ng-model="acervo.material.fotos.sim" name="material_fotos" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.fotos.qte" name="material_fotos_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.fotos.obs" name="material_fotos_obs"></textarea>

					Cartazes
					<input class="form-control" ng-model="acervo.material.cartazes.sim" name="material_cartazes" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.cartazes.qte" name="material_cartazes_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.cartazes.obs" name="material_cartazes_obs" ></textarea>

					Áudios
					<input class="form-control" ng-model="acervo.material.audios.sim" name="material_audios" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.audios.qte" name="material_audios_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.audios.obs" name="material_audios_obs" ></textarea>

					Outros
(especifique no campo "observação")
					<input class="form-control" ng-model="acervo.material.correlatados.outros.sim" name="material_correlatados_outros" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.material.correlatados.outros.qte" name="material_correlatados_outros_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.material.correlatados.outros.obs" name="material_correlatados_outros_obs" ></textarea>

			 <button ng-click="mudapasso(-1)" class="btn btn-warning">Passo anterior</button> <button ng-click="mudapasso(1)" class="btn btn-primary">Próximo passo</button>

	</form>

Informações sobre o acervo

	<form role="form" id="form_material" class="form-horizontal">

Catalogação

				Qte. Aproximada (porcentagem)
				Observações

					Está incorporado?

						(com número de entrada ou número de tombo e com informações básicas de conteúdo e técnicas referentes ao material levantadas)
					<input class="form-control" ng-model="acervo.catalogacao.incorporado.sim" name="acervo_incorporado" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.catalogacao.incorporado.qte" name="acervo_incorporado_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.catalogacao.incorporado.obs" name="acervo_incorporado_obs"></textarea>

					Está catalogado?

						(conteúdo descrito, sinopse, ficha técnica e/ou indexação)
					<input class="form-control" ng-model="acervo.catalogacao.catalogado.sim" name="acervo_catalogado" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.catalogacao.catalogado.qte" name="acervo_catalogado_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.catalogacao.catalogado.obs" name="acervo_catalogado_obs" ></textarea>

					Está documentado?

						(possui certificação de direito)
					<input class="form-control" ng-model="acervo.catalogacao.documentado.sim" name="acervo_documentado" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.catalogacao.documentado.qte" name="acervo_documentado_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.catalogacao.documentado.obs" name="acervo_documentado_obs" ></textarea>

					Está indexado?

						(possui sistema de controle de banco de dados)
					<input class="form-control" ng-model="acervo.catalogacao.indexado.sim" name="acervo_indexado" ng-value="sim" type="checkbox" />
					<input class="form-control" ng-model="acervo.catalogacao.indexado.qte" name="acervo_indexado_qte" type="text" />
					<textarea class="form-control" ng-model="acervo.catalogacao.indexado.obs" name="acervo_indexado_obs" ></textarea>

Banco de dados

				Observações

					Possui fichas em papel?
					<input class="form-control" ng-model="acervo.banco.fichas.sim" name="banco_fichas" ng-value="sim" type="checkbox" />
					<textarea class="form-control" ng-model="acervo.banco.fichas.obs" name="banco_fichas_obs"></textarea>

					Possui planilhas em Excel?
					<input class="form-control" ng-model="acervo.banco.planilhas.sim" name="banco_planilhas" ng-value="sim" type="checkbox" />
					<textarea class="form-control" ng-model="acervo.banco.planilhas.obs" name="banco_planilhas_obs"></textarea>

					Possui base de dados?
					<input class="form-control" ng-model="acervo.banco.base.sim" name="banco_base" ng-value="sim" type="checkbox" />
					<textarea class="form-control" ng-model="acervo.banco.base.obs" name="banco_base_obs"></textarea>

					Os dados estão disponíveis na internet?
					<input class="form-control" ng-model="acervo.banco.internet.sim" name="banco_internet" ng-value="sim" type="checkbox" />
					<textarea class="form-control" ng-model="acervo.banco.internet.obs" ></textarea>

					Os dados são de acesso público?
					<input class="form-control" ng-model="acervo.banco.publico.sim" name="banco_publico" ng-value="sim" type="checkbox" />
					<textarea class="form-control" ng-model="acervo.banco.publico.obs" name="banco_publico_obs"></textarea>

Tipo do depósito

				Observações

					Possui área apropriada para guarda do acervo?
					<input class="form-control" ng-model="acervo.deposito.apropriado.sim" name="deposito_apropriado" ng-value="sim" type="checkbox" />
					<textarea class="form-control" ng-model="acervo.deposito.apropriado.obs" name="deposito_apropriado_obs"></textarea>

					As áreas estão climatizadas?
					<input class="form-control" ng-model="acervo.deposito.climatizado.sim" name="deposito_climatizado" ng-value="sim" type="checkbox" />
					<textarea class="form-control" ng-model="acervo.deposito.climatizado.obs" name="deposito_climatizado_obs"></textarea>

					Possui condições de arquivamento?
					<input class="form-control" ng-model="acervo.deposito.arquivamento.sim" name="deposito_arquivamento" ng-value="sim" type="checkbox" />
					<textarea class="form-control" ng-model="acervo.deposito.arquivamento.obs" name="deposito_arquivamento_obs"></textarea>

					Possui embalagens adequadas?
					<input class="form-control" ng-model="acervo.deposito.embalagens.sim" name="deposito_embalagens" ng-value="sim" type="checkbox" />
					<textarea class="form-control" ng-model="acervo.deposito.embalagens.obs"></textarea>

					Possui mobiliário adequado?
					<input class="form-control" ng-model="acervo.deposito.mobiliario.sim" name="deposito_mobiliario" ng-value="sim" type="checkbox" />
					<textarea class="form-control" ng-model="acervo.deposito.mobiliario.obs" name="deposito_mobiliario_obs"></textarea>

			 <button ng-click="mudapasso(-1)" class="btn btn-warning">Passo anterior</button> <button ng-click="mudapasso(1)" class="btn btn-primary">Próximo passo</button>

	</form>

	<form name="formFinal" action="enviar.php" method="POST" enctype="application/x-www-form-urlencoded" accept-charset="ISO-8859-1">

Resumo do formulário

Confira as informações preenchidas e retorne aos passos anteriores para alterá-las

Dados Gerais

Acervo

Identificação: {{acervo.dados.acervo.id}}<input value="{{acervo.dados.acervo.id}}" type="hidden" name="dados_id" >

Nome do arquivo: {{acervo.dados.acervo.nome}}<input value="{{acervo.dados.acervo.nome}}" type="hidden" name="dados_nome" >

Endereço: {{acervo.dados.acervo.endereco}}<input value="{{acervo.dados.acervo.endereco}}" type="hidden" name="dados_endereco" >

Cidade: {{acervo.dados.acervo.cidade}}<input value="{{acervo.dados.acervo.cidade}}" type="hidden" name="dados_cidade" >

Estado: {{acervo.dados.acervo.estado}}<input value="{{acervo.dados.acervo.estado}}" type="hidden" name="dados_estado" >

CEP: {{acervo.dados.acervo.cep}}<input value="{{acervo.dados.acervo.cep}}" type="hidden" name="dados_cep" >

Responsável

Responsável: {{acervo.dados.responsavel.nome}}<input value="{{acervo.dados.responsavel.nome}}" type="hidden" name="dados_responsavel" >

Telefone: ({{acervo.dados.responsavel.telefone.ddd}}) {{acervo.dados.responsavel.telefone.n}}<input value="({{acervo.dados.responsavel.telefone.ddd}}) {{acervo.dados.responsavel.telefone.n}}" type="hidden" name="dados_telefone" >

Email: {{acervo.dados.responsavel.email}}<input value="{{acervo.dados.responsavel.email}}" type="hidden" name="dados_email" >

Material do acervo

Material em película

Material
				sim
				Qte. Aproximada (pés, horas ou unidades)
				Observações (qualidade, organização, conteúdo, etc)

					Bitola

					16mm

					<input value="{{acervo.material.bitola.mm16.sim}}" type="hidden" name="material_pelicula_bitola_16" >

{{acervo.material.bitola.mm16.qte}}<input value="{{acervo.material.bitola.mm16.qte}}" type="hidden" name="material_pelicula_bitola_16_qte">

{{acervo.material.bitola.mm16.obs}}<input value="{{acervo.material.bitola.mm16.obs}}" type="hidden" name="material_pelicula_bitola_16_obs">

					35mm

					<input value="{{acervo.material.bitola.mm35.sim}}" type="hidden" name="material_pelicula_bitola_35" >

{{acervo.material.bitola.mm35.qte}}<input value="{{acervo.material.bitola.mm35.qte}}" type="hidden" name="material_pelicula_bitola_35_qte">

{{acervo.material.bitola.mm35.obs}}<input value="{{acervo.material.bitola.mm35.obs}}" type="hidden" name="material_pelicula_bitola_35_obs" >

					8mm

					<input value="{{acervo.material.bitola.mm8.sim}}" type="hidden" name="material_pelicula_bitola_8" >

{{acervo.material.bitola.mm8.qte}}<input value="{{acervo.material.bitola.mm8.qte}}" type="hidden" name="material_pelicula_bitola_8_qte">

{{acervo.material.bitola.mm8.obs}}<input value="{{acervo.material.bitola.mm8.obs}}" type="hidden" name="material_pelicula_bitola_8_obs" >

					S8mm

					<input value="{{acervo.material.bitola.mms8.sim}}" type="hidden" name="material_pelicula_bitola_s8" >

{{acervo.material.bitola.mms8.qte}}<input value="{{acervo.material.bitola.mms8.qte}}" type="hidden" name="material_pelicula_bitola_s8_qte">

{{acervo.material.bitola.mms8.obs}}<input value="{{acervo.material.bitola.mms8.obs}}" type="hidden" name="material_pelicula_bitola_s8_obs" >

					9,5mm

					<input value="{{acervo.material.bitola.mm9_5.sim}}" type="hidden" name="material_pelicula_bitola_95" >

{{acervo.material.bitola.mm9_5.qte}}<input value="{{acervo.material.bitola.mm9_5.qte}}" type="hidden" name="material_pelicula_bitola_95_qte">

{{acervo.material.bitola.mm9_5.obs}}<input value="{{acervo.material.bitola.mm9_5.obs}}" type="hidden" name="material_pelicula_bitola_95_obs" >

					Outros
					<input value="{{acervo.material.bitola.outros.sim}}" type="hidden" name="material_pelicula_bitola_outros" >

{{acervo.material.bitola.outros.qte}}<input value="{{acervo.material.bitola.outros.qte}}" type="hidden" name="material_pelicula_bitola_outros_qte">

{{acervo.material.bitola.outros.obs}}<input value="{{acervo.material.bitola.outros.obs}}" type="hidden" name="material_pelicula_bitola_outros_obs" >

					Negativo original

					Cor

					<input value="{{acervo.material.negativo.cor.sim}}" type="hidden" name="material_pelicula_negativo_cor" >

{{acervo.material.negativo.cor.qte}}<input value="{{acervo.material.negativo.cor.qte}}" type="hidden" name="material_pelicula_negativo_cor_qte">

{{acervo.material.negativo.cor.obs}}<input value="{{acervo.material.negativo.cor.obs}}" type="hidden" name="material_pelicula_negativo_cor_obs" >

					pb

					<input value="{{acervo.material.negativo.pb.sim}}" type="hidden" name="material_pelicula_negativo_pb" >

{{acervo.material.negativo.pb.qte}}<input value="{{acervo.material.negativo.pb.qte}}" type="hidden" name="material_pelicula_negativo_pb_qte">

{{acervo.material.negativo.pb.obs}}<input value="{{acervo.material.negativo.pb.obs}}" type="hidden" name="material_pelicula_negativo_pb_obs">

					Contratipo
(internegativo)

					Cor

					<input value="{{acervo.material.contratipo.cor.sim}}" type="hidden" name="material_pelicula_contratipo_cor" >

{{acervo.material.contratipo.cor.qte}}<input value="{{acervo.material.contratipo.cor.qte}}" type="hidden" name="material_pelicula_contratipo_cor_qte">

{{acervo.material.contratipo.cor.obs}}<input value="{{acervo.material.contratipo.cor.obs}}" type="hidden" name="material_pelicula_contratipo_cor_obs">

					pb

					<input value="{{acervo.material.contratipo.pb.sim}}" type="hidden" name="material_pelicula_contratipo_pb">

{{acervo.material.contratipo.pb.qte}}<input value="{{acervo.material.contratipo.pb.qte}}" type="hidden" name="material_pelicula_contratipo_pb_qte">

{{acervo.material.contratipo.pb.obs}}<input value="{{acervo.material.contratipo.pb.obs}}" type="hidden" name="material_pelicula_contratipo_pb_obs">

					Máster
(interpositivo)

					Cor

					<input value="{{acervo.material.interpositivo.cor.sim}}" type="hidden" name="material_pelicula_interpositivo_cor" >

{{acervo.material.interpositivo.cor.qte}}<input value="{{acervo.material.interpositivo.cor.qte}}" type="hidden" name="material_pelicula_interpositivo_cor_qte">

{{acervo.material.interpositivo.cor.obs}}<input value="{{acervo.material.interpositivo.cor.obs}}" type="hidden" name="material_pelicula_interpositivo_cor_obs">

					pb

					<input value="{{acervo.material.interpositivo.pb.sim}}" type="hidden" name="material_pelicula_interpositivo_pb" >

{{acervo.material.interpositivo.pb.qte}}<input value="{{acervo.material.interpositivo.pb.qte}}" type="hidden" name="material_pelicula_interpositivo_pb_qte">

{{acervo.material.interpositivo.pb.obs}}<input value="{{acervo.material.interpositivo.pb.obs}}" type="hidden" name="material_pelicula_interpositivo_pb_obs">

					Cópia

					Cor

					<input value="{{acervo.material.copia.cor.sim}}" type="hidden" name="material_pelicula_copia_cor" >

{{acervo.material.copia.cor.qte}}<input value="{{acervo.material.copia.cor.qte}}" type="hidden" name="material_pelicula_copia_cor_qte">

{{acervo.material.copia.cor.obs}}<input value="{{acervo.material.copia.cor.obs}}" type="hidden" name="material_pelicula_copia_cor_obs">

					pb

					<input value="{{acervo.material.copia.pb.sim}}" type="hidden" name="material_pelicula_copia_pb" >

{{acervo.material.copia.pb.qte}}<input value="{{acervo.material.copia.pb.qte}}" type="hidden" name="material_pelicula_copia_pb_qte">

{{acervo.material.copia.pb.obs}}<input value="{{acervo.material.copia.pb.obs}}" type="hidden" name="material_pelicula_copia_pb_obs">

					Outros
(ex: sobras, copião...)

					Cor

					<input value="{{acervo.material.pelicula.outros.cor.sim}}" type="hidden" name="material_pelicula_outros_cor" >

{{acervo.material.pelicula.outros.cor.qte}}<input value="{{acervo.material.pelicula.outros.cor.qte}}" type="hidden" name="material_pelicula_outros_cor_qte">

{{acervo.material.pelicula.outros.cor.obs}}<input value="{{acervo.material.pelicula.outros.cor.obs}}" type="hidden" name="material_pelicula_outros_cor_obs">

					pb

					<input value="{{acervo.material.pelicula.outros.pb.sim}}" type="hidden" name="material_pelicula_outros_pb" >

{{acervo.material.pelicula.outros.pb.qte}}<input value="{{acervo.material.pelicula.outros.pb.qte}}" type="hidden" name="material_pelicula_outros_pb_qte">

{{acervo.material.pelicula.outros.pb.obs}}<input value="{{acervo.material.pelicula.outros.pb.obs}}" type="hidden" name="material_pelicula_outros_pb_obs">

Material em video

Tipo
				sim
				Qte. Aproximada (unidades, horas, etc.)
				Observações (qualidade, organização, conteúdo, etc)

					VHS

					<input value="{{acervo.material.vhs.sim}}" type="hidden" name="material_video_vhs" >

{{acervo.material.vhs.qte}}<input value="{{acervo.material.vhs.qte}}" type="hidden" name="material_video_vhs_qte">

{{acervo.material.vhs.obs}}<input value="{{acervo.material.vhs.obs}}" type="hidden" name="material_video_vhs_obs">

					Umatic

					<input value="{{acervo.material.umatic.sim}}" type="hidden" name="material_video_umatic" >

{{acervo.material.umatic.qte}}<input value="{{acervo.material.umatic.qte}}" type="hidden" name="material_video_umatic_qte">

{{acervo.material.umatic.obs}}<input value="{{acervo.material.umatic.obs}}" type="hidden" name="material_video_umatic_obs">

					Betamax

					<input value="{{acervo.material.betamax.sim}}" type="hidden" name="material_video_betamax" >

{{acervo.material.betamax.qte}}<input value="{{acervo.material.betamax.qte}}" type="hidden" name="material_video_betamax_qte">

{{acervo.material.betamax.obs}}<input value="{{acervo.material.betamax.obs}}" type="hidden" name="material_video_betamax_obs">

					Betacam

					<input value="{{acervo.material.betacam.sim}}" type="hidden" name="material_video_betacam" >

{{acervo.material.betacam.qte}}<input value="{{acervo.material.betacam.qte}}" type="hidden" name="material_video_betacam_qte">

{{acervo.material.betacam.obs}}<input value="{{acervo.material.betacam.obs}}" type="hidden" name="material_video_betacam_obs">

					Digital

					<input value="{{acervo.material.digital.sim}}" type="hidden" name="material_video_digital" >

{{acervo.material.digital.qte}}<input value="{{acervo.material.digital.qte}}" type="hidden" name="material_video_digital_qte">

{{acervo.material.digital.obs}}<input value="{{acervo.material.digital.obs}}" type="hidden" name="material_video_digital_obs">

					DVD

					<input value="{{acervo.material.dvd.sim}}" type="hidden" name="material_video_dvd" >

{{acervo.material.dvd.qte}}<input value="{{acervo.material.dvd.qte}}" type="hidden" name="material_video_dvd_qte">

{{acervo.material.dvd.obs}}<input value="{{acervo.material.dvd.obs}}" type="hidden" name="material_video_dvd_obs">

					Outros

					<input value="{{acervo.material.video.outros.sim}}" type="hidden" name="material_video_outros" >

{{acervo.material.video.outros.qte}}<input value="{{acervo.material.video.outros.qte}}" type="hidden" name="material_video_outros_qte">

{{acervo.material.video.outros.obs}}<input value="{{acervo.material.video.outros.obs}}" type="hidden" name="material_video_outros_obs">

Materiais correlatados

Tipo
				sim
				Qte. Aproximada (unidades, caixas, etc.)
				Observações (qualidade, organização, conteúdo, etc)

					Documentos

					<input value="{{acervo.material.documentos.sim}}"type="hidden" name="material_correlatados_documentos" >

{{acervo.material.documentos.qts}}<input value="{{acervo.material.documentos.qts}}" type="hidden" name="material_correlatados_documentos_qte">

{{acervo.material.documentos.obs}}<input value="{{acervo.material.documentos.obs}}" type="hidden" name="material_correlatados_documentos_obs">

					Fotos

					<input value="{{acervo.material.fotos.sim}}" type="hidden" name="material_correlatados_fotos" >

{{acervo.material.fotos.qte}}<input value="{{acervo.material.fotos.qte}}" type="hidden" name="material_correlatados_fotos_qte">

{{acervo.material.fotos.obs}}<input value="{{acervo.material.fotos.obs}}" type="hidden" name="material_correlatados_fotos_obs">

					Cartazes

					<input value="{{acervo.material.cartazes.sim}}" type="hidden" name="material_correlatados_cartazes" >

{{acervo.material.cartazes.qte}}<input value="{{acervo.material.cartazes.qte}}" type="hidden" name="material_correlatados_cartazes_qte">

{{acervo.material.cartazes.obs}}<input value="{{acervo.material.cartazes.obs}}" type="hidden" name="material_correlatados_cartazes_obs" >

					Áudios

					<input value="{{acervo.material.audios.sim}}" type="hidden" name="material_correlatados_audios" >

{{acervo.material.audios.qte}}<input value="{{acervo.material.audios.qte}}" type="hidden" name="material_correlatados_audios_qte">

{{acervo.material.audios.obs}}<input value="{{acervo.material.audios.obs}}" type="hidden" name="material_correlatados_audios_obs" >

					Outros
					<input value="{{acervo.material.correlatados.outros.sim}}" type="hidden" name="material_correlatados_outros" >

{{acervo.material.correlatados.outros.qte}}<input value="{{acervo.material.correlatados.outros.qte}}" type="hidden" name="material_correlatados_outros_qte">

{{acervo.material.correlatados.outros.obs}}<input value="{{acervo.material.correlatados.outros.obs}}" type="hidden" name="material_correlatados_outros_obs" >

Informações sobre o acervo

Catalogação

        sim
				Qte. Aproximada (porcentagem)
				Observações

					Está incorporado?

						(com número de entrada ou número de tombo e com informações básicas de conteúdo e técnicas referentes ao material levantadas)

					<input value="{{acervo.catalogacao.incorporado.sim}}" type="hidden" name="acervo_incorporado" >

{{acervo.catalogacao.incorporado.qte}}<input value="{{acervo.catalogacao.incorporado.qte}}" type="hidden" name="acervo_incorporado_qte">

{{acervo.catalogacao.incorporado.obs}}<input value="{{acervo.catalogacao.incorporado.obs}}" type="hidden" name="acervo_incorporado_obs">

					Está catalogado?

						(conteúdo descrito, sinopse, ficha técnica e/ou indexação)

					<input value="{{acervo.catalogacao.catalogado.sim}}" type="hidden" name="acervo_catalogado" >

{{acervo.catalogacao.catalogado.qte}}<input value="{{acervo.catalogacao.catalogado.qte}}" type="hidden" name="acervo_catalogado_qte">

{{acervo.catalogacao.catalogado.obs}}<input value="{{acervo.catalogacao.catalogado.obs}}" type="hidden" name="acervo_catalogado_obs" >

					Está documentado?

						(possui certificação de direito)

					<input value="{{acervo.catalogacao.documentado.sim}}" type="hidden" name="acervo_documentado" >

{{acervo.catalogacao.documentado.qte}}<input value="{{acervo.catalogacao.documentado.qte}}" type="hidden" name="acervo_documentado_qte">

{{acervo.catalogacao.documentado.obs}}<input value="{{acervo.catalogacao.documentado.obs}}" type="hidden" name="acervo_documentado_obs" >

					Está indexado?

						(possui sistema de controle de banco de dados)

					<input value="{{acervo.catalogacao.indexado.sim}}" type="hidden" name="acervo_indexado" >

{{acervo.catalogacao.indexado.qte}}<input value="{{acervo.catalogacao.indexado.qte}}" type="hidden" name="acervo_indexado_qte">

{{acervo.catalogacao.indexado.obs}}<input value="{{acervo.catalogacao.indexado.obs}}" type="hidden" name="acervo_indexado_obs" >

Banco de dados

        sim
        Observações

					Possui fichas em papel?

					<input value="{{acervo.banco.fichas.sim}}" type="hidden" name="banco_fichas" >

{{acervo.banco.fichas.obs}}<input value="{{acervo.banco.fichas.obs}}" type="hidden" name="banco_fichas_obs">

					Possui planilhas em Excel?

					<input value="{{acervo.banco.planilhas.sim}}" type="hidden" name="banco_planilhas" >

{{acervo.banco.planilhas.obs}}<input value="{{acervo.banco.planilhas.obs}}" type="hidden" name="banco_planilhas_obs">

					Possui base de dados?

					<input value="{{acervo.banco.base.sim}}" type="hidden" name="banco_base" >

{{acervo.banco.base.obs}}<input value="{{acervo.banco.base.obs}}" type="hidden" name="banco_base_obs">

					Os dados estão disponíveis na internet?

					<input value="{{acervo.banco.internet.sim}}" type="hidden" name="banco_internet" >

{{acervo.banco.internet.obs}}<input value="{{acervo.banco.internet.obs}}" type="hidden" name="banco_internet_obs">

					Os dados são de acesso público?

					<input value="{{acervo.banco.publico.sim}}" type="hidden" name="banco_publico" >

{{acervo.banco.publico.obs}}<input value="{{acervo.banco.publico.obs}}" type="hidden" name="banco_publico_obs">

Tipo do depósito

        sim
				Observações

					Possui área apropriada para guarda do acervo?

					<input value="{{acervo.deposito.apropriado.sim}}" type="hidden" name="deposito_apropriado" >

{{acervo.deposito.apropriado.obs}}<input value="{{acervo.deposito.apropriado.obs}}" type="hidden" name="deposito_apropriado_obs">

					As áreas estão climatizadas?

					<input value="{{acervo.deposito.climatizado.sim}}" type="hidden" name="deposito_climatizado" >

{{acervo.deposito.climatizado.obs}}<input value="{{acervo.deposito.climatizado.obs}}" type="hidden" name="deposito_climatizado_obs">

					Possui condições de arquivamento?

					<input value="{{acervo.deposito.arquivamento.sim}}" type="hidden" name="deposito_arquivamento" >

{{acervo.deposito.arquivamento.obs}}<input value="{{acervo.deposito.arquivamento.obs}}" type="hidden" name="deposito_arquivamento_obs">

					Possui embalagens adequadas?

					<input value="{{acervo.deposito.embalagens.sim}}" type="hidden" name="deposito_embalagens" >

{{acervo.deposito.embalagens.obs}}<input value="{{acervo.deposito.embalagens.obs}}" type="hidden" name="deposito_embalagens_obs" >

					Possui mobiliário adequado?

					<input value="{{acervo.deposito.mobiliario.sim}}" type="hidden" name="deposito_mobiliario" >

{{acervo.deposito.mobiliario.obs}}<input value="{{acervo.deposito.mobiliario.obs}}" type="hidden" name="deposito_mobiliario_obs">

Informações Adicionais

    <textarea ng-model="acervo.informacoes.adicionais" name="informacoes_adicionais" class="form-control"></textarea>

		Passo anterior <input ng-click="bypass()" type="submit" class="btn btn-success" value="Enviar dados"/></button>

	</form>


text:
using System;
using NakedFramework.Architecture.Adapter;
using NakedFramework.Architecture.Framework;

namespace NakedObjects.Reflector.Facet;

[Serializable]
public sealed class LoadedCallbackFacetNull : LoadedCallbackFacetAbstract {
    private LoadedCallbackFacetNull() { }

    public static LoadedCallbackFacetNull Instance { get; } = new();

    public override void Invoke(INakedObjectAdapter nakedObjectAdapter, INakedFramework framework) { }
}

// Copyright (c) Naked Objects Group Ltd.

redpajama_set_name: RedPajamaGithub


text:
using UnityEngine;
using Object = UnityEngine.Object;

namespace UnityTest
{
    public static class Assertions
    {
        public static void CheckAssertions()
        {
            var assertions = Object.FindObjectsOfType(typeof(AssertionComponent)) as AssertionComponent[];
            CheckAssertions(assertions);
        }

        public static void CheckAssertions(AssertionComponent assertion)
        {
            CheckAssertions(new[] {assertion});
        }

        public static void CheckAssertions(GameObject gameObject)
        {
            CheckAssertions(gameObject.GetComponents<AssertionComponent>());
        }

        public static void CheckAssertions(AssertionComponent[] assertions)
        {
            if (!Debug.isDebugBuild)
                return;
            foreach (var assertion in assertions)
            {
                assertion.checksPerformed++;
                var result = assertion.Action.Compare();
                if (!result)
                {
                    assertion.hasFailed = true;
                    assertion.Action.Fail(assertion);
                }
            }
        }
    }
}


text:
import * as React from "react";
import * as SplitPane from "react-split-pane";

class SplitPaneTest extends React.Component<React.Props<{}>, {}> {

    render() {
        return (
            <SplitPane
                allowResize={true}
                className="pane"
                defaultSize={30}
                maxSize={50}
                minSize={20}
                split="vertical"
            >

            </SplitPane>
        );
    }
}


text:
package com.cinchapi.concourse.server.storage;

import org.junit.Test;

import com.carrotsearch.junitbenchmarks.AbstractBenchmark;
import com.carrotsearch.junitbenchmarks.BenchmarkOptions;
import com.cinchapi.concourse.server.storage.temp.Write;
import com.cinchapi.concourse.util.TestData;

/**
 *
 *
 * @author Jeff Nelson
 */
public class StorageBenchmark extends AbstractBenchmark {

    @Test
    @BenchmarkOptions(benchmarkRounds = 1000, warmupRounds = 10)
    public void benchmarkWriteAdd() {
        Write.add(TestData.getString(), TestData.getTObject(),
                TestData.getLong());
    }

    @Test
    @BenchmarkOptions(benchmarkRounds = 1000, warmupRounds = 10)
    public void benchmarkWriteRemove() {
        Write.remove(TestData.getString(), TestData.getTObject(),
                TestData.getLong());
    }

    @Test
    @BenchmarkOptions(benchmarkRounds = 1000, warmupRounds = 10)
    public void benchmarkWriteNotStorable() {
        Write.notStorable(TestData.getString(), TestData.getTObject(),
                TestData.getLong());
    }

    @Test
    @BenchmarkOptions(benchmarkRounds = 1000, warmupRounds = 10)
    public void benchmarkBufferInsert() {
        // TODO
    }

}


text:
using Microsoft.Owin;
using Owin;

[assembly: OwinStartupAttribute(typeof(UserManagement.Startup))]
namespace UserManagement
{
    public partial class Startup
    {
        public void Configuration(IAppBuilder app)
        {
            ConfigureAuth(app);
        }
    }
}


text:
package dev.mirror.services;

import java.io.IOException;

public interface WeatherFetcher {
    String fetchWeatherJson() throws IOException;
}


text:
<?php
/**
 * Created by PhpStorm.
 * User: Alexey
 * Date: 19.02.2016
 * Time: 16:45
 */
namespace Jungle\User\AccessControl\Context {

	use Jungle\Util\Smart\Value\IValue;
	use Jungle\Util\Value\Massive;

	/**
	 *
	 * Класс реализует подмену целевого объекта контекста.
	 * Применим для:
	 *  Подмена свойств или типов самого объекта при проверках до непосредственного доступа к реальному объекту
	 *  сбор Query из Conditions|Expressions при проверках до непосредственного доступа к реальному объекту
	 *
	 *
	 * Class Substitute
	 * @package Jungle\User\AccessControl\Context\Context
	 */
	class Substitute implements SubstituteInterface{

		/** @var string class Name */
		protected $class;

		/** @var string var type */
		protected $type;

		/** @var int count */
		protected $count;

		/** @var int length */
		protected $length;

		/** @var mixed value if not substitute */
		protected $value;

		/** @var bool value defined */
		protected $value_defined = false;

		/**
		 * @param $class_name
		 * @return $this
		 */
		public function setClass($class_name){
			$this->class = $class_name;
			return $this;
		}

		/**
		 * @return string|null
		 */
		public function getClass(){
			return $this->value_defined && is_object($this->value)?get_class($this->value):$this->class;
		}

		/**
		 * @param $var_type
		 * @return $this
		 */
		public function setType($var_type){
			$this->type = $var_type;
			return $this;
		}

		/**
		 * @return string|null
		 */
		public function getType(){
			return $this->value_defined?gettype($this->value):$this->type;
		}

		/**
		 * @param $count
		 * @return $this
		 */
		public function setCount($count){
			$this->count = $count;
			return $this;
		}

		/**
		 * @return int|null
		 */
		public function getCount(){
			return $this->value_defined?count($this->value):$this->count;
		}

		/**
		 * @param $length
		 * @return $this
		 */
		public function setLength($length){
			$this->length = $length;
			return $this;
		}

		/**
		 * @return int|null
		 */
		public function getLength(){
			return $this->value_defined?strlen($this->value):$this->length;
		}

		/**
		 * @param $value
		 * @return $this
		 */
		public function setValue($value){
			$this->value = $value;
			$this->value_defined = true;
			return $this;
		}

		/**
		 * @return string
		 */
		public function getValue(){
			return $this->value;
		}

		/**
		 * @return bool
		 */
		public function eraseValue(){
			$this->value_defined = false;
			$this->value         = null;
			return true;
		}

		/**
		 * @param IValue|mixed $value
		 * @return bool
		 */
		public function equal($value){
			return $value instanceof IValue?$value->equal($this->value):$this->value === $value;
		}

		/**
		 * @return bool
		 */
		public function isDefined(){
			return $this->value_defined;
		}

		/**
		 * @param $info_key array range ['class','type','length','count' ]
		 * @param $value SubstituteInterface|mixed
		 * @return int|null|string
		 */
		public static function infoQuery($info_key, $value){
			if($value instanceof SubstituteInterface){
				switch($info_key){
					case 'class' :   return $value->getClass();
					case 'type'  :    return $value->getType();
					case 'length':  return $value->getLength();
					case 'count' :   return $value->getCount();
				}
			}else{
				switch($info_key){
					case 'class':   return get_class($value);
					case 'type':    return gettype($value);
					case 'length':  return mb_strlen($value);
					case 'count':   return count($value);
				}
			}
			return null;
		}

		/**
		 * @param array $info
		 * @param null $value
		 * @return static
		 */
		public static function release(array $info, $value=null){
			$s = new static();
			foreach(Massive::leaveKeys(array_change_key_case($info,CASE_LOWER), ['class','type','length','count'],true) as $k => $v){
				$s->{'set'.$k}($v);
			}
			if($value!==null)$s->setValue($value);
			return $s;
		}

	}
}


text:
<?php namespace App;

use Illuminate\Database\Eloquent\Model;

class Kpi3gReference extends Model
{
	/**
	 * The database table used by the model.
	 *
	 * @var string
	 */
	protected $table = 'kpi_3g_references';

	/**
	 * Primary key fields
	 */
    protected $primaryKey = array('event_id', 'aggregate');

	/**
	 * Does not have incremental ID
	 */
    public $incrementing = false;

	/**
	 * Does not have timestamps
	 */
    public $timestamps = false;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
    	'aggregate',
        'voice_drops',
        'voice_dcr',
        'data_drops',
        'data_dcr',
        'cssr_voice',
        'cssr_data',
        'voice_traffic',
        'dl_data_traffic',
        'ul_data_traffic',
        'downtime_lock',
        'downtime',
        'downtime_power_save',
        'ulrssi',
        'throughput_user',
        'throughput_cell'
    ];

    // Relations
    // *********************************************************************

    /**
	 * A reference 2G KPI is owner by a event
	 *
	 * @return \Illuminate\Datbase\Eloquent\Relations\BelongsTo
	 */
	public function event()
	{
		return $this->belongsTo('App\Event');
	}
}


text:
package scala
package collection
package mutable

import scala.annotation.nowarn
import scala.collection.generic.DefaultSerializable

/** $factoryInfo
 *  @define Coll `LinkedHashMap`
 *  @define coll linked hash map
 */
@SerialVersionUID(3L)
object LinkedHashMap extends MapFactory[LinkedHashMap] {

  def empty[K, V] = new LinkedHashMap[K, V]

  def from[K, V](it: collection.IterableOnce[(K, V)]) =
    it match {
      case lhm: LinkedHashMap[K, V] => lhm
      case _ => Growable.from(empty[K, V], it)
    }

  def newBuilder[K, V] = new GrowableBuilder(empty[K, V])

  /** Class for the linked hash map entry, used internally.
    */
  private[mutable] final class LinkedEntry[K, V](val key: K, var value: V)
    extends HashEntry[K, LinkedEntry[K, V]] {
    var earlier: LinkedEntry[K, V] = null
    var later: LinkedEntry[K, V] = null
  }

}

/** This class implements mutable maps using a hashtable.
 *  The iterator and all traversal methods of this class visit elements in the order they were inserted.
 *
 *  @tparam K    the type of the keys contained in this hash map.
 *  @tparam V    the type of the values assigned to keys in this hash map.
 *
 *  @define Coll `LinkedHashMap`
 *  @define coll linked hash map
 *  @define mayNotTerminateInf
 *  @define willNotTerminateInf
 *  @define orderDependent
 *  @define orderDependentFold
 */
class LinkedHashMap[K, V]
  extends AbstractMap[K, V]
    with SeqMap[K, V]
    with MapOps[K, V, LinkedHashMap, LinkedHashMap[K, V]]
    with StrictOptimizedIterableOps[(K, V), Iterable, LinkedHashMap[K, V]]
    with StrictOptimizedMapOps[K, V, LinkedHashMap, LinkedHashMap[K, V]]
    with MapFactoryDefaults[K, V, LinkedHashMap, Iterable]
    with DefaultSerializable {

  override def mapFactory: MapFactory[LinkedHashMap] = LinkedHashMap

  // stepper / keyStepper / valueStepper are not overridden to use XTableStepper because that stepper
  // would not return the elements in insertion order

  private[collection] type Entry = LinkedHashMap.LinkedEntry[K, V]
  private[collection] def _firstEntry: Entry = firstEntry

  @transient protected var firstEntry: Entry = null
  @transient protected var lastEntry: Entry = null
  @transient private[this] var table: HashTable[K, V, Entry] = newHashTable

  // Used by scala-java8-compat (private[mutable] erases to public, so Java code can access it)
  private[mutable] def getTable: HashTable[K, V, Entry] = table

  private def newHashTable =
    new HashTable[K, V, Entry] {
      def createNewEntry(key: K, value: V): Entry = {
        val e = new Entry(key, value)
        if (firstEntry eq null) firstEntry = e
        else { lastEntry.later = e; e.earlier = lastEntry }
        lastEntry = e
        e
      }

      override def foreachEntry[U](f: Entry => U): Unit = {
        var cur = firstEntry
        while (cur ne null) {
          f(cur)
          cur = cur.later
        }
      }

    }

  override def last: (K, V) =
    if (size > 0) (lastEntry.key, lastEntry.value)
    else throw new NoSuchElementException("Cannot call .last on empty LinkedHashMap")

  override def lastOption: Option[(K, V)] =
    if (size > 0) Some((lastEntry.key, lastEntry.value))
    else None

  override def head: (K, V) =
    if (size > 0) (firstEntry.key, firstEntry.value)
    else throw new NoSuchElementException("Cannot call .head on empty LinkedHashMap")

  override def headOption: Option[(K, V)] =
    if (size > 0) Some((firstEntry.key, firstEntry.value))
    else None

  override def size = table.tableSize
  override def knownSize: Int = size
  override def isEmpty: Boolean = table.tableSize == 0
  def get(key: K): Option[V] = {
    val e = table.findEntry(key)
    if (e == null) None
    else Some(e.value)
  }

  override def contains(key: K): Boolean = {
    if (getClass eq classOf[LinkedHashMap[_, _]])
      table.findEntry(key) != null
    else
      super.contains(key) // A subclass might override `get`, use the default implementation `contains`.
  }

  override def put(key: K, value: V): Option[V] = {
    val e = table.findOrAddEntry(key, value)
    if (e eq null) None
    else { val v = e.value; e.value = value; Some(v) }
  }

  override def update(key: K, value: V): Unit = {
    val e = table.findOrAddEntry(key, value)
    if (e ne null) e.value = value
  }

  override def remove(key: K): Option[V] = {
    val e = table.removeEntry(key)
    if (e eq null) None
    else Some(remove0(e))
  }

  private[this] def remove0(e: Entry): V = {
    if (e.earlier eq null) firstEntry = e.later
    else e.earlier.later = e.later
    if (e.later eq null) lastEntry = e.earlier
    else e.later.earlier = e.earlier
    e.earlier = null // Null references to prevent nepotism
    e.later = null
    e.value
  }

  def addOne(kv: (K, V)): this.type = { put(kv._1, kv._2); this }

  def subtractOne(key: K): this.type = { remove(key); this }

  def iterator: Iterator[(K, V)] = new AbstractIterator[(K, V)] {
    private[this] var cur = firstEntry
    def hasNext = cur ne null
    def next() =
      if (hasNext) { val res = (cur.key, cur.value); cur = cur.later; res }
      else Iterator.empty.next()
  }

  protected class LinkedKeySet extends KeySet {
    override def iterableFactory: IterableFactory[collection.Set] = LinkedHashSet
  }

  override def keySet: collection.Set[K] = new LinkedKeySet

  override def keysIterator: Iterator[K] = new AbstractIterator[K] {
    private[this] var cur = firstEntry
    def hasNext = cur ne null
    def next() =
      if (hasNext) { val res = cur.key; cur = cur.later; res }
      else Iterator.empty.next()
  }

  // Override updateWith for performance, so we can do the update while hashing
  // the input key only once and performing one lookup into the hash table
  override def updateWith(key: K)(remappingFunction: Option[V] => Option[V]): Option[V] = {
    val keyIndex = table.index(table.elemHashCode(key))
    val entry = table.findEntry0(key, keyIndex)

    val previousValue =
      if (entry == null) None
      else Some(entry.value)

    val nextValue = remappingFunction(previousValue)

    (previousValue, nextValue) match {
      case (None, None) => // do nothing
      case (Some(_), None) =>
        remove0(entry)
        table.removeEntry0(key, keyIndex)

      case (None, Some(value)) =>
        table.addEntry0(table.createNewEntry(key, value), keyIndex)

      case (Some(_), Some(value)) =>
        entry.value = value
    }

    nextValue
  }

  override def valuesIterator: Iterator[V] = new AbstractIterator[V] {
    private[this] var cur = firstEntry
    def hasNext = cur ne null
    def next() =
      if (hasNext) { val res = cur.value; cur = cur.later; res }
      else Iterator.empty.next()
  }

  override def foreach[U](f: ((K, V)) => U): Unit = {
    var cur = firstEntry
    while (cur ne null) {
      f((cur.key, cur.value))
      cur = cur.later
    }
  }

  override def foreachEntry[U](f: (K, V) => U): Unit = {
    var cur = firstEntry
    while (cur ne null) {
      f(cur.key, cur.value)
      cur = cur.later
    }
  }

  override def clear(): Unit = {
    table.clearTable()
    firstEntry = null
    lastEntry = null
  }

  private def writeObject(out: java.io.ObjectOutputStream): Unit = {
    out.defaultWriteObject()
    table.serializeTo(out, { entry =>
      out.writeObject(entry.key)
      out.writeObject(entry.value)
    })
  }

  private def readObject(in: java.io.ObjectInputStream): Unit = {
    in.defaultReadObject()
    table = newHashTable
    table.init(in, table.createNewEntry(in.readObject().asInstanceOf[K], in.readObject().asInstanceOf[V]))
  }

  @nowarn("""cat=deprecation&origin=scala\.collection\.Iterable\.stringPrefix""")
  override protected[this] def stringPrefix = "LinkedHashMap"
}


text:
@(currentForm: Form[models.domain.Benefits])(implicit claim: models.domain.Claim, lang: Lang, request: Request[AnyContent], flash:Flash, messages: play.api.i18n.Messages)

@import play.api.Play
@import play.api.Play.current
@import utils.csrf.DwpCSRFFormHelper
@import helper._
@import models.domain.Benefits
@import utils.helpers.CarersCrypto
@import utils.helpers.OriginTagHelper._
@import views.html.s_eligibility.main

@benefitsList(implicit lang:Lang) = @{
    Seq(
        Benefits.pip -> messages("s0.g1.help2"),
        Benefits.dla -> messages("s0.g1.help4"),
        Benefits.aa -> messages("s0.g1.help6"),
        Benefits.caa -> messages("s0.g1.help7"),
        Benefits.afip -> messages("s0.g1.help10"),
        Benefits.noneOfTheBenefits -> messages("s0.g1.help12")
    )
}

@main(messages("s0.g1") + " - " + messages("s0.longName"), Some(currentForm),false) {

    @form(action = controllers.s_eligibility.routes.GBenefits.submit, 'role -> "form") {

        @DwpCSRFFormHelper.formField

        <fieldset class="form-elements form-eligibility">

            <legend class="form-label-bold">@Html(messages("s0.g1"))</legend>

            @standaloneListRadioGroup(currentForm("benefitsAnswer"),
                'items -> benefitsList,
                'helperAbove -> "s0.g1.help13",
                'track -> true,
                'trackLabel -> messages("s0.g1")
            )

            @defining(currentForm("benefitsAnswer").value.getOrElse("don't know") match { case Benefits.noneOfTheBenefits => "block" case _ => "none" }) { styleDisplay =>

@Html(messages("s0.g1.help11"))

            }

        </fieldset>

<button type="submit" name="action" value="next" class="button">@Html(messages("form.next"))</button>

    }
}


text:
namespace MAL.NetLogic.Interfaces
{
    public interface ISeiyuuInformation
    {
        string PictureUrl { get; set; }
        string Name { get; set; }
        string Url { get; set; }
        string Language { get; set; }
    }
}


text:
.class public Landroid/opengl/ETC1;
.super Ljava/lang/Object;
.source "ETC1.java"

# static fields
.field public static final DECODED_BLOCK_SIZE:I = 0x30

.field public static final ENCODED_BLOCK_SIZE:I = 0x8

.field public static final ETC1_RGB8_OES:I = 0x8d64

.field public static final ETC_PKM_HEADER_SIZE:I = 0x10

# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 32
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static native decodeBlock(Ljava/nio/Buffer;Ljava/nio/Buffer;)V
.end method

.method public static native decodeImage(Ljava/nio/Buffer;Ljava/nio/Buffer;IIII)V
.end method

.method public static native encodeBlock(Ljava/nio/Buffer;ILjava/nio/Buffer;)V
.end method

.method public static native encodeImage(Ljava/nio/Buffer;IIIILjava/nio/Buffer;)V
.end method

.method public static native formatHeader(Ljava/nio/Buffer;II)V
.end method

.method public static native getEncodedDataSize(II)I
.end method

.method public static native getHeight(Ljava/nio/Buffer;)I
.end method

.method public static native getWidth(Ljava/nio/Buffer;)I
.end method

.method public static native isValid(Ljava/nio/Buffer;)Z
.end method


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<title>org.robolectric.annotation.processing</title>
<meta name="date" content="2018-02-08">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">

JavaScript is disabled on your browser.

Skip navigation links

Overview

Package

Class

Tree

Deprecated

Index

Help

Prev Package

Next Package

Frames

No Frames

All Classes

Package org.robolectric.annotation.processing

Robolectric annotation processor.

See: Description

Class Summary

Class
Description

DocumentedElement

DocumentedMethod

DocumentedPackage

DocumentedType

RobolectricModel

Model describing the Robolectric source file.

RobolectricProcessor

Annotation processor entry point for Robolectric annotations.

Package org.robolectric.annotation.processing Description

Robolectric annotation processor.

Annotation processor used to generate shadowOf methods and other metadata needed by shadow packages, as well as perform compile-time checking of constraints that are implied by Robolectric’s annotations.

Skip navigation links

Overview

Package

Class

Tree

Deprecated

Index

Help

Prev Package

Next Package

Frames

No Frames

All Classes


text:
Salesforce docsets for Dash.

Docset | Status
--- | ---
[Salesforce Object Reference](https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_list.htm) | Released
[Salesforce Developer Limits Quick Reference](https://developer.salesforce.com/docs/atlas.en-us.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_overview.htm) | Released
[Lightning Components Developers Guide](https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/) | In Progress
[Lightning Design System](https://www.lightningdesignsystem.com/) | In Progress

## Installation (temporary)
1. Clone or download the repository.
2. Open the *.docset file in the root folder of the repository.

##### Additional Information
Please note these docsets are a work in progress and will be added to the User Contributed Dash docsets list in the future.

I will also be releasing the `node.js` scripts that were used to generate this documentation in the future once code cleanup is complete.


text:
package org.gyt.web.api.service.impl;

import org.gyt.web.api.repository.RoleRepository;
import org.gyt.web.api.service.RoleService;
import org.gyt.web.api.service.UserService;
import org.gyt.web.model.Authority;
import org.gyt.web.model.Role;
import org.gyt.web.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;

import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;

@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    private RoleRepository roleRepository;

    @Autowired
    private UserService userService;

    @Override
    public List<Role> get() {
        return roleRepository.findAll().stream().filter(role -> !role.getName().equals("ROOT")).collect(Collectors.toList());
    }

    @Override
    public Role get(String name) {
        return roleRepository.findOne(name);
    }

    @Override
    public boolean create(String name) {
        return create(name, name);
    }

    @Override
    public boolean create(String name, String displayName) {
        if (!StringUtils.isEmpty(name) && null == get(name)) {
            Role role = new Role();
            role.setName(name);
            role.setDisplayName(displayName);
            roleRepository.save(role);
        }
        return false;
    }

    @Override
    public boolean add(String name, Authority authority) {

        Role role = get(name);

        if (null != role) {
            for (String s : role.getAuthorities()) {
                Authority auth = Authority.valueOf(s);
                if (auth.equals(authority)) {
                    return false;
                }
            }

            role.getAuthorities().add(authority.name());
            roleRepository.save(role);
            return true;
        }

        return false;
    }

    @Override
    public boolean remove(String name, Authority authority) {

        Role role = get(name);

        if (null != role) {
            for (String s : role.getAuthorities()) {
                Authority auth = Authority.valueOf(s);
                if (auth.equals(authority)) {
                    role.getAuthorities().remove(s);
                    roleRepository.save(role);
                    return true;
                }
            }
        }

        return false;
    }

    @Override
    public boolean enable(String name) {
        Role role = get(name);

        if (null != role && !role.isEnable()) {
            role.setEnable(true);
            roleRepository.save(role);
            return true;
        }

        return false;
    }

    @Override
    public boolean isEnable(String name) {
        Role role = get(name);

        return null != role && role.isEnable();
    }

    @Override
    public boolean disable(String name) {
        Role role = get(name);

        if (null != role && role.isEnable()) {
            role.setEnable(false);
            roleRepository.save(role);
            return true;
        }

        return false;
    }

    @Override
    public Set<Role> getFromUser(String username) {
        return userService.get(username).getRoles();
    }

    @Override
    public boolean addToUser(String username, String roleName) {
        User user = userService.get(username);

        if (null != user) {
            for (Role role : user.getRoles()) {
                if (role.getName().equals(roleName)) {
                    return false;
                }
            }

            user.getRoles().add(get(roleName));
            userService.update(user);
            return true;
        }

        return false;
    }

    @Override
    public boolean removeFromUser(String username, String roleName) {
        User user = userService.get(username);

        if (null != user) {
            for (Role role : user.getRoles()) {
                if (role.getName().equals(roleName)) {
                    user.getRoles().remove(get(roleName));
                    userService.update(user);
                    return true;
                }
            }
        }

        return false;
    }
}


text:
/**
 *
 */
package com.netflix.conductor.server;

import java.io.FileInputStream;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import java.util.Properties;

import org.apache.log4j.PropertyConfigurator;
import org.eclipse.jetty.servlet.DefaultServlet;

import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.servlet.GuiceServletContextListener;
import com.google.inject.servlet.ServletModule;

/**
 * @author Viren
 *
 */
public class ServletContextListner extends GuiceServletContextListener {

	@Override
	protected Injector getInjector() {

		loadProperties();

		ConductorConfig config = new ConductorConfig();
		ConductorServer server = new ConductorServer(config);

		return Guice.createInjector(server.getGuiceModule());
	}

	private void loadProperties() {
		try {

			String key = "conductor_properties";
			String propertyFile = Optional.ofNullable(System.getProperty(key)).orElse(System.getenv(key));
			if(propertyFile != null) {
				System.out.println("Using " + propertyFile);
				FileInputStream propFile = new FileInputStream(propertyFile);
				Properties props = new Properties(System.getProperties());
				props.load(propFile);
				System.setProperties(props);
			}

			key = "log4j_properties";
			String log4jConfig = Optional.ofNullable(System.getProperty(key)).orElse(System.getenv(key));
			if(log4jConfig != null) {
				PropertyConfigurator.configure(new FileInputStream(log4jConfig));
			}

		} catch (Exception e) {
			System.err.println("Error loading properties " + e.getMessage());
			e.printStackTrace();
		}
	}

}


text:
Changelog
=========

Version 1.8.1 – 2022-10-16
--------------------------

### Bugfix

* Fixed version number in workflow

Version 1.8 – 2022-10-15
------------------------

### Features

* New command `gh user/repo dev` opening repo in Visual Studio Code (Codespaces)
* New command `gh user/repo discussions`
* New command `gh my repos new`
* Search issues by title (`gh user/repo #search`)
* Archived repos with prefix `[Archived]` in subtitle
* Performance improvement

### Bugfixes

* Fix result display for non-PR issue IDs (@tobias-grasse)
* Fix git clone url, use new `x-github-client://` scheme

Version 1.7.1 – 2022-01-01
--------------------------

### Bugfixes

* Fix deprecation warning when using PHP 8.1

Version 1.7 – 2021-10-26
------------------------

### Features

* Support for macOS 12 Montery: PHP is no longer pre-installed, you must install it by yourself via [Homebrew](https://brew.sh) (`brew install php`)
* Better support for Alfred 4
* new command `gh user/repo actions` (@Attsun1031)
* command `gh user/repo new issue` lands on issue template selector page (@riastrad)

Version 1.6.2 – 2018-02-13
--------------------------

### Bugfixes

* Api pagination didn't work correctly anymore (missing results from page > 2)

Version 1.6.1 – 2017-09-23
--------------------------

### Bugfixes

* Support for macOS 10.13 High Sierra
* Commit search results had wrong urls on GitHub Enterprise (@beparker)

Version 1.6 – 2017-05-07
------------------------

### Features

* new command `gh user/repo projects` (@dagio)
* new command `gh my pulls review requested` (@AeroEchelon)
* better sorting for issues (most recently updated on top) and commits (most recent on top) (@danielma)

### Bugfixes

* On macOS 10.12.5 Beta URLs didn't opened in browser anymore

Version 1.5 – 2016-12-13
------------------------

### Features

* new commands for searching repos and users globally in GitHub (`gh s repo` and `gh s @user`)
* new command `gh my repos` (@jacobkossman)
* new command `gh > delete database`
* source repos with higher priority than forks

### Bugfixes

* in some situations private repos were missing (@lxynox)
* after saving GitHub Enterprise url the workflow didn't reopen correctly
* updated user sub commands ("Activity" tab does not exist any more on GitHub)

Version 1.4.1 – 2016-22-07
--------------------------

* fixed reading environment variables (important for hotkey support)

Version 1.4 – 2016-22-07
------------------------

* Hotkey support
* use native update mechanism of Alfred (to keep your hotkeys)
* new command `gh user/repo releases` (@altern8tif)
* cache warmup after login
* lower cpu usage in multi curl
* fixed autocomplete values in GitHub Enterprise

Version 1.3 – 2016-17-07
------------------------

**Important:** This is the last version for Alfred 2.

* Disabled updates in Alfred 2
* Updates in Alfred 3 are loaded from new location (GitHub releases)

Version 1.2 – 2016-04-17
------------------------

### Features

* New sub commands for `gh my issues/pull`: `created`, `assigned` and `mentioned`
* New help command: `gh > help`
* Longer cache lifetime

Version 1.1 – 2015-01-10
------------------------

### Features

* GitHub Enterprise support (use `ghe`)
* Commit search (`gh user/repo *hash`)

### Bugfixes

* A space after `gh` is required to avoid confusion when using commands of other workflows like `ghost`


text:
module Telegram
  module Errors
    class CommonError < StandardError
    end
  end
end


text:
[![](https://img.shields.io/bower/v/sortboard.svg?style=flat-square)](https://github.com/quintana-dev/sortboard#install) [![](https://img.shields.io/npm/v/sortboard.svg?style=flat-square)](https://github.com/quintana-dev/sortboard) [![Build Status](http://img.shields.io/travis/quintana-dev/sortboard.svg?style=flat-square)](https://travis-ci.org/quintana-dev/sortboard) [![Inline docs](http://inch-ci.org/github/quintana-dev/sortboard.svg?branch=master&style=flat-square)](http://inch-ci.org/github/quintana-dev/sortboard)

> Easy sorting and filtering of elements.

**Note:** This code uses CSS3 [`matrix()` and `scale()`](http://www.w3.org/TR/2011/WD-css3-2d-transforms-20111215/) transform functions.

[View demo](http://goo.gl/RnaQWi)

## Install

**Npm**

```sh
$ npm install sortboard
```

**Bower**

```sh
$ bower install sortboard
```

## Usage

Define a list, for example, using an `ul` and `li` tags, then sets your filters in each `li` tags with the `data-filter` attribute, it can add several filters for one item separated by whitespace.

**Javascript :**

```js
var sortlist = document.getElementById('sortlist');

var sb = new Sortboard(sortlist, {
  gutter: 10,
  filterComplete: function(matches) {
    // `matches` always should an Array[] with `HTML Elements` matched.
    console.log(matches);
  },
  sortComplete: function() {
    console.log('Sorting is completed.');
  }
});

// Filter by tag
sb.filterBy('programing');

```

**jQuery support :**

```js
$('#sortlist').sortboard({
  gutter: 10,
  filterComplete: function(e) {
    console.log(e);
  },
  sortComplete: function() {
    console.log('Sort is completed.');
  }
});

// Filter by tag
$('#sortlist').sortboard('filterBy', 'programing');

```

**Markup :**

```html
<ul id="sortlist">
  <li data-filter="programing"></li>
  <li data-filter="programing back-end"></li>
  <li data-filter="programing front-end UX"></li>
  <li data-filter="graphic-design illustration"></li>
  <li data-filter="webdesign front-end"></li>
  <li data-filter="graphic-design printing"></li>
</ul>
```

## Reference
**Options :**

  * `gutter` : The margin for items defined in pixels.
  * `hiddenClass` : Class name for hidden items. Default is `.hidden` class name.
  * `itemsMatchName` : Items match mame. It can be a class (e.g. `.items`) or tag name. Default is `li` tag name.
  * `filterComplete( matches )` : Callback function when filtering is completed. `matches` param always should an `Array` with `HTMLElements` matched or empty `Array` if otherwise.
  * `sortComplete` : Callback function when sorting is completed.

**Methods :**

  * `sort()` : Sort items.
  * `filterBy( string )` : `string` it's text to filter, it should match to `data-filter` attribute for items.
  * `getFilter()` : Gets the current filter string.
  * `getItems()` : Gets all items.
  * `getFoundItems()` : Gets items matched by filter.
  * `getNotFoundItems()` : Gets items non-matched by filter.

## License
MIT license

© 2015 [José Luis Quintana](http://quintana.io)


text:
Gradients

In this demo we show the various types of gradients that can
be used in Qt.

There are three types of gradients:

Linear gradients interpolate colors between start and end
  points.

Radial gradients interpolate colors between a focal point and the
  points on a circle surrounding it.

Conical gradients interpolate colors around a center point.

The panel on the right contains a color table editor that defines
the colors in the gradient. The three topmost controls determine the red,
green and blue components while the last defines the alpha of the
gradient. You can move points, and add new ones, by clicking with the left
mouse button, and remove points by clicking with the right button.

There are three default configurations available at the bottom of
the page that are provided as suggestions on how a color table could be
configured.


text:
package apple.uikit;

import java.io.*;
import java.nio.*;
import java.util.*;
import com.google.j2objc.annotations.*;
import com.google.j2objc.runtime.*;
import com.google.j2objc.runtime.block.*;
import apple.audiotoolbox.*;
import apple.corefoundation.*;
import apple.coregraphics.*;
import apple.coreservices.*;
import apple.foundation.*;
import apple.coreanimation.*;
import apple.coredata.*;
import apple.coreimage.*;
import apple.coretext.*;
import apple.corelocation.*;

/*<javadoc>*/
/*</javadoc>*/
@Adapter
public abstract class UIDataSourceModelAssociationAdapter
    extends Object
    implements UIDataSourceModelAssociation {

    @NotImplemented("modelIdentifierForElementAtIndexPath:inView:")
    public String getElementModelIdentifier(NSIndexPath idx, UIView view) { throw new UnsupportedOperationException(); }
    @NotImplemented("indexPathForElementWithModelIdentifier:inView:")
    public NSIndexPath getElementIndexPath(String identifier, UIView view) { throw new UnsupportedOperationException(); }

}


text:
file(REMOVE_RECURSE
  "CMakeFiles/visp_ros_viper650_node.dir/nodes/viper650.cpp.o"
  "/home/us-robot/catkin_ws/devel/lib/visp_ros/visp_ros_viper650_node.pdb"
  "/home/us-robot/catkin_ws/devel/lib/visp_ros/visp_ros_viper650_node"
)

# Per-language clean rules from dependency scanning.
foreach(lang CXX)
  include(CMakeFiles/visp_ros_viper650_node.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()


text:
package org.hisp.dhis.android.core.user;

import android.database.Cursor;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;
import com.google.auto.value.AutoValue;

import org.hisp.dhis.android.core.common.BaseIdentifiableObject;
import org.hisp.dhis.android.core.common.CoreObject;

@AutoValue
@JsonDeserialize(builder = AutoValue_UserRole.Builder.class)
public abstract class UserRole extends BaseIdentifiableObject implements CoreObject {

    public static Builder builder() {
        return new $$AutoValue_UserRole.Builder();
    }

    public static UserRole create(Cursor cursor) {
        return $AutoValue_UserRole.createFromCursor(cursor);
    }

    public abstract Builder toBuilder();

    @AutoValue.Builder
    @JsonPOJOBuilder(withPrefix = "")
    public abstract static class Builder extends BaseIdentifiableObject.Builder<Builder> {
        public abstract Builder id(Long id);

        public abstract UserRole build();
    }
}


text:
"""add public column to baymodel table

Revision ID: 2ae93c9c6191
Revises: 5ad410481b88
Create Date: 2015-09-30 15:33:44.514290

"""

# revision identifiers, used by Alembic.
revision = '2ae93c9c6191'
down_revision = '5ad410481b88'

from alembic import op
import sqlalchemy as sa

def upgrade():
    op.add_column('baymodel', sa.Column('public', sa.Boolean(), default=False))


text:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="(C) Copyright 2005" />
<meta name="DC.rights.owner" content="(C) Copyright 2005" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="reference" name="DC.Type" />
<meta name="DC.Title" content="TriggerName" />
<meta scheme="URI" name="DC.Relation" content="crefsqlj18919.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="rreftriggername" name="DC.Identifier" />
<meta content="ja" name="DC.Language" />
<link href="commonltr.css" type="text/css" rel="stylesheet" />
<title>TriggerName</title>

TriggerName

トリガ名によりユーザが作成したトリガを参照することができます。

構文

[ スキーマ名 . ] SQL92識別子

例

DROP TRIGGER TRIG1

親トピック: SQLの識別子


text:
import numpy as np
from rllab.core.serializable import Serializable

class ProductRegressor(Serializable):
    """
    A class for performing MLE regression by fitting a product distribution to the outputs. A separate regressor will
    be trained for each individual input distribution.
    """

    def __init__(self, regressors):
        """
        :param regressors: List of individual regressors
        """
        Serializable.quick_init(self, locals())
        self.regressors = regressors
        self.output_dims = [x.output_dim for x in regressors]

    def _split_ys(self, ys):
        ys = np.asarray(ys)
        split_ids = np.cumsum(self.output_dims)[:-1]
        return np.split(ys, split_ids, axis=1)

    def fit(self, xs, ys):
        for regressor, split_ys in zip(self.regressors, self._split_ys(ys)):
            regressor.fit(xs, split_ys)

    def predict(self, xs):
        return np.concatenate([
            regressor.predict(xs) for regressor in self.regressors
        ], axis=1)

    def sample_predict(self, xs):
        return np.concatenate([
            regressor.sample_predict(xs) for regressor in self.regressors
        ], axis=1)

    def predict_log_likelihood(self, xs, ys):
        return np.sum([
                          regressor.predict_log_likelihood(xs, split_ys)
                          for regressor, split_ys in zip(self.regressors, self._split_ys(ys))
                          ], axis=0)

    def get_param_values(self, **tags):
        return np.concatenate(
            [regressor.get_param_values(**tags) for regressor in self.regressors]
        )

    def set_param_values(self, flattened_params, **tags):
        param_dims = [
            np.prod(regressor.get_param_shapes(**tags))
            for regressor in self.regressors
            ]
        split_ids = np.cumsum(param_dims)[:-1]
        for regressor, split_param_values in zip(self.regressors, np.split(flattened_params, split_ids)):
            regressor.set_param_values(split_param_values)


text:
import * as React from 'react';
import { Helmet } from 'react-helmet';
import * as serialize from 'serialize-javascript';
import { IStore } from '../../../redux/IStore';
import {colors} from '../../../data/themeOptions';

interface IHtmlProps {
  manifest?: any;
  markup?: string;
  store?: Redux.Store<IStore>;
}

class Html extends React.Component<IHtmlProps, {}> {
    baseStyle = {
        margin: 0,
        padding: 0
    };
    private resolve(files) {
        return files.map((src) => {
            if (!this.props.manifest[src]) { return; }
            return '/public/' + this.props.manifest[src];
        }).filter((file) => file !== undefined);
    }

    public render() {
        const head = Helmet.rewind();
        const { markup, store } = this.props;

        const scripts = this.resolve(['vendor.js', 'app.js']);
        const renderScripts = scripts.map((src, i) =>
            <script async={i === 1} src={src} key={i} />,
        );

        // tslint:disable-next-line:max-line-length
        const initialState = (
            <script dangerouslySetInnerHTML={{ __html: `window.__INITIAL_STATE__=${serialize(store.getState(), { isJSON: true })};` }} />
        );

        return (
        <html style={this.baseStyle}>
            <head>
                {head.base.toComponent()}
                {head.title.toComponent()}
                {head.meta.toComponent()}
                {head.link.toComponent()}
                {head.script.toComponent()}

                <meta name="author" content="Andrew Bryson" />
                <meta property="og:image" content="http://codebro.io/images/Home/logo.png"/>
                <meta property="og:image:secure_url" content="http://codebro.io/images/Home/logo.png"/>
                <link rel="shortcut icon" href="/favicon.ico" />
            </head>
            <body style={this.baseStyle}>
                <main id="app" dangerouslySetInnerHTML={{ __html: markup }} />
                {initialState}
                {renderScripts}
            </body>
        </html>
        );
    }
}

export { Html }