blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
4
410
content_id
stringlengths
40
40
detected_licenses
listlengths
0
51
license_type
stringclasses
2 values
repo_name
stringlengths
5
132
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
80
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
5.85k
689M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
131 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
9.45M
extension
stringclasses
32 values
content
stringlengths
3
9.45M
authors
listlengths
1
1
author_id
stringlengths
0
313
db06b335badb555d1e0a366ad3efa232d280409d
cb7bca6f6f24a3118b87ec1f3b095b0a3bf08f50
/app/src/main/java/com/namit/cinemabookingsystem/book.java
82e1711c4cd1076b5b5ea5f023290781bbc92508
[]
no_license
vjaydeshmukh/cinema-booking-system
b97ae0d367d3f7bfc05778cf494d0bbec2150fb4
a921d1068ba933904e2ca9f4ac7528471fda3cca
refs/heads/master
2023-01-22T09:21:20.963554
2020-11-25T14:32:24
2020-11-25T14:32:24
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,681
java
package com.namit.cinemabookingsystem; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.util.Log; import android.widget.Toast; import com.namit.cinemabookingsystem.adapter.RecyclerViewAdapter; public class book extends AppCompatActivity { private RecyclerView recyclerView; private RecyclerViewAdapter recyclerViewAdapter; public SQLiteDatabase myDb; public static Cursor c1; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_book); recyclerView=findViewById(R.id.recyclerView); recyclerView.setHasFixedSize(true); recyclerView.setLayoutManager(new LinearLayoutManager(this)); initial(); //setup adapter recyclerViewAdapter=new RecyclerViewAdapter(book.this, c1); recyclerView.setAdapter(recyclerViewAdapter); } private void initial(){ myDb=DatabaseHelper.myDataBase; c1=myDb.rawQuery("select f.full_name, room_id, start_time, f.name, ma.price, screenings._id from screenings " + "join films f on f._id = screenings.film_id join movies_ads ma on screenings._id = ma.screening_id " + "where film_id=?", new String[]{String.valueOf(InsideBody.current_counter)}); } @Override protected void onDestroy() { if(c1!=null) c1.close(); super.onDestroy(); } }
98c93574e6756ca687c5b90783b671d46d088848
260e56d56cac517ee0814d43e042b4f9fe1c334f
/codeBase/src/main/java/com/watchit/watchsellers/dtos/UploadFileResponse.java
5c159bd48dd51f41ef0b834a27955539de604bee
[]
no_license
Mohammed-siddiq/WatchIt
99747170a5faca7a8782d9a38781476e5b4e0568
aeb7581f84598da573f995d59654acf1b0bf106c
refs/heads/master
2020-08-15T22:33:51.090598
2019-12-13T11:26:31
2019-12-13T11:26:31
215,417,019
1
1
null
null
null
null
UTF-8
Java
false
false
276
java
package com.watchit.watchsellers.dtos; import lombok.AllArgsConstructor; import lombok.Data; @Data @AllArgsConstructor public class UploadFileResponse { private String fileName; private String fileDownloadUri; private String fileType; private long size; }
c540f480813681e3435dfcad16e594b0d116d3b9
5661a97f55a61c9d7c20cb03053ecfefb45bde93
/src/main/java/patterns/structural/decorators/Decotaror.java
15c40e64456f318a2bc9d14e381435c76d29919c
[]
no_license
vadim1504/design-patterns-demo
a784f2867ef59607dc219e57e2f77ff49d81c7b3
d7707e44b264cc401aeb2a27d7a6ff65e686fd86
refs/heads/master
2021-09-29T02:09:48.677575
2018-11-22T16:19:10
2018-11-22T16:19:10
108,688,939
0
0
null
null
null
null
UTF-8
Java
false
false
394
java
package patterns.structural.decorators; import patterns.structural.decorators.objects.Component; public abstract class Decotaror implements Component { protected Component component; public Decotaror(Component component){ this.component=component; } public abstract void afterDraw(); public void draw() { component.draw(); afterDraw(); } }
af2d3a0fd973b17f8a8690ca78b61f55337e6755
41fb5e1b1b04d09e2003481683ac7751da075efb
/Tests/Scenario4.java
a45b25b1508826c7330f115b99e8e8c5d65c21c7
[]
no_license
gusperlee/Test-and-Verification
e59cbae9a1e4321b0b72d4912b8e9b6070d267ec
21a8b063eba31fce32b060e324de618a85e8393e
refs/heads/master
2021-04-27T18:24:30.974108
2018-02-20T20:46:50
2018-02-20T20:46:50
null
0
0
null
null
null
null
UTF-8
Java
false
false
3,154
java
import org.junit.Test; import static org.junit.Assert.*; import org.junit.runner.RunWith; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import static org.mockito.Matchers.anyInt; import java.util.ArrayList; import java.util.List; import org.junit.Before; import org.junit.Test; public class Scenario4 implements TestInterface { /* * This scenario is take from the TAV Assignment Phase 2,The Car * 1. Starts at the beginning of the street, * 2. Moves along the street 50 meters * 3. It senses the left-hand-side lane and in both queries receives within-range values and these sensors values * show there is a car on the left-hand-side lane. * 4. Keep moves on current lane until the end of the street * */ private Sensor sensors[]; private Actuator actuator; private CarClass testcar; @Before public void create(){ /* * Mock to sensors from the sensor interface * */ Sensor sensors[]=new Sensor[8]; sensors[0] = mock(Radar.class); sensors[1] = mock(Radar.class); sensors[2] = mock(Radar.class); sensors[3] = mock(Lidar.class); sensors[4] = mock(Radar.class); sensors[5] = mock(Radar.class); sensors[6] = mock(Radar.class); sensors[7] = mock(Lidar.class); int obstacle_counter = 0; int lane_pos = 1; boolean isEmpty = true; /* * Mock the actuator interface */ actuator = mock(Actuator.class); /* * Initiate car to the begin of street position zero */ testcar = new CarClass(0,1); this.sensors = sensors; private boolean isEmpty=true; /* * Stub the moveForward method so that it return 5 for all integers * */ when(actuator.moveForward(testcar.whereIs())).thenReturn(5); /* * */ when(actuator.changeLane(testcar.isEmpty(true))).thenReturn(lane_pos++); /* * Stub the read method from sensors so that it return the value * */ for(int i=0;i<sensors.length;i++) for(int n=0;n<100;n++) when(sensors[i].checkReading(2)).thenReturn(isEmpty=false); } @Test public void test(){ boolean test = true; for(int i = 0; i < 96; i+=5){ testcar.moveForward(); } test = test && testcar.whereIs(); /* * Move the car to 50 * */ for(int i=0;i<10;i+=5){ testcar.moveForward(); } testcar.leftLaneDetect(sensors[i]); /* * test if the car could change lane * */ test = test && testcar.isEmpty(false)&& testcar.WhereIs().positionX+5; /* * then move to the end of the road. * */ for(int i=testcar.whereIs();i<99;i++){ testcar.moveForward(); } /* * verify test * */ assertTrue(test); } }
9365517eeda830a567e904f3e477babfa43aecbb
2d0358cd311e6cd43849bdb1edcae9ed25af9f2c
/spring-boot-testing/src/main/java/org/moonzhou/listoperation/ArrayOptimizeInsertFromTailTest.java
cc380d548a34819b4ba3f3fdc6fd0b3feb0a5f37
[]
no_license
ZeFormula/spring-learning
fc5ca584a060873b99e4b98b52641ebe0be4fa4f
ef1aabec3b5482b09c14d2c9bc07f9732d6e0a9a
refs/heads/master
2023-05-02T12:04:47.255312
2021-05-30T02:03:34
2021-05-30T02:03:34
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,473
java
package org.moonzhou.listoperation; import org.openjdk.jmh.annotations.*; import org.openjdk.jmh.infra.Blackhole; import org.openjdk.jmh.runner.Runner; import org.openjdk.jmh.runner.RunnerException; import org.openjdk.jmh.runner.options.Options; import org.openjdk.jmh.runner.options.OptionsBuilder; import java.util.ArrayList; import java.util.LinkedList; import java.util.concurrent.TimeUnit; /** * 从现有list里的尾部位置依次插入,比较性能 * LinkedList 的平均执行(完成)时间比 ArrayList快,具体快多少以实测为准 * * @author moon-zhou */ @BenchmarkMode(Mode.AverageTime) // 测试完成时间 @OutputTimeUnit(TimeUnit.NANOSECONDS) @Warmup(iterations = 2, time = 1, timeUnit = TimeUnit.SECONDS) // 预热次数和时间 @Measurement(iterations = 5, time = 5, timeUnit = TimeUnit.SECONDS) // 测试次数和时间 @Fork(1) // fork 1 个线程 @State(Scope.Thread) public class ArrayOptimizeInsertFromTailTest { private static final int maxSize = 1000; // 测试循环次数 private static final int operationSize = 100; // 操作次数 private static ArrayList<Integer> arrayList; private static LinkedList<Integer> linkedList; public static void main(String[] args) throws RunnerException { // 启动基准测试 Options opt = new OptionsBuilder() .include(ArrayOptimizeInsertFromTailTest.class.getSimpleName()) // 要导入的测试类 .build(); new Runner(opt).run(); // 执行测试 } @Setup public void init() { // 启动执行事件 arrayList = new ArrayList<Integer>(); linkedList = new LinkedList<Integer>(); for (int i = 0; i < maxSize; i++) { arrayList.add(i); linkedList.add(i); } } @Benchmark public void addArrayByEnd(Blackhole blackhole) { int startCount = maxSize - 1 - operationSize; for (int i = startCount; i < (maxSize - 1); i++) { arrayList.add(i, i); } // 为了避免 JIT 忽略未被使用的结果计算 blackhole.consume(arrayList); } @Benchmark public void addLinkedByEnd(Blackhole blackhole) { int startCount = maxSize - 1 - operationSize; for (int i = startCount; i < (maxSize - 1); i++) { linkedList.add(i, i); } // 为了避免 JIT 忽略未被使用的结果计算 blackhole.consume(linkedList); } }
05fba11ac1ee3adac63b1d47ab0984b62983d996
7767945893b715ad456a089fcc958e57e7594d76
/128zhibo-service/src/main/java/website2018/service/LiveService.java
45012e00d9e0031f8f1393431a6320d9f9babc86
[]
no_license
zhibo8net/128zhibo
8a2324994d8cc95cdb639b54e257a9e2a37cdb9f
a7bc39fbb2ffb1467b8297c65dbc90d4c474df26
refs/heads/master
2022-12-08T08:11:35.950828
2019-05-26T13:15:45
2019-05-26T13:15:45
177,289,795
1
0
null
2022-12-07T17:20:39
2019-03-23T13:04:47
JavaScript
UTF-8
Java
false
false
6,474
java
package website2018.service; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.springframework.stereotype.Service; import org.springside.modules.utils.mapper.BeanMapper; import com.google.common.collect.Lists; import website2018.base.BaseEndPoint; import website2018.domain.Ad; import website2018.domain.Live; import website2018.domain.LiveSource; import website2018.domain.Match; import website2018.domain.Video; import website2018.dto.AdDTO; import website2018.dto.DailyLivesDTO; import website2018.dto.LiveDTO; import website2018.dto.MatchDTO; import website2018.dto.SignalDTO; @Service public class LiveService extends IndexService{ public Live findById(Long id){ return liveDao.findById(id); } public List<DailyLivesDTO> queryDailyLives(String project, String game) { LiveSource liveSource = liveSourceDao.findByActive(1); Pattern p = Pattern.compile(".*(" + liveSource.channels.replace(",", "|") + ").*"); boolean onlyHaveLive = configDao.findByCkey("只显示有信号的场次").cvalue.equals("1"); List<Ad> commonAd = adDao.findByType("通用"); List<Ad> advancedAd = adDao.findByType("高级"); List<AdDTO> commonDTOs = Lists.newArrayList(); for (Ad ad : commonAd) { commonDTOs.add(BeanMapper.map(ad, AdDTO.class)); } List<AdDTO> advancedDTOs = Lists.newArrayList(); long currentTimeMills = new Date().getTime(); for (Ad ad : advancedAd) { if (ad.endDate.getTime() > currentTimeMills) { advancedDTOs.add(BeanMapper.map(ad, AdDTO.class)); } } List<DailyLivesDTO> result = Lists.newArrayList(); SimpleDateFormat sdf = new SimpleDateFormat("MM月dd日"); SimpleDateFormat dateStrForQueryFormat = new SimpleDateFormat("yyyy-MM-dd"); Calendar todayCal = Calendar.getInstance(); int index = 0; do { DailyLivesDTO dailylives = new DailyLivesDTO(); String dateStr = sdf.format(todayCal.getTime()) + " " + weeks[todayCal.get(Calendar.DAY_OF_WEEK) - 1]; dailylives.dateStr = dateStr; List<Match> matches; if(game != null) { matches = matchDao.findByPlayDateStrAndProjectAndGame(dateStrForQueryFormat.format(todayCal.getTime()), project, game); }else { matches = matchDao.findByPlayDateStrAndProject(dateStrForQueryFormat.format(todayCal.getTime()), project); } for (Match m : matches) { MatchDTO mdto = BeanMapper.map(m, MatchDTO.class); mdto.lives = Lists.newArrayList(); for(Live l : m.lives) { if(l.name.contains("CCTV5")) { mdto.emphasis = 1; } Matcher matcher = p.matcher(l.name); if(matcher.matches()) { String tv = matcher.group(1); if(tv.equals("QQ")) { tv = "QQ直播"; } LiveDTO liveDTO = null; for(LiveDTO ld : mdto.lives) { if(ld.name.equals(tv)) { liveDTO = ld; } } if(liveDTO == null) { liveDTO = new LiveDTO(); liveDTO.name = tv; mdto.lives.add(liveDTO); } //链接重复的,只添加一次 boolean existed = false; for(SignalDTO s : liveDTO.signals) { if(s.link.equals(l.link)) { existed = true; } } if(!existed) { int signalsIndex = liveDTO.signals.size() + 1; SignalDTO signalDTO = new SignalDTO(); signalDTO.name = l.name; signalDTO.indexName = "信号" + signalsIndex; signalDTO.link = l.link; signalDTO.liveId=l.id; signalDTO.playFlag=l.playFlag; liveDTO.signals.add(signalDTO); } } } // 添加全局广告 for (AdDTO c : commonDTOs) { mdto.ads.add(c); } // 添加高级广告 for (AdDTO c : advancedDTOs) { boolean match = true; String[] teams = c.teams.split("|"); for (String t : teams) { if (!mdto.name.contains(t)) { match = false; } } if (match) { mdto.ads.add(c); } } // 根据广告,为比赛添加“重要”(整体变红) for (AdDTO a : mdto.ads) { if (a.important == 1) { mdto.important = 1; } } // 根据配置的「只显示有信号的场次」的值 if(onlyHaveLive) { if(mdto.lives.size() > 0) { dailylives.matches.add(mdto); } }else { dailylives.matches.add(mdto); } } result.add(dailylives); todayCal.add(Calendar.DATE, 1); index++; } while (index < 7); return result; } public List<Video> findVideos(String project, String game){ return videoQueryer.findByProjectGameTypeCount(project, game, "视频", BaseEndPoint.RIGHT_VIDEO_COUNT); } public List<Video> findLuxiangs(String project, String game){ return videoQueryer.findByProjectGameTypeCount(project, game, "录像", BaseEndPoint.RIGHT_LUXIANG_COUNT, true); } }
39bad3708ee0762a840912aecc0a15eeea84048b
34b49f48a1e38d17b96dced57ac434c1619fff3e
/app/src/main/java/com/example/potatogaming/CustomerModel.java
1978bcfd611ef89866d8d1a7a3cd0268364ba352
[]
no_license
Aaron-Cartier/PotatoGaming
c3ff60aa2e865f10bacbe2915eed47f404af0453
873916fe76279aa258be2ab419665742d8a55599
refs/heads/master
2023-01-21T19:38:47.537920
2020-11-29T06:55:59
2020-11-29T06:55:59
310,738,761
0
0
null
null
null
null
UTF-8
Java
false
false
868
java
package com.example.potatogaming; public class CustomerModel { private int id; private String name; private int age; private boolean isActive; public CustomerModel(int id, String name, int age, boolean isActive) { this.id = id; this.name = name; this.age = age; this.isActive = isActive; } public CustomerModel() { } @Override public String toString() { return "CustomerModel{" + "id=" + id + ", name='" + name + '\'' + ", age=" + age + ", isActive=" + isActive + '}'; } public int getId() { return id; } public String getName() { return name; } public int getAge() { return age; } public boolean isActive() { return isActive; } }
a728dcd57b3311424eac607f0f1f8c183a601545
b31120cefe3991a960833a21ed54d4e10770bc53
/modules/org.clang.basic/src/org/clang/basic/impl/BuiltinsStatics.java
796b0578e02783144d1ce081a1f91a0cc6c9d129
[]
no_license
JianpingZeng/clank
94581710bd89caffcdba6ecb502e4fdb0098caaa
bcdf3389cd57185995f9ee9c101a4dfd97145442
refs/heads/master
2020-11-30T05:36:06.401287
2017-10-26T14:15:27
2017-10-26T14:15:27
null
0
0
null
null
null
null
UTF-8
Java
false
false
191,039
java
/** * This file was converted to Java from the original LLVM source file. The original * source file follows the LLVM Release License, outlined below. * * ============================================================================== * LLVM Release License * ============================================================================== * University of Illinois/NCSA * Open Source License * * Copyright (c) 2003-2017 University of Illinois at Urbana-Champaign. * All rights reserved. * * Developed by: * * LLVM Team * * University of Illinois at Urbana-Champaign * * http://llvm.org * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal with * the Software without restriction, including without limitation the rights to * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies * of the Software, and to permit persons to whom the Software is furnished to do * so, subject to the following conditions: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimers. * * * Redistributions in binary form must reproduce the above copyright notice * this list of conditions and the following disclaimers in the * documentation and/or other materials provided with the distribution. * * * Neither the names of the LLVM Team, University of Illinois at * Urbana-Champaign, nor the names of its contributors may be used to * endorse or promote products derived from this Software without specific * prior written permission. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE * SOFTWARE. * * ============================================================================== * Copyrights and Licenses for Third Party Software Distributed with LLVM: * ============================================================================== * The LLVM software contains code written by third parties. Such software will * have its own individual LICENSE.TXT file in the directory in which it appears. * This file will describe the copyrights, license, and restrictions which apply * to that code. * * The disclaimer of warranty in the University of Illinois Open Source License * applies to all code in the LLVM Distribution, and nothing in any of the * other licenses gives permission to use the names of the LLVM Team or the * University of Illinois to endorse or promote products derived from this * Software. * * The following pieces of software have additional or alternate copyrights, * licenses, and/or restrictions: * * Program Directory * ------- --------- * Autoconf llvm/autoconf * llvm/projects/ModuleMaker/autoconf * Google Test llvm/utils/unittest/googletest * OpenBSD regex llvm/lib/Support/{reg*, COPYRIGHT.regex} * pyyaml tests llvm/test/YAMLParser/{*.data, LICENSE.TXT} * ARM contributions llvm/lib/Target/ARM/LICENSE.TXT * md5 contributions llvm/lib/Support/MD5.cpp llvm/include/llvm/Support/MD5.h */ package org.clang.basic.impl; import org.clank.support.*; import org.clank.support.aliases.*; import static org.clank.support.NativePointer.*; import org.clang.basic.*; //<editor-fold defaultstate="collapsed" desc="static type BuiltinsStatics"> @Converted(kind = Converted.Kind.AUTO, cmd="jclank.sh -java-options=${SPUTNIK}/contrib/JConvert/llvmToClankType -print -java-options=${SPUTNIK}/modules/org.clang.basic/llvmToClangType ${LLVM_SRC}/llvm/tools/clang/lib/Basic/Builtins.cpp -nm=_ZL11BuiltinInfo; -static-type=BuiltinsStatics -package=org.clang.basic.impl") //</editor-fold> public final class BuiltinsStatics { //<editor-fold defaultstate="collapsed" desc="BuiltinInfo"> @Converted(kind = Converted.Kind.MANUAL_COMPILATION, source = "${LLVM_SRC}/llvm/tools/clang/lib/Basic/Builtins.cpp", line = 21, FQN="BuiltinInfo", NM="_ZL11BuiltinInfo", cmd="jclank.sh -java-options=${SPUTNIK}/modules/org.clang.basic/llvmToClangType ${LLVM_SRC}/llvm/tools/clang/lib/Basic/Builtins.cpp -nm=_ZL11BuiltinInfo") //</editor-fold> public static /*const*/ Builtin.Info BuiltinInfo$Clang$Builtins[/*970*/] = new /*const*/ Builtin.Info [/*970*/] { new Builtin.Info(/*KEEP_STR*/"not a builtin function", /*NULL*/(/*const*/char$ptr/*char P*/ )null, /*NULL*/(/*const*/char$ptr/*char P*/ )null, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Standard libc/libm functions: new Builtin.Info(/*KEEP_STR*/"__builtin_atan2", /*KEEP_STR*/$ddd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_atan2f", /*KEEP_STR*/$fff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_atan2l", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_abs", /*KEEP_STR*/$ii, /*KEEP_STR*/$ncF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_copysign", /*KEEP_STR*/$ddd, /*KEEP_STR*/$ncF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_copysignf", /*KEEP_STR*/$fff, /*KEEP_STR*/$ncF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_copysignl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$ncF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fabs", /*KEEP_STR*/$dd, /*KEEP_STR*/$ncF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fabsf", /*KEEP_STR*/$ff, /*KEEP_STR*/$ncF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fabsl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$ncF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fmod", /*KEEP_STR*/$ddd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fmodf", /*KEEP_STR*/$fff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fmodl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_frexp", /*KEEP_STR*/"ddi*", /*KEEP_STR*/$Fn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_frexpf", /*KEEP_STR*/"ffi*", /*KEEP_STR*/$Fn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_frexpl", /*KEEP_STR*/"LdLdi*", /*KEEP_STR*/$Fn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_huge_val", /*KEEP_STR*/$d, /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_huge_valf", /*KEEP_STR*/$f, /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_huge_vall", /*KEEP_STR*/"Ld", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_inf", /*KEEP_STR*/$d, /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_inff", /*KEEP_STR*/$f, /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_infl", /*KEEP_STR*/"Ld", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_labs", /*KEEP_STR*/"LiLi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_llabs", /*KEEP_STR*/"LLiLLi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ldexp", /*KEEP_STR*/"ddi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ldexpf", /*KEEP_STR*/"ffi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ldexpl", /*KEEP_STR*/"LdLdi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_modf", /*KEEP_STR*/"ddd*", /*KEEP_STR*/$Fn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_modff", /*KEEP_STR*/"fff*", /*KEEP_STR*/$Fn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_modfl", /*KEEP_STR*/"LdLdLd*", /*KEEP_STR*/$Fn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nan", /*KEEP_STR*/"dcC*", /*KEEP_STR*/$ncF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nanf", /*KEEP_STR*/"fcC*", /*KEEP_STR*/$ncF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nanl", /*KEEP_STR*/"LdcC*", /*KEEP_STR*/$ncF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nans", /*KEEP_STR*/"dcC*", /*KEEP_STR*/$ncF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nansf", /*KEEP_STR*/"fcC*", /*KEEP_STR*/$ncF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nansl", /*KEEP_STR*/"LdcC*", /*KEEP_STR*/$ncF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_powi", /*KEEP_STR*/"ddi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_powif", /*KEEP_STR*/"ffi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_powil", /*KEEP_STR*/"LdLdi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_pow", /*KEEP_STR*/$ddd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_powf", /*KEEP_STR*/$fff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_powl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Standard unary libc/libm functions with double/float/long double variants: new Builtin.Info(/*KEEP_STR*/"__builtin_acos", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_acosf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_acosl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_acosh", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_acoshf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_acoshl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_asin", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_asinf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_asinl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_asinh", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_asinhf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_asinhl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_atan", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_atanf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_atanl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_atanh", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_atanhf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_atanhl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cbrt", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cbrtf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cbrtl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ceil", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ceilf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ceill", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cos", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cosf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cosh", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_coshf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_coshl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cosl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_erf", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_erff", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_erfl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_erfc", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_erfcf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_erfcl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_exp", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_expf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_expl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_exp2", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_exp2f", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_exp2l", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_expm1", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_expm1f", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_expm1l", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fdim", /*KEEP_STR*/$ddd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fdimf", /*KEEP_STR*/$fff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fdiml", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_floor", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_floorf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_floorl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fma", /*KEEP_STR*/"dddd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fmaf", /*KEEP_STR*/"ffff", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fmal", /*KEEP_STR*/"LdLdLdLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fmax", /*KEEP_STR*/$ddd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fmaxf", /*KEEP_STR*/$fff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fmaxl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fmin", /*KEEP_STR*/$ddd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fminf", /*KEEP_STR*/$fff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fminl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_hypot", /*KEEP_STR*/$ddd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_hypotf", /*KEEP_STR*/$fff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_hypotl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ilogb", /*KEEP_STR*/"id", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ilogbf", /*KEEP_STR*/$if, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ilogbl", /*KEEP_STR*/"iLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_lgamma", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_lgammaf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_lgammal", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_llrint", /*KEEP_STR*/"LLid", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_llrintf", /*KEEP_STR*/"LLif", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_llrintl", /*KEEP_STR*/"LLiLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_llround", /*KEEP_STR*/"LLid", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_llroundf", /*KEEP_STR*/"LLif", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_llroundl", /*KEEP_STR*/"LLiLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_log", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_log10", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_log10f", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_log10l", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_log1p", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_log1pf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_log1pl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_log2", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_log2f", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_log2l", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_logb", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_logbf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_logbl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_logf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_logl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_lrint", /*KEEP_STR*/"Lid", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_lrintf", /*KEEP_STR*/"Lif", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_lrintl", /*KEEP_STR*/"LiLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_lround", /*KEEP_STR*/"Lid", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_lroundf", /*KEEP_STR*/"Lif", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_lroundl", /*KEEP_STR*/"LiLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nearbyint", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nearbyintf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nearbyintl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nextafter", /*KEEP_STR*/$ddd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nextafterf", /*KEEP_STR*/$fff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nextafterl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nexttoward", /*KEEP_STR*/"ddLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nexttowardf", /*KEEP_STR*/"ffLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nexttowardl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_remainder", /*KEEP_STR*/$ddd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_remainderf", /*KEEP_STR*/$fff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_remainderl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_remquo", /*KEEP_STR*/"dddi*", /*KEEP_STR*/$Fn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_remquof", /*KEEP_STR*/"fffi*", /*KEEP_STR*/$Fn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_remquol", /*KEEP_STR*/"LdLdLdi*", /*KEEP_STR*/$Fn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_rint", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_rintf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_rintl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_round", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_roundf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_roundl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_scalbln", /*KEEP_STR*/"ddLi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_scalblnf", /*KEEP_STR*/"ffLi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_scalblnl", /*KEEP_STR*/"LdLdLi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_scalbn", /*KEEP_STR*/"ddi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_scalbnf", /*KEEP_STR*/"ffi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_scalbnl", /*KEEP_STR*/"LdLdi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_sin", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_sinf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_sinh", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_sinhf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_sinhl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_sinl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_sqrt", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_sqrtf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_sqrtl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_tan", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_tanf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_tanh", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_tanhf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_tanhl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_tanl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_tgamma", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_tgammaf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_tgammal", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_trunc", /*KEEP_STR*/$dd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_truncf", /*KEEP_STR*/$ff, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_truncl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // C99 complex builtins new Builtin.Info(/*KEEP_STR*/"__builtin_cabs", /*KEEP_STR*/"dXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cabsf", /*KEEP_STR*/"fXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cabsl", /*KEEP_STR*/"LdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cacos", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cacosf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cacosh", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cacoshf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cacoshl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cacosl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_carg", /*KEEP_STR*/"dXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cargf", /*KEEP_STR*/"fXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cargl", /*KEEP_STR*/"LdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_casin", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_casinf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_casinh", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_casinhf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_casinhl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_casinl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_catan", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_catanf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_catanh", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_catanhf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_catanhl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_catanl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ccos", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ccosf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ccosl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ccosh", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ccoshf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ccoshl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cexp", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cexpf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cexpl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cimag", /*KEEP_STR*/"dXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cimagf", /*KEEP_STR*/"fXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cimagl", /*KEEP_STR*/"LdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_conj", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_conjf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_conjl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_clog", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_clogf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_clogl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cproj", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cprojf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cprojl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cpow", /*KEEP_STR*/"XdXdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cpowf", /*KEEP_STR*/"XfXfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_cpowl", /*KEEP_STR*/"XLdXLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_creal", /*KEEP_STR*/"dXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_crealf", /*KEEP_STR*/"fXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_creall", /*KEEP_STR*/"LdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_csin", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_csinf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_csinl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_csinh", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_csinhf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_csinhl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_csqrt", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_csqrtf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_csqrtl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ctan", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ctanf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ctanl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ctanh", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ctanhf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ctanhl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // FP Comparisons. new Builtin.Info(/*KEEP_STR*/"__builtin_isgreater", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_isgreaterequal", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_isless", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_islessequal", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_islessgreater", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_isunordered", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Unary FP classification new Builtin.Info(/*KEEP_STR*/"__builtin_fpclassify", /*KEEP_STR*/"iiiii.", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_isfinite", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_isinf", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_isinf_sign", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_isnan", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_isnormal", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // FP signbit builtins new Builtin.Info(/*KEEP_STR*/"__builtin_signbit", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_signbitf", /*KEEP_STR*/$if, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_signbitl", /*KEEP_STR*/"iLd", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Special FP builtins. new Builtin.Info(/*KEEP_STR*/"__builtin_canonicalize", /*KEEP_STR*/$dd, /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_canonicalizef", /*KEEP_STR*/$ff, /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_canonicalizel", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Builtins for arithmetic. new Builtin.Info(/*KEEP_STR*/"__builtin_clzs", /*KEEP_STR*/"iUs", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_clz", /*KEEP_STR*/"iUi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_clzl", /*KEEP_STR*/"iULi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_clzll", /*KEEP_STR*/"iULLi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // TODO: int clzimax(uintmax_t) new Builtin.Info(/*KEEP_STR*/"__builtin_ctzs", /*KEEP_STR*/"iUs", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ctz", /*KEEP_STR*/"iUi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ctzl", /*KEEP_STR*/"iULi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ctzll", /*KEEP_STR*/"iULLi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // TODO: int ctzimax(uintmax_t) new Builtin.Info(/*KEEP_STR*/"__builtin_ffs", /*KEEP_STR*/$ii, /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ffsl", /*KEEP_STR*/"iLi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ffsll", /*KEEP_STR*/"iLLi", /*KEEP_STR*/$Fnc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_parity", /*KEEP_STR*/"iUi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_parityl", /*KEEP_STR*/"iULi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_parityll", /*KEEP_STR*/"iULLi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_popcount", /*KEEP_STR*/"iUi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_popcountl", /*KEEP_STR*/"iULi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_popcountll", /*KEEP_STR*/"iULLi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // FIXME: These type signatures are not correct for targets with int != 32-bits // or with ULL != 64-bits. new Builtin.Info(/*KEEP_STR*/"__builtin_bswap16", /*KEEP_STR*/"UsUs", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_bswap32", /*KEEP_STR*/"UiUi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_bswap64", /*KEEP_STR*/"ULLiULLi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_bitreverse8", /*KEEP_STR*/"UcUc", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_bitreverse16", /*KEEP_STR*/"UsUs", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_bitreverse32", /*KEEP_STR*/"UiUi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_bitreverse64", /*KEEP_STR*/"ULLiULLi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Random GCC builtins new Builtin.Info(/*KEEP_STR*/"__builtin_constant_p", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$nctu, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_classify_type", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$nctu, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___CFStringMakeConstantString", /*KEEP_STR*/"FC*cC*", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___NSStringMakeConstantString", /*KEEP_STR*/"FC*cC*", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_va_start", /*KEEP_STR*/"vA.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_va_end", /*KEEP_STR*/"vA", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_va_copy", /*KEEP_STR*/"vAA", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_stdarg_start", /*KEEP_STR*/"vA.", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_assume_aligned", /*KEEP_STR*/"v*vC*z.", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_bcmp", /*KEEP_STR*/"iv*v*z", /*KEEP_STR*/$Fn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_bcopy", /*KEEP_STR*/"vv*v*z", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_bzero", /*KEEP_STR*/"vv*z", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_fprintf", /*KEEP_STR*/"iP*cC*.", /*KEEP_STR*/"Fp:1:", /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_memchr", /*KEEP_STR*/"v*vC*iz", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_memcmp", /*KEEP_STR*/"ivC*vC*z", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_memcpy", /*KEEP_STR*/"v*v*vC*z", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_memmove", /*KEEP_STR*/"v*v*vC*z", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_mempcpy", /*KEEP_STR*/"v*v*vC*z", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_memset", /*KEEP_STR*/"v*v*iz", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_printf", /*KEEP_STR*/"icC*.", /*KEEP_STR*/"Fp:0:", /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_stpcpy", /*KEEP_STR*/"c*c*cC*", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_stpncpy", /*KEEP_STR*/"c*c*cC*z", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strcasecmp", /*KEEP_STR*/"icC*cC*", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strcat", /*KEEP_STR*/"c*c*cC*", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strchr", /*KEEP_STR*/"c*cC*i", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strcmp", /*KEEP_STR*/"icC*cC*", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strcpy", /*KEEP_STR*/"c*c*cC*", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strcspn", /*KEEP_STR*/"zcC*cC*", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strdup", /*KEEP_STR*/"c*cC*", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strlen", /*KEEP_STR*/"zcC*", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strncasecmp", /*KEEP_STR*/"icC*cC*z", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strncat", /*KEEP_STR*/"c*c*cC*z", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strncmp", /*KEEP_STR*/"icC*cC*z", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strncpy", /*KEEP_STR*/"c*c*cC*z", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strndup", /*KEEP_STR*/"c*cC*z", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strpbrk", /*KEEP_STR*/"c*cC*cC*", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strrchr", /*KEEP_STR*/"c*cC*i", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strspn", /*KEEP_STR*/"zcC*cC*", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_strstr", /*KEEP_STR*/"c*cC*cC*", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_return_address", /*KEEP_STR*/"v*IUi", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_extract_return_addr", /*KEEP_STR*/"v*v*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_frame_address", /*KEEP_STR*/"v*IUi", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___clear_cache", /*KEEP_STR*/"vc*c*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_flt_rounds", /*KEEP_STR*/$i, /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_setjmp", /*KEEP_STR*/"iv**", /*KEEP_STR*/$j, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_longjmp", /*KEEP_STR*/"vv**i", /*KEEP_STR*/$r, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_unwind_init", /*KEEP_STR*/$v, /*KEEP_STR*/$EMPTY, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_eh_return_data_regno", /*KEEP_STR*/"iIi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_snprintf", /*KEEP_STR*/"ic*zcC*.", /*KEEP_STR*/"nFp:2:", /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_vsprintf", /*KEEP_STR*/"ic*cC*a", /*KEEP_STR*/"nFP:1:", /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_vsnprintf", /*KEEP_STR*/"ic*zcC*a", /*KEEP_STR*/"nFP:2:", /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_thread_pointer", /*KEEP_STR*/"v*", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // GCC exception builtins new Builtin.Info(/*KEEP_STR*/"__builtin_eh_return", /*KEEP_STR*/"vzv*", /*KEEP_STR*/$r, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // FIXME: Takes intptr_t, not size_t! new Builtin.Info(/*KEEP_STR*/"__builtin_frob_return_addr", /*KEEP_STR*/"v*v*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_dwarf_cfa", /*KEEP_STR*/"v*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_init_dwarf_reg_size_table", /*KEEP_STR*/"vv*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_dwarf_sp_column", /*KEEP_STR*/"Ui", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_extend_pointer", /*KEEP_STR*/"ULLiv*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // _Unwind_Word == uint64_t // GCC Object size checking builtins new Builtin.Info(/*KEEP_STR*/"__builtin_object_size", /*KEEP_STR*/"zvC*i", /*KEEP_STR*/$nu, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___memcpy_chk", /*KEEP_STR*/"v*v*vC*zz", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___memccpy_chk", /*KEEP_STR*/"v*v*vC*izz", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___memmove_chk", /*KEEP_STR*/"v*v*vC*zz", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___mempcpy_chk", /*KEEP_STR*/"v*v*vC*zz", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___memset_chk", /*KEEP_STR*/"v*v*izz", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___stpcpy_chk", /*KEEP_STR*/"c*c*cC*z", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___strcat_chk", /*KEEP_STR*/"c*c*cC*z", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___strcpy_chk", /*KEEP_STR*/"c*c*cC*z", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___strlcat_chk", /*KEEP_STR*/"zc*cC*zz", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___strlcpy_chk", /*KEEP_STR*/"zc*cC*zz", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___strncat_chk", /*KEEP_STR*/"c*c*cC*zz", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___strncpy_chk", /*KEEP_STR*/"c*c*cC*zz", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___stpncpy_chk", /*KEEP_STR*/"c*c*cC*zz", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___snprintf_chk", /*KEEP_STR*/"ic*zizcC*.", /*KEEP_STR*/"Fp:4:", /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___sprintf_chk", /*KEEP_STR*/"ic*izcC*.", /*KEEP_STR*/"Fp:3:", /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___vsnprintf_chk", /*KEEP_STR*/"ic*zizcC*a", /*KEEP_STR*/"FP:4:", /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___vsprintf_chk", /*KEEP_STR*/"ic*izcC*a", /*KEEP_STR*/"FP:3:", /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___fprintf_chk", /*KEEP_STR*/"iP*icC*.", /*KEEP_STR*/"Fp:2:", /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___printf_chk", /*KEEP_STR*/"iicC*.", /*KEEP_STR*/"Fp:1:", /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___vfprintf_chk", /*KEEP_STR*/"iP*icC*a", /*KEEP_STR*/"FP:2:", /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___vprintf_chk", /*KEEP_STR*/"iicC*a", /*KEEP_STR*/"FP:1:", /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_unpredictable", /*KEEP_STR*/"LiLi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_expect", /*KEEP_STR*/"LiLiLi", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_prefetch", /*KEEP_STR*/"vvC*.", /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_readcyclecounter", /*KEEP_STR*/"ULLi", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_trap", /*KEEP_STR*/$v, /*KEEP_STR*/$nr, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_debugtrap", /*KEEP_STR*/$v, /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_unreachable", /*KEEP_STR*/$v, /*KEEP_STR*/$nr, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_shufflevector", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$nc, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_convertvector", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$nct, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_alloca", /*KEEP_STR*/"v*z", /*KEEP_STR*/$Fn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_call_with_static_chain", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // "Overloaded" Atomic operator builtins. These are overloaded to support data // types of i8, i16, i32, i64, and i128. The front-end sees calls to the // non-suffixed version of these (which has a bogus type) and transforms them to // the right overloaded version in Sema (plus casts). // FIXME: These assume that char -> i8, short -> i16, int -> i32, // long long -> i64. new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_add", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_add_1", /*KEEP_STR*/"ccD*c.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_add_2", /*KEEP_STR*/"ssD*s.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_add_4", /*KEEP_STR*/"iiD*i.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_add_8", /*KEEP_STR*/"LLiLLiD*LLi.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_add_16", /*KEEP_STR*/"LLLiLLLiD*LLLi.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_sub", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_sub_1", /*KEEP_STR*/"ccD*c.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_sub_2", /*KEEP_STR*/"ssD*s.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_sub_4", /*KEEP_STR*/"iiD*i.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_sub_8", /*KEEP_STR*/"LLiLLiD*LLi.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_sub_16", /*KEEP_STR*/"LLLiLLLiD*LLLi.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_or", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_or_1", /*KEEP_STR*/"ccD*c.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_or_2", /*KEEP_STR*/"ssD*s.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_or_4", /*KEEP_STR*/"iiD*i.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_or_8", /*KEEP_STR*/"LLiLLiD*LLi.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_or_16", /*KEEP_STR*/"LLLiLLLiD*LLLi.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_and", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_and_1", /*KEEP_STR*/"ccD*c.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_and_2", /*KEEP_STR*/"ssD*s.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_and_4", /*KEEP_STR*/"iiD*i.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_and_8", /*KEEP_STR*/"LLiLLiD*LLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_and_16", /*KEEP_STR*/"LLLiLLLiD*LLLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_xor", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_xor_1", /*KEEP_STR*/"ccD*c.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_xor_2", /*KEEP_STR*/"ssD*s.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_xor_4", /*KEEP_STR*/"iiD*i.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_xor_8", /*KEEP_STR*/"LLiLLiD*LLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_xor_16", /*KEEP_STR*/"LLLiLLLiD*LLLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_nand", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_nand_1", /*KEEP_STR*/"ccD*c.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_nand_2", /*KEEP_STR*/"ssD*s.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_nand_4", /*KEEP_STR*/"iiD*i.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_nand_8", /*KEEP_STR*/"LLiLLiD*LLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_nand_16", /*KEEP_STR*/"LLLiLLLiD*LLLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_add_and_fetch", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_add_and_fetch_1", /*KEEP_STR*/"ccD*c.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_add_and_fetch_2", /*KEEP_STR*/"ssD*s.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_add_and_fetch_4", /*KEEP_STR*/"iiD*i.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_add_and_fetch_8", /*KEEP_STR*/"LLiLLiD*LLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_add_and_fetch_16", /*KEEP_STR*/"LLLiLLLiD*LLLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_sub_and_fetch", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_sub_and_fetch_1", /*KEEP_STR*/"ccD*c.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_sub_and_fetch_2", /*KEEP_STR*/"ssD*s.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_sub_and_fetch_4", /*KEEP_STR*/"iiD*i.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_sub_and_fetch_8", /*KEEP_STR*/"LLiLLiD*LLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_sub_and_fetch_16", /*KEEP_STR*/"LLLiLLLiD*LLLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_or_and_fetch", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_or_and_fetch_1", /*KEEP_STR*/"ccD*c.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_or_and_fetch_2", /*KEEP_STR*/"ssD*s.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_or_and_fetch_4", /*KEEP_STR*/"iiD*i.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_or_and_fetch_8", /*KEEP_STR*/"LLiLLiD*LLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_or_and_fetch_16", /*KEEP_STR*/"LLLiLLLiD*LLLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_and_and_fetch", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_and_and_fetch_1", /*KEEP_STR*/"ccD*c.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_and_and_fetch_2", /*KEEP_STR*/"ssD*s.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_and_and_fetch_4", /*KEEP_STR*/"iiD*i.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_and_and_fetch_8", /*KEEP_STR*/"LLiLLiD*LLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_and_and_fetch_16", /*KEEP_STR*/"LLLiLLLiD*LLLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_xor_and_fetch", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_xor_and_fetch_1", /*KEEP_STR*/"ccD*c.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_xor_and_fetch_2", /*KEEP_STR*/"ssD*s.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_xor_and_fetch_4", /*KEEP_STR*/"iiD*i.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_xor_and_fetch_8", /*KEEP_STR*/"LLiLLiD*LLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_xor_and_fetch_16", /*KEEP_STR*/"LLLiLLLiD*LLLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_nand_and_fetch", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_nand_and_fetch_1", /*KEEP_STR*/"ccD*c.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_nand_and_fetch_2", /*KEEP_STR*/"ssD*s.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_nand_and_fetch_4", /*KEEP_STR*/"iiD*i.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_nand_and_fetch_8", /*KEEP_STR*/"LLiLLiD*LLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_nand_and_fetch_16", /*KEEP_STR*/"LLLiLLLiD*LLLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_bool_compare_and_swap", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_bool_compare_and_swap_1", /*KEEP_STR*/"bcD*cc.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_bool_compare_and_swap_2", /*KEEP_STR*/"bsD*ss.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_bool_compare_and_swap_4", /*KEEP_STR*/"biD*ii.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_bool_compare_and_swap_8", /*KEEP_STR*/"bLLiD*LLiLLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_bool_compare_and_swap_16", /*KEEP_STR*/"bLLLiD*LLLiLLLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_val_compare_and_swap", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_val_compare_and_swap_1", /*KEEP_STR*/"ccD*cc.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_val_compare_and_swap_2", /*KEEP_STR*/"ssD*ss.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_val_compare_and_swap_4", /*KEEP_STR*/"iiD*ii.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_val_compare_and_swap_8", /*KEEP_STR*/"LLiLLiD*LLiLLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_val_compare_and_swap_16", /*KEEP_STR*/"LLLiLLLiD*LLLiLLLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_lock_test_and_set", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_lock_test_and_set_1", /*KEEP_STR*/"ccD*c.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_lock_test_and_set_2", /*KEEP_STR*/"ssD*s.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_lock_test_and_set_4", /*KEEP_STR*/"iiD*i.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_lock_test_and_set_8", /*KEEP_STR*/"LLiLLiD*LLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_lock_test_and_set_16", /*KEEP_STR*/"LLLiLLLiD*LLLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_lock_release", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_lock_release_1", /*KEEP_STR*/"vcD*.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_lock_release_2", /*KEEP_STR*/"vsD*.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_lock_release_4", /*KEEP_STR*/"viD*.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_lock_release_8", /*KEEP_STR*/"vLLiD*.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_lock_release_16", /*KEEP_STR*/"vLLLiD*.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_swap", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_swap_1", /*KEEP_STR*/"ccD*c.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_swap_2", /*KEEP_STR*/"ssD*s.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_swap_4", /*KEEP_STR*/"iiD*i.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_swap_8", /*KEEP_STR*/"LLiLLiD*LLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_swap_16", /*KEEP_STR*/"LLLiLLLiD*LLLi.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // C11 _Atomic operations for <stdatomic.h>. new Builtin.Info(/*KEEP_STR*/"__c11_atomic_init", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__c11_atomic_load", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__c11_atomic_store", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__c11_atomic_exchange", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__c11_atomic_compare_exchange_strong", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__c11_atomic_compare_exchange_weak", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__c11_atomic_fetch_add", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__c11_atomic_fetch_sub", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__c11_atomic_fetch_and", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__c11_atomic_fetch_or", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__c11_atomic_fetch_xor", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__c11_atomic_thread_fence", /*KEEP_STR*/"vi", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__c11_atomic_signal_fence", /*KEEP_STR*/"vi", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__c11_atomic_is_lock_free", /*KEEP_STR*/"iz", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // GNU atomic builtins. new Builtin.Info(/*KEEP_STR*/"__atomic_load", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_load_n", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_store", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_store_n", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_exchange", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_exchange_n", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_compare_exchange", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_compare_exchange_n", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_fetch_add", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_fetch_sub", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_fetch_and", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_fetch_or", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_fetch_xor", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_fetch_nand", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_add_fetch", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_sub_fetch", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_and_fetch", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_or_fetch", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_xor_fetch", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_nand_fetch", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_test_and_set", /*KEEP_STR*/"bvD*i", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_clear", /*KEEP_STR*/"vvD*i", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_thread_fence", /*KEEP_STR*/"vi", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_signal_fence", /*KEEP_STR*/"vi", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_always_lock_free", /*KEEP_STR*/"izvCD*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__atomic_is_lock_free", /*KEEP_STR*/"izvCD*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Non-overloaded atomic builtins. new Builtin.Info(/*KEEP_STR*/"__sync_synchronize", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // GCC does not support these, they are a Clang extension. new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_min", /*KEEP_STR*/"iiD*i", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_max", /*KEEP_STR*/"iiD*i", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_umin", /*KEEP_STR*/"UiUiD*Ui", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sync_fetch_and_umax", /*KEEP_STR*/"UiUiD*Ui", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Random libc builtins. new Builtin.Info(/*KEEP_STR*/"__builtin_abort", /*KEEP_STR*/$v, /*KEEP_STR*/"Fnr", /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_index", /*KEEP_STR*/"c*cC*i", /*KEEP_STR*/$Fn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_rindex", /*KEEP_STR*/"c*cC*i", /*KEEP_STR*/$Fn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Microsoft builtins. These are only active with -fms-extensions. new Builtin.Info(/*KEEP_STR*/"_alloca", /*KEEP_STR*/"v*z", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__assume", /*KEEP_STR*/"vb", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__debugbreak", /*KEEP_STR*/$v, /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__exception_code", /*KEEP_STR*/"ULi", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"_exception_code", /*KEEP_STR*/"ULi", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__exception_info", /*KEEP_STR*/"v*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"_exception_info", /*KEEP_STR*/"v*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__abnormal_termination", /*KEEP_STR*/$i, /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"_abnormal_termination", /*KEEP_STR*/$i, /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__GetExceptionInfo", /*KEEP_STR*/"v*.", /*KEEP_STR*/"ntu", /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"_InterlockedCompareExchange", /*KEEP_STR*/"LiLiD*LiLi", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"_InterlockedCompareExchangePointer", /*KEEP_STR*/"v*v*D*v*v*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"_InterlockedDecrement", /*KEEP_STR*/"LiLiD*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"_InterlockedExchangeAdd", /*KEEP_STR*/"LiLiD*Li", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"_InterlockedExchange", /*KEEP_STR*/"LiLiD*Li", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"_InterlockedExchangePointer", /*KEEP_STR*/"v*v*D*v*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"_InterlockedIncrement", /*KEEP_STR*/"LiLiD*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__noop", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__readfsdword", /*KEEP_STR*/"ULiULi", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__va_start", /*KEEP_STR*/"vc**.", /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Microsoft library builtins. new Builtin.Info(/*KEEP_STR*/"_setjmpex", /*KEEP_STR*/"iJ", /*KEEP_STR*/"fj", /*KEEP_STR*/"setjmpex.h", LanguageID.ALL_MS_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // C99 library functions // C99 stdlib.h new Builtin.Info(/*KEEP_STR*/"abort", /*KEEP_STR*/$v, /*KEEP_STR*/"fr", /*KEEP_STR*/"stdlib.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"calloc", /*KEEP_STR*/"v*zz", /*KEEP_STR*/$f, /*KEEP_STR*/"stdlib.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"exit", /*KEEP_STR*/"vi", /*KEEP_STR*/"fr", /*KEEP_STR*/"stdlib.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"_Exit", /*KEEP_STR*/"vi", /*KEEP_STR*/"fr", /*KEEP_STR*/"stdlib.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"malloc", /*KEEP_STR*/"v*z", /*KEEP_STR*/$f, /*KEEP_STR*/"stdlib.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"realloc", /*KEEP_STR*/"v*v*z", /*KEEP_STR*/$f, /*KEEP_STR*/"stdlib.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // C99 string.h new Builtin.Info(/*KEEP_STR*/"memcpy", /*KEEP_STR*/"v*v*vC*z", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"memcmp", /*KEEP_STR*/"ivC*vC*z", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"memmove", /*KEEP_STR*/"v*v*vC*z", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strcpy", /*KEEP_STR*/"c*c*cC*", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strncpy", /*KEEP_STR*/"c*c*cC*z", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strcmp", /*KEEP_STR*/"icC*cC*", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strncmp", /*KEEP_STR*/"icC*cC*z", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strcat", /*KEEP_STR*/"c*c*cC*", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strncat", /*KEEP_STR*/"c*c*cC*z", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strxfrm", /*KEEP_STR*/"zc*cC*z", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"memchr", /*KEEP_STR*/"v*vC*iz", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strchr", /*KEEP_STR*/"c*cC*i", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strcspn", /*KEEP_STR*/"zcC*cC*", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strpbrk", /*KEEP_STR*/"c*cC*cC*", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strrchr", /*KEEP_STR*/"c*cC*i", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strspn", /*KEEP_STR*/"zcC*cC*", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strstr", /*KEEP_STR*/"c*cC*cC*", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strtok", /*KEEP_STR*/"c*c*cC*", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"memset", /*KEEP_STR*/"v*v*iz", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strerror", /*KEEP_STR*/"c*i", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strlen", /*KEEP_STR*/"zcC*", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // C99 stdio.h new Builtin.Info(/*KEEP_STR*/"printf", /*KEEP_STR*/"icC*.", /*KEEP_STR*/"fp:0:", /*KEEP_STR*/"stdio.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fprintf", /*KEEP_STR*/"iP*cC*.", /*KEEP_STR*/"fp:1:", /*KEEP_STR*/"stdio.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"snprintf", /*KEEP_STR*/"ic*zcC*.", /*KEEP_STR*/"fp:2:", /*KEEP_STR*/"stdio.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sprintf", /*KEEP_STR*/"ic*cC*.", /*KEEP_STR*/"fp:1:", /*KEEP_STR*/"stdio.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"vprintf", /*KEEP_STR*/"icC*a", /*KEEP_STR*/"fP:0:", /*KEEP_STR*/"stdio.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"vfprintf", /*KEEP_STR*/$iDOT, /*KEEP_STR*/"fP:1:", /*KEEP_STR*/"stdio.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"vsnprintf", /*KEEP_STR*/"ic*zcC*a", /*KEEP_STR*/"fP:2:", /*KEEP_STR*/"stdio.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"vsprintf", /*KEEP_STR*/"ic*cC*a", /*KEEP_STR*/"fP:1:", /*KEEP_STR*/"stdio.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"scanf", /*KEEP_STR*/"icC*R.", /*KEEP_STR*/"fs:0:", /*KEEP_STR*/"stdio.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fscanf", /*KEEP_STR*/"iP*RcC*R.", /*KEEP_STR*/"fs:1:", /*KEEP_STR*/"stdio.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sscanf", /*KEEP_STR*/"icC*RcC*R.", /*KEEP_STR*/"fs:1:", /*KEEP_STR*/"stdio.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"vscanf", /*KEEP_STR*/"icC*Ra", /*KEEP_STR*/"fS:0:", /*KEEP_STR*/"stdio.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"vfscanf", /*KEEP_STR*/"iP*RcC*Ra", /*KEEP_STR*/"fS:1:", /*KEEP_STR*/"stdio.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"vsscanf", /*KEEP_STR*/"icC*RcC*Ra", /*KEEP_STR*/"fS:1:", /*KEEP_STR*/"stdio.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // C99 ctype.h new Builtin.Info(/*KEEP_STR*/"isalnum", /*KEEP_STR*/$ii, /*KEEP_STR*/"fnU", /*KEEP_STR*/"ctype.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"isalpha", /*KEEP_STR*/$ii, /*KEEP_STR*/"fnU", /*KEEP_STR*/"ctype.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"isblank", /*KEEP_STR*/$ii, /*KEEP_STR*/"fnU", /*KEEP_STR*/"ctype.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"iscntrl", /*KEEP_STR*/$ii, /*KEEP_STR*/"fnU", /*KEEP_STR*/"ctype.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"isdigit", /*KEEP_STR*/$ii, /*KEEP_STR*/"fnU", /*KEEP_STR*/"ctype.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"isgraph", /*KEEP_STR*/$ii, /*KEEP_STR*/"fnU", /*KEEP_STR*/"ctype.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"islower", /*KEEP_STR*/$ii, /*KEEP_STR*/"fnU", /*KEEP_STR*/"ctype.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"isprint", /*KEEP_STR*/$ii, /*KEEP_STR*/"fnU", /*KEEP_STR*/"ctype.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ispunct", /*KEEP_STR*/$ii, /*KEEP_STR*/"fnU", /*KEEP_STR*/"ctype.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"isspace", /*KEEP_STR*/$ii, /*KEEP_STR*/"fnU", /*KEEP_STR*/"ctype.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"isupper", /*KEEP_STR*/$ii, /*KEEP_STR*/"fnU", /*KEEP_STR*/"ctype.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"isxdigit", /*KEEP_STR*/$ii, /*KEEP_STR*/"fnU", /*KEEP_STR*/"ctype.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"tolower", /*KEEP_STR*/$ii, /*KEEP_STR*/"fnU", /*KEEP_STR*/"ctype.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"toupper", /*KEEP_STR*/$ii, /*KEEP_STR*/"fnU", /*KEEP_STR*/"ctype.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"setjmp", /*KEEP_STR*/"iJ", /*KEEP_STR*/"fj", /*KEEP_STR*/"setjmp.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"longjmp", /*KEEP_STR*/"vJi", /*KEEP_STR*/"fr", /*KEEP_STR*/"setjmp.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Non-C library functions, active in GNU mode only. // Functions with (returns_twice) attribute (marked as "j") are still active in // all languages, because losing this attribute would result in miscompilation // when these functions are used in non-GNU mode. PR16138. new Builtin.Info(/*KEEP_STR*/"alloca", /*KEEP_STR*/"v*z", /*KEEP_STR*/$f, /*KEEP_STR*/"stdlib.h", LanguageID.ALL_GNU_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // POSIX string.h new Builtin.Info(/*KEEP_STR*/"stpcpy", /*KEEP_STR*/"c*c*cC*", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_GNU_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"stpncpy", /*KEEP_STR*/"c*c*cC*z", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_GNU_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strdup", /*KEEP_STR*/"c*cC*", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_GNU_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strndup", /*KEEP_STR*/"c*cC*z", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_GNU_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // POSIX strings.h new Builtin.Info(/*KEEP_STR*/"index", /*KEEP_STR*/"c*cC*i", /*KEEP_STR*/$f, /*KEEP_STR*/"strings.h", LanguageID.ALL_GNU_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"rindex", /*KEEP_STR*/"c*cC*i", /*KEEP_STR*/$f, /*KEEP_STR*/"strings.h", LanguageID.ALL_GNU_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"bzero", /*KEEP_STR*/"vv*z", /*KEEP_STR*/$f, /*KEEP_STR*/"strings.h", LanguageID.ALL_GNU_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strcasecmp", /*KEEP_STR*/"icC*cC*", /*KEEP_STR*/$f, /*KEEP_STR*/"strings.h", LanguageID.ALL_GNU_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strncasecmp", /*KEEP_STR*/"icC*cC*z", /*KEEP_STR*/$f, /*KEEP_STR*/"strings.h", LanguageID.ALL_GNU_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // POSIX unistd.h new Builtin.Info(/*KEEP_STR*/"_exit", /*KEEP_STR*/"vi", /*KEEP_STR*/"fr", /*KEEP_STR*/"unistd.h", LanguageID.ALL_GNU_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"vfork", /*KEEP_STR*/$p, /*KEEP_STR*/"fj", /*KEEP_STR*/"unistd.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // POSIX setjmp.h new Builtin.Info(/*KEEP_STR*/"_setjmp", /*KEEP_STR*/"iJ", /*KEEP_STR*/"fj", /*KEEP_STR*/"setjmp.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sigsetjmp", /*KEEP_STR*/"iSJi", /*KEEP_STR*/"fj", /*KEEP_STR*/"setjmp.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sigsetjmp", /*KEEP_STR*/"iSJi", /*KEEP_STR*/"fj", /*KEEP_STR*/"setjmp.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"setjmp_syscall", /*KEEP_STR*/"iJ", /*KEEP_STR*/"fj", /*KEEP_STR*/"setjmp.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"savectx", /*KEEP_STR*/"iJ", /*KEEP_STR*/"fj", /*KEEP_STR*/"setjmp.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"qsetjmp", /*KEEP_STR*/"iJ", /*KEEP_STR*/"fj", /*KEEP_STR*/"setjmp.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"getcontext", /*KEEP_STR*/"iK*", /*KEEP_STR*/"fj", /*KEEP_STR*/"setjmp.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"_longjmp", /*KEEP_STR*/"vJi", /*KEEP_STR*/"fr", /*KEEP_STR*/"setjmp.h", LanguageID.ALL_GNU_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"siglongjmp", /*KEEP_STR*/"vSJi", /*KEEP_STR*/"fr", /*KEEP_STR*/"setjmp.h", LanguageID.ALL_GNU_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // non-standard but very common new Builtin.Info(/*KEEP_STR*/"strlcpy", /*KEEP_STR*/"zc*cC*z", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_GNU_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"strlcat", /*KEEP_STR*/"zc*cC*z", /*KEEP_STR*/$f, /*KEEP_STR*/"string.h", LanguageID.ALL_GNU_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // id objc_msgSend(id, SEL, ...) new Builtin.Info(/*KEEP_STR*/"objc_msgSend", /*KEEP_STR*/"GGH.", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/message.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // long double objc_msgSend_fpret(id self, SEL op, ...) new Builtin.Info(/*KEEP_STR*/"objc_msgSend_fpret", /*KEEP_STR*/"LdGH.", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/message.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // _Complex long double objc_msgSend_fp2ret(id self, SEL op, ...) new Builtin.Info(/*KEEP_STR*/"objc_msgSend_fp2ret", /*KEEP_STR*/"XLdGH.", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/message.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // void objc_msgSend_stret (id, SEL, ...) new Builtin.Info(/*KEEP_STR*/"objc_msgSend_stret", /*KEEP_STR*/"vGH.", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/message.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // id objc_msgSendSuper(struct objc_super *super, SEL op, ...) new Builtin.Info(/*KEEP_STR*/"objc_msgSendSuper", /*KEEP_STR*/"GM*H.", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/message.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // void objc_msgSendSuper_stret(struct objc_super *super, SEL op, ...) new Builtin.Info(/*KEEP_STR*/"objc_msgSendSuper_stret", /*KEEP_STR*/"vM*H.", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/message.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // id objc_getClass(const char *name) new Builtin.Info(/*KEEP_STR*/"objc_getClass", /*KEEP_STR*/"GcC*", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/runtime.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // id objc_getMetaClass(const char *name) new Builtin.Info(/*KEEP_STR*/"objc_getMetaClass", /*KEEP_STR*/"GcC*", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/runtime.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // void objc_enumerationMutation(id) new Builtin.Info(/*KEEP_STR*/"objc_enumerationMutation", /*KEEP_STR*/"vG", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/runtime.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // id objc_read_weak(id *location) new Builtin.Info(/*KEEP_STR*/"objc_read_weak", /*KEEP_STR*/"GG*", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/objc-auto.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // id objc_assign_weak(id value, id *location) new Builtin.Info(/*KEEP_STR*/"objc_assign_weak", /*KEEP_STR*/"GGG*", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/objc-auto.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // id objc_assign_ivar(id value, id dest, ptrdiff_t offset) new Builtin.Info(/*KEEP_STR*/"objc_assign_ivar", /*KEEP_STR*/"GGGY", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/objc-auto.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // id objc_assign_global(id val, id *dest) new Builtin.Info(/*KEEP_STR*/"objc_assign_global", /*KEEP_STR*/"GGG*", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/objc-auto.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // id objc_assign_strongCast(id val, id *dest new Builtin.Info(/*KEEP_STR*/"objc_assign_strongCast", /*KEEP_STR*/"GGG*", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/objc-auto.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // id objc_exception_extract(void *localExceptionData) new Builtin.Info(/*KEEP_STR*/"objc_exception_extract", /*KEEP_STR*/"Gv*", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/objc-exception.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // void objc_exception_try_enter(void *localExceptionData) new Builtin.Info(/*KEEP_STR*/"objc_exception_try_enter", /*KEEP_STR*/"vv*", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/objc-exception.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // void objc_exception_try_exit(void *localExceptionData) new Builtin.Info(/*KEEP_STR*/"objc_exception_try_exit", /*KEEP_STR*/"vv*", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/objc-exception.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // int objc_exception_match(Class exceptionClass, id exception) new Builtin.Info(/*KEEP_STR*/"objc_exception_match", /*KEEP_STR*/"iGG", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/objc-exception.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // void objc_exception_throw(id exception) new Builtin.Info(/*KEEP_STR*/"objc_exception_throw", /*KEEP_STR*/"vG", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/objc-exception.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // int objc_sync_enter(id obj) new Builtin.Info(/*KEEP_STR*/"objc_sync_enter", /*KEEP_STR*/"iG", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/objc-sync.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // int objc_sync_exit(id obj) new Builtin.Info(/*KEEP_STR*/"objc_sync_exit", /*KEEP_STR*/"iG", /*KEEP_STR*/$f, /*KEEP_STR*/"objc/objc-sync.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_objc_memmove_collectable", /*KEEP_STR*/"v*v*vC*z", /*KEEP_STR*/$nF, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // void NSLog(NSString *fmt, ...) new Builtin.Info(/*KEEP_STR*/"NSLog", /*KEEP_STR*/"vG.", /*KEEP_STR*/"fp:0:", /*KEEP_STR*/"Foundation/NSObjCRuntime.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // void NSLogv(NSString *fmt, va_list args) new Builtin.Info(/*KEEP_STR*/"NSLogv", /*KEEP_STR*/"vGa", /*KEEP_STR*/"fP:0:", /*KEEP_STR*/"Foundation/NSObjCRuntime.h", LanguageID.OBJC_LANG, (/*const*/char$ptr/*char P*/ )null), // Builtin math library functions new Builtin.Info(/*KEEP_STR*/"atan2", /*KEEP_STR*/$ddd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"atan2f", /*KEEP_STR*/$fff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"atan2l", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"abs", /*KEEP_STR*/$ii, /*KEEP_STR*/$fnc, /*KEEP_STR*/"stdlib.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"labs", /*KEEP_STR*/"LiLi", /*KEEP_STR*/$fnc, /*KEEP_STR*/"stdlib.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"llabs", /*KEEP_STR*/"LLiLLi", /*KEEP_STR*/$fnc, /*KEEP_STR*/"stdlib.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"copysign", /*KEEP_STR*/$ddd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"copysignf", /*KEEP_STR*/$fff, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"copysignl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fabs", /*KEEP_STR*/$dd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fabsf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fabsl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fmod", /*KEEP_STR*/$ddd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fmodf", /*KEEP_STR*/$fff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fmodl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"frexp", /*KEEP_STR*/"ddi*", /*KEEP_STR*/$fn, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"frexpf", /*KEEP_STR*/"ffi*", /*KEEP_STR*/$fn, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"frexpl", /*KEEP_STR*/"LdLdi*", /*KEEP_STR*/$fn, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ldexp", /*KEEP_STR*/"ddi", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ldexpf", /*KEEP_STR*/"ffi", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ldexpl", /*KEEP_STR*/"LdLdi", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"modf", /*KEEP_STR*/"ddd*", /*KEEP_STR*/$fn, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"modff", /*KEEP_STR*/"fff*", /*KEEP_STR*/$fn, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"modfl", /*KEEP_STR*/"LdLdLd*", /*KEEP_STR*/$fn, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"nan", /*KEEP_STR*/"dcC*", /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"nanf", /*KEEP_STR*/"fcC*", /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"nanl", /*KEEP_STR*/"LdcC*", /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"pow", /*KEEP_STR*/$ddd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"powf", /*KEEP_STR*/$fff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"powl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"acos", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"acosf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"acosl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"acosh", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"acoshf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"acoshl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"asin", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"asinf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"asinl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"asinh", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"asinhf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"asinhl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"atan", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"atanf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"atanl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"atanh", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"atanhf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"atanhl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cbrt", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cbrtf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cbrtl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ceil", /*KEEP_STR*/$dd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ceilf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ceill", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cos", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cosf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cosl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cosh", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"coshf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"coshl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"erf", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"erff", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"erfl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"erfc", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"erfcf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"erfcl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"exp", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"expf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"expl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"exp2", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"exp2f", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"exp2l", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"expm1", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"expm1f", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"expm1l", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fdim", /*KEEP_STR*/$ddd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fdimf", /*KEEP_STR*/$fff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fdiml", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"floor", /*KEEP_STR*/$dd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"floorf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"floorl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fma", /*KEEP_STR*/"dddd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fmaf", /*KEEP_STR*/"ffff", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fmal", /*KEEP_STR*/"LdLdLdLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fmax", /*KEEP_STR*/$ddd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fmaxf", /*KEEP_STR*/$fff, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fmaxl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fmin", /*KEEP_STR*/$ddd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fminf", /*KEEP_STR*/$fff, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"fminl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"hypot", /*KEEP_STR*/$ddd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"hypotf", /*KEEP_STR*/$fff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"hypotl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ilogb", /*KEEP_STR*/"id", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ilogbf", /*KEEP_STR*/$if, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ilogbl", /*KEEP_STR*/"iLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"lgamma", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"lgammaf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"lgammal", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"llrint", /*KEEP_STR*/"LLid", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"llrintf", /*KEEP_STR*/"LLif", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"llrintl", /*KEEP_STR*/"LLiLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"llround", /*KEEP_STR*/"LLid", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"llroundf", /*KEEP_STR*/"LLif", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"llroundl", /*KEEP_STR*/"LLiLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"log", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"logf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"logl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"log10", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"log10f", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"log10l", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"log1p", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"log1pf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"log1pl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"log2", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"log2f", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"log2l", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"logb", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"logbf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"logbl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"lrint", /*KEEP_STR*/"Lid", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"lrintf", /*KEEP_STR*/"Lif", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"lrintl", /*KEEP_STR*/"LiLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"lround", /*KEEP_STR*/"Lid", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"lroundf", /*KEEP_STR*/"Lif", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"lroundl", /*KEEP_STR*/"LiLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"nearbyint", /*KEEP_STR*/$dd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"nearbyintf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"nearbyintl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"nextafter", /*KEEP_STR*/$ddd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"nextafterf", /*KEEP_STR*/$fff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"nextafterl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"nexttoward", /*KEEP_STR*/"ddLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"nexttowardf", /*KEEP_STR*/"ffLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"nexttowardl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"remainder", /*KEEP_STR*/$ddd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"remainderf", /*KEEP_STR*/$fff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"remainderl", /*KEEP_STR*/"LdLdLd", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"rint", /*KEEP_STR*/$dd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"rintf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"rintl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"round", /*KEEP_STR*/$dd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"roundf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"roundl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"scalbln", /*KEEP_STR*/"ddLi", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"scalblnf", /*KEEP_STR*/"ffLi", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"scalblnl", /*KEEP_STR*/"LdLdLi", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"scalbn", /*KEEP_STR*/"ddi", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"scalbnf", /*KEEP_STR*/"ffi", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"scalbnl", /*KEEP_STR*/"LdLdi", /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sin", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sinf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sinl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sinh", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sinhf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sinhl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sqrt", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sqrtf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sqrtl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"tan", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"tanf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"tanl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"tanh", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"tanhf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"tanhl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"tgamma", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"tgammaf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"tgammal", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"trunc", /*KEEP_STR*/$dd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"truncf", /*KEEP_STR*/$ff, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"truncl", /*KEEP_STR*/$LdLd, /*KEEP_STR*/$fnc, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cabs", /*KEEP_STR*/"dXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cabsf", /*KEEP_STR*/"fXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cabsl", /*KEEP_STR*/"LdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cacos", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cacosf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cacosl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cacosh", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cacoshf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cacoshl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"carg", /*KEEP_STR*/"dXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cargf", /*KEEP_STR*/"fXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cargl", /*KEEP_STR*/"LdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"casin", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"casinf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"casinl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"casinh", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"casinhf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"casinhl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"catan", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"catanf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"catanl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"catanh", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"catanhf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"catanhl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ccos", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ccosf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ccosl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ccosh", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ccoshf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ccoshl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cexp", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cexpf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cexpl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cimag", /*KEEP_STR*/"dXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cimagf", /*KEEP_STR*/"fXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cimagl", /*KEEP_STR*/"LdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"conj", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"conjf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"conjl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"clog", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"clogf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"clogl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cproj", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cprojf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cprojl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cpow", /*KEEP_STR*/"XdXdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cpowf", /*KEEP_STR*/"XfXfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"cpowl", /*KEEP_STR*/"XLdXLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"creal", /*KEEP_STR*/"dXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"crealf", /*KEEP_STR*/"fXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"creall", /*KEEP_STR*/"LdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"csin", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"csinf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"csinl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"csinh", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"csinhf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"csinhl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"csqrt", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"csqrtf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"csqrtl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ctan", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ctanf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ctanl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ctanh", /*KEEP_STR*/"XdXd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ctanhf", /*KEEP_STR*/"XfXf", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"ctanhl", /*KEEP_STR*/"XLdXLd", /*KEEP_STR*/$fnc, /*KEEP_STR*/"complex.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // __sinpi and friends are OS X specific library functions, but otherwise much // like the standard (non-complex) sin (etc). new Builtin.Info(/*KEEP_STR*/"__sinpi", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__sinpif", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__cospi", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__cospif", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__tanpi", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__tanpif", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Similarly, __exp10 is OS X only new Builtin.Info(/*KEEP_STR*/"__exp10", /*KEEP_STR*/$dd, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__exp10f", /*KEEP_STR*/$ff, /*KEEP_STR*/$fne, /*KEEP_STR*/"math.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Blocks runtime Builtin math library functions new Builtin.Info(/*KEEP_STR*/"_Block_object_assign", /*KEEP_STR*/"vv*vC*iC", /*KEEP_STR*/$f, /*KEEP_STR*/"Blocks.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"_Block_object_dispose", /*KEEP_STR*/"vvC*iC", /*KEEP_STR*/$f, /*KEEP_STR*/"Blocks.h", LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // FIXME: Also declare NSConcreteGlobalBlock and NSConcreteStackBlock. // Annotation function new Builtin.Info(/*KEEP_STR*/"__builtin_annotation", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Invariants new Builtin.Info(/*KEEP_STR*/"__builtin_assume", /*KEEP_STR*/"vb", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Multiprecision Arithmetic Builtins. new Builtin.Info(/*KEEP_STR*/"__builtin_addcb", /*KEEP_STR*/"UcUcCUcCUcCUc*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_addcs", /*KEEP_STR*/"UsUsCUsCUsCUs*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_addc", /*KEEP_STR*/"UiUiCUiCUiCUi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_addcl", /*KEEP_STR*/"ULiULiCULiCULiCULi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_addcll", /*KEEP_STR*/"ULLiULLiCULLiCULLiCULLi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_subcb", /*KEEP_STR*/"UcUcCUcCUcCUc*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_subcs", /*KEEP_STR*/"UsUsCUsCUsCUs*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_subc", /*KEEP_STR*/"UiUiCUiCUiCUi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_subcl", /*KEEP_STR*/"ULiULiCULiCULiCULi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_subcll", /*KEEP_STR*/"ULLiULLiCULLiCULLiCULLi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Checked Arithmetic Builtins for Security. new Builtin.Info(/*KEEP_STR*/"__builtin_add_overflow", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_sub_overflow", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_mul_overflow", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$nt, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_uadd_overflow", /*KEEP_STR*/"bUiCUiCUi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_uaddl_overflow", /*KEEP_STR*/"bULiCULiCULi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_uaddll_overflow", /*KEEP_STR*/"bULLiCULLiCULLi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_usub_overflow", /*KEEP_STR*/"bUiCUiCUi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_usubl_overflow", /*KEEP_STR*/"bULiCULiCULi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_usubll_overflow", /*KEEP_STR*/"bULLiCULLiCULLi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_umul_overflow", /*KEEP_STR*/"bUiCUiCUi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_umull_overflow", /*KEEP_STR*/"bULiCULiCULi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_umulll_overflow", /*KEEP_STR*/"bULLiCULLiCULLi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_sadd_overflow", /*KEEP_STR*/"bSiCSiCSi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_saddl_overflow", /*KEEP_STR*/"bSLiCSLiCSLi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_saddll_overflow", /*KEEP_STR*/"bSLLiCSLLiCSLLi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ssub_overflow", /*KEEP_STR*/"bSiCSiCSi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ssubl_overflow", /*KEEP_STR*/"bSLiCSLiCSLi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_ssubll_overflow", /*KEEP_STR*/"bSLLiCSLLiCSLLi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_smul_overflow", /*KEEP_STR*/"bSiCSiCSi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_smull_overflow", /*KEEP_STR*/"bSLiCSLiCSLi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_smulll_overflow", /*KEEP_STR*/"bSLLiCSLLiCSLLi*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Clang builtins (not available in GCC). new Builtin.Info(/*KEEP_STR*/"__builtin_addressof", /*KEEP_STR*/"v*v&", /*KEEP_STR*/$nct, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_operator_new", /*KEEP_STR*/"v*z", /*KEEP_STR*/$c, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_operator_delete", /*KEEP_STR*/"vv*", /*KEEP_STR*/$n, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Safestack builtins new Builtin.Info(/*KEEP_STR*/"__builtin___get_unsafe_stack_start", /*KEEP_STR*/"v*", /*KEEP_STR*/$Fn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin___get_unsafe_stack_ptr", /*KEEP_STR*/"v*", /*KEEP_STR*/$Fn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // Nontemporal loads/stores builtins new Builtin.Info(/*KEEP_STR*/"__builtin_nontemporal_store", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"__builtin_nontemporal_load", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$t, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.ALL_LANGUAGES, (/*const*/char$ptr/*char P*/ )null), // OpenCL v2.0 s6.13.16, s9.17.3.5 - Pipe functions. // We need the generic prototype, since the packet type could be anything. new Builtin.Info(/*KEEP_STR*/"read_pipe", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"write_pipe", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"reserve_read_pipe", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"reserve_write_pipe", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"commit_write_pipe", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"commit_read_pipe", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sub_group_reserve_read_pipe", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sub_group_reserve_write_pipe", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sub_group_commit_read_pipe", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"sub_group_commit_write_pipe", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"work_group_reserve_read_pipe", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"work_group_reserve_write_pipe", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"work_group_commit_read_pipe", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"work_group_commit_write_pipe", /*KEEP_STR*/$vDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"get_pipe_num_packets", /*KEEP_STR*/"Ui.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"get_pipe_max_packets", /*KEEP_STR*/"Ui.", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), // OpenCL v2.0 s6.13.17 - Enqueue kernel functions. // Custom builtin check allows to perform special check of passed block arguments. new Builtin.Info(/*KEEP_STR*/"enqueue_kernel", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"get_kernel_work_group_size", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"get_kernel_preferred_work_group_size_multiple", /*KEEP_STR*/$iDOT, /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), // OpenCL v2.0 s6.13.9 - Address space qualifier functions. new Builtin.Info(/*KEEP_STR*/"to_global", /*KEEP_STR*/"v*v*", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"to_local", /*KEEP_STR*/"v*v*", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null), new Builtin.Info(/*KEEP_STR*/"to_private", /*KEEP_STR*/"v*v*", /*KEEP_STR*/$tn, /*NULL*/(/*const*/char$ptr/*char P*/ )null, LanguageID.OCLC20_LANG, (/*const*/char$ptr/*char P*/ )null) }; } // END OF class BuiltinsStatics
859bf6c4db954409a57a52eca903af775cb13a40
2fca35f36233b330c5b5dba2bc20dbe2799e6bbb
/src/main/java/ac/at/tuwien/logservice/services/HandleLogService.java
a037e433cf52bec20b2b2cebfc0063a6c30b0dda
[]
no_license
agnesfroeschl/file-system-log-stream-service
8aeac46dce7bc391062bab23b51749bfbb7bbc60
cb0c3f7bb243cd54165b85991723bf72d4af1e6e
refs/heads/master
2021-03-23T11:34:37.064763
2020-04-25T05:32:07
2020-04-25T05:32:07
247,447,892
0
0
null
2020-03-15T15:50:09
2020-03-15T10:53:32
Java
UTF-8
Java
false
false
3,453
java
package ac.at.tuwien.logservice.services; import ac.at.tuwien.logservice.entities.Tuple; import ac.at.tuwien.logservice.entities.schema.File_access_events; import ac.at.tuwien.logservice.services.util.ServiceUtil; import eu.larkc.csparql.common.RDFTable; import eu.larkc.csparql.common.RDFTuple; import lombok.extern.slf4j.Slf4j; import org.apache.commons.httpclient.util.DateParseException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.*; import java.util.concurrent.TimeUnit; @Service @Slf4j public class HandleLogService { private static final String TIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"; @Autowired private LogConverterService logConverterService; public void handleRDFTable(RDFTable table) { Iterator var4 = table.iterator(); while (var4.hasNext()) { RDFTuple t = (RDFTuple) var4.next(); RDFTuple dto = new RDFTuple(); String predicate = t.get(1); String object = t.get(2); String[] fields = new String[]{t.get(0), predicate, object}; dto.addFields(fields); Tuple tuple = new Tuple(Arrays.asList(fields)); logConverterService.saveRDFTuple(tuple); if (predicate.equals(File_access_events.timestamp.getURI())) { String currentTime = ServiceUtil.getCurrentTimeStamp(); String currentTimeXSDate = "\"" + currentTime + "\"^^http://www.w3.org/2001/XMLSchema#dateTime"; String[] detectedTimeFields = new String[3]; detectedTimeFields[0] = t.get(0); detectedTimeFields[1] = File_access_events.detected.getURI(); detectedTimeFields[2] = currentTimeXSDate; Tuple tupleDetected = new Tuple(Arrays.asList(detectedTimeFields)); logConverterService.saveRDFTuple(tupleDetected); try { String temp = ServiceUtil.getTimestampFromXSDDate2(object); Date before = ServiceUtil.parseDate(temp, TIME_FORMAT); Date after = ServiceUtil.parseDate(currentTime, TIME_FORMAT); String diffSeconds = String.valueOf(getDiffBetweenTimestampsInSeconds(before, after)); String[] periodUntilDetectedFields = new String[3]; periodUntilDetectedFields[0] = t.get(0); periodUntilDetectedFields[1] = File_access_events.periodUntilDetected.getURI(); periodUntilDetectedFields[2] = diffSeconds; Tuple tuplePeriodUntil = new Tuple(Arrays.asList(periodUntilDetectedFields)); logConverterService.saveRDFTuple(tuplePeriodUntil); } catch (DateParseException e) { e.printStackTrace(); } } } } private long getDiffBetweenTimestampsInSeconds(Date firstDate, Date secondDate){ long diffInMillies = Math.abs(secondDate.getTime() - firstDate.getTime()); long diff = TimeUnit.SECONDS.convert(diffInMillies, TimeUnit.MILLISECONDS); return diff; } public void handleLogEventRDFTable(RDFTable table) { Iterator var4 = table.iterator(); while (var4.hasNext()) { RDFTuple t = (RDFTuple) var4.next(); logConverterService.saveLogEntryRDFTuple(t); } } }
a9cd6ac49d074ad927bf21895ee0b9bcab64a874
d613574d9b823d52a5c99302124a49104b2bf112
/src/main/java/io/choerodon/base/api/vo/MenuCodeDTO.java
27b6576048c0ab14796ce42bb1aa51530b374cbf
[ "Apache-2.0" ]
permissive
zhoushiqiang222/base-service
20cdc60c3350678561eb9cd392c850ddee95b2ba
af621601f53efdefef44bce83ab0b1bef0813778
refs/heads/master
2022-12-19T15:10:42.624703
2020-09-25T03:05:34
2020-09-25T03:05:34
298,939,185
0
0
Apache-2.0
2020-09-27T02:43:39
2020-09-27T02:43:38
null
UTF-8
Java
false
false
488
java
package io.choerodon.base.api.vo; /** * @author jiameng.cao * @date 2019/6/14 */ public class MenuCodeDTO { private Long menuCodeId; private String menuCode; public Long getMenuCodeId() { return menuCodeId; } public void setMenuCodeId(Long menuCodeId) { this.menuCodeId = menuCodeId; } public String getMenuCode() { return menuCode; } public void setMenuCode(String menuCode) { this.menuCode = menuCode; } }
51b2b144cb07416d235407afcb60978f2a5936f9
95f3435414145895f339b8ce197d68369407be0f
/CH04_Conditions/src/application/CheckPassword.java
d05277c964501f733a4cb17a1c8af3eadfc0f16a
[ "MIT" ]
permissive
notwhitepaper/java-study
4af5be0c476dff6b9fb7bd148ab76b2c2879e4bf
0562408503ac6f013b6727ea073b4329fcf73da8
refs/heads/main
2023-08-23T13:56:41.100296
2021-10-16T01:10:23
2021-10-16T01:10:23
416,540,856
0
0
null
null
null
null
UTF-8
Java
false
false
459
java
package application; import java.util.Scanner; public class CheckPassword { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); final String USER_PASSWORD = "hello"; System.out.print("비밀번호 입력 : "); String password = scanner.nextLine(); scanner.close(); if(password.equals(USER_PASSWORD)) { System.out.println("접속 승인."); } else { System.out.println("접속 불가."); } } }
a37d206d42e8641bd3e74df29ea6a822f442d34c
cec16bbc07d79f4f7274fd6ed67e2030615549d1
/src/technique/SettingsDialog.java
7944c117bd45bdb05a7aceb20f69e5ac760663e5
[]
no_license
fouedbrahim/HeraHopital
79959630b8baf9cc15ffdf5badae82a3ec6766ff
56c3db99a87d4900afb82aab90097b08b780a170
refs/heads/master
2021-01-11T06:11:56.430789
2016-10-24T16:55:24
2016-10-24T16:55:24
71,811,779
0
0
null
null
null
null
UTF-8
Java
false
false
3,468
java
package technique; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import java.util.Properties; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JTextField; /** * Displays a setting form that allows configuring SMTP settings. * @author www.codejava.net * */ public class SettingsDialog extends JDialog { private ConfigUtility configUtil; private JLabel labelHost = new JLabel("Host name: "); private JLabel labelPort = new JLabel("Port number: "); private JLabel labelUser = new JLabel("Username: "); private JLabel labelPass = new JLabel("Password: "); private JTextField textHost = new JTextField(20); private JTextField textPort = new JTextField(20); private JTextField textUser = new JTextField(20); private JTextField textPass = new JTextField(20); private JButton buttonSave = new JButton("Save"); public SettingsDialog(JFrame parent, ConfigUtility configUtil) { super(parent, "SMTP Settings", true); this.configUtil = configUtil; setupForm(); loadSettings(); pack(); setLocationRelativeTo(null); } private void setupForm() { setLayout(new GridBagLayout()); GridBagConstraints constraints = new GridBagConstraints(); constraints.gridx = 0; constraints.gridy = 0; constraints.insets = new Insets(10, 10, 5, 10); constraints.anchor = GridBagConstraints.WEST; add(labelHost, constraints); constraints.gridx = 1; add(textHost, constraints); constraints.gridy = 1; constraints.gridx = 0; add(labelPort, constraints); constraints.gridx = 1; add(textPort, constraints); constraints.gridy = 2; constraints.gridx = 0; add(labelUser, constraints); constraints.gridx = 1; add(textUser, constraints); constraints.gridy = 3; constraints.gridx = 0; add(labelPass, constraints); constraints.gridx = 1; add(textPass, constraints); constraints.gridy = 4; constraints.gridx = 0; constraints.gridwidth = 2; constraints.anchor = GridBagConstraints.CENTER; add(buttonSave, constraints); buttonSave.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent event) { buttonSaveActionPerformed(event); } }); } private void loadSettings() { Properties configProps = null; try { configProps = configUtil.loadProperties(); } catch (IOException ex) { JOptionPane.showMessageDialog(this, "Error reading settings: " + ex.getMessage(), "Error", JOptionPane.ERROR_MESSAGE); } textHost.setText(configProps.getProperty("mail.smtp.host")); textPort.setText(configProps.getProperty("mail.smtp.port")); textUser.setText(configProps.getProperty("mail.user")); textPass.setText(configProps.getProperty("mail.password")); } private void buttonSaveActionPerformed(ActionEvent event) { try { configUtil.saveProperties(textHost.getText(), textPort.getText(), textUser.getText(), textPass.getText()); JOptionPane.showMessageDialog(SettingsDialog.this, "Properties were saved successfully!"); dispose(); } catch (IOException ex) { JOptionPane.showMessageDialog(this, "Error saving properties file: " + ex.getMessage(), "Error", JOptionPane.ERROR_MESSAGE); } } }
4a7df6a49148d3a9813822c9cd8fa65c8020c161
0240521ecb0bd94240bf452745bf3a6536bd28bc
/src/LowLevelSync_9/App.java
2a4039d3199d3ac3c0b479878f967222ccd877f0
[]
no_license
AngelMercado/MultiThreading
03fa9159e822f716e7e1ce165269a7c7d619d389
124ccd234ec0104d89abf9e8758f02374ef534b5
refs/heads/master
2021-07-07T20:56:06.884171
2017-10-03T23:54:56
2017-10-03T23:54:56
null
0
0
null
null
null
null
UTF-8
Java
false
false
808
java
package LowLevelSync_9; public class App { public static void main(String[] args) throws InterruptedException { final Processor processor = new Processor(); Thread t1 = new Thread(new Runnable() { @Override public void run() { try { processor.produce(); } catch (InterruptedException ignored) {} } }); Thread t2 = new Thread(new Runnable() { @Override public void run() { try { processor.consume(); } catch (InterruptedException ignored) {} } }); t1.start(); t2.start(); t1.join(); t2.join(); } }
e2217684969c66f340e83bc981fcadb90dd85cf5
7ec46d78c92e3cf303dfb971ddf735ca260a03cf
/chapter09/src/abstractex/Computer.java
ffd58bc5f0d19e2670eb8df36d72d7f48d2ca320
[]
no_license
parkjeahun/eclipse-workspace
9c038f02bab0e47fd128324f88345bfe068b62f3
6445d70adae22ee2e415eec83c481b0d07bb86ef
refs/heads/master
2023-06-23T06:32:20.496130
2021-07-12T06:50:25
2021-07-12T06:50:25
385,150,947
0
0
null
null
null
null
UHC
Java
false
false
509
java
package abstractex; public abstract class Computer { //추상 메소드를 포함. 템플릿,프레임워크구현,인터페이스구현. public abstract void display(); //추상 메소드 : 선언부만 존재 하고, 실행부가 없는 메소드{} abstract public void typing(); //추상 메소드 //public void add(int a, int b) { } //일반 메소드 public void turnOn() { System.out.println("전원을 켭니다."); } public void turnOff() { System.out.println("전원을 끔니다."); } }
cb56ef7c5e2e51fbef18fd55f36737a5f3c3f5eb
46b8b122fc45ad934bdc020630b681ec30a43404
/src/main/java/mx/com/gm/web/WebConfig.java
26e56e7dd0a27b144856ca600cc8655fd23f83fd
[]
no_license
soniacastromartel/Customer_Control_App
bc2cb3d12821fe99fa29c43b632a7b944839a611
5382d4716445d7f57b99a9c9baebd4f001532f2f
refs/heads/master
2023-06-29T18:12:38.762457
2021-07-29T12:06:31
2021-07-29T12:06:31
380,013,502
0
0
null
null
null
null
UTF-8
Java
false
false
1,551
java
package mx.com.gm.web; import java.util.Locale; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.LocaleResolver; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import org.springframework.web.servlet.i18n.LocaleChangeInterceptor; import org.springframework.web.servlet.i18n.SessionLocaleResolver; /** *Internacionalización * @author Sonia Castro ([email protected]) */ @Configuration public class WebConfig implements WebMvcConfigurer{ @Bean public LocaleResolver localeResolver(){ SessionLocaleResolver slr= new SessionLocaleResolver(); slr.setDefaultLocale(new Locale("es")); return slr; } @Bean public LocaleChangeInterceptor localeChangeInterceptor(){ LocaleChangeInterceptor lci= new LocaleChangeInterceptor(); lci.setParamName("lang"); return lci; } //registramos interceptor @Override public void addInterceptors(InterceptorRegistry registro){ registro.addInterceptor(localeChangeInterceptor()); } @Override public void addViewControllers(ViewControllerRegistry registry) { registry.addViewController("/").setViewName("index"); registry.addViewController("/login"); registry.addViewController("/errores/403").setViewName("/errores/403"); } }
8b2a0818fac51a6daa682140a6c1e6326639420b
feb2ee9cb071080ddc4a3c666961b40957d406d5
/app/src/main/java/com/nandi/disastermanager/search/entity/MonitorData.java
7342239b2d3c67b2e7f84615d01899806bcf2d1f
[]
no_license
woodensheep/DisasterManager
f76b57dcfb3ebeab16e30cf3379b850915cb398a
60dbc0ebc8474e5e995dd638cca24703d54c7203
refs/heads/master
2021-01-01T06:25:13.350891
2018-04-02T00:59:03
2018-04-02T00:59:03
97,424,849
0
1
null
null
null
null
UTF-8
Java
false
false
3,603
java
package com.nandi.disastermanager.search.entity; import java.util.List; /** * Created by qingsong on 2017/9/8. */ public class MonitorData { /** * meta : {"success":true,"message":"ok"} * data : [{"time":"2017-09-10 15:51:54","monitorId":"520402010003_01","name":"轿子山镇厦耳村前寨滑坡_01","monitorData":1852},{"time":"2017-09-10 18:41:16","monitorId":"520425010021_01","name":"湖坝冲滑坡_01","monitorData":200},{"time":"2017-09-18 13:24:28","monitorId":"520402010003_01","name":"轿子山镇厦耳村前寨滑坡_01","monitorData":250},{"time":"2017-09-11 12:36:29","monitorId":"520402050003_01","name":"老林寨地裂缝_01","monitorData":55},{"time":"2017-09-10 12:36:29","monitorId":"520402050003_02","name":"老林寨地裂缝_02","monitorData":50},{"time":"2017-09-08 12:36:29","monitorId":"520402050003_01","name":"老林寨地裂缝_01","monitorData":57},{"time":"2017-09-02 12:36:29","monitorId":"520402050003_01","name":"老林寨地裂缝_01","monitorData":58},{"time":"2017-09-06 12:36:29","monitorId":"520402050003_02","name":"老林寨地裂缝_02","monitorData":48},{"time":"2017-09-01 12:36:29","monitorId":"520402050003_02","name":"老林寨地裂缝_02","monitorData":56},{"time":"2017-09-12 11:36:29","monitorId":"520402050003_01","name":"老林寨地裂缝_01","monitorData":55},{"time":"2017-09-12 12:36:29","monitorId":"520402050003_01","name":"老林寨地裂缝_01","monitorData":55},{"time":"2017-09-12 14:36:29","monitorId":"520402050003_01","name":"老林寨地裂缝_01","monitorData":55},{"time":"2017-09-13 15:23:02","monitorId":"520403070043_01","name":"胡家岩崩塌(危岩体)_01","monitorData":35}] */ private MetaBean meta; private List<DataBean> data; public MetaBean getMeta() { return meta; } public void setMeta(MetaBean meta) { this.meta = meta; } public List<DataBean> getData() { return data; } public void setData(List<DataBean> data) { this.data = data; } public static class MetaBean { /** * success : true * message : ok */ private boolean success; private String message; public boolean isSuccess() { return success; } public void setSuccess(boolean success) { this.success = success; } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } } public static class DataBean { /** * time : 2017-09-10 15:51:54 * monitorId : 520402010003_01 * name : 轿子山镇厦耳村前寨滑坡_01 * monitorData : 1852.0 */ private String time; private String monitorId; private String name; private double monitorData; public String getTime() { return time; } public void setTime(String time) { this.time = time; } public String getMonitorId() { return monitorId; } public void setMonitorId(String monitorId) { this.monitorId = monitorId; } public String getName() { return name; } public void setName(String name) { this.name = name; } public double getMonitorData() { return monitorData; } public void setMonitorData(double monitorData) { this.monitorData = monitorData; } } }
dff0db1f783796f3c240e4d00da250f23d2a4dd1
9c7321d876654afdf3ba17e165a8dca36a5ddb5c
/test/com/ms/silverking/numeric/RingIntegerTest.java
4dcfa579e20b32ffdb385de98c7dd0562cbc4777
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
leofuxiaohui/SilverKing
035119334408f572f6c28ba3b79dbe97a1a3f083
7910c7efbdcb4ebb145a63942fbff9a4ed916b42
refs/heads/master
2022-12-18T01:01:24.053824
2020-09-30T08:35:38
2020-09-30T08:35:38
294,789,161
0
0
Apache-2.0
2020-09-11T19:03:58
2020-09-11T19:03:58
null
UTF-8
Java
false
false
4,171
java
package com.ms.silverking.numeric; import static com.ms.silverking.testing.Assert.exceptionNameChecker; import static com.ms.silverking.testing.Util.getTestMessage; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; import com.ms.silverking.testing.Util.ExceptionChecker; public class RingIntegerTest { private RingInteger ri; private static final int min = -1000; private static final int max = 1000; private static final int value = 0; @Before public void setUp() throws Exception { ri = createInteger(min, max, value); } private RingInteger createInteger(int min, int max, int value) { return new RingInteger(min, max, value); } @Test public void testConstructor_Exceptions() { int[][] testCases = { {0, -1, 0}, {0, -1, -2}, {0, 1, 2}, {-2_123_456_789, 7_568_123, 21_548_444}, }; for (int[] testCase : testCases) { int min = testCase[0]; int max = testCase[1]; int value = testCase[2]; String testMessage = getTestMessage("RingInteger_Exceptions", min, max, value); ExceptionChecker ec = new ExceptionChecker() { @Override public void check(){ createInteger(min, max, value); } }; exceptionNameChecker(ec, testMessage, IllegalArgumentException.class); } } @Test public void testIncrementAndDecrementAndValue() { for (int i = value; i < max; i++) { checkGetValue(i); checkHashCode(i); ri.increment(); } for (int i = max; i > -min; i--) { checkGetValue(i); checkHashCode(i); ri.decrement(); } // test overflow wrap-arounds ri = createInteger(min, max, max); checkGetValue(max); checkHashCode(max); ri.increment(); checkGetValue(min); checkHashCode(min); ri.decrement(); checkGetValue(max); checkHashCode(max); } private void checkGetValue(int expected) { assertEquals(expected, ri.getValue()); } private void checkHashCode(int expected) { assertEquals(expected, ri.hashCode()); } @Test public void testEqualsAndRingShared() { RingInteger zeroZeroZero = createInteger(0, 0, 0); RingInteger zeroOneZero = createInteger(0, 1, 0); RingInteger zeroOneOne = createInteger(0, 1, 1); RingInteger oneOneOne = createInteger(1, 1, 1); Object[][] testCases = { {zeroZeroZero, zeroZeroZero, true, true}, {zeroZeroZero, zeroOneZero, true, false}, {zeroZeroZero, zeroOneOne, false, false}, {zeroZeroZero, oneOneOne, false, false}, {oneOneOne, zeroOneZero, false, false}, {oneOneOne, zeroOneOne, true, false}, {oneOneOne, oneOneOne, true, true}, {zeroOneZero, zeroOneOne, false, true}, {zeroZeroZero, createInteger(0, 0, 0), true, true}, {createInteger(-2_123_456_789, 85_567_010, 21_548_444), createInteger(-2_123_456_789, 85_567_010, 7_568_123), false, true}, }; for (Object[] testCase : testCases) { RingInteger r1 = (RingInteger)testCase[0]; RingInteger r2 = (RingInteger)testCase[1]; boolean expectedEquals = (boolean)testCase[2]; boolean expectedRingShared = (boolean)testCase[3]; checkEquals(r1, r2, expectedEquals); checkRingShared(r2, r1, expectedRingShared); } } private void checkEquals(RingInteger r1, RingInteger r2, boolean expected) { assertEquals( getTestMessage("equals", r1, r2), expected, r1.equals(r2)); } private void checkRingShared(RingInteger r1, RingInteger r2, boolean expected) { assertEquals( getTestMessage("ringShared", r1, r2), expected, RingInteger.ringShared(r1, r2)); } }
806d64d4ff9598189bcd692c2136da685dd58699
a1963fed649fd6ff6e77d5dc04cae53572742736
/src/code/Filestream.java
ef9fdd31645b075071e75c08a50b0b4c9fab3c12
[]
no_license
liquid-os/Java-Autoupdater
759077f6367be1d3ff3d06e7284dc104f1b8863f
1f6cb52996e7545c386264950f4763a2ed62446e
refs/heads/master
2020-03-22T10:34:45.950100
2018-07-06T00:09:57
2018-07-06T00:09:57
139,912,823
0
0
null
null
null
null
UTF-8
Java
false
false
573
java
package code; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.RenderingHints; import java.awt.Toolkit; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.net.URL; import javax.imageio.ImageIO; import javax.swing.ImageIcon; public class Filestream { public static Image getImageFromPath(String s) { try { return ImageIO.read(Filestream.class.getResource("res/"+s)); } catch (IOException e) { System.out.println("Image file not found @ "+s); } return null; } }
8383b7c57495e4e08edabe23bc607de9900c07ac
e7421afae6fbc92cf1068427410ff1c7e445e1da
/src/Chap06/HomeWork6_1.java
4a4ec02fc4ab3dc3c0323b2c6b15d9ba082b34df
[]
no_license
DanLanEX/hellojava
6d451db7201a4ae0bda2d0dcc941a673545b6e04
cebf42a7cdef8b5aa5f6273742de959e983d4506
refs/heads/master
2020-03-30T00:23:10.746586
2018-12-11T07:34:54
2018-12-11T07:34:54
150,520,438
0
0
null
null
null
null
UTF-8
Java
false
false
292
java
package Chap06; //将1、2、3、4、5赋给数组中的各元素并显示 public class HomeWork6_1 { public static void main(String[] args) { double[] ex = new double[5]; for (int i = 0; i < 5; i++) { System.out.println("ex["+i+"]="+ex[i]); } } }
f525772ee39524433cf9f132c7b9f6eb11e8dbf0
cd48551346edeef17d95527f1acd78bb3d4c47f3
/src/main/java/tszielin/qlab/event/TabIndexChanged.java
78b048855de6e1816313150510c86b382eb4ab89
[ "Apache-2.0" ]
permissive
tszielin/q-lab-editor
56c387f5a8f2437857813754b1e17fcc9ecd4411
eaf1baa4373d8ee476c0b8cfbc30c54fe0afbd46
refs/heads/master
2021-01-10T02:23:49.816445
2016-03-02T16:56:10
2016-03-02T16:56:10
52,768,617
1
0
null
null
null
null
UTF-8
Java
false
false
293
java
package tszielin.qlab.event; import tszielin.qlab.util.event.DataEvent; public class TabIndexChanged extends DataEvent<Integer> { private static final long serialVersionUID = 3570378659622195248L; public TabIndexChanged(Object source, int tabIndex) { super(source, tabIndex); } }
7b7a0f7b190ea63ef1447e89d5229f5435a9342a
9efdb7d314e5dc90a2568ce1d613c0ff02ccfc4b
/app/src/main/java/com/yusong/community/ui/repairs/RepairsHistoryActivity.java
215dc37b262538dba8b5484567e5c944f1225840
[]
no_license
feisher/community_huangshan2
1cdcb55e2b9c6394e7f0ac043b2d3c02fed04408
aa3fc8103a0e6be8de89d0c7d81d2869724c4443
refs/heads/master
2021-07-14T18:15:52.164494
2017-10-19T03:25:01
2017-10-19T03:25:01
106,365,007
0
0
null
null
null
null
UTF-8
Java
false
false
5,322
java
package com.yusong.community.ui.repairs; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.widget.EditText; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widget.RelativeLayout; import android.widget.TextView; import com.yusong.community.R; import com.yusong.community.ui.base.BaseActivity; import com.yusong.community.ui.repairs.mvp.ImplView.RepairsHistoryView; import com.yusong.community.ui.repairs.mvp.persenter.impl.RepairsHistoryPresenterImpl; import com.yusong.community.utils.CacheUtils; import com.yusong.community.utils.SpaceItemDecoration; import com.yusong.community.utils.bga.BGANormalRefreshViewHolder; import com.yusong.community.utils.bga.BGARefreshLayout; import com.yusong.community.utils.bga.BGARefreshViewHolder; import java.util.ArrayList; import java.util.List; import butterknife.ButterKnife; import butterknife.InjectView; import butterknife.OnClick; /** * @author Mr_Peng * @created at 2017-09-01. * @describe: 申报历史 */ public class RepairsHistoryActivity extends BaseActivity implements RepairsHistoryView, BGARefreshLayout.BGARefreshLayoutDelegate { @InjectView(R.id.iv_adaptive_down_api18) ImageView ivAdaptiveDownApi18; @InjectView(R.id.iv_back) ImageView ivBack; @InjectView(R.id.ll_back) LinearLayout llBack; @InjectView(R.id.tv_title) TextView tvTitle; @InjectView(R.id.find_et) EditText findEt; @InjectView(R.id.find_layout) RelativeLayout findLayout; @InjectView(R.id.left_radio) RadioButton leftRadio; @InjectView(R.id.center_radio) RadioButton centerRadio; @InjectView(R.id.right_radio) RadioButton rightRadio; @InjectView(R.id.radio_group) RadioGroup radioGroup; @InjectView(R.id.left_radio_address) RadioButton leftRadioAddress; @InjectView(R.id.right_radio_address) RadioButton rightRadioAddress; @InjectView(R.id.radio_group_address) RadioGroup radioGroupAddress; @InjectView(R.id.iv_img) ImageView ivImg; @InjectView(R.id.ll_img) LinearLayout llImg; @InjectView(R.id.tv_text) TextView tvText; @InjectView(R.id.rl_txt) RelativeLayout rlTxt; @InjectView(R.id.app_title_layout) LinearLayout appTitleLayout; @InjectView(R.id.history_recycler_view) RecyclerView historyRecyclerView; @InjectView(R.id.history_refresh_layout) BGARefreshLayout historyRefreshLayout; private RepairsHistoryPresenterImpl presenter; private boolean isClear = true; private List<RepairsHistoryBean> list = new ArrayList<RepairsHistoryBean>(); private RepairsHistoryAdapter adapter; @OnClick(R.id.ll_back) void back() { this.finish(); } @Override protected int layoutId() { return R.layout.activity_repairs_history; } @Override public void initView() { tvTitle.setText("历史记录"); adapter = new RepairsHistoryAdapter(list, this); LinearLayoutManager linearLayoutManager = new LinearLayoutManager(this); historyRecyclerView.setAdapter(adapter); historyRecyclerView.addItemDecoration(new SpaceItemDecoration(10, 0)); historyRecyclerView.setLayoutManager(linearLayoutManager); historyRefreshLayout.setLinearLayoutManager(list, linearLayoutManager); initRefreshLayout();//初始化下拉刷新 } @Override public void initData() { presenter = new RepairsHistoryPresenterImpl(this, this); presenter.queryRepairsHistory(CacheUtils.getProprietorId(this), 0, 10); } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // TODO: add setContentView(...) invocation ButterKnife.inject(this); } @Override public void showProgressDialog() { } @Override public void querySucces(List<RepairsHistoryBean> list) { if (isClear) { if (this.list.size() > 0) { list.clear(); } this.list.addAll(list); } else { this.list.addAll(list); } adapter.notifyDataSetChanged(); historyRefreshLayout.endRefreshing(); historyRefreshLayout.endLoadingMore(); } @Override public void queryError() { historyRefreshLayout.endRefreshing(); historyRefreshLayout.endLoadingMore(); } private void initRefreshLayout() { //设置代理 historyRefreshLayout.setDelegate(this); //设置刷新风格 BGARefreshViewHolder mBGARefreshViewHolder = new BGANormalRefreshViewHolder(this, true); historyRefreshLayout.setRefreshViewHolder(mBGARefreshViewHolder); } @Override public void onBGARefreshLayoutBeginRefreshing(BGARefreshLayout refreshLayout) { isClear = true; presenter.queryRepairsHistory(CacheUtils.getProprietorId(this), 0, 10); } @Override public boolean onBGARefreshLayoutBeginLoadingMore(BGARefreshLayout refreshLayout) { isClear = false; presenter.queryRepairsHistory(CacheUtils.getProprietorId(this), list.size(), 10); return true; } }
7495678decf41e9a8216f70d71ff2ac5fc0adf93
9f62d3a5a5923ba1809dc2d621f1a627c4034c73
/ProgrammingContest/src/learn/chart1/NC16640.java
2348dac84913b4d941a80ef82c5a7d66ce9464ee
[]
no_license
smakslow/java-learn
aa5587eaba0acd522850afc9cbc32597ad3be456
7d37c59568b047d384245fd28abf7bc3e0013093
refs/heads/master
2023-08-30T04:14:13.962547
2021-10-11T16:29:17
2021-10-11T16:29:17
356,228,254
0
0
null
null
null
null
UTF-8
Java
false
false
927
java
package learn.chart1; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.StringTokenizer; public class NC16640 { static PrintWriter out = new PrintWriter(System.out); static BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); static StringTokenizer tokenizer = new StringTokenizer(""); public static void main(String[] args) throws IOException { out.flush(); out.close(); } static String next() throws IOException { while (!tokenizer.hasMoreTokens()) { tokenizer = new StringTokenizer(in.readLine()); } return tokenizer.nextToken(); } static int nextInt() throws IOException { return Integer.parseInt(next()); } static double nextDouble() throws IOException { return Double.parseDouble(next()); } }
7bb994876860914d666a249043f03af9e556db7e
d6a9473679f7ef45e50c1482e5a32694e8e7a2f2
/src/main/java/com/piedpiper/univerrate/service/Mapper.java
3e824fb04b10c84247aec32aab0b3e3c1c77ea32
[]
no_license
VadymPolianskyi/univer-rate
77181972c869973719714a3f4808ba0514ced544
7cba574d3fa535c4706e7d0b1f752593f78c438f
refs/heads/master
2021-08-16T07:52:28.270773
2017-11-19T09:16:14
2017-11-19T09:16:14
null
0
0
null
null
null
null
UTF-8
Java
false
false
813
java
package com.piedpiper.univerrate.service; import com.piedpiper.univerrate.dao.entity.CommentEntity; import com.piedpiper.univerrate.dao.entity.UniversityEntity; import com.piedpiper.univerrate.protocol.dto.CommentDto; import com.piedpiper.univerrate.protocol.dto.UniversityDto; import org.modelmapper.ModelMapper; import org.springframework.stereotype.Service; @Service public class Mapper { private ModelMapper mapper = new ModelMapper(); public UniversityDto mapUniversity(UniversityEntity entity) { return mapper.map(entity, UniversityDto.class); } public CommentEntity revertComment(CommentDto dto) { return mapper.map(dto, CommentEntity.class); } public CommentDto mapComment(CommentEntity entity) { return mapper.map(entity, CommentDto.class); } }
9e00de28c14ac6ffa12878b9bbab3a35ff6512e9
23511afddaf264537977e7e2b66b7ebb00d6fdab
/src/by/it/matyuta/lesson04/TaskB1.java
e29eebd5edba0c13ba64a9a60826a2004e8efa08
[]
no_license
AliaksandrLiulis/cs2017-12-02
65509fabf381f631edbc3372e4024cfd165a0954
8d08fae478ddea0af72f2d4a1940f125ce6f0e09
refs/heads/master
2021-08-29T19:46:36.885516
2017-12-14T20:31:15
2017-12-14T20:31:15
113,969,312
1
0
null
2017-12-12T09:20:37
2017-12-12T09:20:37
null
UTF-8
Java
false
false
2,264
java
package by.it.matyuta.lesson04; /* Определите количество дней в году Ввести с клавиатуры год, определить количество дней в году. Результат вывести на экран в следующем виде: «количество дней в году: x», где х — 366 для високосного года, х — 365 для обычного года. Подсказка: В високосном году — 366 дней, тогда как в обычном — 365. Високосным годом является каждый четвёртый год, за исключением столетий, которые не кратны 400. Так, годы 1700, 1800 и 1900 не являются високосными, так как они кратны 100 и не кратны 400. Годы 1600 и 2000 — високосные, так как они кратны 100 и кратны 400. Годы 2100, 2200 и 2300 — не високосные. Требования: 1. Программа должна считывать число c клавиатуры. 2. Программа должна выводить текст на экран. 3. Если введенный год является високосным, необходимо вывести текст: "количество дней в году: 366" 4. Если введенный год не является високосным, необходимо вывести текст: "количество дней в году: 365" */ import java.util.Scanner; public class TaskB1 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int year = sc.nextInt(); int x = 0; if (year == 2100 || year == 2200 || year == 2300 || (year%400!=0 & year%100==0)) { x = 365; System.out.println("количество дней в году:"+" "+x); } else if (year % 4 == 0){ x = 366; System.out.println("количество дней в году:"+" "+x); } else x = 365; System.out.println("количество дней в году:"+" "+x); } }
256f26b1a737698dc7f32f362927876966e50f34
f41f0d95cdf07994271190f8dfa74e3fbc3e4bdf
/GT_Remix/src/com/gtremix/models/M.java
cfeedf132556f66d55b54010bb07f7f01ccca8b3
[]
no_license
bitllorent/GT_Remix
f2288c53f78d5f0c24f2e579ede4eb2eb6d1f336
31c15d3f13c2ffdd7740ae7fdde0605d48489745
refs/heads/master
2021-01-25T05:16:25.543020
2012-04-27T02:19:54
2012-04-27T02:19:54
3,227,415
1
0
null
null
null
null
UTF-8
Java
false
false
818
java
package com.gtremix.models; public class M { public static final int MESSAGE_UPDATE = 0; public static final int MESSAGE_START_UP = 1; public static final int MESSAGE_NO_MEDIA_PATH = 3; public static final int MESSAGE_OPEN_PATH = 4; public static final int MESSAGE_GET_MEDIA = 5; public static final int ADD_SONG = 6; public static final int LOAD_SEQUENCE = 7; public static final int PLAY = 8; public static final int PAUSE = 9; public static final int NEXT_SONG = 10; public static final int PREV_SONG = 11; public static final int SAVE_SEQUENCE = 12; public static final String KEY_PATH = "PATH"; public static final String KEY_FILE = "FILE"; public static final String KEY_ITEMS = "ITEMS"; public static final String WHAT = "WHAT"; }
c789397e50c2e6614eb59ac81c47535f36277bed
268592c417a8f6fbcfec98a8af17d7cb9f1f6cee
/debop4k-data-orm/src/main/java/debop4k/data/orm/hibernate/CriteriaEx.java
ac218d7152bd91d2d1ded7276894cb1df6712dde
[ "Apache-2.0" ]
permissive
debop/debop4k
8a8e29e76b590e72599fb69888c2eb2e90952c10
5a621998b88b4d416f510971536abf3bf82fb2f0
refs/heads/develop
2021-06-14T22:48:58.156606
2019-08-06T15:49:34
2019-08-06T15:49:34
60,844,667
37
12
Apache-2.0
2021-04-22T17:45:14
2016-06-10T12:01:14
Kotlin
UTF-8
Java
false
false
30,533
java
/* * Copyright (c) 2016. Sunghyouk Bae <[email protected]> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ package debop4k.data.orm.hibernate; import debop4k.core.Guardx; import debop4k.core.io.serializers.Serializers; import debop4k.core.utils.Stringx; import lombok.extern.slf4j.Slf4j; import org.eclipse.collections.impl.list.mutable.FastList; import org.hibernate.Criteria; import org.hibernate.Session; import org.hibernate.criterion.*; import org.hibernate.query.Query; import org.jetbrains.annotations.NotNull; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import java.util.*; import static debop4k.core.Guardx.shouldNotBeEmpty; import static org.hibernate.criterion.Restrictions.*; /** * Hibernate 질의 (Criteria) 빌드를 위한 Helper class 입니다. * * @author [email protected] */ @Slf4j public final class CriteriaEx { private CriteriaEx() {} /** * spring-data 의 {@link Sort} 정보를 Hibernate 의 {@link Order} Criterion 으로 변환합니다. * * @param sort Spring Data 정렬 정보 * @return Hibernate 정렬 정보 */ public static List<Order> toOrders(Sort sort) { List<Order> orders = FastList.newList(); for (Sort.Order x : sort) { if (x.getDirection() == Sort.Direction.ASC) orders.add(Order.asc(x.getProperty())); else orders.add(Order.desc(x.getProperty())); } return orders; } /** * 속성 값이 지정한 값보다 큰가? 를 질의어로 빌드합니다. * * @param property property name * @param value 비교 값 * @param includeValue 비교 값 포함 여부 (greater than or equal) * @return 질의어 */ public static Criterion great(String property, Object value, boolean includeValue) { return (includeValue) ? ge(property, value) : gt(property, value); } /** * 속성 값이 지정한 값보다 작은가? 를 질의어로 빌드합니다. * * @param property property name * @param value 비교 값 * @param includeValue 비교 값 포함 여부 (greater than or equal) * @return 질의어 */ public static Criterion less(String property, Object value, boolean includeValue) { return (includeValue) ? le(property, value) : lt(property, value); } /** * 속성 값이 lo, hi 사이의 값인지를 검사하는 질의어 * * @param property 속성 명 * @param lo 하한 값 * @param hi 상한 값 * @return the is between criterion */ public static Criterion between(String property, Object lo, Object hi) { return between(property, lo, hi, true, true); } /** * 속성 값이 lo, hi 사이의 값인지를 검사하는 질의어 * * @param property 속성 명 * @param lo 하한 값 * @param hi 상한 값 * @param includeLo 하한 값 포함 여부 * @param includeHi 상한 값 포함 여부 * @return the is between criterion */ public static Criterion between(String property, Object lo, Object hi, boolean includeLo, boolean includeHi) { shouldNotBeEmpty(property, "property"); if (lo == null && hi == null) throw new IllegalArgumentException("상하한 값 모두 null 입니다."); if (lo != null && hi != null) return Restrictions.between(property, lo, hi); Conjunction result = conjunction(); if (lo != null) result.add(great(property, lo, includeLo)); if (hi != null) result.add(less(property, hi, includeHi)); return result; } /** * 지정한 값이 두 속성 값 사이에 존재하는지 여부 * * @param loProperty the lo property name * @param hiProperty the hi property name * @param value the value * @return the is in range criterion */ public static Criterion inRange(String loProperty, String hiProperty, Object value) { return inRange(loProperty, hiProperty, value, true, true); } /** * 지정한 값이 두 속성 값 사이에 존재하는지 여부 * * @param loProperty the lo property name * @param hiProperty the hi property name * @param value the value * @param includeLo the include lo * @param includeHi the include hi * @return the is in range criterion */ public static Criterion inRange(String loProperty, String hiProperty, Object value, boolean includeLo, boolean includeHi) { shouldNotBeEmpty(loProperty, "loProperty"); shouldNotBeEmpty(hiProperty, "hiProperty"); Criterion loCriterion = great(loProperty, value, includeLo); Criterion hiCriterion = less(hiProperty, value, includeHi); return conjunction() .add(disjunction() .add(isNull(loProperty)) .add(loCriterion)) .add(disjunction() .add(isNull(hiProperty)) .add(hiCriterion)); } /** * 지정한 범위 값이 두 속성 값 구간과 겹치는지를 알아보기 위한 질의어 * * @param loProperty the lo property name * @param hiProperty the hi property name * @param lo the lo value * @param hi the hi value * @return the is overlap criterion */ public static Criterion overlap(String loProperty, String hiProperty, Object lo, Object hi) { return overlap(loProperty, hiProperty, lo, hi, true, true); } /** * 지정한 범위 값이 두 속성 값 구간과 겹치는지를 알아보기 위한 질의어 * * @param loProperty the lo property name * @param hiProperty the hi property name * @param lo the lo value * @param hi the hi value * @param includeLo include lo value ? * @param includeHi include hi value ? * @return the is overlap criterion */ public static Criterion overlap(String loProperty, String hiProperty, Object lo, Object hi, boolean includeLo, boolean includeHi) { shouldNotBeEmpty(loProperty, "loProperty"); shouldNotBeEmpty(hiProperty, "hiProperty"); if (lo == null && hi == null) throw new IllegalArgumentException("상하한 값 모두 null 입니다."); if (lo != null && hi != null) return disjunction() .add(inRange(loProperty, hiProperty, lo, includeLo, includeHi)) .add(inRange(loProperty, hiProperty, hi, includeLo, includeHi)) .add(between(loProperty, lo, hi, includeLo, includeHi)) .add(between(hiProperty, lo, hi, includeLo, includeHi)); if (lo != null) return disjunction() .add(inRange(loProperty, hiProperty, lo, includeLo, includeHi)) .add(less(loProperty, lo, includeLo)) .add(great(hiProperty, lo, includeLo)); return disjunction() .add(inRange(loProperty, hiProperty, hi, includeLo, includeHi)) .add(less(loProperty, hi, includeHi)) .add(great(hiProperty, hi, includeHi)); } /** * value가 null 이 아니면, 속성값과 eq 이거나 null 인 경우 모두 구한다. value가 null 인 경우는 isNull 로 만든다. * * @param property the property name * @param value the value * @return the eq include null * @deprecated Restriction.eqOrIsNull 을 사용하세요. 같은 기능입니다. */ @Deprecated public static Criterion eqIncludeNull(String property, Object value) { Guardx.shouldNotBeEmpty(property, "property"); return (value == null) ? isNull(property) : eqOrIsNull(property, value); } /** * 대소문자 구분 없이 LIKE 를 수행합니다. * * @param property 속성명 * @param value LIKE 검색할 값 * @return Criterion */ public static Criterion insensitiveLikeIncludeNull(String property, String value) { return insensitiveLikeIncludeNull(property, value, MatchMode.START); } /** * 대소문자 구분 없이 LIKE 를 수행합니다. * * @param property 속성명 * @param value LIKE 검색할 값 * @param matchMode LIKE 검색 방법 ({ @link org.hibernate.criterion.MatchMode}) * @return Criterion */ public static Criterion insensitiveLikeIncludeNull(String property, String value, MatchMode matchMode) { return Stringx.isWhitespace(value) ? isEmpty(property) : disjunction().add(ilike(property, value, matchMode)) .add(isEmpty(property)); } public static Criteria addEq(Criteria criteria, String property, Object value) { return criteria.add(eq(property, value)); } public static Criteria addEqOrIsNull(Criteria criteria, String property, Object value) { return criteria.add(eqOrIsNull(property, value)); } public static Criteria addNotEq(Criteria criteria, String property, Object value) { return criteria.add(not(eq(property, value))); } public static Criteria addNotEqOrIsNull(Criteria criteria, String property, Object value) { return criteria.add(not(eqOrIsNull(property, value))); } public static Criteria addLe(Criteria criteria, String property, Object value) { return criteria.add(le(property, value)); } public static Criteria addLeProperty(Criteria criteria, String property, String otherProperty) { return criteria.add(leProperty(property, otherProperty)); } public static Criteria addLt(Criteria criteria, String property, Object value) { return criteria.add(lt(property, value)); } public static Criteria addLtProperty(Criteria criteria, String property, String otherProperty) { return criteria.add(ltProperty(property, otherProperty)); } public static Criteria addGe(Criteria criteria, String property, Object value) { return criteria.add(ge(property, value)); } public static Criteria addGeProperty(Criteria criteria, String property, String otherProperty) { return criteria.add(geProperty(property, otherProperty)); } public static Criteria addGt(Criteria criteria, String property, Object value) { return criteria.add(gt(property, value)); } public static Criteria addGtProperty(Criteria criteria, String property, String otherProperty) { return criteria.add(gtProperty(property, otherProperty)); } public static Criteria addAllEq(Criteria criteria, Map<String, ?> propertyValues) { return criteria.add(allEq(propertyValues)); } public static Criteria addIsEmpty(Criteria criteria, String property) { return criteria.add(isEmpty(property)); } public static Criteria addIsNotEmpty(Criteria criteria, String property) { return criteria.add(isNotEmpty(property)); } public static Criteria addIsNull(Criteria criteria, String property) { return criteria.add(isNull(property)); } public static Criteria addIsNotNull(Criteria criteria, String property) { return criteria.add(isNotNull(property)); } public static Criteria addLike(Criteria criteria, String property, String value) { return addLike(criteria, property, value, MatchMode.START); } public static Criteria addLike(Criteria criteria, String property, String value, MatchMode matchMode) { return criteria.add(like(property, value, matchMode)); } public static Criteria addILike(Criteria criteria, String property, String value) { return addILike(criteria, property, value, MatchMode.START); } public static Criteria addILike(Criteria criteria, String property, String value, MatchMode matchMode) { return criteria.add(ilike(property, value, matchMode)); } public static Criteria addIdEq(Criteria criteria, Object idValue) { return criteria.add(idEq(idValue)); } public static Criteria addIn(Criteria criteria, String property, Collection<?> values) { return criteria.add(in(property, values)); } public static Criteria addIn(Criteria criteria, String property, Object... values) { return criteria.add(in(property, values)); } public static Criteria addBetween(Criteria criteria, String property, Object lo, Object hi) { return criteria.add(between(property, lo, hi)); } public static Criteria addBetween(Criteria criteria, String property, Object lo, Object hi, boolean includeLo, boolean includeHi) { return criteria.add(between(property, lo, hi, includeLo, includeHi)); } public static Criteria addInRange(Criteria criteria, String loProperty, String hiProperty, Object value) { return criteria.add(inRange(loProperty, hiProperty, value)); } public static Criteria addInRange(Criteria criteria, String loProperty, String hiProperty, Object value, boolean includeLo, boolean includeHi) { return criteria.add(inRange(loProperty, hiProperty, value, includeLo, includeHi)); } public static Criteria addOverlap(Criteria criteria, String loProperty, String hiProperty, Object lo, Object hi) { return criteria.add(overlap(loProperty, hiProperty, lo, hi)); } public static Criteria addOverlap(Criteria criteria, String loProperty, String hiProperty, Object lo, Object hi, boolean includeLo, boolean includeHi) { return criteria.add(overlap(loProperty, hiProperty, lo, hi, includeLo, includeHi)); } /** * 지정된 시각 이전인 경우 * * @param criteria hibernate criteria instance. * @param property 속성명 * @param moment 기준 시각 * @return Criteria instance. */ public static Criteria addElapsed(Criteria criteria, String property, Date moment) { return criteria.add(lt(property, moment)); } /** * 지정된 시각 이전이거나 같은 경우 * * @param criteria hibernate criteria instance. * @param property 속성명 * @param moment 기준 시각 * @return Criteria instance. */ public static Criteria addElapsedOrEqual(Criteria criteria, String property, Date moment) { return criteria.add(le(property, moment)); } /** * 지정된 시각 이후인 경우 * * @param criteria hibernate criteria instance. * @param property 속성명 * @param moment 기준 시각 * @return Criteria instance. */ public static Criteria addFutures(Criteria criteria, String property, Date moment) { return criteria.add(gt(property, moment)); } /** * 지정된 시각 이후이거나 같은 경우 * * @param criteria hibernate criteria instance. * @param property 속성명 * @param moment 기준 시각 * @return Criteria instance. */ public static Criteria addFuturesOrEqual(Criteria criteria, String property, Date moment) { return criteria.add(ge(property, moment)); } /** * 속성 값이 null인 경우는 false로 간주하고, value와 같은 값을 가지는 질의어를 추가합니다. * * @param criteria hibernate criteria instance. * @param property 속성명 * @param value 지정한 값 * @return Criteria instance. */ public static Criteria addNullAsFalse(Criteria criteria, String property, Boolean value) { if (value == null || value) return addEq(criteria, property, true); return criteria.add(eqOrIsNull(property, false)); } /** * 속성 값이 null인 경우는 true로 간주하고, value와 같은 값을 가지는 질의어를 추가합니다. * * @param criteria hibernate criteria instance. * @param property 속성명 * @param value 지정한 값 * @return Criteria instance. */ public static Criteria addNullAsTrue(Criteria criteria, String property, Boolean value) { if (value == null || value) return addEq(criteria, property, true); return criteria.add(eqOrIsNull(property, true)); } public static Criteria addNot(Criteria criteria, Criterion expr) { return criteria.add(not(expr)); } // // DetachedCriteria 관련 // public static DetachedCriteria addEq(DetachedCriteria criteria, String property, Object value) { return criteria.add(eq(property, value)); } public static DetachedCriteria addEqOrIsNull(DetachedCriteria criteria, String property, Object value) { return criteria.add(eqOrIsNull(property, value)); } public static DetachedCriteria addNotEq(DetachedCriteria criteria, String property, Object value) { return criteria.add(not(eq(property, value))); } public static DetachedCriteria addNotEqOrIsNull(DetachedCriteria criteria, String property, Object value) { return criteria.add(not(eqOrIsNull(property, value))); } public static DetachedCriteria addLe(DetachedCriteria criteria, String property, Object value) { return criteria.add(le(property, value)); } public static DetachedCriteria addLeProperty(DetachedCriteria criteria, String property, String otherProperty) { return criteria.add(leProperty(property, otherProperty)); } public static DetachedCriteria addLt(DetachedCriteria criteria, String property, Object value) { return criteria.add(lt(property, value)); } public static DetachedCriteria addLtProperty(DetachedCriteria criteria, String property, String otherProperty) { return criteria.add(ltProperty(property, otherProperty)); } public static DetachedCriteria addGe(DetachedCriteria criteria, String property, Object value) { return criteria.add(ge(property, value)); } public static DetachedCriteria addGeProperty(DetachedCriteria criteria, String property, String otherProperty) { return criteria.add(geProperty(property, otherProperty)); } public static DetachedCriteria addGt(DetachedCriteria criteria, String property, Object value) { return criteria.add(gt(property, value)); } public static DetachedCriteria addGtProperty(DetachedCriteria criteria, String property, String otherProperty) { return criteria.add(gtProperty(property, otherProperty)); } public static DetachedCriteria addAllEq(DetachedCriteria criteria, Map<String, ?> propertyValues) { return criteria.add(allEq(propertyValues)); } public static DetachedCriteria addIsEmpty(DetachedCriteria criteria, String property) { return criteria.add(isEmpty(property)); } public static DetachedCriteria addIsNotEmpty(DetachedCriteria criteria, String property) { return criteria.add(isNotEmpty(property)); } public static DetachedCriteria addIsNull(DetachedCriteria criteria, String property) { return criteria.add(isNull(property)); } public static DetachedCriteria addIsNotNull(DetachedCriteria criteria, String property) { return criteria.add(isNotNull(property)); } public static DetachedCriteria addLike(DetachedCriteria criteria, String property, String value) { return addLike(criteria, property, value, MatchMode.START); } public static DetachedCriteria addLike(DetachedCriteria criteria, String property, String value, MatchMode matchMode) { return criteria.add(like(property, value, matchMode)); } public static DetachedCriteria addILike(DetachedCriteria criteria, String property, String value) { return addILike(criteria, property, value, MatchMode.START); } public static DetachedCriteria addILike(DetachedCriteria criteria, String property, String value, MatchMode matchMode) { return criteria.add(ilike(property, value, matchMode)); } public static DetachedCriteria addIdEq(DetachedCriteria criteria, Object idValue) { return criteria.add(idEq(idValue)); } public static DetachedCriteria addIn(DetachedCriteria criteria, String property, Collection<?> values) { return criteria.add(in(property, values)); } public static DetachedCriteria addIn(DetachedCriteria criteria, String property, Object... values) { return criteria.add(in(property, values)); } public static DetachedCriteria addBetween(DetachedCriteria criteria, String property, Object lo, Object hi) { return criteria.add(between(property, lo, hi)); } public static DetachedCriteria addBetween(DetachedCriteria criteria, String property, Object lo, Object hi, boolean includeLo, boolean includeHi) { return criteria.add(between(property, lo, hi, includeLo, includeHi)); } public static DetachedCriteria addInRange(DetachedCriteria criteria, String loProperty, String hiProperty, Object value) { return criteria.add(inRange(loProperty, hiProperty, value)); } public static DetachedCriteria addInRange(DetachedCriteria criteria, String loProperty, String hiProperty, Object value, boolean includeLo, boolean includeHi) { return criteria.add(inRange(loProperty, hiProperty, value, includeLo, includeHi)); } public static DetachedCriteria addOverlap(DetachedCriteria criteria, String loProperty, String hiProperty, Object lo, Object hi) { return criteria.add(overlap(loProperty, hiProperty, lo, hi)); } public static DetachedCriteria addOverlap(DetachedCriteria criteria, String loProperty, String hiProperty, Object lo, Object hi, boolean includeLo, boolean includeHi) { return criteria.add(overlap(loProperty, hiProperty, lo, hi, includeLo, includeHi)); } /** * 지정된 시각 이전인 경우 * * @param criteria a detached criteria * @param property property name * @param moment date * @return detached criteria */ public static DetachedCriteria addElapsed(DetachedCriteria criteria, String property, Date moment) { return criteria.add(lt(property, moment)); } /** * 지정된 시각 이전이거나 같은 경우 * * @param criteria a detached criteria * @param property property name * @param moment date * @return detached criteria */ public static DetachedCriteria addElapsedOrEqual(DetachedCriteria criteria, String property, Date moment) { return criteria.add(le(property, moment)); } /** * 지정된 시각 이후인 경우 * * @param criteria a detached criteria * @param property property name * @param moment date * @return detached criteria */ public static DetachedCriteria addFutures(DetachedCriteria criteria, String property, Date moment) { return criteria.add(gt(property, moment)); } /** * 지정된 시각 이후이거나 같은 경우 * * @param criteria a detached criteria * @param property property name * @param moment date * @return detached criteria */ public static DetachedCriteria addFuturesOrEqual(DetachedCriteria criteria, String property, Date moment) { return criteria.add(ge(property, moment)); } /** * 속성 값이 null인 경우는 false로 간주하고, value와 같은 값을 가지는 질의어를 추가합니다. * * @param criteria a detached criteria * @param property property name * @param value null 값을 대체할 값, empty 면 true로 간주 * @return a detached criteria instance */ public static DetachedCriteria addNullAsFalse(DetachedCriteria criteria, String property, Boolean value) { if (value == null || value) return addEq(criteria, property, true); return criteria.add(eqOrIsNull(property, false)); } /** * 속성 값이 null인 경우는 true로 간주하고, value와 같은 값을 가지는 질의어를 추가합니다. * * @param criteria a detached criteria * @param property property name * @param value null 값을 대체할 값, empty 면 true로 간주 * @return a detached criteria instance */ public static DetachedCriteria addNullAsTrue(DetachedCriteria criteria, String property, Boolean value) { if (value == null || value) return addEq(criteria, property, true); return criteria.add(eqOrIsNull(property, true)); } public static DetachedCriteria addNot(DetachedCriteria criteria, Criterion expr) { return criteria.add(not(expr)); } public static Map<String, Object> toMap(HibernateParameter... parameters) { Map<String, Object> map = new HashMap<String, Object>(); for (HibernateParameter p : parameters) { map.put(p.getName(), p.getValue()); } return map; } @NotNull public static DetachedCriteria newDetachedCriteria(Class<?> clazz) { return DetachedCriteria.forClass(clazz); } public static DetachedCriteria copyDetachedCriteria(DetachedCriteria dc) { return Serializers.FST.copy(dc); } public static Criteria newCriteria(Class<?> clazz, Session session, Iterable<Order> orders, Iterable<Criterion> criterions) { Criteria criteria = session.createCriteria(clazz); addOrders(criteria, orders); addCriterions(criteria, criterions); return criteria; } public static Criteria copyCriteria(Criteria criteria) { return Serializers.FST.copy(criteria); } public static Criteria getExecutableCriteria(Session session, DetachedCriteria dc) { return dc.getExecutableCriteria(session); } public static Criteria getExecutableCriteria(Session session, DetachedCriteria dc, Iterable<Order> orders) { return getExecutableCriteria(session, addOrders(dc, orders)); } public static DetachedCriteria addOrders(DetachedCriteria dc, Iterable<Order> orders) { for (Order order : orders) { dc.addOrder(order); } return dc; } public static Criteria addOrders(Criteria criteria, Iterable<Order> orders) { for (Order order : orders) { criteria.addOrder(order); } return criteria; } public static Criteria addCriterions(Criteria criteria, Iterable<Criterion> criterions) { for (Criterion criterion : criterions) { criteria.add(criterion); } return criteria; } public static Query setParameters(Query query, Iterable<HibernateParameter> parameters) { for (HibernateParameter hp : parameters) { query.setParameter(hp.getName(), hp.getValue()); } return query; } public static Query setParameters(Query query, HibernateParameter... parameters) { return setParameters(query, Arrays.asList(parameters)); } public static Criteria setFirstResult(Criteria criteria, int firstResult) { if (firstResult >= 0) criteria.setFirstResult(firstResult); return criteria; } public static Query setFirstResult(Query query, int firstResult) { if (firstResult >= 0) query.setFirstResult(firstResult); return query; } public static Criteria setMaxResults(Criteria criteria, int maxResults) { if (maxResults > 0) criteria.setMaxResults(maxResults); return criteria; } public static Query setMaxResults(Query query, int maxResults) { if (maxResults > 0) query.setMaxResults(maxResults); return query; } public static Criteria setPaging(Criteria criteria, Pageable pageage) { return setPaging(criteria, pageage.getPageNumber() * pageage.getPageSize(), pageage.getPageSize()); } public static Criteria setPaging(Criteria criteria, int firstResult, int maxResults) { setFirstResult(criteria, firstResult); return setMaxResults(criteria, maxResults); } public static Query setPaging(Query query, Pageable pageage) { return setPaging(query, pageage.getPageNumber() * pageage.getPageSize(), pageage.getPageSize()); } public static Query setPaging(Query query, int firstResult, int maxResults) { setFirstResult(query, firstResult); return setMaxResults(query, maxResults); } public static Criteria setPageable(Criteria criteria, Pageable pageable) { setPaging(criteria, pageable); return addOrders(criteria, toOrders(pageable.getSort())); } public static Query setPageable(Query query, Pageable pageable) { return setPaging(query, pageable); } }
d3900fd9ab2a3d5dfd4b0eb0ec5b81d6db0944a1
ebbd41a9b9da12a2cd2955bb3610df9b3dc47145
/src/Clases/Cuenta.java
60d218f21750a543b24ea0db82b1b0e09b4e3ad4
[]
no_license
caceres06/ProyectoPoo-este-si
d7c3a578a46e402f37b031c8937a67eead5ce908
f1a023ef1eb8901ac6b8c6e26a8672a158facf74
refs/heads/master
2020-06-12T04:36:28.471040
2019-06-28T04:23:05
2019-06-28T04:23:05
194,196,169
0
0
null
null
null
null
UTF-8
Java
false
false
4,045
java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Clases; import Conexion.Conexion; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; /** * * @author Mabel */ public class Cuenta { public Conexion cb; int id_cuenta; String nombre; String tipo; float total; private int id_usuario; public Cuenta(Conexion cb) { this.cb = cb; } public Cuenta() { } public Cuenta(String nombre, String tipo, float total, int id_usuario) { this.nombre = nombre; this.tipo = tipo; this.total = total; this.id_usuario = id_usuario; } public boolean create(Movimiento g) throws SQLException { Connection conn = cb.getConnection(); String query = "INSERT INTO Cuenta VALUES (?,?,?,?)"; try{ PreparedStatement pstm = conn.prepareStatement(query); pstm.setString(2,nombre); pstm.setString(3,tipo); pstm.setFloat(4, total); pstm.setInt(5, id_usuario); if(pstm.executeUpdate() > 0){ return true; } }catch(SQLException ex){ System.out.println(ex.getMessage()); } finally{ conn.close(); } return false; } public boolean delete(int id_cuenta) { boolean flag = false; Connection conn = cb.getConnection(); String query = "DELETE FROM Movimiento WHERE id = ?"; try{ PreparedStatement stm = conn.prepareStatement(query); stm.setInt(1, id_cuenta); int rows = stm.executeUpdate(); if(rows!=0) flag = true; conn.close(); }catch(SQLException ex){ System.out.println("Error " + ex.getMessage()); ex.printStackTrace(); } return flag; } public ArrayList<Cuenta> Read() { Connection conn = cb.getConnection(); ArrayList<Cuenta> c = new ArrayList(); String query = "SELEC *FROM CUENTA"; try{ PreparedStatement stm = conn.prepareStatement(query); ResultSet rs = stm.executeQuery(); while(rs.next()){ Cuenta cuenta = new Cuenta(); cuenta.setId_cuenta(rs.getInt("idCuenta")); cuenta.setNombre(rs.getString("nombre")); cuenta.setTipo(rs.getString("tipo")); cuenta.setTotal(rs.getFloat("total")); cuenta.setId_usuario(rs.getInt("id_usuario")); c.add(cuenta); } //conn.close(); }catch(SQLException ex){ ex.printStackTrace(); } return c; } public Conexion getCb() { return cb; } public void setCb(Conexion cb) { this.cb = cb; } public int getId_cuenta() { return id_cuenta; } public void setId_cuenta(int id_cuenta) { this.id_cuenta = id_cuenta; } public String getNombre() { return nombre; } public void setNombre(String nombre) { this.nombre = nombre; } public String getTipo() { return tipo; } public void setTipo(String tipo) { this.tipo = tipo; } public float getTotal() { return total; } public void setTotal(float total) { this.total = total; } public boolean crear(Cuenta g) { return false; } public int getId_usuario() { return id_usuario; } public void setId_usuario(int id_usuario) { this.id_usuario = id_usuario; } }
3c944c0d7969d78566b51ae484e1533e14d9a3c3
a0e5858528a288b97aa32fb0f2170d6ed9226885
/base-platform-sys/micro/src/main/java/com/taiji/base/sys/entity/Menu.java
8700542431ea9e4ee1a0471a0e44cf03c4af7f70
[]
no_license
rauldoblem/nangang
f0a0f0c816c7de915c352cc467b2e6716c87a310
e48cadeaf5245c42b7e9a21f28903f4f4e8b6996
refs/heads/master
2020-08-11T04:01:12.891437
2019-06-25T13:42:57
2019-06-25T13:42:57
214,486,888
0
0
null
2019-10-11T16:51:17
2019-10-11T16:51:17
null
UTF-8
Java
false
false
2,624
java
package com.taiji.base.sys.entity; import com.taiji.micro.common.entity.BaseEntity; import com.taiji.micro.common.entity.utils.DelFlag; import lombok.Getter; import lombok.NonNull; import lombok.Setter; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; import org.hibernate.annotations.SelectBeforeUpdate; import org.hibernate.validator.constraints.Length; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import javax.validation.constraints.NotNull; /** * 资源菜单实体类 * * @author scl * * @date 2018-08-23 */ @DynamicInsert @DynamicUpdate @SelectBeforeUpdate @Entity @Table(name = "SYS_MENU") public class Menu extends BaseEntity<String> implements DelFlag { public Menu(){} /** * 父节点ID */ @Getter @Setter @Length(max = 36,message = "父节点编码parentId字段最大长度36") private String parentId; /** * 菜单名称 */ @Getter @Setter @Length(max = 50,message = "菜单名称menuName字段最大长度50") private String menuName; /** * 权限标识 */ @Getter @Setter @Length(max = 50,message = "权限标识permission字段最大长度50") private String permission; /** * 路径 */ @Getter @Setter @Length(max = 100,message = "路径path字段最大长度100") private String path; /** * 重定向 */ @Getter @Setter @Length(max = 100,message = "重定向路径redirect字段最大长度100") private String redirect; /** * 图标 */ @Getter @Setter @Length(max = 50,message = "图标icon字段最大长度50") private String icon; /** * 组件 */ @Getter @Setter @Length(max = 100,message = "组件component字段最大长度100") private String component; /** * 排序 */ @Getter @Setter private Integer orders; /** * 删除标志 0:正常,1:删除 */ @Getter @Setter @Length(max = 1,message = "删除标识delFlag字段最大长度1") private String delFlag; /** * 菜单类型 0:菜单,1:按钮 */ @Getter @Setter @Length(max = 1,message = "类型标识type字段最大长度1") private String type; /** * 是否隐藏,默认false */ @Getter @Setter @NotNull private Boolean hidden; /** * 是否显示,默认false */ @Getter @Setter @NotNull private Boolean alwaysShow; }
e43ddce3ffde5dcef2888312aeadd024e47dbc2a
a4e30c0d1be25ef085806a7921154a15e2554a2a
/src/Ch6_Methods_Classes_Closer_Look/FSDemo.java
a7a00fa4f74e223e3804440d55f0211f32b45083
[]
no_license
akapne01/Java-A-Beginner-s-Guide
ba82220c052006ffd3225341eaafb1e92beea11f
d661e066ca99f4ae5a8986a0da70d1593ac301cb
refs/heads/master
2022-02-20T12:45:16.345966
2019-08-24T10:26:51
2019-08-24T10:26:51
186,996,853
0
0
null
null
null
null
UTF-8
Java
false
false
2,178
java
/* This class implements a "fail-soft" array which prevents runtime errors. p. 188 */ package Ch6_Methods_Classes_Closer_Look; /* private variables a[], errvalue and private method: indexOK all 3 can be used only within the FailSoftArray class */ class FailSoftArray { private int a[]; // reference to array private int errvalue; // value to return if get() fails public int length; // length is public /* Construct array given its size and value to return if get() fails */ public FailSoftArray(int size, int errv) { a = new int[size]; errvalue = errv; length = size; } // Return value at given index public int get(int index) { if (indexOK(index)) return a[index]; return errvalue; } // Put a value at an index. Return false on failure public boolean put(int index, int val) { if (indexOK(index)) { a[index] = val; return true; } return false; } // Return true if index within bounds. private boolean indexOK(int index) { if (index >= 0 & index < length) return true; return false; } } // Demonstrates the fail-soft array public class FSDemo { public static void main(String[] args) { FailSoftArray fs = new FailSoftArray(5, -1); int x; // show quiet failures System.out.println("Fail quietly."); for (int i = 0; i < (fs.length * 2); i++) { fs.put(i, i*10); } for (int i = 0; i < (fs.length * 2); i++) { x = fs.get(i); if (x != -1) System.out.print(x + " "); } System.out.println(); // now, handle failures System.out.println("\nFail with error reports."); for (int i = 0; i < (fs.length * 2); i++) if (!fs.put(i, i * 10)) System.out.println("index " + i + " out-of-bounds"); for (int i = 0; i < (fs.length * 2); i++) { x = fs.get(i); if (x != -1) System.out.print(x + " "); else System.out.println("Index " + i + " out-of-bounds."); } } }
4bf156416ebcfd00b970673ccc79b816bce238a9
570f9b5eb59be59102a34bc84c051a4b98cb1217
/src/main/java/com/github/lc/request/StorageUnitsReplicaRelaGetReq.java
e6c68d8fc046e78f762880a2e5d299972bbb0429
[]
no_license
1374250553/nbu-sdk
a6d2d2ea1f49f5d7ae14b540ad92c36a102e5e57
e6ca928264bd88de0a6a2ac55199e5d159a75f61
refs/heads/master
2023-05-09T01:51:10.235953
2021-01-05T07:13:01
2021-01-05T07:13:01
null
0
0
null
null
null
null
UTF-8
Java
false
false
259
java
package com.github.lc.request; import com.github.lc.request.path.UriPath; public class StorageUnitsReplicaRelaGetReq extends AbstractReq{ @Override protected String uri() { return UriPath.GET_STORAGE_UNITS_REPLICATION_RELATIONSHIP; } }
49af7167d45a73c95dfbd6f8cd49377736903097
f4262eeef801978cbe0175d86ec18d04412c2aa9
/app/src/main/java/cimb/niaga/app/billsplit/fragment/AddNewPersonFragment.java
222b13552490387e2147343a700e41ed9e8202bf
[]
no_license
davscorp/split_bill_extended
7450f20fd520b9f9a6c762f1f9611fffa1b6e142
bc0749836191321bc70b2a4da98d0285d46cd168
refs/heads/master
2021-01-11T16:27:01.294139
2017-01-26T04:30:56
2017-01-26T04:30:56
80,085,538
0
0
null
null
null
null
UTF-8
Java
false
false
1,397
java
package cimb.niaga.app.billsplit.fragment; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; import cimb.niaga.app.billsplit.R; import cimb.niaga.app.billsplit.activities.CameraActivity; /** * Created by Denny on 1/20/2017. */ public class AddNewPersonFragment extends DialogFragment { Button btn_additem; EditText itemname, price; public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.fragment_add_new_item_bill, container, false); getDialog().setTitle("Owed Detail"); // btn_additem = (Button) view.findViewById(R.id.btn_additem); // itemname = (EditText) view.findViewById(R.id.editItem); // price = (EditText) view.findViewById(R.id.editPrice); // // btn_additem.setOnClickListener(new View.OnClickListener() { // @Override // public void onClick(View v) { // CameraActivity callingActivity = (CameraActivity) getActivity(); // getDialog().dismiss(); // callingActivity.getItem(itemname.getText().toString(), price.getText().toString()); // // } // }); return view; } }
824802144fb2334e3cd3520d29049a04ebe1cd9b
75df4d847425f2e3b87d16d7279ef3028167b9f3
/src/main/java/com/epsi/crytographie/lesInterfaces/ILexiqueCesar.java
7a0788fc83c463e6979949d291a8581cdaaa5aca
[]
no_license
myc1986/ProjetCryptographieJava
7e21ac2578792e2ebc105a4f79f8101a6b3f0b01
ccc526d6e814664f9ecd54b9345747963bf603dd
refs/heads/master
2020-05-18T17:12:52.369700
2014-07-03T10:44:45
2014-07-03T10:44:45
null
0
0
null
null
null
null
UTF-8
Java
false
false
142
java
package com.epsi.crytographie.lesInterfaces; public interface ILexiqueCesar extends ILexique, Cloneable { void InitialiserDictionnaire(); }
3781ce2810e09e843749844d0b8b257db22b59e4
f499851c7fd363c8e5c7d45a0d57367b47687f17
/src/main/java/com/sinotrans/transport/controller/DriverController.java
bbce32ed72f28f2361aa9c5b7adbb0e703ae0f4c
[ "Apache-2.0" ]
permissive
ermaoL/zwy
6bc1c087413cd82836af92d05c99719d2e3bac88
039c4b7c2d76bdf900e111707cdc7bdbf56a7ee4
refs/heads/master
2021-01-09T20:27:14.230472
2016-06-30T10:27:58
2016-06-30T10:27:58
61,686,350
0
0
null
null
null
null
UTF-8
Java
false
false
815
java
package com.sinotrans.transport.controller; /** * Created by emi on 2016/5/30. */ import com.sinotrans.transport.common.exception.RestException; import com.sinotrans.transport.dto.common.RestResponse; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.ResponseBody; import javax.servlet.http.HttpServletRequest; @Controller @RequestMapping(value = "/app/driver") public class DriverController { @RequestMapping(value = "/test", method = RequestMethod.GET) @ResponseBody public RestResponse test(HttpServletRequest request) { throw new RestException(22,"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"); } }
e0842d6446e2279d302e0497d898e7821bda81fc
c7dd7f5e9d944ddef8dd0af292af7e5a29205c35
/openjudge/src/com/itheima/core/dao/UserDao.java
07fb371211cf1deaebce2a22d7ab28d7bc1d1410
[]
no_license
Udangersoul/OnlineJudge
a954ce808d35e7d43df7b12e91ae259245c5efb0
c9df0776c1903caaf9138d5c42a1a53c47eb1b7c
refs/heads/master
2022-12-13T02:13:14.068437
2019-07-07T07:09:05
2019-07-07T07:09:05
188,827,825
1
0
null
2022-12-07T05:07:42
2019-05-27T11:08:18
HTML
UTF-8
Java
false
false
550
java
package com.itheima.core.dao; import org.apache.ibatis.annotations.Param; import com.itheima.core.po.User; /** * 用户DAO层接口 */ public interface UserDao { /** * 通过账号和密码查询用户 */ public User findUser(@Param("username") String username, @Param("password") String password); /** * 注册用户 */ public int registerUser(@Param("register_username") String register_username, @Param("register_password") String register_password , @Param("register_email") String register_email); }
c036afe4031ccc42bf7b2b680636b607d70a12d6
0d066254cb18b5d5f286b00e58730f7b70afb5e3
/app/src/main/java/com/example/mybooklist/Objects.java
a06bc1c4358ce0a6d2f1c5bf8000c0d1ffc4b703
[]
no_license
Aman09072000/MyBook_List
ffb62ad03b0c8516383dc530f7adc7433730532f
fa924e72d8361b236852b05714fc16f322132667
refs/heads/master
2023-02-04T23:29:00.043667
2020-12-27T05:11:44
2020-12-27T05:11:44
318,143,821
0
0
null
null
null
null
UTF-8
Java
false
false
527
java
package com.example.mybooklist; public class Objects { private String mauthorName; private String mBookName; private String mImage; public Objects(String mauthorName, String mBookName) { this.mauthorName = mauthorName; this.mBookName = mBookName; // this.mImage = mImage; } public String getMauthorName() { return mauthorName; } public String getmBookName() { return mBookName; } // public String getmImage() { // return mImage; // } }
b11695c40e4fd731109699002e978e9b2ceeaf99
151d96522f7bed06863dddaad51f9fecfdf56d6f
/CliGest/src/ao/co/cligest/controller/TratamentosController.java
16e94da30339374c47b2aef5c5e8f2857073b34a
[]
no_license
neblue47/cligest
0c44452f33fc64d36de739541ca8680314c7ddb0
09648d95bddb83fbe9e83cf3f8168b78d4b1e6b7
refs/heads/master
2020-03-16T01:46:02.903337
2018-09-21T12:56:07
2018-09-21T12:56:07
132,448,018
0
0
null
null
null
null
UTF-8
Java
false
false
2,461
java
package ao.co.cligest.controller; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import ao.co.cligest.dao.AgendaConsultaDAO; import ao.co.cligest.dao.ConsultaDAO; import ao.co.cligest.entidades.Triagem; import ao.co.cligest.interfaces.IAgendaConsulta; /** * Servlet implementation class TratamentosController */ @WebServlet("/TratamentosController") public class TratamentosController extends HttpServlet { private static final long serialVersionUID = 1L; private IAgendaConsulta _agendaConsulta = new AgendaConsultaDAO(); private ConsultaDAO _consulta = new ConsultaDAO(); /** * @see HttpServlet#HttpServlet() */ public TratamentosController() { super(); // TODO Auto-generated constructor stub } /** * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) */ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String codp = request.getParameter("pacInt"); String codm = request.getParameter("funInt"); String codc = request.getParameter("conInt"); String recomendacao = request.getParameter("recomendacao"); String tratamento = request.getParameter("tratamento"); try { Triagem tn = new Triagem(); int cods = _agendaConsulta.getServicoConfirmadaPorId(Integer.parseInt(codc)); tn.setFK_paciente(Integer.parseInt(codp)); tn.setFk_funcionario(Integer.parseInt(codm)); tn.setFK_doutor(Integer.parseInt(codm)); tn.setRecomendacao(recomendacao); tn.setTratamento(tratamento); tn.setId_servico(cods); tn.setId_cons_conf(Integer.parseInt(codc)); int cons = _consulta.novaConsultas(tn); tn.setId_consulta(cons); _consulta.novaTratamentoRecomendacao(tn); } catch (Exception e) { e.printStackTrace(); } response.sendRedirect("navegacaopd?mods=pd&pag=newcons&codp="+codp+"&codc="+codc); } /** * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) */ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub doGet(request, response); } }
6207160d75ec1657650c56df844252a17000658a
5f4bfcdf9c1b8f3d7ac31785201edb59a7e35273
/src/com/javarush/test/level13/lesson06/task01/Solution.java
dd42fac081465f1fdd3afacaddb8afa3b80c2756
[]
no_license
sergAleshchenko/JavaRushHomeWork
f6c9d23e881245c80d42f72cf06a5d860191b0a4
ff67c727cbe9f27468d83d625594b3f682a58320
refs/heads/master
2021-01-18T11:50:31.130020
2016-01-13T03:52:50
2016-01-13T03:52:50
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,258
java
package com.javarush.test.level13.lesson06.task01; /* Dog, Cat и Mouse 1. Создать классы Dog, Cat и Mouse. 2. Реализовать интерфейсы в добавленных классах, учитывая что: - Кот(Cat) может передвигаться, может кого-то съесть и может быть сам съеден. - Мышь(Mouse) может передвигаться и может быть съедена. - Собака(Dog) может передвигаться и съесть кого-то. */ public class Solution { public interface Moveable //может двигаться { void move(); } public interface Eatable //может быть съеден { void eaten(); } public interface Eat //может кого-нибудь съесть { void eat(); } class Dog implements Moveable, Eat { public void move() {} public void eat() {} } class Cat implements Moveable, Eatable, Eat { public void move() {} public void eat() {} public void eaten() {} } class Mouse implements Moveable, Eatable { public void move() {} public void eaten() {} } }
9da7eabe1ccb818c12bc66beaf194069a2c09fff
5a2b265183d8bb7170d0ace4e4449a2d3a3adfa3
/extensions/training/trainingfulfilmentprocess/testsrc/com/epam/training/fulfilmentprocess/test/actions/SendOrderPlacedNotification.java
3777d7b422ff8a36d6a367483598a7e372a757ae
[]
no_license
studenthybris/study_project
5401f6800030f3592ac0aa8ab9ce72b9ec1ac68c
8b30e2a422929af008075a3670e0ac1c04c67bb2
refs/heads/master
2021-05-14T07:40:44.418472
2018-01-23T14:45:32
2018-01-23T14:45:32
116,271,960
0
0
null
null
null
null
UTF-8
Java
false
false
528
java
/* * [y] hybris Platform * * Copyright (c) 2000-2015 hybris AG * All rights reserved. * * This software is the confidential and proprietary information of hybris * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the terms of the * license agreement you entered into with hybris. * * */ package com.epam.training.fulfilmentprocess.test.actions; /** * */ public class SendOrderPlacedNotification extends TestActionTemp { //empty }
5ca3fb01b32f2122c2bcad88074bd58d247be640
00c701c400feb8b3a4af148afa20a5e9c07d2659
/src/com/kootour/service4db/PictureCommentService4DB.java
2ef0f986f73508ec9a385f57c6492b883177f254
[]
no_license
shijun1999/frontend
315cbd84c47119f8cc90e50f5b9e7f9b58a10b12
ba74d75e4c68b5c0c7b53eb82c3aa6af50769966
refs/heads/master
2020-12-05T08:12:14.942263
2016-09-01T05:36:03
2016-09-01T05:36:03
67,101,410
0
0
null
null
null
null
UTF-8
Java
false
false
629
java
package com.kootour.service4db; import java.util.Date; import java.util.List; import java.util.Map; import com.kootour.mapper.entity.PictureCommentEntity; import com.kootour.mapper.paramentity.PictureCommentParamEntity; public interface PictureCommentService4DB { List<PictureCommentEntity> selectAll(); List<PictureCommentEntity> selectByPK(PictureCommentParamEntity pictureCommentParamEntity); List<PictureCommentEntity> selectByCondition(PictureCommentParamEntity pictureCommentParamEntity); void insertOne(PictureCommentEntity PictureCommentEntity); void updateByPK(PictureCommentEntity PictureCommentEntity); }
1c979938038973fa8111541e2d48d9583e1faa05
dbf9f376899449ded2b26e691cb41f88d280d594
/app/src/main/java/com/dell/projectsmart/MainActivity.java
28bd9d930a798ceb964532721b92ff1b05ffbe43
[]
no_license
samueljacob1995/Project-Smart
9d963a4f6798e1579fb72e584c5001d11257aa9f
cd5b633b82e68e05dd31e1f33bccbca37f4ed105
refs/heads/master
2020-12-04T12:44:57.463173
2020-01-04T13:41:16
2020-01-04T13:41:16
231,769,117
0
0
null
null
null
null
UTF-8
Java
false
false
1,472
java
package com.dell.projectsmart; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.ActivityCompat; import androidx.core.content.ContextCompat; import android.Manifest; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.EditText; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); if (ContextCompat.checkSelfPermission(this.getApplicationContext(), Manifest.permission.CAMERA) == PackageManager.PERMISSION_DENIED){ ActivityCompat.requestPermissions( this, new String[]{Manifest.permission.CAMERA}, 100); } } public void login(View view){ Intent intent = new Intent(this, BarCodeScannerActivity.class); EditText editText = (EditText) findViewById(R.id.email); String userName = editText.getText().toString(); String text = ""; if(!userName.isEmpty()) { text = String.valueOf(userName.charAt(0)).toUpperCase() + userName.substring(1).toLowerCase(); } intent.putExtra("userName", text); startActivity(intent); } }
ed2e159b52d323ef00731d01b7cd2bfdc3e9d135
ef7e3fb4c67637a2e6b63ed3c9cbc014999c255d
/src/main/java/com/example/demo/YmlListValueConfig.java
a135cde1b056a5e185398ab2bc00e876978469cf
[]
no_license
kekexi55/fengjie
ff0fc938eeef5e9512b3367d8dc822993ec1b616
52e9c27e48edfcc27037eaa05ccbb828190a8680
refs/heads/master
2023-07-03T06:51:25.640672
2021-08-03T11:12:09
2021-08-03T11:12:09
392,288,442
0
0
null
null
null
null
UTF-8
Java
false
false
3,063
java
package com.example.demo; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Objects; import java.util.stream.Collectors; /** * @description * @create: **/ @Component @ConfigurationProperties(prefix = "paichusuo") public class YmlListValueConfig implements ApplicationRunner { private List<String> name; @Value("${filePath}") private String filePath; public List<String> getName() { return name; } public void setName(List<String> name) { this.name = name; } public String getFilePath() { return filePath; } public void setFilePath(String filePath) { this.filePath = filePath; } @Override public void run(ApplicationArguments args) throws Exception { List<String> allFile = getFiles(filePath); List<String> allFilePrefix = allFile.stream().map(e -> e.substring(1+e.lastIndexOf(File.separator))).map(e -> e.split("\\.")[0]).collect(Collectors.toList()); List<String> nameList = name.stream().filter( e -> !allFilePrefix.contains(e)).collect(Collectors.toList()); String nameListStr = String.join(",", nameList); System.out.println("还未提交的有:"+nameListStr); List<MyData> result = new ArrayList<>(); List<String> datas = new ArrayList<>(); //合并excel for (String name : allFile) { String file = name.substring(1+name.lastIndexOf(File.separator)).split("\\.")[0]; List<MyData> dataList= ExcelUtil.readExcel( new BufferedInputStream(new FileInputStream(new File(name))),MyData.class); result.addAll(dataList); datas.add(file +":"+dataList.size()); } Date d = new Date(); SimpleDateFormat sbf =new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); String outFile = new File(filePath).getParent() + File.separator + "output" +"_"+sbf.format(d)+".xlsx"; ExcelUtil.writeExcel(new File(outFile),result); System.out.println("提交数量:"+String.join(",", datas)); } public static ArrayList<String> getFiles(String path) { ArrayList<String> files = new ArrayList<String>(); File file = new File(path); File[] tempList = file.listFiles(); if(Objects.isNull(tempList)){ return files; } for (int i = 0; i < tempList.length; i++) { if(".DS_Store".equals(tempList[i].getName())){ continue; } if (tempList[i].isFile()) { files.add(tempList[i].toString()); } } return files; } }
[ "zhengchunguang@moqipobing" ]
zhengchunguang@moqipobing
f3936b871667c290bf442218b37d6581add30643
35703a24f76599fa91c9e758d603ca5a6d02c5e6
/ios-moe/src/com/mygdx/binding/googlemobileads/enums/GADGender.java
5ee70f3c79df3f32eedf94cf2986a5f1f99f857d
[]
no_license
davidwernhart/rewardedvideotest
8c55ffe781959d355a7cc4bd7c99e6d0fb4b1033
c7a1fd1505a9a9fb09797fb141a0ad132ce8131a
refs/heads/master
2020-03-15T12:43:37.874855
2018-05-10T16:35:54
2018-05-10T16:35:54
132,150,262
0
0
null
null
null
null
UTF-8
Java
false
false
439
java
package com.mygdx.binding.googlemobileads.enums; import org.moe.natj.general.ann.Generated; import org.moe.natj.general.ann.NInt; @Generated public final class GADGender { @Generated private GADGender() { } @Generated @NInt public static final long Unknown = 0x0000000000000000L; @Generated @NInt public static final long Male = 0x0000000000000001L; @Generated @NInt public static final long Female = 0x0000000000000002L; }
4bd94f3e2ab58c4de69d4b2cfad681bddd21daa6
7c47bf6e0403c33dde2f9df1f0d0c693de70bb8d
/ServidorTsi2/src/Entidades/Ranking.java
127385db07ae85c3281cf85b4b1ac2b345fd5d95
[]
no_license
alegug/logicaheroku
84ef0e7508cfc4b526996f22603db3b9c4d9d98b
ba4c24667688da48267cacfd0aae5b82bb592d65
refs/heads/master
2021-08-22T20:51:13.285660
2017-12-01T08:08:31
2017-12-01T08:08:31
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,440
java
package Entidades; import java.util.List; import javax.persistence.ElementCollection; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.JoinTable; import javax.persistence.ManyToMany; import javax.persistence.ManyToOne; @Entity public class Ranking { @Id @GeneratedValue private int id; private int puntuacion; @ManyToOne @JoinColumn(name = "id_contenido", referencedColumnName = "id") private Contenido contenido; @ManyToOne @JoinColumn(name = "id_cliente", referencedColumnName = "id") private Cliente cliente; public Ranking(int puntuacion, Contenido contenido, Cliente cliente) { super(); this.puntuacion = puntuacion; this.contenido = contenido; this.cliente = cliente; } public Ranking() { super(); // TODO Auto-generated constructor stub } public int getId() { return id; } public void setId(int id) { this.id = id; } public int getPuntuacion() { return puntuacion; } public void setPuntuacion(int puntuacion) { this.puntuacion = puntuacion; } public Contenido getContenido() { return contenido; } public void setContenido(Contenido contenido) { this.contenido = contenido; } public Cliente getCliente() { return cliente; } public void setCliente(Cliente cliente) { this.cliente = cliente; } }
2d973491a86e88aa71a2c5b8d3629cc6743cf94a
7773ea6f465ffecfd4f9821aad56ee1eab90d97a
/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/IllegalWhitespaces.java
ca890b8b604b8ee51178879657aff539fadaeab8
[ "Apache-2.0" ]
permissive
aghasyedbilal/intellij-community
5fa14a8bb62a037c0d2764fb172e8109a3db471f
fa602b2874ea4eb59442f9937b952dcb55910b6e
refs/heads/master
2023-04-10T20:55:27.988445
2020-05-03T22:00:26
2020-05-03T22:26:23
261,074,802
2
0
Apache-2.0
2020-05-04T03:48:36
2020-05-04T03:48:35
null
UTF-8
Java
false
false
442
java
class C { void m() { f(1,<error descr="Expression expected"><error descr="Illegal character: U+00A0"> </error></error><error descr="',' or ')' expected">2</error>); } void f(int x, int y) { if (x == 0 ||<error descr="')' expected"><error descr="Expression expected"><error descr="Illegal character: U+00A0"> </error></error></error>y == 0<error descr="';' expected"><error descr="Unexpected token">)</error></error> { } } }
b262eee10a57613181f1091c88545d72d65e4f9c
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/java-msf4j/generated/src/gen/java/org/openapitools/model/ComAdobeGraniteInfocollectorInfoCollectorProperties.java
f61b3587eefa4f76e4bb5185d2b6c87bcb08f5b7
[ "Apache-2.0" ]
permissive
shinesolutions/swagger-aem-osgi
e9d2385f44bee70e5bbdc0d577e99a9f2525266f
c2f6e076971d2592c1cbd3f70695c679e807396b
refs/heads/master
2022-10-29T13:07:40.422092
2021-04-09T07:46:03
2021-04-09T07:46:03
190,217,155
3
3
Apache-2.0
2022-10-05T03:26:20
2019-06-04T14:23:28
null
UTF-8
Java
false
false
3,984
java
package org.openapitools.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.openapitools.model.ConfigNodePropertyBoolean; /** * ComAdobeGraniteInfocollectorInfoCollectorProperties */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaMSF4JServerCodegen", date = "2019-08-05T00:54:29.762Z[GMT]") public class ComAdobeGraniteInfocollectorInfoCollectorProperties { @JsonProperty("granite.infocollector.includeThreadDumps") private ConfigNodePropertyBoolean graniteInfocollectorIncludeThreadDumps = null; @JsonProperty("granite.infocollector.includeHeapDump") private ConfigNodePropertyBoolean graniteInfocollectorIncludeHeapDump = null; public ComAdobeGraniteInfocollectorInfoCollectorProperties graniteInfocollectorIncludeThreadDumps(ConfigNodePropertyBoolean graniteInfocollectorIncludeThreadDumps) { this.graniteInfocollectorIncludeThreadDumps = graniteInfocollectorIncludeThreadDumps; return this; } /** * Get graniteInfocollectorIncludeThreadDumps * @return graniteInfocollectorIncludeThreadDumps **/ @ApiModelProperty(value = "") public ConfigNodePropertyBoolean getGraniteInfocollectorIncludeThreadDumps() { return graniteInfocollectorIncludeThreadDumps; } public void setGraniteInfocollectorIncludeThreadDumps(ConfigNodePropertyBoolean graniteInfocollectorIncludeThreadDumps) { this.graniteInfocollectorIncludeThreadDumps = graniteInfocollectorIncludeThreadDumps; } public ComAdobeGraniteInfocollectorInfoCollectorProperties graniteInfocollectorIncludeHeapDump(ConfigNodePropertyBoolean graniteInfocollectorIncludeHeapDump) { this.graniteInfocollectorIncludeHeapDump = graniteInfocollectorIncludeHeapDump; return this; } /** * Get graniteInfocollectorIncludeHeapDump * @return graniteInfocollectorIncludeHeapDump **/ @ApiModelProperty(value = "") public ConfigNodePropertyBoolean getGraniteInfocollectorIncludeHeapDump() { return graniteInfocollectorIncludeHeapDump; } public void setGraniteInfocollectorIncludeHeapDump(ConfigNodePropertyBoolean graniteInfocollectorIncludeHeapDump) { this.graniteInfocollectorIncludeHeapDump = graniteInfocollectorIncludeHeapDump; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } ComAdobeGraniteInfocollectorInfoCollectorProperties comAdobeGraniteInfocollectorInfoCollectorProperties = (ComAdobeGraniteInfocollectorInfoCollectorProperties) o; return Objects.equals(this.graniteInfocollectorIncludeThreadDumps, comAdobeGraniteInfocollectorInfoCollectorProperties.graniteInfocollectorIncludeThreadDumps) && Objects.equals(this.graniteInfocollectorIncludeHeapDump, comAdobeGraniteInfocollectorInfoCollectorProperties.graniteInfocollectorIncludeHeapDump); } @Override public int hashCode() { return Objects.hash(graniteInfocollectorIncludeThreadDumps, graniteInfocollectorIncludeHeapDump); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ComAdobeGraniteInfocollectorInfoCollectorProperties {\n"); sb.append(" graniteInfocollectorIncludeThreadDumps: ").append(toIndentedString(graniteInfocollectorIncludeThreadDumps)).append("\n"); sb.append(" graniteInfocollectorIncludeHeapDump: ").append(toIndentedString(graniteInfocollectorIncludeHeapDump)).append("\n"); sb.append("}"); return sb.toString(); } /** * Convert the given object to string with each line indented by 4 spaces * (except the first line). */ private String toIndentedString(java.lang.Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); } }
d9d7ba648575ecd851a29357f410bf6c364ce870
72ce6210002fd4c641d86c37c21371808f6eedd1
/src/main/java/stepsdefs/StepsDefinitions.java
97657f042972ba7c1383eacff9eadddf2c866efb
[]
no_license
bondarenkoteom/AllureCucumberSberTest
b62a6f05c6a3eea37aa2ecb762ae3613ba6c4b56
3fd311638ad6bf0a9907a3a0745a34c166887fc5
refs/heads/master
2022-12-27T06:07:59.716308
2020-06-07T21:59:01
2020-06-07T21:59:01
270,360,044
0
0
null
null
null
null
UTF-8
Java
false
false
2,151
java
package stepsdefs; import io.cucumber.java.en.Then; import io.cucumber.java.en.When; import steps.MainPageSteps; import steps.MortgagePageSteps; import utils.AllureUtils; public class StepsDefinitions { private MainPageSteps mainPageSteps = new MainPageSteps(); private MortgagePageSteps mortgagePageSteps = new MortgagePageSteps(); @When("Выбрано поле 'Ипотека'") public void selectToMortgage() { mainPageSteps.selectToMortgage(); } @When("Выбрано поле 'Ипотека на готовое жилье'") public void selectToMortgageHome() { mainPageSteps.selectToMortgageHome(); } @When("Переходим к полю 'Рассчитайте ипотеку'") public void switchInFrameMort() { mortgagePageSteps.switchInFrameMort(); } @When("Чистим поле {string}") public void clearInputField(String nameField) { mortgagePageSteps.clearInputField(nameField); } @When("Вводим в поле {string} тестовые данные {string}") public void inputInField(String nameField, String count) { mortgagePageSteps.inputInField(nameField, count); } @When("Выставляем верные значения чекбоксов {string}") public void switchButton(String buttonNumber) { mortgagePageSteps.switchButton(buttonNumber); } @Then("Проверяем поле 'Сумма кредита'") public void assertCreditCost(String value) { mortgagePageSteps.assertCreditCost(value); } @Then("Поверяем поле 'Ежемесячный платеж'") public void assertMonthlyPayment(String value) { mortgagePageSteps.assertMonthlyPayment(value); } @Then("Проверяем поле 'Необходимый доход'") public void assertRequiredIncome(String value) { mortgagePageSteps.assertRequiredIncome(value); } @Then("Проверяем поле 'Процентная ставка'") public void assertRate(String value) { mortgagePageSteps.assertRate(value); } }
60c260ed58ad06813435bf0c05923c99a02cd349
c4d8bc3fdb5a8608c9dae0ce74753a04b2281ddf
/src/main/java/classycle/classfile/LongConstant.java
f83d380bfefa3e1351c357b3fc1d45c5724a78c3
[ "Apache-2.0", "BSD-2-Clause" ]
permissive
aludwiko/socomo-maven-plugin
a3b4d647252a045d5afce997c79def53c4248097
f9c5fb1cd8a52fde25ad96a3d7490b426d90c9f7
refs/heads/master
2021-01-17T22:52:23.286670
2015-05-25T18:35:21
2015-05-25T18:35:21
32,314,693
1
0
null
2015-03-16T09:37:31
2015-03-16T09:37:31
null
UTF-8
Java
false
false
1,965
java
/* * Copyright (c) 2003-2008, Franz-Josef Elmer, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * - Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package classycle.classfile; /** * Constant representing a <tt>long</tt> value. * * @author Franz-Josef Elmer */ public class LongConstant extends Constant { private final long _value; /** Creates an instance for the specified long value. */ public LongConstant(Constant[] pool, long value) { super(pool); _value = value; } /** Returns the wrapped long value. */ public long getValue() { return _value; } /** Returns the constant type and the long value. */ public String toString() { return "CONSTANT_Long: " + _value; } } //class
d317f4dc42ff297e5afccc01e16fccf4d723fd45
2c092b8c1a2069ec529245fc45135677089543a7
/src/Files/Archivo.java
6b9ee58be332225bada4b839839e581a73af5baf
[]
no_license
Gabo-kante/Algoritmos-geneticos
166b5a027795c6960a18e1ad44d2e9dac9762bad
3ea2d03b092c54c3aad51b5ae8b6a537cd844660
refs/heads/master
2023-06-30T08:16:16.041331
2021-06-16T01:47:31
2021-06-16T01:47:31
345,495,377
0
0
null
null
null
null
UTF-8
Java
false
false
4,317
java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Files; import Reinas.Individuo; import java.util.LinkedList; import java.util.StringTokenizer; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JFileChooser; import javax.swing.JOptionPane; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.util.ArrayList; import java.util.Arrays; import java.io.IOException; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; /** * * @author gabri */ public class Archivo { public static void escribir(ArrayList<Individuo> poblacion) { File carpetaGuardar = new File("PoblacionAlmacenada"); carpetaGuardar.mkdirs(); String carpeta = carpetaGuardar.getAbsolutePath(); try { //System.out.println("SIZE ACA>> "+poblacion.size()); FileWriter filesin = new FileWriter(carpeta + "\\MejoresIndividuos_nGuardados" + poblacion.size() + "_tamIndividuos" + poblacion.get(0).getGenotipo().length + ".txt"); BufferedWriter salida = new BufferedWriter(filesin); for (int i = 0; i < poblacion.size(); i++) { String individuo = Arrays.toString(poblacion.get(i).getGenotipo()); char[] aux = individuo.substring(1, individuo.length() - 1).toCharArray(); for (int j = 0; j < aux.length-1; j++) { if (aux[j] == 32 || aux[j] == 44) { } else { salida.append(aux[j]); salida.append(","); } } salida.append(aux[aux.length - 1]); salida.append("\n"); } salida.close(); } catch (FileNotFoundException ex) { ex.printStackTrace(); } catch (IOException ex) { ex.printStackTrace(); } } public static ArrayList<Individuo> tokenizarDataSet() throws IOException { // ventana para abrir el txt String texto, aux; LinkedList<String> lista = new LinkedList(); ArrayList<Individuo> reinas = new ArrayList<>(); try { //llamamos el metodo que permite cargar la ventana JFileChooser file = new JFileChooser(); file.showOpenDialog(file); //abrimos el archivo seleccionado File abre = file.getSelectedFile(); //recorremos el archivo y lo leemos if (abre != null) { FileReader archivos = new FileReader(abre); BufferedReader lee = new BufferedReader(archivos); while ((aux = lee.readLine()) != null) { texto = aux; lista.add(texto); } lee.close(); //System.out.println(lista.size()); ArrayList<String> lista2 = new ArrayList<>(); String clase = ""; String claseComp = ""; int n = 0; for (int i = 0; i < lista.size(); i++) { StringTokenizer st = new StringTokenizer(lista.get(i), ","); while (st.hasMoreTokens()) { lista2.add(st.nextToken()); } int[] vector = new int[lista2.size()]; for (int x = 0; x < lista2.size() - 1; x++) { vector[x] = Integer.parseInt(lista2.get(x)); } claseComp = clase; clase = lista2.get(lista2.size() - 1); reinas.add(new Individuo(vector)); lista2.clear(); } } } catch (IOException ex) { JOptionPane.showMessageDialog(null, ex + "" + "\nNo se ha encontrado el archivo", "ADVERTENCIA!!!", JOptionPane.WARNING_MESSAGE); return null; } return reinas; } }
dfa20dac9fafeec7580dca548beed3997ac01688
bf190cf8d5d40e1b62a3a79f4dda1817b3d97fcd
/src/test/java/com/naef/jnlua/test/fixture/TestObject.java
acef3a71f167bd8cdca417b2c3afeeeea12e4b8b
[ "MIT" ]
permissive
jjjesus/jnlua
6dff8544b154213ba216d146da45daa59362dc97
86f4c23927332c176f4ab4c6b28cee6a28d7ae60
refs/heads/master
2020-12-25T02:23:24.155205
2013-02-27T20:53:18
2013-02-27T20:53:18
null
0
0
null
null
null
null
UTF-8
Java
false
false
3,932
java
/* * $Id: TestObject.java 157 2012-10-05 23:00:17Z [email protected] $ * See LICENSE.txt for license terms. */ package com.naef.jnlua.test.fixture; import java.math.BigDecimal; import java.math.BigInteger; /** * A test object for reflection testing. */ public class TestObject implements Comparable<TestObject> { // -- Static /** * A public static field. */ public static String TEST_FIELD = "test"; /* * Public test fields for all types. */ public boolean booleanField; public byte byteField; public byte[] byteArrayField; public short shortField; public int intField; public long longField; public float floatField; public double doubleField; public BigInteger bigIntegerField; public BigDecimal bigDecimalField; public char charField; public String stringField; /** * A private field. */ private String foo; /** * The value of this object. */ private int value; // -- Static methods /** * A public static method. */ public static String testStatic() { return "test"; } // -- State /** * A public field. */ public String testField = "test"; // -- Construction /** * Creates a new instance. */ public TestObject() { } /** * Creates a new instance. */ public TestObject(int value) { this.value = value; } // -- Methods /** * A public method. */ public String test() { return "test"; } // -- Properties /** * A property reader. */ public String getFoo() { return foo; } /** * A property writer. */ public void setFoo(String foo) { this.foo = foo; } /** * Returns the value of this object. */ public int getValue() { return value; } /** * Sets the value of this object. */ public void setValue(int value) { this.value = value; } // -- Overloaded methods /** * Overloaded method dispatch test method. */ public String overloadedSub(TestObject testObject) { return "super"; } /** * Overloaded method dispatch test method. */ public String overloadedSub(Sub sub) { return "sub"; } /** * Overloaded method dispatch test method. */ public String overloadedSibling(B b) { return "b"; } /** * Overloaded method dispatch test method. */ public String overloadedSibling(C c) { return "c"; } /** * Overloaded method dispatch test method. */ public String overloadedParentChild(A a) { return "a"; } /** * Overloaded method dispatch test method. */ public String overloadedParentChild(B c) { return "b"; } // -- Object methods @Override public int hashCode() { return value; } @Override public boolean equals(Object obj) { if (!(obj instanceof TestObject)) { return false; } TestObject other = (TestObject) obj; return value == other.value; } @Override public String toString() { return String.valueOf(value); } // -- Comparable methods @Override public int compareTo(TestObject o) { if (value < o.value) { return -1; } if (value > o.value) { return 1; } return 0; } // -- Nested classes /** * Subclass for method dispatch testing. */ public static class Sub extends TestObject { } /** * Class for method dispatch testing. */ public static class AB implements A, B { } /** * Class for method dispatch testing. */ public static class AC implements A, C { } /** * Class for method dispatch testing. */ public static class BC implements B, C { } // -- Nested interfaces /** * Overloaded method dispatch test interface. */ public interface A { } /** * Overloaded method dispatch test interface. */ public interface B extends A { } /** * Overloaded method dispatch test interface. */ public interface C extends A { } }
92ecafa182efcafea7e5424f014a4792659eb57f
68aee46abedebc032db3f90e5231e5970726cd66
/app/src/main/java/com/dazhongmianfei/dzmfreader/eventbus/RefreshBookInfo.java
ebcd499601010528e304b945f308ab93d07867b2
[]
no_license
117545848/Dazhongmianfei
c80019cf0ecb51bc3b3d23b736e996fb5831fe91
412d59508ae48b4bf3979e180886881a46a80bb4
refs/heads/master
2020-09-21T14:56:48.749724
2019-12-28T07:57:33
2019-12-28T07:57:33
224,822,659
1
2
null
null
null
null
UTF-8
Java
false
false
269
java
package com.dazhongmianfei.dzmfreader.eventbus; /** * Created by scb on 2018/8/8. */ public class RefreshBookInfo { public boolean isSave; public RefreshBookInfo(boolean isSave) { this.isSave = isSave; } public RefreshBookInfo() { } }
7b9863b6ba12ed9ca91ff61af8cc3c02cf3a1d32
99a9d037f8298ec1a017ff6aed84b07082194285
/src/HtmlParser/GetURL.java
09acc5a119940180941d2f8ac7abd1ed15aea870
[]
no_license
HsuChihwen/GetURL
68610c0095a570ce5f539918b17111d02a4d86b1
710acfb3f64ee3a4baddc340931c0392b38443dc
refs/heads/master
2021-01-01T05:32:01.647690
2014-10-10T01:58:45
2014-10-10T01:58:45
25,016,292
1
0
null
null
null
null
UTF-8
Java
false
false
2,389
java
package HtmlParser; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.util.ArrayList; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.swing.text.html.HTMLDocument; import org.htmlparser.Node; import org.htmlparser.NodeFilter; import org.htmlparser.Parser; import org.htmlparser.filters.TagNameFilter; import org.htmlparser.util.NodeIterator; import org.htmlparser.util.NodeList; import org.htmlparser.util.ParserException; import org.htmlparser.visitors.HtmlPage; import org.htmlparser.visitors.TextExtractingVisitor; public class GetURL { public static void main(String[] args) { // TODO Auto-generated method stub try { URL url = new URL("http://95598.js.sgcc.com.cn/95598/powercolumn/getSRegionOutage.action?sRegionOutage.startTime=2014-05-08&sRegionOutage.stopDate=2014-05-14&sRegionOutage.areaType=city&sRegionOutage.poweroffArea=320400&sRegionOutage.cityName=%E5%B8%B8%E5%B7%9E&sRegionOutage.facilityArea=&sRegionOutage.scope="); URLConnection urlConnection = url.openConnection(); urlConnection.setDoOutput(true); urlConnection.connect(); String temp; final StringBuffer sb = new StringBuffer(); final BufferedReader in = new BufferedReader(new InputStreamReader( url.openStream(), "UTF-8")); while ((temp = in.readLine()) != null) { sb.append("\n"); sb.append(temp); } in.close(); System.out.println(sb); //get table Parser parser = new Parser(urlConnection); // TextExtractingVisitor visitor = new TextExtractingVisitor(); // parser.visitAllNodesWith(visitor); // String string = visitor.getExtractedText(); // System.out.println(string); // parser.setEncoding("UTF-8"); // HtmlPage htmlPage = new HtmlPage(parser); // parser.visitAllNodesWith(htmlPage); // NodeList nodeList = htmlPage.getBody(); // System.out.println(nodeList); } catch (MalformedURLException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (ParserException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }
dbb0be14dc86884964762811e4ad2cda3830e70a
22e83c41fc19aa205af4813cc36ffffdaa7411b5
/src/main/java/com/sap/rnd/logExtraction/pojo/TimeRange.java
c0bf365278b9673dcd41295f3ea9363a6f0df2cb
[]
no_license
ilyesInzo/logExtraction
229ca4a207d72680094ea3befbbafb138edd1c21
1e86bc13534047acd4bf053d4d7ea0afb13313a2
refs/heads/master
2023-01-23T19:26:10.999501
2020-11-25T14:11:11
2020-11-25T14:11:11
315,629,338
0
0
null
null
null
null
UTF-8
Java
false
false
865
java
package com.sap.rnd.logExtraction.pojo; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonProperty; public class TimeRange { @JsonProperty("@timestamp") private TimeQuery timestamp; public TimeQuery getTimestamp() { return timestamp; } public void setTimestamp(TimeQuery timestamp) { this.timestamp = timestamp; } // We want to keep the other values unchanged @JsonAnySetter Map<String, Object> properties = new HashMap<>(); @JsonAnyGetter public Map<String, Object> getProperties() { return properties; } public void setProperties(Map<String, Object> properties) { this.properties = properties; } public Object getPropertyValue(String key) { return properties.get(key); } }
7d7198b13bbe420107519a773b7819920033ece8
d459c1517c43ac0e5a6290be93a92767c5d8f084
/library/src/by/javatr/library/bean/Role.java
567b95f31a22b954683250555a4ce6c282c9b0ff
[]
no_license
nowhiek/javatr
b7179092ed91670a4af5eb3ade091310da8a2b49
6a4b0422e2df746910049cf601a8e92428edee67
refs/heads/master
2022-07-15T17:15:21.678010
2020-03-24T06:41:17
2020-03-24T06:41:17
222,529,611
2
1
null
2021-04-19T13:56:07
2019-11-18T19:39:53
Java
UTF-8
Java
false
false
492
java
package by.javatr.library.bean; public enum Role { USER("User"), ADMIN("Admin"); private String role; Role() { } Role(String role) { this.role = role; } public String getTitle() { return role; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("[".concat(getClass().getSimpleName()).concat(" - role : ").concat(role).concat("]")); return sb.toString(); } }
a1be59aa0505fa99f6fa9e4645921831c6ecd080
f93f38259cf2b19d3f7be9ce470e0516f40bb8db
/SSM/test/com/ssm/test/UUIDTest.java
33745a6d0635b9439145caa5e90d08b7fb6bae10
[]
no_license
liuxingyuGit/ABC
21f31cffe0f422af23281a02a18a05efee01fe2d
0a0f7ae610f28c13e87ed9423973e8d8efe1dbcd
refs/heads/master
2021-01-19T06:09:59.440314
2016-06-20T05:19:26
2016-06-20T05:19:26
61,519,749
0
0
null
null
null
null
UTF-8
Java
false
false
770
java
package com.ssm.test; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.UUID; /** * 测试 UUID */ public class UUIDTest { public static synchronized String getLongId() { UUID uuid = UUID.randomUUID(); String str = uuid.toString(); String uuidStr = str.replace("-", ""); return uuidStr; } public static void main(String[] args) { // System.out.println(getLongId()+",长度:"+getLongId().length()); String d = String.valueOf(System.currentTimeMillis()); String df = new SimpleDateFormat("yyyy-MM-DD HH:mm:ss").format(new Date()).replace("-", "").replace(":", "") .replace(" ", "").substring(8); System.out.println(String.valueOf(d) + df+","+(String.valueOf(d) + df).length()); } }
7f693761de12c7bede654c9cc6bf1e590b4b1d57
d3080014882b6281c935bab2beac8a57fdc907d5
/app/src/test/java/com/example/chapter3_8_3/ExampleUnitTest.java
2807c008452bd5a8a5df0fb2359be01d4be8350e
[]
no_license
96998/Chapter3_8_3
5287ec6a09b927c1e510f88e2e004a1db572f4b1
4ee36becc0efe138fd7dfc15657067b519d6f489
refs/heads/master
2020-05-30T11:14:37.028237
2019-06-01T05:50:38
2019-06-01T05:50:38
189,695,785
0
0
null
null
null
null
UTF-8
Java
false
false
385
java
package com.example.chapter3_8_3; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void addition_isCorrect() { assertEquals(4, 2 + 2); } }
938c256f3e8c6869e4e5ee8b896adfba98a6f892
2c0c39c5a19cb78af5484559a4b5283a927009de
/saiku-core/saiku-web/src/main/java/org/saiku/web/export/DomConverter.java
0033304b69c96bd000ae671037187437f264e80e
[ "LicenseRef-scancode-generic-cla", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
xiexiao04/saiku-release-3.14
c4eca54b0516f05d686a6c1a5e59e2d0f11c5216
f9825d49c9e318ff93c49ca9a9261dafdc57ea47
refs/heads/master
2021-05-16T08:02:31.482780
2017-08-05T01:03:29
2017-08-05T01:03:29
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,114
java
package org.saiku.web.export; import org.htmlcleaner.CleanerProperties; import org.htmlcleaner.DomSerializer; import org.htmlcleaner.HtmlCleaner; import org.htmlcleaner.TagNode; import java.io.ByteArrayInputStream; class DomConverter { public static org.w3c.dom.Document getDom(String html) { ByteArrayInputStream input = new ByteArrayInputStream(html.getBytes()); final HtmlCleaner cleaner = createHtmlCleanerWithProperties(); DomSerializer doms = new DomSerializer(cleaner.getProperties(), false); try { TagNode node = cleaner.clean(input); return doms.createDOM(node); } catch (Exception e) { e.printStackTrace(); } return null; } private static HtmlCleaner createHtmlCleanerWithProperties() { HtmlCleaner cleaner = new HtmlCleaner(); CleanerProperties props = cleaner.getProperties(); props.setAdvancedXmlEscape(true); props.setRecognizeUnicodeChars(true); props.setTranslateSpecialEntities(true); return cleaner; } }
aca8e50604419efeb19b1982768a36c307477c25
2de78b78121b0c409083df55b78d19dfc9554adb
/src/main/java/org/bootcamp/vehicle/Car.java
1ea9f663c64fe79a2031b95f9c5cdbba60a651bb
[]
no_license
lucianbc/JavaDevBootcampFinal
5ccfd381e45db5005a980c44a030ab174fb1cd4b
c455bf0190cded44cbf9e8a4827c91da8bbe7974
refs/heads/master
2023-05-03T05:01:26.953860
2018-04-25T17:17:32
2018-04-25T17:17:32
131,018,004
1
0
null
2023-03-31T16:50:10
2018-04-25T14:20:53
Java
UTF-8
Java
false
false
737
java
package org.bootcamp.vehicle; public final class Car extends Vehicle { private Transmission transmission = Transmission.MANUAL; public Car() {} public Car(int age, long numberOfMiles, boolean isDiesel) { this(age, numberOfMiles, isDiesel, Transmission.MANUAL); } public Car(int age, long numberOfMiles, boolean isDiesel, Transmission transmission) { super(age, numberOfMiles, isDiesel); this.transmission = transmission; } public Transmission getTransmission() { return transmission; } public void setTransmission(Transmission transmission) { this.transmission = transmission; } public enum Transmission { MANUAL, AUTO; } }
6a32e885f0a3dd76bc921e590fad0fc1ddfec05e
161a3eede8db9e291f26f4e645fe2185e25075ae
/src/P21_30/P29.java
5d7d22b9d7c60b5577f6cdff460a0eb3282bf440
[]
no_license
zwffff2015/ProjectEuler
c3d8e98539fb801df66db40e79d913d0c35c8bb0
0403af5ef32b3d3b6da411d165598fceae704e09
refs/heads/master
2021-01-18T15:06:29.470535
2016-03-09T03:04:42
2016-03-09T03:04:42
46,974,571
0
0
null
null
null
null
WINDOWS-1252
Java
false
false
1,720
java
package P21_30; import java.util.ArrayList; /** * Author: DarrenZeng * Date: 2015-12-17 */ /* =====Project Euler 29===== Consider all integer combinations of ab for 2 ¡Ü a ¡Ü 5 and 2 ¡Ü b ¡Ü 5: 22=4, 23=8, 24=16, 25=32 32=9, 33=27, 34=81, 35=243 42=16, 43=64, 44=256, 45=1024 52=25, 53=125, 54=625, 55=3125 If they are then placed in numerical order, with any repeats removed, we get the following sequence of 15 distinct terms: 4, 8, 9, 16, 25, 27, 32, 64, 81, 125, 243, 256, 625, 1024, 3125 How many distinct terms are in the sequence generated by ab for 2 ¡Ü a ¡Ü 100 and 2 ¡Ü b ¡Ü 100? */ public class P29 { public static int getTotal(int number) { ArrayList<String> list = new ArrayList<String>(); for (int i = 2; i <= number; i++) { for (int j = 2; j <= number; j++) { String result = getPow(i, j); if (!list.contains(result)) list.add(result); } } return list.size(); } private static String getPow(int a, int b) { ArrayList<Integer> result = new ArrayList<Integer>(); result.add(0, 1); for (int i = 1; i <= b; i++) { int carryBit = 0; for (int j = 0; j < result.size(); j++) { int tempResult = result.get(j) * a + carryBit; result.set(j, tempResult % 10); carryBit = tempResult / 10; } if (carryBit > 0) { result.add(result.size(), carryBit); } } String str = ""; for (int i = result.size() - 1; i >= 0; i--) { str += result.get(i); } return str; } }
4f113c9423676544711093663ea15cff33c52aa3
ff5becd19c8449ee280d6c36a2e2f9ffbccf88df
/Settings.java
2852ece4a259ac4c75da8a66a23ab62e48fbdae4
[]
no_license
YuriDomingos/Projecto-Lussolo-Luamakalo
944461a2b14d260ab8f205202bb595d921c4b082
c28089d3cceff83807dd9a8706908faaf915c936
refs/heads/main
2023-02-01T19:35:56.105933
2020-12-20T06:18:26
2020-12-20T06:18:26
323,006,468
4
0
null
null
null
null
UTF-8
Java
false
false
2,821
java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package projectofrequenciacge21711; /** * * @author yuri */ public class Settings extends javax.swing.JPanel { /** * Creates new form Settings */ public Settings() { initComponents(); } /** * This method is called from within the constructor to initialize the form. * WARNING: Do NOT modify this code. The content of this method is always * regenerated by the Form Editor. */ @SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jPanel1 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jPanel1.setBackground(new java.awt.Color(254, 254, 254)); jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/projectofrequenciacge21711/logotiponmn.jpg"))); // NOI18N jLabel1.setText("jLabel1"); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 812, Short.MAX_VALUE) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 600, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE)) ); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 580, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 16, Short.MAX_VALUE)) ); }// </editor-fold>//GEN-END:initComponents // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JLabel jLabel1; private javax.swing.JPanel jPanel1; // End of variables declaration//GEN-END:variables }
69e9cef21fd6e3deddbf9dcef743ef5caa623440
c0ef206e8c435a08387980bcece03d8f71b1ff26
/src/main/java/com/jakubartlomiej/rentcarrestapi/RentCarRestapiApplication.java
d48ee4522d294500ced0e85763da3acda05cee7e
[]
no_license
jakubartlomiej/rent-car-restapi
b06765b19a01225f6205b1d8a4173f2643b37ffd
cda6ee73ac511557f288859fa8b024bf9c612765
refs/heads/master
2023-06-03T23:02:56.407356
2021-06-18T08:24:44
2021-06-18T08:24:44
371,086,547
3
0
null
null
null
null
UTF-8
Java
false
false
342
java
package com.jakubartlomiej.rentcarrestapi; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class RentCarRestapiApplication { public static void main(String[] args) { SpringApplication.run(RentCarRestapiApplication.class, args); } }
06b76c241267be6dbbcaf8447782eef7b2d45fac
12ed8a182271e0940574d298669e96b63bdb0e5e
/app/src/main/java/cn/connie/tinker/utils/NotificationUtil.java
8fd3a49170930992fb461bdf93277acce12252f3
[]
no_license
HMConnie/cn-tinker-android
d5158b22cfcf9a4335b799beba2de8f75090d380
fca6da7d02941bc2ba57dbfaba9f7ade343faa8e
refs/heads/master
2020-04-02T12:18:23.253909
2018-10-24T06:47:21
2018-10-24T06:47:21
154,427,861
0
0
null
null
null
null
UTF-8
Java
false
false
2,802
java
package cn.connie.tinker.utils; import android.app.Activity; import android.app.AppOpsManager; import android.app.NotificationManager; import android.content.Context; import android.content.Intent; import android.content.pm.ApplicationInfo; import android.os.Build; import android.provider.Settings; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; /** * Created by hinge on 17/9/19. */ public class NotificationUtil { private static final String CHECK_OP_NO_THROW = "checkOpNoThrow"; private static final String OP_POST_NOTIFICATION = "OP_POST_NOTIFICATION"; /** * 返回值为true时,通知栏打开,false未打开。 * * @param context * @return */ public static boolean isNotificationEnabled(Context context) { AppOpsManager mAppOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); ApplicationInfo appInfo = context.getApplicationInfo(); String pkg = context.getApplicationContext().getPackageName(); int uid = appInfo.uid; try { NotificationManager manager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { return manager.areNotificationsEnabled(); } else { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { Class appOpsClass = Class.forName(AppOpsManager.class.getName()); Method checkOpNoThrowMethod = appOpsClass.getMethod(CHECK_OP_NO_THROW, Integer.TYPE, Integer.TYPE, String.class); Field opPostNotificationValue = appOpsClass.getDeclaredField(OP_POST_NOTIFICATION); int value = (Integer) opPostNotificationValue.get(Integer.class); return ((Integer) checkOpNoThrowMethod.invoke(mAppOps, value, uid, pkg) == AppOpsManager.MODE_ALLOWED); } else { return false; } } } catch (ClassNotFoundException e) { e.printStackTrace(); } catch (NoSuchMethodException e) { e.printStackTrace(); } catch (NoSuchFieldException e) { e.printStackTrace(); } catch (InvocationTargetException e) { e.printStackTrace(); } catch (IllegalAccessException e) { e.printStackTrace(); } return false; } /** * 进入设置系统应用权限界面 * * @param activity */ public static void goToSet(Activity activity) { if (activity == null) return; Intent intent = new Intent(Settings.ACTION_SETTINGS); activity.startActivity(intent); } }
6a1a3f412376afdc57777c9693ae082cbc16d0ca
662a6b479c1acb9958bc562da765908c18b2e0b1
/lost_and_found_forestage_backEnd/src/main/java/cn/bfcod/lost_and_found/service/impl/LostthingsRelationServiceImpl.java
7e3ca3de2311def68044dfbbd6edfb6e19e81c0a
[ "Apache-2.0" ]
permissive
BFWFCOD/lost_and_found_forestage
93ac36bf219bad4aaa1418933339b77c68fca9f2
eae43c9c3d760dcb25a573bccc10ca15dd8d166b
refs/heads/master
2023-05-04T00:34:26.271216
2021-05-26T15:22:25
2021-05-26T15:22:25
370,684,908
0
0
null
null
null
null
UTF-8
Java
false
false
1,493
java
package cn.bfcod.lost_and_found.service.impl; import cn.bfcod.common.utils.PageUtils; import cn.bfcod.common.utils.Query; import cn.bfcod.lost_and_found.dao.LostthingsRelationDao; import cn.bfcod.lost_and_found.entity.LostthingsRelationEntity; import cn.bfcod.lost_and_found.service.LostthingsRelationService; import org.springframework.stereotype.Service; import java.util.Map; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; @Service("lostthingsRelationService") public class LostthingsRelationServiceImpl extends ServiceImpl<LostthingsRelationDao, LostthingsRelationEntity> implements LostthingsRelationService { @Override public PageUtils queryPage(Map<String, Object> params) { IPage<LostthingsRelationEntity> page = this.page( new Query<LostthingsRelationEntity>().getPage(params), new QueryWrapper<LostthingsRelationEntity>() ); return new PageUtils(page); } @Override public LostthingsRelationEntity getByLostthingsId(Long id) { LostthingsRelationEntity lostthingsRelationEntity= baseMapper.getByLostthingsId(id); if (lostthingsRelationEntity==null){ lostthingsRelationEntity =new LostthingsRelationEntity(); } System.err.println(lostthingsRelationEntity.toString()); return lostthingsRelationEntity; } }
bd436a49df1223daa4893bc77b0b2a0be2b8738c
1baa1cc1c2b5a71da4e0bed8b40ff4002b52e170
/declare/src/main/java/com/global/fems/business/domain/QuotaInfo.java
d5257ad0ed1eaed669a8838ad96a75ff7d9e9d9e
[]
no_license
csl51cn/rtpettyloan
413e05a505bcd0085a5d9d2e9fbbb8bf5337b4c5
5d58daa53901f982ebe916cb03eef46ebe622d5e
refs/heads/master
2022-12-26T02:47:11.241824
2019-01-03T03:55:50
2019-01-03T03:55:50
88,959,836
1
0
null
2022-12-16T11:48:40
2017-04-21T08:17:02
Java
UTF-8
Java
false
false
10,858
java
package com.global.fems.business.domain; import com.global.framework.dbutils.annotation.ColumnMapping; import com.global.framework.dbutils.annotation.TableMapping; import com.global.framework.dbutils.support.Entity; import org.hibernate.validator.constraints.NotBlank; import javax.validation.constraints.NotNull; import java.util.Date; /** * @author senlin.deng * @date 2018/4/3 13:50 * 授信额度信息实体类 */ @TableMapping(primaryKey = "id", primaryKeyType = "Single", tableName = "DC_QUOTA_INFO") public class QuotaInfo extends Entity { /** * 主键 */ @ColumnMapping(columnName = "id", columnType = "String") private String id; /** * Data_WorkInfo中的Date_Id */ @ColumnMapping(columnName = "date_id", columnType = "Integer") private Integer dateId; /** * 批次号 */ @ColumnMapping(columnName = "batch_no", columnType = "String") private String batchNo; /** * 数据类型 */ @ColumnMapping(columnName = "data_type", columnType = "String") private String dataType; /** * 记录数 */ @ColumnMapping(columnName = "record_count", columnType = "Integer") private String recordCount; /** * 上报类型:增 删 改 */ @ColumnMapping(columnName = "report_type", columnType = "String") private String reportType; /** * 组织机构代码 */ @ColumnMapping(columnName = "org_code", columnType = "String") private String orgCode; /** * 额度协议编号 */ @NotBlank(message = "{QuotaInfo.contractNo.null}") @ColumnMapping(columnName = "contract_no", columnType = "String") private String contractNo; /** * 供查询的合同编号 */ @NotBlank(message = "{QuotaInfo.contractNoQuery.null}") @ColumnMapping(columnName = "contract_no_query", columnType = "String") private String contractNoQuery; /** * 额度协议名称 */ @ColumnMapping(columnName = "contract_name", columnType = "String") private String contractName; /** * 借款人类别 */ @NotBlank(message = "{QuotaInfo.customerType.null}") @ColumnMapping(columnName = "customer_type", columnType = "String") private String customerType; /** * 借款人姓名 */ @NotBlank(message = "{QuotaInfo.customerName.null}") @ColumnMapping(columnName = "customer_name", columnType = "String") private String customerName; /** * 借款人证件类型 */ @NotBlank(message = "{QuotaInfo.certificateType.null}") @ColumnMapping(columnName = "certificate_type", columnType = "String") private String certificateType; /** * 借款人证件号码 */ @NotBlank(message = "{QuotaInfo.certificateNo.null}") @ColumnMapping(columnName = "certificate_no", columnType = "String") private String certificateNo; /** * 额度协议签订日期 */ @NotBlank(message = "{QuotaInfo.contractSignDate.null}") @ColumnMapping(columnName = "contract_sign_date", columnType = "Date") private String contractSignDate; /** * 额度协议起期 */ @NotBlank(message = "{QuotaInfo.contractBeginDate.null}") @ColumnMapping(columnName = "contract_begin_date", columnType = "Date") private String contractBeginDate; /** * 额度协议止期 */ @NotBlank(message = "{QuotaInfo.contractEndDate.null}") @ColumnMapping(columnName = "contract_end_date", columnType = "Date") private String contractEndDate; /** * 合同金额 */ @NotNull(message = "{QuotaInfo.contractAmount.null}") @ColumnMapping(columnName = "contract_amount", columnType = "BigDecimal") private Double contractAmount; /** * 币种 */ @NotBlank(message = "{QuotaInfo.ccy.null}") @ColumnMapping(columnName = "ccy", columnType = "String") private String ccy; /** * 已用额度 */ @NotNull(message = "{QuotaInfo.usedAmount.null}") @ColumnMapping(columnName = "used_amount", columnType = "BigDecimal") private Double usedAmount; /** * 剩余额度 */ @NotNull(message = "{QuotaInfo.remainAmount.null}") @ColumnMapping(columnName = "remain_amount", columnType = "BigDecimal") private Double remainAmount; /** * 担保方式 */ @NotBlank(message = "{QuotaInfo.guarType.null}") @ColumnMapping(columnName = "guar_type", columnType = "String") private String guarType; /** * 是否循环额度 */ @NotBlank(message = "{QuotaInfo.isCircle.null}") @ColumnMapping(columnName = "is_circle", columnType = "String") private String isCircle; /** * 合同状态 */ @NotBlank(message = "{QuotaInfo.contractStatus.null}") @ColumnMapping(columnName = "contract_status", columnType = "String") private String contractStatus; /** * 客户经理 */ @NotBlank(message = "{QuotaInfo.relationManager.null}") @ColumnMapping(columnName = "relation_manager", columnType = "String") private String relationManager; /** * 备注 */ @ColumnMapping(columnName = "remark", columnType = "String") private String remark; /** * 发送状态,0表示未发送,1表示已发送 */ @ColumnMapping(columnName = "is_send", columnType = "Integer") private Integer isSend; /** * 记录申报日期 */ @ColumnMapping(columnName = "send_date", columnType = "Date") private Date sendDate; /** * 记录保存日期 */ @ColumnMapping(columnName = "insert_date", columnType = "Date") private Date insertDate; /** * 是否是最新,Y表示是,N表示否 */ @ColumnMapping(columnName = "is_last", columnType = "String") private String isLast; public String getId() { return id; } public void setId(String id) { this.id = id; } public Integer getDateId() { return dateId; } public void setDateId(Integer dateId) { this.dateId = dateId; } public String getBatchNo() { return batchNo; } public void setBatchNo(String batchNo) { this.batchNo = batchNo; } public String getDataType() { return dataType; } public void setDataType(String dataType) { this.dataType = dataType; } public String getRecordCount() { return recordCount; } public void setRecordCount(String recordCount) { this.recordCount = recordCount; } public String getReportType() { return reportType; } public void setReportType(String reportType) { this.reportType = reportType; } public String getOrgCode() { return orgCode; } public void setOrgCode(String orgCode) { this.orgCode = orgCode; } public String getContractNo() { return contractNo; } public void setContractNo(String contractNo) { this.contractNo = contractNo; } public String getContractName() { return contractName; } public void setContractName(String contractName) { this.contractName = contractName; } public String getCustomerType() { return customerType; } public void setCustomerType(String customerType) { this.customerType = customerType; } public String getCustomerName() { return customerName; } public void setCustomerName(String customerName) { this.customerName = customerName; } public String getCertificateType() { return certificateType; } public void setCertificateType(String certificateType) { this.certificateType = certificateType; } public String getCertificateNo() { return certificateNo; } public void setCertificateNo(String certificateNo) { this.certificateNo = certificateNo; } public String getContractSignDate() { return contractSignDate; } public void setContractSignDate(String contractSignDate) { this.contractSignDate = contractSignDate; } public String getContractBeginDate() { return contractBeginDate; } public void setContractBeginDate(String contractBeginDate) { this.contractBeginDate = contractBeginDate; } public String getContractEndDate() { return contractEndDate; } public void setContractEndDate(String contractEndDate) { this.contractEndDate = contractEndDate; } public Double getContractAmount() { return contractAmount; } public void setContractAmount(Double contractAmount) { this.contractAmount = contractAmount; } public String getCcy() { return ccy; } public void setCcy(String ccy) { this.ccy = ccy; } public Double getUsedAmount() { return usedAmount; } public void setUsedAmount(Double usedAmount) { this.usedAmount = usedAmount; } public Double getRemainAmount() { return remainAmount; } public void setRemainAmount(Double remainAmount) { this.remainAmount = remainAmount; } public String getGuarType() { return guarType; } public void setGuarType(String guarType) { this.guarType = guarType; } public String getIsCircle() { return isCircle; } public void setIsCircle(String isCircle) { this.isCircle = isCircle; } public String getContractStatus() { return contractStatus; } public void setContractStatus(String contractStatus) { this.contractStatus = contractStatus; } public String getRelationManager() { return relationManager; } public void setRelationManager(String relationManager) { this.relationManager = relationManager; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } public Integer getIsSend() { return isSend; } public void setIsSend(Integer isSend) { this.isSend = isSend; } public Date getSendDate() { return sendDate; } public void setSendDate(Date sendDate) { this.sendDate = sendDate; } public Date getInsertDate() { return insertDate; } public void setInsertDate(Date insertDate) { this.insertDate = insertDate; } public String getIsLast() { return isLast; } public void setIsLast(String isLast) { this.isLast = isLast; } public String getContractNoQuery() { return contractNoQuery; } public void setContractNoQuery(String contractNoQuery) { this.contractNoQuery = contractNoQuery; } }
535125e72d644056f8fbc34d25dd0a7091d695c7
342340722f0a4a4fc95a1b04714f89bd144a7108
/src/org/skn/java_reference_file_programs/FewStringCharacterWordEtc.java
1fca7a8f0c2ca120f3ffc74b1d325a94f7be430f
[]
no_license
kalith36/Programs_Selenium
eae995863d4d3630bf450206368f29038383313e
8578769e25a0e7380ceb3200e212e12f3c5379e2
refs/heads/master
2020-05-19T19:04:12.673251
2019-05-06T10:48:24
2019-05-06T10:48:24
185,169,518
0
0
null
null
null
null
UTF-8
Java
false
false
1,202
java
package org.skn.java_reference_file_programs; import java.util.LinkedHashMap; import java.util.Map; public class FewStringCharacterWordEtc { public static void countOfEachCharacterInGivenString() { String name = "Welcome"; Map<Character, Integer> emp = new LinkedHashMap<>(); char[] ch = name.toCharArray(); for (char c : ch) { if (emp.containsKey(c)) { int count = emp.get(c); emp.put(c, count + 1); } else { emp.put(c, 1); } } System.out.println(emp); } public static void counOfWordAnAGivenString() { String name = "Welcome to java sql java to java sql plsql"; String[] x = name.split(" "); Map<String, Integer> emp = new LinkedHashMap<>(); for (String v : x) { if (emp.containsKey(v)) { int count = emp.get(v); emp.put(v, count + 1); } else { emp.put(v, 1); } } System.out.println(emp); } public static void printWordCountInGivenString() { String name = "Welcome to java sql java to java sql plsql"; String[] x = name.split(" "); System.out.println(x.length); } public static void main(String[] args) { countOfEachCharacterInGivenString(); counOfWordAnAGivenString(); printWordCountInGivenString(); } }
4077dcc6de1a87cd29e40da8db24198cfd00723c
7505a32ffd9e82d573578add7f3d3d02a403427c
/DependencyInjectionExamples/src/dependencyInjectionExamples/dependencyInjection.java
4f4ad85c33bc2dd4887a16c954d09b7f49a6c56b
[]
no_license
zhanglizeyi/InternHT
122b0e5d93cd131a423c6393a8ee30fea0bcffa1
d551119b05b18e2185a6a060157af8f3a4b0c855
refs/heads/master
2021-01-18T20:29:23.474333
2017-06-06T01:38:36
2017-06-06T01:38:36
86,972,897
0
0
null
null
null
null
UTF-8
Java
false
false
215
java
package dependencyInjectionExamples; public class dependencyInjection { @Autowired GoodMorningService service; } @Component class GoodMorningService{ public String sayHi(){ return "Good Morning"; } }
0cc4f48c94e33449cdf21f3dc8f7611201f26d75
8085e2f18d018a36e31093192dfac484be2c7d1c
/shirodemo1/src/main/java/realm/MyRealm2.java
b413a00b779129eafcfa00557c0e18f9aed49083
[]
no_license
wangyu19810820/shirodemo
a155a8e80da6d2f4fdc6b16ea0512c9a175eaf7d
8799c1f879bce954878caca370ebcb4b4a2ab45b
refs/heads/master
2021-09-03T18:13:10.974576
2018-01-11T01:23:22
2018-01-11T01:23:22
106,249,309
0
0
null
null
null
null
UTF-8
Java
false
false
2,367
java
package realm; import org.apache.shiro.authc.*; import org.apache.shiro.authz.AuthorizationInfo; import org.apache.shiro.authz.SimpleAuthorizationInfo; import org.apache.shiro.realm.AuthorizingRealm; import org.apache.shiro.subject.PrincipalCollection; import java.util.*; /** * Realm是访问用户授权信息和认证信息的Dao * MyRealm1是自定义Realm,核心是doGetAuthorizationInfo,doGetAuthenticationInfo * supports方法返回true,shiro默认的多Realm认证器才会调用该Realm的认证方法 */ public class MyRealm2 extends AuthorizingRealm { static Map<String, String> userPasswordMap; static Map<String, List<String>> permissionMap; static Map<String, List<String>> roleMap; static { userPasswordMap = new HashMap<>(); userPasswordMap.put("root", "secret"); userPasswordMap.put("lonestarr", "efg"); roleMap = new HashMap<>(); // roleMap.put("root", Arrays.asList("admin")); // roleMap.put("lonestarr", Arrays.asList("schwartz")); permissionMap = new HashMap<>(); // permissionMap.put("admin", Arrays.asList("admin")); // permissionMap.put("schwartz", Arrays.asList("lightsaber:a:b:c:d:e:*")); } @Override protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principalCollection) { String user = (String)principalCollection.getPrimaryPrincipal(); List<String> roleList = roleMap.get(user); List<String> permissionList = new ArrayList<>(); SimpleAuthorizationInfo info = new SimpleAuthorizationInfo(); info.addRoles(roleList); for (String role : roleMap.get(user)) { permissionList.addAll(permissionMap.get(role)); } info.addStringPermissions(permissionList); return info; } @Override public boolean supports(AuthenticationToken token) { return true; } @Override protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken authenticationToken) throws AuthenticationException { UsernamePasswordToken token = (UsernamePasswordToken) authenticationToken; String useName = ((UsernamePasswordToken) authenticationToken).getUsername(); String password = userPasswordMap.get(useName); return new SimpleAuthenticationInfo(useName, password, useName); } }
[ "123456" ]
123456
4830e25fe4c69b6a886d22dbdbd0737d873cdcfa
64ffa74d119ff4a4a9d76765fa0bd5413f499189
/src/cn/labsoft/labos/common/makecode/vo/Packagee.java
8acda5bb929df071b09d3d2204a01eb96fad3625
[]
no_license
zongweiyang/eLims
9d10c6929c242c67870781d571621609a7e70116
ba9d663153ace634fd987e07541022af0d33f19f
refs/heads/master
2021-01-13T01:31:05.609832
2015-07-19T03:44:49
2015-07-19T03:44:49
34,788,558
1
0
null
null
null
null
UTF-8
Java
false
false
1,278
java
package cn.labsoft.labos.common.makecode.vo; import java.util.List; public class Packagee { String name; String nameChinese; Clazz clazz; String namePath; String isFlow; String flowId; String flowCode; List<String> stepNameList; public String getIsFlow() { return isFlow; } public void setIsFlow(String isFlow) { this.isFlow = isFlow; } public String getName() { return name; } public void setName(String name) { this.name = name.trim(); } public String getNameChinese() { return nameChinese; } public void setNameChinese(String nameChinese) { this.nameChinese = nameChinese; } public Clazz getClazz() { return clazz; } public void setClazz(Clazz clazz) { this.clazz = clazz; } public String getNamePath() { return namePath; } public void setNamePath(String namePath) { this.namePath = namePath; } public List<String> getStepNameList() { return stepNameList; } public void setStepNameList(List<String> stepNameList) { this.stepNameList = stepNameList; } public String getFlowId() { return flowId; } public void setFlowId(String flowId) { this.flowId = flowId; } public String getFlowCode() { return flowCode; } public void setFlowCode(String flowCode) { this.flowCode = flowCode; } }
5603853a8e8ed0f72de7d7c6fbb1544872ca5d2f
70c832b4700038d112e3eda79e5fda4108236fd0
/PBO GUI/src/GUI_lanjutan/latihan2.java
fe8399a971091fdc6334caa00d87196872c82433
[]
no_license
Fidiyah/GUI
25cc178d86b92d9e61b15a97ebf3b8c825595865
1752dcb1ec04120cdff8a2e24c3a0ad5afdb9171
refs/heads/master
2020-09-14T01:19:10.989353
2019-11-20T15:23:00
2019-11-20T15:23:00
222,965,846
0
0
null
null
null
null
UTF-8
Java
false
false
8,468
java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package GUI_lanjutan; import javax.swing.table.DefaultTableModel; /** * * @author WINDOWS 10 */ public class latihan2 extends javax.swing.JFrame { /** * Creates new form latihan2 */ public latihan2() { initComponents(); } /** * This method is called from within the constructor to initialize the form. * WARNING: Do NOT modify this code. The content of this method is always * regenerated by the Form Editor. */ @SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); Nama = new javax.swing.JTextField(); Kelas = new javax.swing.JComboBox<>(); Alamat = new javax.swing.JTextField(); jLabel5 = new javax.swing.JLabel(); Sekolah = new javax.swing.JTextField(); exit = new javax.swing.JButton(); add = new javax.swing.JButton(); jScrollPane1 = new javax.swing.JScrollPane(); Tabel = new javax.swing.JTable(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); getContentPane().setLayout(null); jLabel1.setText("TABEL BIODATA"); getContentPane().add(jLabel1); jLabel1.setBounds(230, 20, 122, 20); jLabel2.setText("NAMA"); getContentPane().add(jLabel2); jLabel2.setBounds(70, 70, 45, 20); jLabel3.setText("KELAS"); getContentPane().add(jLabel3); jLabel3.setBounds(70, 110, 46, 20); jLabel4.setText("ALAMAT"); getContentPane().add(jLabel4); jLabel4.setBounds(70, 150, 63, 20); getContentPane().add(Nama); Nama.setBounds(160, 70, 220, 26); Kelas.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "X RPL 1", "X RPL 2", "X RPL 3", "X RPL 4", "X RPL 5", "X RPL 6", "X RPL 7", "X TKJ 1", "X TKJ 2", "X TKJ 3", "X TKJ 4", "X TKJ 5", "X TKJ 6", " " })); getContentPane().add(Kelas); Kelas.setBounds(160, 110, 86, 26); getContentPane().add(Alamat); Alamat.setBounds(160, 150, 220, 26); jLabel5.setText("SEKOLAH"); getContentPane().add(jLabel5); jLabel5.setBounds(70, 190, 90, 20); getContentPane().add(Sekolah); Sekolah.setBounds(160, 190, 220, 26); exit.setText("EXIT"); getContentPane().add(exit); exit.setBounds(270, 250, 67, 29); add.setText("ADD"); add.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { addActionPerformed(evt); } }); getContentPane().add(add); add.setBounds(120, 250, 65, 29); Tabel.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { {null, null, null, null}, {null, null, null, null}, {null, null, null, null}, {null, null, null, null} }, new String [] { "Nama", "Kelas", "Alamat", "Sekolah" } ) { Class[] types = new Class [] { java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class }; boolean[] canEdit = new boolean [] { false, false, false, false }; public Class getColumnClass(int columnIndex) { return types [columnIndex]; } public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit [columnIndex]; } }); Tabel.getTableHeader().setReorderingAllowed(false); jScrollPane1.setViewportView(Tabel); if (Tabel.getColumnModel().getColumnCount() > 0) { Tabel.getColumnModel().getColumn(0).setResizable(false); Tabel.getColumnModel().getColumn(1).setResizable(false); Tabel.getColumnModel().getColumn(2).setResizable(false); Tabel.getColumnModel().getColumn(3).setResizable(false); } getContentPane().add(jScrollPane1); jScrollPane1.setBounds(30, 410, 500, 150); setBounds(0, 0, 579, 660); }// </editor-fold>//GEN-END:initComponents private void addActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_addActionPerformed // TODO add your handling code here: String nama = Nama.getText(); String kelas = Kelas.getSelectedItem().toString(); String alamat = Alamat.getText(); String sekolah = Sekolah.getText(); //untuk combobox if(Kelas.getSelectedItem()=="X RPL 1"){ }if(Kelas.getSelectedItem()=="X RPL 2"){ }if(Kelas.getSelectedItem()=="X RPL 3"){ }if(Kelas.getSelectedItem()=="X RPL 4"){ }if(Kelas.getSelectedItem()=="X RPL 5"){ }if(Kelas.getSelectedItem()=="X RPL 6"){ }if(Kelas.getSelectedItem()=="X RPL 7"){ }if(Kelas.getSelectedItem()=="X TKJ 1"){ }if(Kelas.getSelectedItem()=="X TKJ 2"){ }if(Kelas.getSelectedItem()=="X TKJ 3"){ }if(Kelas.getSelectedItem()=="X TKJ 4"){ }if(Kelas.getSelectedItem()=="X TKJ 5"){ }if(Kelas.getSelectedItem()=="X TKJ 6"){ } //untuktabel DefaultTableModel model = (DefaultTableModel)Tabel.getModel(); model.addRow(new Object[]{Nama.getText(),Kelas.getSelectedItem(),Alamat.getText(),Sekolah.getText()}); }//GEN-LAST:event_addActionPerformed /** * @param args the command line arguments */ public static void main(String args[]) { /* Set the Nimbus look and feel */ //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html */ try { for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { if ("Nimbus".equals(info.getName())) { javax.swing.UIManager.setLookAndFeel(info.getClassName()); break; } } } catch (ClassNotFoundException ex) { java.util.logging.Logger.getLogger(latihan2.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (InstantiationException ex) { java.util.logging.Logger.getLogger(latihan2.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (IllegalAccessException ex) { java.util.logging.Logger.getLogger(latihan2.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (javax.swing.UnsupportedLookAndFeelException ex) { java.util.logging.Logger.getLogger(latihan2.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } //</editor-fold> /* Create and display the form */ java.awt.EventQueue.invokeLater(new Runnable() { public void run() { new latihan2().setVisible(true); } }); } // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JTextField Alamat; private javax.swing.JComboBox<String> Kelas; private javax.swing.JTextField Nama; private javax.swing.JTextField Sekolah; private javax.swing.JTable Tabel; private javax.swing.JButton add; private javax.swing.JButton exit; private javax.swing.JLabel jLabel1; private javax.swing.JLabel jLabel2; private javax.swing.JLabel jLabel3; private javax.swing.JLabel jLabel4; private javax.swing.JLabel jLabel5; private javax.swing.JScrollPane jScrollPane1; // End of variables declaration//GEN-END:variables }
c40923055227fcd1806a1f49924a1e25a95810ff
a920fcf56c433fbf7e3cc07b885f2666f2f2d481
/src/main/java/com/ld/chatroom/controller/ChatController.java
353a7ad73a75681b43e1f66ca8552b710893cc53
[]
no_license
lengdidi/chatroom
4e967771882b085d41b802a1f64d3e39b9d2c5e6
0ca0963b9c2b2c104bfffa909303b988080473e9
refs/heads/master
2020-07-11T17:27:03.816660
2019-08-28T11:28:36
2019-08-28T11:28:36
204,604,492
0
0
null
null
null
null
UTF-8
Java
false
false
995
java
package com.ld.chatroom.controller; import com.ld.chatroom.entity.ChatMessage; import org.springframework.messaging.handler.annotation.MessageMapping; import org.springframework.messaging.handler.annotation.Payload; import org.springframework.messaging.handler.annotation.SendTo; import org.springframework.messaging.simp.SimpMessageHeaderAccessor; import org.springframework.stereotype.Controller; @Controller public class ChatController { @MessageMapping("/chat.sendMessage") @SendTo("/topic/public") public ChatMessage sendMessage(@Payload ChatMessage chatMessage) { return chatMessage; } @MessageMapping("/chat.addUser") @SendTo("/topic/public") public ChatMessage addUser(@Payload ChatMessage chatMessage, SimpMessageHeaderAccessor headerAccessor) { // Add username in web socket session headerAccessor.getSessionAttributes().put("username", chatMessage.getSender()); return chatMessage; } }
8d54097288a83e7ff9f9209adaf29ca4a34ed125
4d6f449339b36b8d4c25d8772212bf6cd339f087
/netreflected/src/Framework/System.ServiceModel,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089/system/servicemodel/configuration/WSFederationHttpBindingElement.java
aef1e063c168cbf9af7a740346512dfb078d603f
[ "MIT" ]
permissive
lvyitian/JCOReflector
299a64550394db3e663567efc6e1996754f6946e
7e420dca504090b817c2fe208e4649804df1c3e1
refs/heads/master
2022-12-07T21:13:06.208025
2020-08-28T09:49:29
2020-08-28T09:49:29
null
0
0
null
null
null
null
UTF-8
Java
false
false
12,184
java
/* * MIT License * * Copyright (c) 2020 MASES s.r.l. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ /************************************************************************************** * <auto-generated> * This code was generated from a template using JCOReflector * * Manual changes to this file may cause unexpected behavior in your application. * Manual changes to this file will be overwritten if the code is regenerated. * </auto-generated> *************************************************************************************/ package system.servicemodel.configuration; import org.mases.jcobridge.*; import org.mases.jcobridge.netreflection.*; import java.util.ArrayList; // Import section import system.servicemodel.configuration.WSHttpBindingBaseElement; import system.servicemodel.configuration.WSFederationHttpSecurityElement; import system.Uri; /** * The base .NET class managing System.ServiceModel.Configuration.WSFederationHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089. Extends {@link NetObject}. * <p> * * See: <a href="https://docs.microsoft.com/en-us/dotnet/api/System.ServiceModel.Configuration.WSFederationHttpBindingElement" target="_top">https://docs.microsoft.com/en-us/dotnet/api/System.ServiceModel.Configuration.WSFederationHttpBindingElement</a> */ public class WSFederationHttpBindingElement extends WSHttpBindingBaseElement { /** * Fully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 */ public static final String assemblyFullName = "System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; /** * Assembly name: System.ServiceModel */ public static final String assemblyShortName = "System.ServiceModel"; /** * Qualified class name: System.ServiceModel.Configuration.WSFederationHttpBindingElement */ public static final String className = "System.ServiceModel.Configuration.WSFederationHttpBindingElement"; static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName); /** * The type managed from JCOBridge. See {@link JCType} */ public static JCType classType = createType(); static JCEnum enumInstance = null; JCObject classInstance = null; static JCType createType() { try { return bridge.GetType(className + ", " + (JCOBridgeInstance.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName)); } catch (JCException e) { return null; } } void addReference(String ref) throws Throwable { try { bridge.AddReference(ref); } catch (JCNativeException jcne) { throw translateException(jcne); } } public WSFederationHttpBindingElement(Object instance) throws Throwable { super(instance); if (instance instanceof JCObject) { classInstance = (JCObject) instance; } else throw new Exception("Cannot manage object, it is not a JCObject"); } public String getJCOAssemblyName() { return assemblyFullName; } public String getJCOClassName() { return className; } public String getJCOObjectName() { return className + ", " + (JCOBridgeInstance.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); } public Object getJCOInstance() { return classInstance; } public void setJCOInstance(JCObject instance) { classInstance = instance; super.setJCOInstance(classInstance); } public JCType getJCOType() { return classType; } /** * Try to cast the {@link IJCOBridgeReflected} instance into {@link WSFederationHttpBindingElement}, a cast assert is made to check if types are compatible. */ public static WSFederationHttpBindingElement cast(IJCOBridgeReflected from) throws Throwable { NetType.AssertCast(classType, from); return new WSFederationHttpBindingElement(from.getJCOInstance()); } // Constructors section public WSFederationHttpBindingElement() throws Throwable, system.ArgumentNullException, system.collections.generic.KeyNotFoundException, system.ArgumentException, system.configuration.ConfigurationErrorsException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.resources.MissingManifestResourceException, system.IndexOutOfRangeException, system.NullReferenceException, system.NotSupportedException { try { // add reference to assemblyName.dll file addReference(JCOBridgeInstance.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); setJCOInstance((JCObject)classType.NewObject()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public WSFederationHttpBindingElement(java.lang.String name) throws Throwable, system.ArgumentNullException, system.collections.generic.KeyNotFoundException, system.ObjectDisposedException, system.ArgumentException, system.InvalidOperationException, system.reflection.AmbiguousMatchException, system.configuration.ConfigurationErrorsException, system.IndexOutOfRangeException, system.NullReferenceException, system.ArgumentOutOfRangeException, system.NotSupportedException { try { // add reference to assemblyName.dll file addReference(JCOBridgeInstance.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); setJCOInstance((JCObject)classType.NewObject(name)); } catch (JCNativeException jcne) { throw translateException(jcne); } } // Methods section // Properties section public int getPrivacyNoticeVersion() throws Throwable, system.ArgumentNullException, system.ObjectDisposedException, system.threading.AbandonedMutexException, system.ArgumentException, system.InvalidOperationException, system.reflection.AmbiguousMatchException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.resources.MissingManifestResourceException, system.IndexOutOfRangeException, system.configuration.ConfigurationErrorsException, system.TypeLoadException, system.collections.generic.KeyNotFoundException, system.configuration.ConfigurationException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (int)classInstance.Get("PrivacyNoticeVersion"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setPrivacyNoticeVersion(int PrivacyNoticeVersion) throws Throwable, system.ArgumentNullException, system.ObjectDisposedException, system.threading.AbandonedMutexException, system.ArgumentException, system.InvalidOperationException, system.reflection.AmbiguousMatchException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.resources.MissingManifestResourceException, system.IndexOutOfRangeException, system.configuration.ConfigurationErrorsException, system.TypeLoadException, system.collections.generic.KeyNotFoundException, system.NullReferenceException, system.globalization.CultureNotFoundException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("PrivacyNoticeVersion", PrivacyNoticeVersion); } catch (JCNativeException jcne) { throw translateException(jcne); } } public WSFederationHttpSecurityElement getSecurity() throws Throwable, system.ArgumentNullException, system.ObjectDisposedException, system.threading.AbandonedMutexException, system.ArgumentException, system.InvalidOperationException, system.reflection.AmbiguousMatchException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.resources.MissingManifestResourceException, system.IndexOutOfRangeException, system.configuration.ConfigurationErrorsException, system.TypeLoadException, system.collections.generic.KeyNotFoundException, system.configuration.ConfigurationException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject val = (JCObject)classInstance.Get("Security"); return new WSFederationHttpSecurityElement(val); } catch (JCNativeException jcne) { throw translateException(jcne); } } public Uri getPrivacyNoticeAt() throws Throwable, system.ArgumentNullException, system.ObjectDisposedException, system.threading.AbandonedMutexException, system.ArgumentException, system.InvalidOperationException, system.reflection.AmbiguousMatchException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.resources.MissingManifestResourceException, system.IndexOutOfRangeException, system.configuration.ConfigurationErrorsException, system.TypeLoadException, system.collections.generic.KeyNotFoundException, system.configuration.ConfigurationException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject val = (JCObject)classInstance.Get("PrivacyNoticeAt"); return new Uri(val); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setPrivacyNoticeAt(Uri PrivacyNoticeAt) throws Throwable, system.ArgumentNullException, system.ObjectDisposedException, system.threading.AbandonedMutexException, system.ArgumentException, system.InvalidOperationException, system.reflection.AmbiguousMatchException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.resources.MissingManifestResourceException, system.IndexOutOfRangeException, system.configuration.ConfigurationErrorsException, system.TypeLoadException, system.collections.generic.KeyNotFoundException, system.NullReferenceException, system.globalization.CultureNotFoundException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("PrivacyNoticeAt", PrivacyNoticeAt == null ? null : PrivacyNoticeAt.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } // Instance Events section }
35daec5c4abce1ff7ceb8b9f4cf25a1e516aebe7
6c5cbb1ee0eabb34d89568bcde63ef790602ad4f
/src/test/java/com/luis/springboot/backend/apirest/SpringBootBackendApirestApplicationTests.java
5df6575e66a01204515eb658cae8ad7a56e5c404
[]
no_license
LuisGMJ/crud-clientes-springboot
58deccc45f2d94903f5a2a1437e377d98dda3b0c
a448da2a4f39d9dce4d1d6393bc88da22cbbd001
refs/heads/master
2021-01-06T06:21:11.994820
2020-05-03T01:31:19
2020-05-03T01:31:19
241,233,212
0
0
null
null
null
null
UTF-8
Java
false
false
245
java
package com.luis.springboot.backend.apirest; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class SpringBootBackendApirestApplicationTests { @Test void contextLoads() { } }
2afa34a4ac3b8cb6b9ef221af9a61afa4b290440
f7e70614e433c7f369cc93e617aca81679bb89fa
/Bookstore/src/bookstore/Store.java
39b1f19c9adc7e99cb782ace36462843d2dcace3
[]
no_license
ellendit/BookstoreAssignment
9f455b19eaab079750247eb740ebdfc7dfa029a9
25baf253830b9efc6409ab16d3c80c011e65dc83
refs/heads/master
2020-03-10T06:53:01.024017
2018-04-16T22:40:01
2018-04-16T22:40:01
129,249,027
0
0
null
2018-04-16T22:40:02
2018-04-12T12:38:16
Java
UTF-8
Java
false
false
33,440
java
package bookstore; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.RandomAccessFile; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Scanner; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JFileChooser; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.JTextField; import javax.swing.table.DefaultTableModel; import bookstore.Book; import bookstore.Item; import bookstore.User; import net.miginfocom.swing.MigLayout; /* * The Store class is the driver class and provides the admin with menus to navigate through the Store, and to provide them with * useful functionality. It allows the admin to add an item to the store and delete an item from the store provided that * some conditions have been met which are outlined below (this will change when i do my swing gui and database functionality). * It also provides the admin the ability to buy a book. * Store administrator is also able to view a full list of the users and the Items in * order to see which items have been bought. * Currently each book has a stock of 1 - this will change and be stock levels will be able to be altered by the admin only. * */ public class Store extends JFrame{ private static ArrayList<Book> books; // an arrayList of books private static ArrayList<Item> items; // an arrayList of items static ArrayList<User> users; // an arrayList of users private final static int MAX_CATALOGUE = 10; //sets the MAX CATALOGUE to the value of 10 private final static int MAX_USERS = User.MAX_USERS; //sets the MAX_USERS of this class to the MAX_USERS from the User Class ArrayList<Book> bookList = new ArrayList<Book>(); static HashMap<Integer, Book> table = new HashMap<Integer, Book>(); protected final static int TABLE_SIZE = 29; private JMenuBar menuBar; private JMenu navigateMenu, BooksMenu, transactionsMenu, exitMenu; private JMenuItem nextItem, prevItem, firstItem, lastItem, findByAuthor, findByTitle, listAll; private JMenuItem createItem, modifyItem, deleteItem; private JMenuItem purchase, addStock; private JMenuItem open, save, saveAs; private JMenuItem closeApp; private JButton firstItemButton, lastItemButton, nextItemButton, prevItemButton; private JLabel titleLabel, authorLabel, priceLabel, categoryLabel; private JTextField titleTextField, authorTextField, priceTextField, categoryTextField; private JTable jTable; private boolean openValues; private int currentItem = 0; public Store() { super("Book Store"); initComponents(); } private void initComponents() { //public static void initialiseStore() { setLayout(new BorderLayout()); JPanel displayPanel = new JPanel(new MigLayout()); titleLabel = new JLabel("Book Title: "); titleTextField = new JTextField(15); titleTextField.setEditable(false); displayPanel.add(titleLabel, "growx, pushx"); displayPanel.add(titleTextField, "growx, pushx"); authorLabel = new JLabel("Book Author: "); authorTextField = new JTextField(15); authorTextField.setEditable(false); displayPanel.add(authorLabel, "growx, pushx"); displayPanel.add(authorTextField, "growx, pushx"); priceLabel = new JLabel("Book Price: "); priceTextField = new JTextField(15); priceTextField.setEditable(false); displayPanel.add(priceLabel, "growx, pushx"); displayPanel.add(priceTextField, "growx, pushx"); categoryLabel = new JLabel("Book Category: "); categoryTextField = new JTextField(15); categoryTextField.setEditable(false); displayPanel.add(categoryLabel, "growx, pushx"); displayPanel.add(categoryTextField, "growx, pushx"); add(displayPanel, BorderLayout.CENTER); JPanel buttonPanel = new JPanel(new GridLayout(1, 4)); nextItemButton = new JButton(new ImageIcon("next.png")); prevItemButton = new JButton(new ImageIcon("previous.png")); firstItemButton = new JButton(new ImageIcon("first.png")); lastItemButton = new JButton(new ImageIcon("last.png")); buttonPanel.add(firstItemButton); buttonPanel.add(prevItemButton); buttonPanel.add(nextItemButton); buttonPanel.add(lastItemButton); add(buttonPanel, BorderLayout.SOUTH); menuBar = new JMenuBar(); setJMenuBar(menuBar); navigateMenu = new JMenu("Navigate"); nextItem = new JMenuItem("Next Item"); prevItem = new JMenuItem("Previous Item"); firstItem = new JMenuItem("First Item"); lastItem = new JMenuItem("Last Item"); findByTitle = new JMenuItem("Find by Title"); findByAuthor = new JMenuItem("Find by Author"); listAll = new JMenuItem("List All Records"); navigateMenu.add(nextItem); navigateMenu.add(prevItem); navigateMenu.add(firstItem); navigateMenu.add(lastItem); navigateMenu.add(findByTitle); navigateMenu.add(findByAuthor); navigateMenu.add(listAll); menuBar.add(navigateMenu); BooksMenu = new JMenu("Books"); createItem = new JMenuItem("Create Item"); modifyItem = new JMenuItem("Modify Item"); deleteItem = new JMenuItem("Delete Item"); BooksMenu.add(createItem); BooksMenu.add(modifyItem); BooksMenu.add(deleteItem); menuBar.add(BooksMenu); transactionsMenu = new JMenu("Transactions"); menuBar.add(transactionsMenu); exitMenu = new JMenu("Exit"); closeApp = new JMenuItem("Close Application"); exitMenu.add(closeApp); menuBar.add(exitMenu); setDefaultCloseOperation(EXIT_ON_CLOSE); //////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// ActionListener first = new ActionListener() { public void actionPerformed(ActionEvent e) { saveOpenValues(); currentItem=0; while(!table.containsKey(currentItem)){ currentItem++; } displayDetails(currentItem); } }; ActionListener next1 = new ActionListener(){ public void actionPerformed(ActionEvent e){ ArrayList<Integer> keyList = new ArrayList<Integer>(); int i=0; while(i<TABLE_SIZE){ i++; if(table.containsKey(i)) keyList.add(i); } int maxKey = Collections.max(keyList); saveOpenValues(); if(currentItem<maxKey){ currentItem++; while(!table.containsKey(currentItem)){ currentItem++; } } displayDetails(currentItem); } }; ActionListener prev = new ActionListener() { public void actionPerformed(ActionEvent e) { ArrayList<Integer> keyList = new ArrayList<Integer>(); int i=0; while(i<TABLE_SIZE){ i++; if(table.containsKey(i)) keyList.add(i); } int minKey = Collections.min(keyList); if(currentItem>minKey){ currentItem--; while(!table.containsKey(currentItem)){ currentItem--; } } displayDetails(currentItem); } }; ActionListener last = new ActionListener() { public void actionPerformed(ActionEvent e) { saveOpenValues(); currentItem =29; while(!table.containsKey(currentItem)){ currentItem--; } displayDetails(currentItem); } }; nextItemButton.addActionListener(next1); nextItem.addActionListener(next1); prevItemButton.addActionListener(prev); prevItem.addActionListener(prev); firstItemButton.addActionListener(first); firstItem.addActionListener(first); lastItemButton.addActionListener(last); lastItem.addActionListener(last); deleteItem.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e){ table.remove(currentItem); JOptionPane.showMessageDialog(null, "Book Deleted"); currentItem=0; while(!table.containsKey(currentItem)){ currentItem++; } displayDetails(currentItem); } }); createItem.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e){ new CreateBookDialog(table); } }); modifyItem.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e){ titleTextField.setEditable(true); priceTextField.setEditable(true); openValues = true; } }); listAll.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e){ JFrame frame = new JFrame("TableDemo"); frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); String col[] = {"Title","Author","Price", "Category"}; DefaultTableModel tableModel = new DefaultTableModel(col, 0); jTable = new JTable(tableModel); JScrollPane scrollPane = new JScrollPane(jTable); jTable.setAutoCreateRowSorter(true); for (Map.Entry<Integer, Book> entry : table.entrySet()) { Object[] objs = {entry.getValue().getTitle(), entry.getValue().getAuthor().trim(), entry.getValue().getPrice(), entry.getValue().getCategory()}; tableModel.addRow(objs); } frame.setSize(600,500); frame.add(scrollPane); //frame.pack(); frame.setVisible(true); } }); closeApp.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { int answer = JOptionPane.showConfirmDialog(Store.this,""); if (answer == JOptionPane.YES_OPTION) { dispose(); } else if(answer == JOptionPane.NO_OPTION) dispose(); else if(answer==0) ; } }); findByTitle.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e){ String titl = JOptionPane.showInputDialog("Search for title: "); boolean found = false; for (Map.Entry<Integer, Book> entry : table.entrySet()) { if(titl.equalsIgnoreCase((entry.getValue().getTitle().trim()))){ found = true; titleTextField.setText(entry.getValue().getTitle()+""); authorTextField.setText(entry.getValue().getAuthor()); priceTextField.setText(entry.getValue().getPrice()); categoryTextField.setText(entry.getValue().getCategory()); } } if(found) JOptionPane.showMessageDialog(null, "Title " + titl + " found."); else JOptionPane.showMessageDialog(null, "Title " + titl + " not found."); } }); findByAuthor.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e){ String auth = JOptionPane.showInputDialog("Search for author: "); boolean found = false; for (Map.Entry<Integer, Book> entry : table.entrySet()) { if(auth.equals(entry.getValue().getAuthor().trim())){ found = true; titleTextField.setText(entry.getValue().getTitle()+""); authorTextField.setText(entry.getValue().getAuthor()); priceTextField.setText(entry.getValue().getPrice()); categoryTextField.setText(entry.getValue().getCategory()); } } if(found) JOptionPane.showMessageDialog(null, "Author " + auth + " found."); else JOptionPane.showMessageDialog(null, "Author " + auth + " not found."); } }); } private void saveOpenValues(){ if (openValues){ titleTextField.setEditable(false); authorTextField.setEditable(false); table.get(currentItem).setAuthor(authorTextField.getText()); table.get(currentItem).setTitle(titleTextField.getText()); } } private void displayDetails(int currentItem) { titleTextField.setText(table.get(currentItem).getTitle()); authorTextField.setText(table.get(currentItem).getAuthor()); priceTextField.setText(table.get(currentItem).getPrice()); categoryTextField.setText(table.get(currentItem).getCategory()); } public static void printBooks(List<Book> books) { for (Book book : books) { System.out.println("Book : [ Book : " + book.getTitle() + ", Author : " + book.getAuthor() + ", Book Price: " + book.getPrice()); } } public static void main(String[] args) { Book bk = Book.getInstance(); bk.getInstance(); List<Book> books = new ArrayList<Book>(); Criteria author = new CriteriaAuthor(); System.out.println("Roddy Doyles Books: "); printBooks(author.meetCriteria(books)); //if i had a functioning create new user method i would use //that method to implement the memento pattern. /*Originator originator = new Originator(); User user = new User(); originator.setState("State #1"); originator.setState("State #2"); user.add(originator.saveStateToMemento()); originator.setState("State #3"); user.add(originator.saveStateToMemento()); originator.setState("State #4"); System.out.println("Current State: " + originator.getState()); originator.getStateFromMemento(user.get(0)); System.out.println("First saved State: " + originator.getState()); originator.getStateFromMemento(user.get(1)); System.out.println("Second saved State: " + originator.getState()); }*/ /*AbstractUser user1 = UserrFactory.getUser("leanneRay"); AbstractUser user2 = UserFactory.getUser("bobbyDunne"); AbstractUser user3 = UserFactory.getUser("hannahM"); System.out.println("Users"); System.out.println(user1.getUsername()); System.out.println(user2.getUsername()); System.out.println(user3.getUsername());*/ //output would be //Users //leanneRay //Not available in user database //hannahM Store st = new Store(); st.setSize(1200,400); st.pack(); st.setVisible(true); } } /////////////////////////////////////////////////////////////// /* //* books = new ArrayList<Book>(MAX_CATALOGUE); items = new ArrayList<Item>(MAX_CATALOGUE); users = new ArrayList<User>(MAX_USERS); //Initialise the store catalogue with 5 sample books **this will be changed when i connect the project to a database) books.add(new Book ("A Tale of Two Cities", "Charles", "Dickens", 11111111, 'F')); books.add(new Book */ /* ("The Lord of the Rings", "John R. R.", "Tolkien", 22222222, 'F')); books.add(new Book ("A Brief History of Time", "Stephen", "Hawking", 33333333, 'N')); books.add(new Book ("Java Concepts", "Cay S.", "Horstmann", 44444444, 'N')); books.add(new Book ("Moneyball", "Michael", "Lewis", 55555555, 'S')); for (int i = 0; i < 5; i++) { int bookID = books.get(i).getId(); items.add(new Item(bookID)); } //Initialise the store membership accounts with 4 users users.add(new User("Joe", "Bloggs", "[email protected]", "joe123", "101 St Johns Street, London", "card")); users.add(new User("Bill", "Gates", "[email protected]", "Bill123", "78 Rathmines Rd, Dublin", "card")); users.add(new User("Henry", "Ford", "[email protected]", "Henry", "18 Firhouse Abbey, Dublin", "card")); users.add(new User("Grace", "Kelly", "[email protected]", "gk18", "12 View Rise, Dublin", "card")); } public static void main (String[] args) throws SQLException { try(Connection connection = DriverManager.getConnection("jdbc:h2:target/db", "sa", "")){ System.out.println("Connection secured"); } //initialiseStore(); Scanner scan = new Scanner(System.in); int menuOption = 0; while (true) { clearConsole(); System.out.println("Please Make a selection:"); System.out.println("[1] Buy item"); System.out.println("[2] Search for item(s) in Store"); System.out.println("[3] Store Administration"); System.out.println("[0] Exit"); System.out.print("Enter your choice > "); //the user input is scanned and menuOption is set to this value menuOption = scan.nextInt(); switch(menuOption) { case 0: System.exit(0); break; case 1: buyItemMenu(); break; case 2: searchItems(); break; case 3: storeAdminMenu(); break; default: System.out.print("You have input an invalid option. "); System.out.println("press enter to continue."); pauseMe(); break; } } } private static void clearConsole() { for (int i=0; i < 100; i++) { System.out.println(""); } } private static void pauseMe() { Scanner scan = new Scanner(System.in); System.out.println("press enter to continue."); scan.nextLine(); } public static void buyItemMenu() { if (users.size() <= 0) { clearConsole(); System.out.println("The store user accounts are empty. "); pauseMe(); return; } if (items.size() <= 0) { clearConsole(); System.out.println("The store's catalogue is empty. "); System.out.println("There are no items available to buy. "); pauseMe(); return; } Scanner scan = new Scanner(System.in); int menuOption = 0; while (true) { clearConsole(); System.out.println("Please Make a selection:"); System.out.println("1.[1] Buy item from Store "); System.out.println("1.[2] List all items in store"); System.out.println("1.[3] Return to previous menu"); System.out.print("Enter your choice > "); menuOption = scan.nextInt(); switch(menuOption) { case 1: buyItemFromStore(); break; case 2: printItems(); break; case 3: return; default: System.out.print("You have inputted an invalid option. "); pauseMe(); break; } } } public static void storeAdminMenu() { Scanner scan = new Scanner(System.in); int menuOption = 0; while (true) { clearConsole(); System.out.println("Please Make a selection:"); System.out.println("4.[1] Add Item."); System.out.println("4.[2] Delete Item."); System.out.println("4.[3] List Items."); System.out.println("4.[4] List Users."); System.out.println("4.[5] Return to previous menu."); System.out.print("Enter your choice > "); menuOption = scan.nextInt(); switch(menuOption) { case 1: addItem(); break; case 2: deleteItem(); break; case 3: printItems(); break; case 4: printUsers(); break; case 5: return; default: System.out.print("You have inputted an invalid option. "); pauseMe(); break; } } } //addItem() Adds an item to the store if the store is not at maximum capacity public static void addItem(){ if(items.size() != MAX_CATALOGUE){ //Take in the Title of the book System.out.println("Please enter the Item Title > "); Scanner scanName = new Scanner(System.in); String itemTitle = scanName.nextLine(); //While the item title length is equal to 0, repeat this step so the user has to enter the title of the book while(itemTitle.length() == 0){ System.out.println("The Title of the book can't be blank \n"); System.out.println("Please enter the Item Title > "); scanName = new Scanner(System.in); itemTitle = scanName.nextLine(); } //Take in the name of the Author System.out.println("First name of author > "); Scanner scanAuthor = new Scanner(System.in); String authorName = scanAuthor.nextLine(); //While the item author name length is equal to 0, repeat this step so the user has to enter the authors name while(authorName.length() == 0){ System.out.println("The First name of the author can't be blank \n"); System.out.println("First name of author > "); scanAuthor = new Scanner(System.in); authorName = scanAuthor.nextLine(); } //Take in the surname of the author System.out.println("Surname name of author > "); Scanner scanSurname = new Scanner(System.in); String authorLastName = scanSurname.nextLine(); //While the item author Surname length is equal to 0, repeat this step so the user has to enter the authors Surname while(authorLastName.length() == 0){ System.out.println("The First name of the author can't be blank \n"); System.out.println("First name of author > "); scanSurname = new Scanner(System.in); authorLastName = scanSurname.nextLine(); } System.out.println("Please enter Book ID > "); Scanner scanBookId = new Scanner(System.in); int bookId = scanBookId.nextInt(); String bookLength = new Integer(bookId).toString();//parse the bookId to a string so we could get the length of the integter. //While the book id is less than 8 digits in length, repeat this step so the user has to enter the correct book id while(bookLength.length() < 8){ System.out.println("The Id of the Item has to be 8 digits long \n"); System.out.println("Please enter Book ID > "); scanBookId = new Scanner(System.in); bookId = scanBookId.nextInt(); bookLength = new Integer(bookId).toString(); } System.out.println("Category of book ([F]iction, [N]on-fiction, [B]iography, or [S]port) > "); Scanner scanCategory = new Scanner(System.in); char category = scanCategory.nextLine().charAt(0); //While the catgory is not equal to capital F, N, B, S and Lower case f,n,b,s then repeat this step while(category != 'F' && category != 'f' && category != 'N' && category != 'n' && category != 'B' && category != 'b' && category != 'S' && category != 's'){ System.out.println(" Please enter a single letter for the Category \n"); System.out.println("Category of book ([F]iction, [N]on-fiction, [B]iography, or [S]port) > "); scanCategory = new Scanner(System.in); category = scanCategory.nextLine().charAt(0); } System.out.println("Item Name : " + itemTitle + "\n FirstName : " + authorName + "\n Surname : " + authorLastName + "\n Book ID : " + bookId + "\n Category : " + category + "\n"); //Add the new book created with the user input, to the Array of Books books.add(new Book (itemTitle, authorName, authorLastName, bookId, category)); //Add the book to the Items Array using the Book id items.add(new Item(bookId)); System.out.println("This is the name of the item : " + itemTitle); pauseMe(); }else{ System.out.println("The Store catalogue is full. The store catalogue limit is " + MAX_CATALOGUE + " items. "); pauseMe(); } }//end Method //deleteItem() is used to delete an item from the items array and to delete //the corresponding book from the book array when certain conditions are met public static void deleteItem(){ //If the users isnt empty if(!items.isEmpty()){ Scanner scan = new Scanner(System.in);//Create a scanner System.out.println("Please enter the ID of the Item to be deleted > "); int idOfItem = scan.nextInt(); // Scan the user input and assign it to the int idOfItem //If the item with the id passed in by the user is in the store //Calls isItemInLibrary(int Id) from Store if(isItemInStore(idOfItem)){ //For each of the books in the books array for(int i = 0; i < books.size(); i++){ books.get(i).getId();//get the id of the book if(idOfItem == books.get(i).getId()){//if the idOfItam passed in by the user is equal to the book id if(items.get(i).isOutOfStock() == false){//if the book is not out of stock , calls isOutOfStock from Item items.remove(i);//remove the item from the items array books.remove(i);//remove the book from the books array System.out.println("This is the id of the book to be deleted : " + idOfItem + "\n"); pauseMe(); } } } printItems(); //Calls printItems() from Store }else{ System.out.println("The item with ID : " + idOfItem + " cannot be deleted as it does not exist!!"); } }else{ System.out.println("The store catalogue is empty or the Item with this id does not exist "); } pauseMe(); }//end method //printItems() prints out a list of all the items in the Items array public static void printItems(){ //if the items array is empty then print out a message to say so if(items.isEmpty()){ System.out.println(" \n There are no items in the Store \n"); }else{//otherwise System.out.println("\n This is a list of all the Items \n"); //for each of the items in the items array for (int i = 0; i < items.size(); i++){ System.out.println("Book name : " + books.get(i).getTitle() + "\n");//get the item title and print it out System.out.println("Item: " + items.get(i).getId()+ "\n");//get the item id and print it out System.out.println("Out of Stock: " + items.get(i).isOutOfStock()+ "\n");//print out if the item is on loan or not System.out.println("User ID: " + items.get(i).getUserId()+ "\n");//print out the user id of the item System.out.println("----------------------------------"); } pauseMe(); } }//end Method //printUsers() prints out a list of all the Users in the Users array public static void printUsers(){ //If the users array is empty if(users.isEmpty()){ System.out.println("\n The store's user account are empty \n"); } else{//otherwise do this System.out.println("\n This is a list of all the Users \n"); //for each of the users in the users array print out the user for (int i = 0; i < users.size(); i++){ System.out.println("User" + users.get(i)+ "\n"); } } pauseMe(); }//end Method //buyItemFromStore() allows a user to buy an item from the store //when certain conditions are met, Like if the item exists, the user exists and //the item is not out of stock. This method will also produce a message to indicate to //the store admin that a condition has not been met. public static void buyItemFromStore(){ Scanner bookScan = new Scanner(System.in);//Create a scanner to scan a book int itemIdentifier = 0; System.out.println("Please enter the name of the book you want to lend! \n"); String bookName = bookScan.nextLine();//sets the value of the bookName variable to the value inputed by the user //while the length of the bookName is equal to zero, repeat this step so //that the user has to enter the name of the book while(bookName.length() == 0){ System.out.println("You cant leave the book name blank!"); System.out.println("Please enter the name of the book you want to lend! \n"); bookScan = new Scanner(System.in); bookName = bookScan.nextLine(); } System.out.println("Please enter the Id of the User > "); Scanner userScan = new Scanner(System.in);//create a new scanner int userIdentifier = userScan.nextInt();//set the value of the userIdentifier variable to the input of the user int counter = 0;//set the value of the counter variable to zero //for each of the books in the books array for(int i = 0; i < books.size(); i++){ //if the book name entered by the user is equal to the book title in the array. //and the user is in the users array if(bookName.equals(books.get(i).getTitle()) && isUserInStore(userIdentifier)){ //for each of the users in the array for(int num = 0; num < users.size(); num++){ //If the iten is not on loan if(items.get(i).isOutOfStock() == false){//calls isOutOfStock from Item //increment the counter variable to indicate that a book has been borrowed counter++; //if the user id entered by the admin is equal to the id of the user in the array if(userIdentifier == users.get(num).getId()){ //if the user has borrowed less than 3 books if(users.get(num).getNumOfItemsBought() < 3){//calls getNumOfItemsBought() from User items.get(i).buyItem(userIdentifier);//borrow the item using the users id, calls borrowItem(int userID) from Item //print messages to indicate the book was borrowed System.out.println("Item has been bought : " + bookName); System.out.println("The User that bought it is : " + items.get(i).getUserId()); } } } } } } //if the counter that gets incremented when a book is bought is equal to zero //then print this message if(counter == 0){ System.out.println("We did not find a match for either the user id, or the book title"); } pauseMe(); }//end Method //searchItems() allows admin to search for a particular item in the store. public static void searchItems(){ //items in the array get() the Book title and if the String entered matches the title then match System.out.println("Please enter the title of the book you want to view > "); Scanner scan = new Scanner(System.in);//create a new scanner String searchInput = scan.nextLine();//set the value of the searchInput variable to the value of the scanned input String myString = "";//create a local variable called myString //while the search inputed by the user is left blank , repeat this step so //that the admin has to enter some text while(searchInput.length() == 0){ System.out.println("The Search can't be blank \n"); System.out.println("Please enter the title of the book you are looking for > "); scan = new Scanner(System.in); searchInput = scan.nextLine(); } int numOfItemsFound = 0;//create a local variable called numOfItemsFound and set the value to 0. //if the items array is NOT empty if(!items.isEmpty()){ //for each of the books in the array, get the title for(int i = 0; i < books.size(); i++){ myString = books.get(i).getTitle();//set the value of the myString variable to the book title //if the title found matches the search input or starts with the search input //increment the numOfItemsFound and print each book found if(searchInput.matches(myString) || myString.startsWith(searchInput)){ numOfItemsFound++;//increment the number of items variable by 1 System.out.println("System has found a match for this book : \n"); //Prints the book that was found System.out.println("Book Title: " + books.get(i).getTitle()+ "\n"); System.out.println("Author Name : " + books.get(i).getAuthorFirstName()+ " " + books.get(i).getAuthorLastName() + "\n"); System.out.println("Book Id : " + books.get(i).getId()+ "\n"); System.out.println("Category : " + books.get(i).getCategory()+ "\n"); //include stock value System.out.println("Your search is complete"); } } //if the number of books found is equal to zero print the meassage //else print number of books found if(numOfItemsFound == 0){ System.out.println("We could not find a book that matches that description"); }else{ System.out.println("Found " + numOfItemsFound + " items in total"); } //if the items array is empty then print the message }else{ System.out.println("The Store has no items in it"); } pauseMe(); }//end Method //isUserInStore(int userID) checks if the user id entered in the parameter exists in the user array //return true if it does and return false if it doesnt public static boolean isUserInStore(int userID){ for(int i = 0; i < users.size();){ //If the parameter entered(userID) is equal to any of the users in the array //return true otherwise return false if(userID == users.get(i).getId()){ return true; } i++;//increment i by 1 } return false; }//end Method //isItemInStore(int itemID) checks if the item id entered as a parameter exists if the array. //return true of t does and return false if it doesnt public static boolean isItemInStore(int itemID){ for(int i = 0; i < items.size();){ //If the parameter entered is equal to any of the item id's //in the array then return true if(itemID == items.get(i).getId()){ return true; } i++; } return false; }//end Method }//end Class */
9e2afd637a2fe58e738197e3da5d5fa6b6a3d05f
6482326fad44edf2447e3dc270fb532497f6ab7a
/app/src/androidTest/java/com/example/bryanty/projectx_smym/ApplicationTest.java
c26c9ddb474511ad247661dc552ce552877bd648
[]
no_license
GamaX320/ProjectX_SMYM
f0b8e7166b21ef5f863bf787b1202ac4f820eca1
b7356d7fb7740b45f1231ad009dfd8f11ad406b9
refs/heads/master
2021-01-16T19:30:58.855761
2015-02-23T13:53:17
2015-02-23T13:53:17
31,209,995
1
0
null
null
null
null
UTF-8
Java
false
false
364
java
package com.example.bryanty.projectx_smym; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { super(Application.class); } }
b17385cb759464a04adb52e9fe28b6b30eb8bf94
c1164a96d40338a3f4c20c96cf1b8699c733b022
/form-service/src/main/java/com/spring/cloud/form/domain/FormFieldType.java
5f87b240d634b2f9db4b2cd6853c0f4c2a4d4b78
[]
no_license
chendingying/spring-cloud-workflow
6c554dbc8b27e62198803352e7758dcca2628bc6
f94970c9cadff8d2b047a679f242edf8e155c677
refs/heads/master
2020-03-29T08:52:48.662101
2018-10-13T07:58:31
2018-10-13T07:58:31
149,730,861
0
1
null
null
null
null
UTF-8
Java
false
false
1,407
java
package com.spring.cloud.form.domain; import com.spring.cloud.common.domain.BaseEntity; import javax.persistence.*; import java.util.UUID; /** * Created by CDZ on 2018/9/21. */ @Entity @Table(name = "pw_fo_field_type", catalog = "liansen_form") @NamedQuery(name = "FormFieldType.findAll", query = "SELECT f FROM FormFieldType f") public class FormFieldType extends BaseEntity { private static final long serialVersionUID = 1L; private String key; private String name; private String status; private String remark; public FormFieldType(){} @PrePersist public void prePersist() { super.prePersist(); if(key == null || key.isEmpty()) { key = UUID.randomUUID().toString(); } } @Column(name = "key_") public String getKey() { return key; } public void setKey(String key) { this.key = key; } @Column(name = "name_") public String getName() { return name; } public void setName(String name) { this.name = name; } @Column(name = "status_") public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } @Column(name = "remark_") public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } }
63165d02908ceffa7903c3d78d24d81b572bf8e5
a2440dbe95b034784aa940ddc0ee0faae7869e76
/modules/lwjgl/vulkan/src/generated/java/org/lwjgl/vulkan/VkBufferMemoryBarrier2KHR.java
9020628822561ec76eee8f5a88b2a21320e45bde
[ "LicenseRef-scancode-khronos", "LGPL-2.0-or-later", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
LWJGL/lwjgl3
8972338303520c5880d4a705ddeef60472a3d8e5
67b64ad33bdeece7c09b0f533effffb278c3ecf7
refs/heads/master
2023-08-26T16:21:38.090410
2023-08-26T16:05:52
2023-08-26T16:05:52
7,296,244
4,835
1,004
BSD-3-Clause
2023-09-10T12:03:24
2012-12-23T15:40:04
Java
UTF-8
Java
false
false
15,190
java
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.vulkan; import javax.annotation.*; import java.nio.*; import org.lwjgl.*; import org.lwjgl.system.*; import static org.lwjgl.system.MemoryUtil.*; import static org.lwjgl.system.MemoryStack.*; /** * See {@link VkBufferMemoryBarrier2}. * * <h3>Layout</h3> * * <pre><code> * struct VkBufferMemoryBarrier2KHR { * VkStructureType sType; * void const * pNext; * VkPipelineStageFlags2 srcStageMask; * VkAccessFlags2 srcAccessMask; * VkPipelineStageFlags2 dstStageMask; * VkAccessFlags2 dstAccessMask; * uint32_t srcQueueFamilyIndex; * uint32_t dstQueueFamilyIndex; * VkBuffer buffer; * VkDeviceSize offset; * VkDeviceSize size; * }</code></pre> */ public class VkBufferMemoryBarrier2KHR extends VkBufferMemoryBarrier2 { protected VkBufferMemoryBarrier2KHR(long address, @Nullable ByteBuffer container) { super(address, container); } @Override protected VkBufferMemoryBarrier2KHR create(long address, @Nullable ByteBuffer container) { return new VkBufferMemoryBarrier2KHR(address, container); } /** * Creates a {@code VkBufferMemoryBarrier2KHR} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be * visible to the struct instance and vice versa. * * <p>The created instance holds a strong reference to the container object.</p> */ public VkBufferMemoryBarrier2KHR(ByteBuffer container) { super(container); } /** Sets the specified value to the {@code sType} field. */ @Override public VkBufferMemoryBarrier2KHR sType(@NativeType("VkStructureType") int value) { nsType(address(), value); return this; } /** Sets the {@link VK13#VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2 STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2} value to the {@code sType} field. */ @Override public VkBufferMemoryBarrier2KHR sType$Default() { return sType(VK13.VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2); } /** Sets the specified value to the {@code pNext} field. */ @Override public VkBufferMemoryBarrier2KHR pNext(@NativeType("void const *") long value) { npNext(address(), value); return this; } /** Sets the specified value to the {@code srcStageMask} field. */ @Override public VkBufferMemoryBarrier2KHR srcStageMask(@NativeType("VkPipelineStageFlags2") long value) { nsrcStageMask(address(), value); return this; } /** Sets the specified value to the {@code srcAccessMask} field. */ @Override public VkBufferMemoryBarrier2KHR srcAccessMask(@NativeType("VkAccessFlags2") long value) { nsrcAccessMask(address(), value); return this; } /** Sets the specified value to the {@code dstStageMask} field. */ @Override public VkBufferMemoryBarrier2KHR dstStageMask(@NativeType("VkPipelineStageFlags2") long value) { ndstStageMask(address(), value); return this; } /** Sets the specified value to the {@code dstAccessMask} field. */ @Override public VkBufferMemoryBarrier2KHR dstAccessMask(@NativeType("VkAccessFlags2") long value) { ndstAccessMask(address(), value); return this; } /** Sets the specified value to the {@code srcQueueFamilyIndex} field. */ @Override public VkBufferMemoryBarrier2KHR srcQueueFamilyIndex(@NativeType("uint32_t") int value) { nsrcQueueFamilyIndex(address(), value); return this; } /** Sets the specified value to the {@code dstQueueFamilyIndex} field. */ @Override public VkBufferMemoryBarrier2KHR dstQueueFamilyIndex(@NativeType("uint32_t") int value) { ndstQueueFamilyIndex(address(), value); return this; } /** Sets the specified value to the {@code buffer} field. */ @Override public VkBufferMemoryBarrier2KHR buffer(@NativeType("VkBuffer") long value) { nbuffer(address(), value); return this; } /** Sets the specified value to the {@code offset} field. */ @Override public VkBufferMemoryBarrier2KHR offset(@NativeType("VkDeviceSize") long value) { noffset(address(), value); return this; } /** Sets the specified value to the {@code size} field. */ @Override public VkBufferMemoryBarrier2KHR size(@NativeType("VkDeviceSize") long value) { nsize(address(), value); return this; } /** Initializes this struct with the specified values. */ @Override public VkBufferMemoryBarrier2KHR set( int sType, long pNext, long srcStageMask, long srcAccessMask, long dstStageMask, long dstAccessMask, int srcQueueFamilyIndex, int dstQueueFamilyIndex, long buffer, long offset, long size ) { sType(sType); pNext(pNext); srcStageMask(srcStageMask); srcAccessMask(srcAccessMask); dstStageMask(dstStageMask); dstAccessMask(dstAccessMask); srcQueueFamilyIndex(srcQueueFamilyIndex); dstQueueFamilyIndex(dstQueueFamilyIndex); buffer(buffer); offset(offset); size(size); return this; } /** * Copies the specified struct data to this struct. * * @param src the source struct * * @return this struct */ public VkBufferMemoryBarrier2KHR set(VkBufferMemoryBarrier2KHR src) { memCopy(src.address(), address(), SIZEOF); return this; } // ----------------------------------- /** Returns a new {@code VkBufferMemoryBarrier2KHR} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. */ public static VkBufferMemoryBarrier2KHR malloc() { return new VkBufferMemoryBarrier2KHR(nmemAllocChecked(SIZEOF), null); } /** Returns a new {@code VkBufferMemoryBarrier2KHR} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. */ public static VkBufferMemoryBarrier2KHR calloc() { return new VkBufferMemoryBarrier2KHR(nmemCallocChecked(1, SIZEOF), null); } /** Returns a new {@code VkBufferMemoryBarrier2KHR} instance allocated with {@link BufferUtils}. */ public static VkBufferMemoryBarrier2KHR create() { ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF); return new VkBufferMemoryBarrier2KHR(memAddress(container), container); } /** Returns a new {@code VkBufferMemoryBarrier2KHR} instance for the specified memory address. */ public static VkBufferMemoryBarrier2KHR create(long address) { return new VkBufferMemoryBarrier2KHR(address, null); } /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. */ @Nullable public static VkBufferMemoryBarrier2KHR createSafe(long address) { return address == NULL ? null : new VkBufferMemoryBarrier2KHR(address, null); } /** * Returns a new {@link VkBufferMemoryBarrier2KHR.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. * * @param capacity the buffer capacity */ public static VkBufferMemoryBarrier2KHR.Buffer malloc(int capacity) { return new Buffer(nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity); } /** * Returns a new {@link VkBufferMemoryBarrier2KHR.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. * * @param capacity the buffer capacity */ public static VkBufferMemoryBarrier2KHR.Buffer calloc(int capacity) { return new Buffer(nmemCallocChecked(capacity, SIZEOF), capacity); } /** * Returns a new {@link VkBufferMemoryBarrier2KHR.Buffer} instance allocated with {@link BufferUtils}. * * @param capacity the buffer capacity */ public static VkBufferMemoryBarrier2KHR.Buffer create(int capacity) { ByteBuffer container = __create(capacity, SIZEOF); return new Buffer(memAddress(container), container, -1, 0, capacity, capacity); } /** * Create a {@link VkBufferMemoryBarrier2KHR.Buffer} instance at the specified memory. * * @param address the memory address * @param capacity the buffer capacity */ public static VkBufferMemoryBarrier2KHR.Buffer create(long address, int capacity) { return new Buffer(address, capacity); } /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. */ @Nullable public static VkBufferMemoryBarrier2KHR.Buffer createSafe(long address, int capacity) { return address == NULL ? null : new Buffer(address, capacity); } /** * Returns a new {@code VkBufferMemoryBarrier2KHR} instance allocated on the specified {@link MemoryStack}. * * @param stack the stack from which to allocate */ public static VkBufferMemoryBarrier2KHR malloc(MemoryStack stack) { return new VkBufferMemoryBarrier2KHR(stack.nmalloc(ALIGNOF, SIZEOF), null); } /** * Returns a new {@code VkBufferMemoryBarrier2KHR} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. * * @param stack the stack from which to allocate */ public static VkBufferMemoryBarrier2KHR calloc(MemoryStack stack) { return new VkBufferMemoryBarrier2KHR(stack.ncalloc(ALIGNOF, 1, SIZEOF), null); } /** * Returns a new {@link VkBufferMemoryBarrier2KHR.Buffer} instance allocated on the specified {@link MemoryStack}. * * @param stack the stack from which to allocate * @param capacity the buffer capacity */ public static VkBufferMemoryBarrier2KHR.Buffer malloc(int capacity, MemoryStack stack) { return new Buffer(stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity); } /** * Returns a new {@link VkBufferMemoryBarrier2KHR.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero. * * @param stack the stack from which to allocate * @param capacity the buffer capacity */ public static VkBufferMemoryBarrier2KHR.Buffer calloc(int capacity, MemoryStack stack) { return new Buffer(stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity); } // ----------------------------------- /** An array of {@link VkBufferMemoryBarrier2KHR} structs. */ public static class Buffer extends VkBufferMemoryBarrier2.Buffer { private static final VkBufferMemoryBarrier2KHR ELEMENT_FACTORY = VkBufferMemoryBarrier2KHR.create(-1L); /** * Creates a new {@code VkBufferMemoryBarrier2KHR.Buffer} instance backed by the specified container. * * <p>Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values * will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided * by {@link VkBufferMemoryBarrier2KHR#SIZEOF}, and its mark will be undefined.</p> * * <p>The created buffer instance holds a strong reference to the container object.</p> */ public Buffer(ByteBuffer container) { super(container); } public Buffer(long address, int cap) { super(address, null, -1, 0, cap, cap); } Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) { super(address, container, mark, pos, lim, cap); } @Override protected Buffer self() { return this; } @Override protected VkBufferMemoryBarrier2KHR getElementFactory() { return ELEMENT_FACTORY; } /** Sets the specified value to the {@code sType} field. */ @Override public VkBufferMemoryBarrier2KHR.Buffer sType(@NativeType("VkStructureType") int value) { VkBufferMemoryBarrier2KHR.nsType(address(), value); return this; } /** Sets the {@link VK13#VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2 STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2} value to the {@code sType} field. */ @Override public VkBufferMemoryBarrier2KHR.Buffer sType$Default() { return sType(VK13.VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2); } /** Sets the specified value to the {@code pNext} field. */ @Override public VkBufferMemoryBarrier2KHR.Buffer pNext(@NativeType("void const *") long value) { VkBufferMemoryBarrier2KHR.npNext(address(), value); return this; } /** Sets the specified value to the {@code srcStageMask} field. */ @Override public VkBufferMemoryBarrier2KHR.Buffer srcStageMask(@NativeType("VkPipelineStageFlags2") long value) { VkBufferMemoryBarrier2KHR.nsrcStageMask(address(), value); return this; } /** Sets the specified value to the {@code srcAccessMask} field. */ @Override public VkBufferMemoryBarrier2KHR.Buffer srcAccessMask(@NativeType("VkAccessFlags2") long value) { VkBufferMemoryBarrier2KHR.nsrcAccessMask(address(), value); return this; } /** Sets the specified value to the {@code dstStageMask} field. */ @Override public VkBufferMemoryBarrier2KHR.Buffer dstStageMask(@NativeType("VkPipelineStageFlags2") long value) { VkBufferMemoryBarrier2KHR.ndstStageMask(address(), value); return this; } /** Sets the specified value to the {@code dstAccessMask} field. */ @Override public VkBufferMemoryBarrier2KHR.Buffer dstAccessMask(@NativeType("VkAccessFlags2") long value) { VkBufferMemoryBarrier2KHR.ndstAccessMask(address(), value); return this; } /** Sets the specified value to the {@code srcQueueFamilyIndex} field. */ @Override public VkBufferMemoryBarrier2KHR.Buffer srcQueueFamilyIndex(@NativeType("uint32_t") int value) { VkBufferMemoryBarrier2KHR.nsrcQueueFamilyIndex(address(), value); return this; } /** Sets the specified value to the {@code dstQueueFamilyIndex} field. */ @Override public VkBufferMemoryBarrier2KHR.Buffer dstQueueFamilyIndex(@NativeType("uint32_t") int value) { VkBufferMemoryBarrier2KHR.ndstQueueFamilyIndex(address(), value); return this; } /** Sets the specified value to the {@code buffer} field. */ @Override public VkBufferMemoryBarrier2KHR.Buffer buffer(@NativeType("VkBuffer") long value) { VkBufferMemoryBarrier2KHR.nbuffer(address(), value); return this; } /** Sets the specified value to the {@code offset} field. */ @Override public VkBufferMemoryBarrier2KHR.Buffer offset(@NativeType("VkDeviceSize") long value) { VkBufferMemoryBarrier2KHR.noffset(address(), value); return this; } /** Sets the specified value to the {@code size} field. */ @Override public VkBufferMemoryBarrier2KHR.Buffer size(@NativeType("VkDeviceSize") long value) { VkBufferMemoryBarrier2KHR.nsize(address(), value); return this; } } }
5b3da7171974a9f9dcfaf210d38d8c480a39c3a9
15ed3b217f1f8b37972c75cb24d33d686c9b852e
/DistributedSystemsLabs/hangmanWebService/src/java/hangman/Hangman.java
c554a445c4e64150908327d8773571dec637215e
[]
no_license
willoleary6/Distributed-Systems-and-Java
6b64c7f70bdadb159686e0032f2183880dcd3f2f
a0ee62ebbfc3f458a49d27f0b4cee0348d96fcfa
refs/heads/master
2020-03-28T20:58:23.363152
2018-11-26T12:28:18
2018-11-26T12:28:18
149,118,745
0
0
null
null
null
null
UTF-8
Java
false
false
3,297
java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package hangman; import database.DatabaseStuff; import java.sql.SQLException; import javax.jws.Oneway; import javax.jws.WebService; import javax.jws.WebMethod; import javax.jws.WebParam; /** * * @author puser */ @WebService(serviceName = "hangman") public class Hangman { /** * Web service operation */ @WebMethod(operationName = "checkLogin") public int checkLogin(@WebParam(name = "uname") String uname, @WebParam(name = "pword") String pword) { int id = 0; DatabaseStuff h = new DatabaseStuff(); id = h.checkLogin(uname, pword); h.shutdown(); return id; } /** * Web service operation */ public String getRandomWord() { DatabaseStuff h = new DatabaseStuff(); String myWord = h.getRandomWord(); h.shutdown(); return myWord; } /** * Web service operation */ @WebMethod(operationName = "newGame") public int newGame(@WebParam(name = "p1") int p1) { int gameId = 0; DatabaseStuff h = new DatabaseStuff(); gameId = h.addNewGame(p1); h.shutdown(); return gameId; } /** * Web service operation */ @WebMethod(operationName = "registerUser") public int registerUser(@WebParam(name = "name") String name, @WebParam(name = "surname") String surname, @WebParam(name = "username") String username, @WebParam(name = "password") String password, @WebParam(name = "email") String email) { int uid = 0; DatabaseStuff h = new DatabaseStuff(); uid = h.register(name, surname, username, password, email); h.shutdown(); return uid; } /** * Web service operation */ @WebMethod(operationName = "getWord") public String getWord(@WebParam(name = "gid") int gid) { String myword = ""; DatabaseStuff h = new DatabaseStuff(); myword = h.getWordFromGame(gid); h.shutdown(); return myword; } /** * Web service operation */ @WebMethod(operationName = "addGuess") public String addGuess(@WebParam(name = "letter") String letter, @WebParam(name = "player") int player, @WebParam(name = "game") int game) { DatabaseStuff h = new DatabaseStuff(); int correct = 0; String myword = h.getWordFromGame(game); String[] bits = myword .split(""); String result = ""; for(int i=0;i<bits.length;i++) { if(bits[i].equals(letter) == true) { result += i + ","; } } if(result.length() > 0) { correct = 1; result = result.substring(0,result.length()-1); } h.guess(letter, game, player, correct); h.shutdown(); return result; } /** * Web service operation */ @WebMethod(operationName = "guessesUsed") public int guessesUsed(@WebParam(name = "gID") int gID) { DatabaseStuff h = new DatabaseStuff(); int guesses = h.guessesUsed(gID); h.shutdown(); return guesses; } }
[ "puser" ]
puser
58f58e88f351b8697076661f83d21f87f2de2302
40b34fd399ed57a536968bceecc7588015f22223
/app/src/main/java/com/apps/juncode/pruebawham/Endpoints/ConstantesRestAPI.java
6f02e611722c893a3e10242735186c731cb2590b
[ "Apache-2.0" ]
permissive
JunCodde/WhamChat
0a283ef76fa9582c7d78407ab2348d472be0d890
968d7c49524bde89424f8e76f197383bfb0c63d4
refs/heads/master
2021-08-06T18:27:00.874879
2017-11-06T18:49:02
2017-11-06T18:49:02
109,000,928
0
0
null
2017-11-06T18:49:03
2017-10-31T13:39:16
Java
UTF-8
Java
false
false
347
java
package com.apps.juncode.pruebawham.Endpoints; /** * Created by Produccion 800N on 31/10/2017. */ public class ConstantesRestAPI { public static final String ROOT_URL = "https://mighty-peak-90829.herokuapp.com/"; public static final String KEY_POST_ID = "token-device/"; public static final String KEY_POST_EMAIL = "getmail/"; }
d1f57453a2bf0292bb86023d1a5225c1ac300d8b
83954d3f263f2e735888ac0dd7f495be8ff6270e
/src/test/java/org/oddjob/logging/polling/PollingLogArchiverTest.java
e5bc5203223cd7efb6609e2ce7750faadd7ccb73
[ "BSD-2-Clause", "Apache-2.0" ]
permissive
robjg/oddjob
d8e4d6a68d21751e0bba6dbc5ef307d69a18e366
61c1e0980830c430be00210ab1a7b9d77a3aa8c4
refs/heads/master
2023-07-05T20:37:22.644093
2023-07-04T06:29:28
2023-07-04T06:29:28
1,803,653
20
4
null
null
null
null
UTF-8
Java
false
false
2,345
java
/* * (c) Rob Gordon 2006 */ package org.oddjob.logging.polling; import org.junit.Test; import org.oddjob.OjTestCase; import org.oddjob.arooa.logging.LogLevel; import org.oddjob.logging.ArchiveNameResolver; import org.oddjob.logging.LogArchiver; import org.oddjob.logging.LogEvent; import org.oddjob.logging.LogListener; import org.oddjob.logging.cache.LogEventSource; import org.oddjob.logging.cache.PollingLogArchiver; public class PollingLogArchiverTest extends OjTestCase { private class OurLogEventSource implements LogEventSource { Object component; long from; int max; public LogEvent[] retrieveEvents(Object component, long from, int max) { this.component = component; this.from = from; this.max = max; if (from < 0) { return new LogEvent[] { new LogEvent("org.oddjob.TestLogger", 0, LogLevel.INFO, "Test") }; } else { return new LogEvent[0]; } } } private class OurArchiveNameResolver implements ArchiveNameResolver { Object component; public String resolveName(Object component) { this.component = component; return "org.oddjob.TestLogger"; } } private class OurLogListener implements LogListener { LogEvent e; public void logEvent(LogEvent logEvent) { this.e = logEvent; } } @Test public void testPoll() { OurLogEventSource source = new OurLogEventSource(); OurArchiveNameResolver resolver = new OurArchiveNameResolver(); Object component = new Object(); PollingLogArchiver test = new PollingLogArchiver( resolver, source); OurLogListener l = new OurLogListener(); // add a listener because LogPoller only polls what's being listened // to. test.addLogListener(l, component, LogLevel.INFO, -1, 10); assertEquals("source component", component, source.component); assertEquals("source from", -1, source.from); assertEquals("source max", LogArchiver.MAX_HISTORY, source.max); assertEquals("resolever component", component, resolver.component); assertNotNull("event", l.e); assertEquals("event message", "Test", l.e.getMessage()); l.e = null; test.poll(); assertEquals("source from", 0, source.from); assertEquals("source max", LogArchiver.MAX_HISTORY, source.max); assertNull("no event", l.e); } }
6c10bd4263ea3fb2c6c703a5f10e3e735dca5eaf
8cdf937449235e3ba3455773fb195fd1f8b7fec0
/IamCoreProject/src/fr/epita/iamcoreproject/console/action/impl/AuthenticateActionConsole.java
9b73bdb89ca7dcb488d01caecdaac8edf2b1cc6e
[]
no_license
AdrianaSantalla/JavaIamCoreProject
396a0521c73481401358c7551050d44476d8b57e
ec4f1b51aaec04563b4471924319db60ae624ea0
refs/heads/master
2021-01-13T14:28:47.794140
2016-02-06T22:36:31
2016-02-06T22:36:31
50,667,076
0
0
null
null
null
null
UTF-8
Java
false
false
3,596
java
/** * */ package fr.epita.iamcoreproject.console.action.impl; import java.util.Scanner; import fr.epita.iamcoreproject.console.action.ActionConsole; import fr.epita.iamcoreproject.dao.IdentityDAOInterface; import fr.epita.iamcoreproject.dao.IdentityXmlDAO; import fr.epita.iamcoreproject.datamodel.Identity; /** * This class <code>AuthenticateActionConsole</code> implements the interface <code>ActionConsole</code> and * thus it has the <code>execute()</code> method. * * <p>When this class is executed, first the username and password of the user trying to execute the application, * are asked. * * <p>In this project data is persisted in an XML file. To access data this data the <code>IdentityXmlDAO</code> * class is needed. For example, it can be created using: * * <blockquote><pre>{@code * IdentityDAOInterface dao = new IdentityXmlDAO(); * }</pre></blockquote> * * <p>This instance allows the access to the data. Here the function <code>IdentityXmlDAO.findIdentity(Identity user)</code> * is used to compare username password matching. This method uses the matcher equals by default. * * @see fr.epita.iamcoreproject.dao.IdentityXmlDAO * @author Adriana Santalla and David Cechak * @version 1; */ public class AuthenticateActionConsole implements ActionConsole{ //scanner to read the username and password from the user Scanner scanner = new Scanner(System.in); /** * Method to execute the <code>AuthenticateActionConsole</code> to authenticate the user * * <p>An important assumption here, is that the <b>displayName</b> property from <code>Identity</code> is * considered as the <b>username</b> and that we just let Identities with the property type="<b>admin</b>" to * access the application. * * <p>The authentication is accomplished comparing the data inserted by the user using <code>Scanner</code> * and the data coming from the data storage using an instance of <code>IdentityXmlDAO</code> and its method * <code>IdentityXmlDAO.findIdentity(Identity user)</code> * * @see fr.epita.iamcoreproject.dao.IdentityXmlDAO */ @Override public void execute() { //Creating an instance of the DAO that will provide access to the data storage IdentityDAOInterface dao = new IdentityXmlDAO(); boolean state = false; //while loop to keep asking the user an username and password when the authentication fails while(!state){ //Asking for user input System.out.println("\nAuthentication"); System.out.println("Please enter your username: "); String username = scanner.nextLine(); System.out.println("Please enter your password: "); String password = scanner.nextLine(); //creating a new identity to find it Identity user = new Identity(); //here we use the property displayName for the username user.setDisplayName(username); //checking if the given username exits in the XML file if(!dao.findIdentity(user).isEmpty()) { //getting the first user in the resulting list user = dao.findIdentity(user).get(0); //verifying if it is an admin user and that the password matches if(user.getType().equals("admin") && user.getPassword().equals(password)) { System.out.println("\nWelcome "+username); state = true; } else { //printing error message System.out.println("\nAuthentication failed"); state = false; } } else { //printing error message System.out.println("\nUnexisting user"); state = false; } } } }
efc0a22ff1b85d2469031d4a64117b7816eb6746
0a37e449f61830fa553a3a68b0d3267e3e77d338
/HelloPets/app/src/main/java/com/example/android/hellopets/LoginActivity.java
e05b14280c170a3c8e6d9098aadeb555837519be
[]
no_license
Waydrow/Android-Learning
64d06614192f67b2aed3f2e9c657d7eefa005b05
2221444304e735dd5bc7dc0003d11832f62be809
refs/heads/master
2021-01-10T14:37:01.404726
2018-09-16T07:04:48
2018-09-16T07:04:48
53,138,805
2
1
null
null
null
null
UTF-8
Java
false
false
5,084
java
package com.example.android.hellopets; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import com.android.volley.AuthFailureError; import com.android.volley.Request; import com.android.volley.RequestQueue; import com.android.volley.Response; import com.android.volley.VolleyError; import com.android.volley.toolbox.StringRequest; import com.android.volley.toolbox.Volley; import com.example.android.hellopets.util.QueryUtils; import java.util.HashMap; import java.util.Map; public class LoginActivity extends AppCompatActivity { private EditText usernameEditText = null; private EditText passwordEditText = null; private Button loginButton = null; private Button registerButton = null; private SharedPreferences sharedPreferences = null; private RequestQueue mQueue = null; private void initial() { sharedPreferences = PreferenceManager.getDefaultSharedPreferences(LoginActivity.this); //获取偏好中的用户名 String userid=sharedPreferences.getString(getString(R.string.user_id),"-1"); //如果userid!=-1则直接进入信息页 if(!userid.equals("-1")){ Intent intent=new Intent(this, PetsActivity.class); startActivity(intent); } usernameEditText = (EditText) findViewById(R.id.username); passwordEditText = (EditText) findViewById(R.id.password); loginButton = (Button) findViewById(R.id.login); registerButton = (Button) findViewById(R.id.register); mQueue = Volley.newRequestQueue(LoginActivity.this); loginButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { final String username = usernameEditText.getText().toString(); final String password = passwordEditText.getText().toString(); if (username.equals("") || username == null || password.equals("") || password == null) { Toast.makeText(LoginActivity.this, "用户名和密码不能为空", Toast.LENGTH_SHORT).show(); } else { String url = "http://" + QueryUtils.ipAddress + "/Pets/Interface/index.php/Home/Index/appLogin"; final StringRequest stringRequest = new StringRequest(Request.Method.POST, url, new Response.Listener<String>() { @Override public void onResponse(String s) { if (!s.equals("0")) { //登录和注册后把用户信息写入 SharedPreferences.Editor editor = sharedPreferences.edit(); editor.putString(getString(R.string.user_id), s); editor.putString(getString(R.string.username), username); editor.putString(getString(R.string.password), password); editor.commit(); Toast.makeText(LoginActivity.this, "登录成功", Toast.LENGTH_SHORT).show(); Intent intent = new Intent(LoginActivity.this, PetsActivity.class); startActivity(intent); } else { Toast.makeText(LoginActivity.this, "用户名或密码错误", Toast.LENGTH_SHORT).show(); } } }, new Response.ErrorListener() { @Override public void onErrorResponse(VolleyError volleyError) { Log.e("TAG", volleyError.getMessage(), volleyError); } }) { @Override protected Map<String, String> getParams() throws AuthFailureError { Map<String, String> map = new HashMap<String, String>(); map.put("username", username); map.put("password", password); return map; } }; mQueue.add(stringRequest); } } }); registerButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent(LoginActivity.this, RegisterActivity.class); startActivity(intent); } }); } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_login); initial(); setTitle(getString(R.string.login)); } }
da54515db72ca22a40db763bcd8cb9c6bf35e587
2e70d15b23650e607d55b9d13d545b1f136f7dde
/Week_05/springDI/src/main/java/com/ipoca/SpringDI/People3.java
7476712e3e788ec7e0903942e6d503d765682031
[]
no_license
ipocater/JAVA-000
e338aff07f29fa3512736612f5d29397c494ade7
7690fb8a8a4d8ee0c4867948278a7ad7bef4045e
refs/heads/main
2023-02-13T23:04:18.713930
2021-01-14T03:54:18
2021-01-14T03:54:18
304,500,216
0
0
null
2020-10-16T02:36:36
2020-10-16T02:36:36
null
UTF-8
Java
false
false
1,096
java
package com.ipoca.SpringDI; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; @Component public class People3 { @Autowired private Cat cat; @Autowired private Dog dog; @Value("people3") private String name; @Override public String toString() { return "People{" + "dog=" + dog + ", cat=" + cat + ", name='" + name + '\'' + '}'; } public People3() { } public People3(Dog dog, Cat cat, String name) { this.dog = dog; this.cat = cat; this.name = name; } public Dog getDog() { return dog; } public void setDog(Dog dog) { this.dog = dog; } public Cat getCat() { return cat; } public void setCat(Cat cat) { this.cat = cat; } public String getName() { return name; } public void setName(String name) { this.name = name; } }
[ "il" ]
il
23333687e7867d74822b44f9a85ef2c26e4f7951
41b46c7e4cf4323fd849744f7a08cefe0019ede8
/flink-end-to-end-tests/flink-end-to-end-tests-aws-kinesis-firehose/src/test/java/org/apache/flink/connector/firehose/table/test/KinesisFirehoseTableITTest.java
576c1509228dffcf01f9b9f6a75be5360f1772fa
[ "Apache-2.0", "MIT", "ISC", "OFL-1.1", "BSD-3-Clause" ]
permissive
masteryhx/flink
ed8204a73932ff43a10cad32437c881e74491e55
5c9d0d699b31f76180308f165a7fcba4f01ef963
refs/heads/master
2023-08-03T09:22:41.487413
2022-02-10T17:05:06
2022-02-12T20:11:05
436,096,625
0
1
Apache-2.0
2023-03-10T04:31:16
2021-12-08T02:55:02
Java
UTF-8
Java
false
false
9,766
java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.flink.connector.firehose.table.test; import org.apache.flink.api.common.time.Deadline; import org.apache.flink.connector.aws.testutils.LocalstackContainer; import org.apache.flink.tests.util.TestUtils; import org.apache.flink.tests.util.flink.SQLJobSubmission; import org.apache.flink.tests.util.flink.container.FlinkContainers; import org.apache.flink.util.DockerImageVersions; import org.apache.flink.util.TestLogger; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.assertj.core.api.Assertions; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.ClassRule; import org.junit.Test; import org.junit.rules.Timeout; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.testcontainers.containers.Network; import org.testcontainers.utility.DockerImageName; import software.amazon.awssdk.core.SdkSystemSetting; import software.amazon.awssdk.http.async.SdkAsyncHttpClient; import software.amazon.awssdk.services.firehose.FirehoseAsyncClient; import software.amazon.awssdk.services.iam.IamAsyncClient; import software.amazon.awssdk.services.s3.S3AsyncClient; import software.amazon.awssdk.services.s3.model.S3Object; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.time.Duration; import java.util.List; import java.util.Objects; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; import java.util.stream.IntStream; import static org.apache.flink.connector.aws.testutils.AWSServicesTestUtils.createBucket; import static org.apache.flink.connector.aws.testutils.AWSServicesTestUtils.createHttpClient; import static org.apache.flink.connector.aws.testutils.AWSServicesTestUtils.createIAMRole; import static org.apache.flink.connector.aws.testutils.AWSServicesTestUtils.createIamClient; import static org.apache.flink.connector.aws.testutils.AWSServicesTestUtils.createS3Client; import static org.apache.flink.connector.aws.testutils.AWSServicesTestUtils.listBucketObjects; import static org.apache.flink.connector.aws.testutils.AWSServicesTestUtils.readObjectsFromS3Bucket; import static org.apache.flink.connector.firehose.sink.testutils.KinesisFirehoseTestUtils.createDeliveryStream; import static org.apache.flink.connector.firehose.sink.testutils.KinesisFirehoseTestUtils.getFirehoseClient; /** End to End test for Kinesis Firehose Table sink API. */ public class KinesisFirehoseTableITTest extends TestLogger { private static final Logger LOG = LoggerFactory.getLogger(KinesisFirehoseTableITTest.class); private static final String ROLE_NAME = "super-role"; private static final String ROLE_ARN = "arn:aws:iam::000000000000:role/" + ROLE_NAME; private static final String BUCKET_NAME = "s3-firehose"; private static final String STREAM_NAME = "s3-stream"; private final Path sqlConnectorFirehoseJar = TestUtils.getResource(".*firehose.jar"); private SdkAsyncHttpClient httpClient; private S3AsyncClient s3AsyncClient; private FirehoseAsyncClient firehoseAsyncClient; private IamAsyncClient iamAsyncClient; private static final int NUM_ELEMENTS = 5; private static final Network network = Network.newNetwork(); @ClassRule public static final Timeout TIMEOUT = new Timeout(10, TimeUnit.MINUTES); @ClassRule public static LocalstackContainer mockFirehoseContainer = new LocalstackContainer(DockerImageName.parse(DockerImageVersions.LOCALSTACK)) .withNetwork(network) .withNetworkAliases("localstack"); public static final FlinkContainers FLINK = FlinkContainers.builder() .setEnvironmentVariable("AWS_CBOR_DISABLE", "1") .setEnvironmentVariable( "FLINK_ENV_JAVA_OPTS", "-Dorg.apache.flink.kinesis-firehose.shaded.com.amazonaws.sdk.disableCertChecking -Daws.cborEnabled=false") .setNetwork(network) .setLogger(LOG) .dependsOn(mockFirehoseContainer) .build(); @Before public void setup() throws Exception { System.setProperty(SdkSystemSetting.CBOR_ENABLED.property(), "false"); httpClient = createHttpClient(mockFirehoseContainer.getEndpoint()); s3AsyncClient = createS3Client(mockFirehoseContainer.getEndpoint(), httpClient); firehoseAsyncClient = getFirehoseClient(mockFirehoseContainer.getEndpoint(), httpClient); iamAsyncClient = createIamClient(mockFirehoseContainer.getEndpoint(), httpClient); LOG.info("1 - Creating the bucket for Firehose to deliver into..."); createBucket(s3AsyncClient, BUCKET_NAME); LOG.info("2 - Creating the IAM Role for Firehose to write into the s3 bucket..."); createIAMRole(iamAsyncClient, ROLE_NAME); LOG.info("3 - Creating the Firehose delivery stream..."); createDeliveryStream(STREAM_NAME, BUCKET_NAME, ROLE_ARN, firehoseAsyncClient); LOG.info("Done setting up the localstack."); } @BeforeClass public static void setupFlink() throws Exception { FLINK.start(); } @AfterClass public static void stopFlink() { FLINK.stop(); } @After public void teardown() { System.clearProperty(SdkSystemSetting.CBOR_ENABLED.property()); s3AsyncClient.close(); firehoseAsyncClient.close(); iamAsyncClient.close(); httpClient.close(); } @Test public void testTableApiSink() throws Exception { List<Order> orderList = getTestOrders(); executeSqlStatements(readSqlFile("send-orders.sql")); List<Order> orders = readFromS3(); Assertions.assertThat(orders).containsAll(orderList); } private List<Order> getTestOrders() { return IntStream.range(1, NUM_ELEMENTS) .mapToObj(this::getOrderWithOffset) .collect(Collectors.toList()); } private Order getOrderWithOffset(int offset) { return new Order(String.valueOf((char) ('A' + offset - 1)), offset); } private void executeSqlStatements(final List<String> sqlLines) throws Exception { FLINK.submitSQLJob( new SQLJobSubmission.SQLJobSubmissionBuilder(sqlLines) .addJars(sqlConnectorFirehoseJar) .build()); } private List<String> readSqlFile(final String resourceName) throws Exception { return Files.readAllLines(Paths.get(getClass().getResource("/" + resourceName).toURI())); } private List<Order> readFromS3() throws Exception { Deadline deadline = Deadline.fromNow(Duration.ofMinutes(1)); List<S3Object> ordersObjects; List<Order> orders; do { Thread.sleep(1000); ordersObjects = listBucketObjects(s3AsyncClient, BUCKET_NAME); orders = readObjectsFromS3Bucket( s3AsyncClient, ordersObjects, BUCKET_NAME, responseBytes -> fromJson( new String(responseBytes.asByteArrayUnsafe()), Order.class)); } while (deadline.hasTimeLeft() && orders.size() < NUM_ELEMENTS); return orders; } private <T> T fromJson(final String json, final Class<T> type) { try { return new ObjectMapper().readValue(json, type); } catch (JsonProcessingException e) { throw new RuntimeException(String.format("Failed to deserialize json: %s", json), e); } } /** POJO model class for sending and receiving records on Kinesis during e2e test. */ public static class Order { private final String code; private final int quantity; public Order( @JsonProperty("code") final String code, @JsonProperty("quantity") int quantity) { this.code = code; this.quantity = quantity; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Order order = (Order) o; return quantity == order.quantity && Objects.equals(code, order.code); } @Override public int hashCode() { return Objects.hash(code, quantity); } @Override public String toString() { return "Order{" + "code='" + code + '\'' + ", quantity=" + quantity + '}'; } } }
f67a11283315aef5d961ecff36bf3552ca9848f4
2e1ce652c4292f20f6b3eafdfb7f6a327a4c36ef
/hello/src/main/java/com/example/hello/response/LoginResponse.java
9a56813ef9586e1ec3cf03e8e2b0762f7ff45651
[]
no_license
16302010049/GJweb_Lab3
2cf37c2f2b6ada0379012eecb7c4ca604ad40675
e0f304efe7df08136bfda7fe42ee8e4529f1dc78
refs/heads/master
2022-07-08T20:15:45.576808
2019-06-02T16:25:14
2019-06-02T16:25:14
188,762,528
0
0
null
2022-06-21T01:12:46
2019-05-27T03:08:06
Java
UTF-8
Java
false
false
288
java
package com.example.hello.response; public class LoginResponse { String info; public LoginResponse(String info) { this.info = info; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info; } }
4ddf3077f54d341cc9a4414dc06f77ef71a56393
899a0c5266ac6b0602be4a07626b989bbe14d916
/src/com/gymsystem/dao/UserMessageDao.java
95e9b3ee5feeef463d0529de0341624292a0c614
[]
no_license
rockyfire/Gym
eb9edc776974333a826ae82c0c4ea4765fcc45ea
876c6e92ffc872560c49d80fa006596c295c387a
refs/heads/master
2021-01-21T20:06:42.662461
2017-10-27T02:01:59
2017-10-27T02:01:59
92,187,742
0
0
null
2017-06-14T01:39:39
2017-05-23T15:15:50
JavaScript
GB18030
Java
false
false
626
java
package com.gymsystem.dao; import java.util.List; import java.util.Map; import org.springframework.stereotype.Component; import com.gymsystem.po.UserMessage; @Component public interface UserMessageDao extends BaseDao<UserMessage> { /** * * 实现模糊查询 * * @param queryCondition 查询条件集合 * @return 返回用户信息列表 */ public List<UserMessage> getUserMessage(Map<String,Object>queryCondition); public UserMessage getUserMessageByNumber(String number); public UserMessage getUserMessageByIDNumber(String IDNumber); public UserMessage getUserMessageByName(String name); }
44c2a58ae8403a946b47d0a136dd7794c13948f9
6de3faedb0768476b17afd44a715d6c4bed476a5
/src/main/java/com/mycompany/tesi/hooks/TimeCalculation.java
b1d9b4ab7b3daacd5f4fde92527875bb6b4c8281
[]
no_license
geass88/Prova
1f3a1e3b322b60889a8e55cdc59f4de93c939846
16fd1fd5b5c00be1a9e2d92c84a971f4bb102003
refs/heads/master
2020-05-28T10:16:40.098532
2013-09-25T10:42:35
2013-09-25T10:42:35
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,443
java
/* * Copyright 2013 Tommaso. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.mycompany.tesi.hooks; import com.graphhopper.routing.Path; import com.graphhopper.util.EdgeIterator; /** * * @author Tommaso */ public class TimeCalculation { private RawEncoder encoder; public TimeCalculation(RawEncoder encoder) { this.encoder = encoder; } double time; public double calcTime(Path path) { time = 0.; path.forEveryEdge(new Path.EdgeVisitor() { @Override public void next(EdgeIterator iter) { //System.out.println(iter.adjNode() + " " + iter.baseNode()+" " + iter.flags()); //System.out.println(iter.distance()); time += iter.distance()*3.6/encoder.getSpeedHooked(iter.flags()); } }); return time; } }
[ "Tommaso@Adamo-PC" ]
Tommaso@Adamo-PC
99c36a5ee56b3d250d714eddd3e33ecb8c654f23
83f7b0f192468bf4b2ea1988bf245b7ae040c943
/app/src/main/java/com/osokol/myapplicationgl/ExampleGLRenderer.java
f371f332e01c41df2f7c53e54600ab572a03a095
[]
no_license
olgasokol/ExampleGl
5d105bb151835465f7a98d1126bd3339d66aa9b8
a9ad8d87882523b29026170c16d8178edbc11811
refs/heads/master
2021-01-10T05:54:04.586427
2016-03-26T12:43:42
2016-03-26T12:43:42
54,778,579
0
0
null
null
null
null
UTF-8
Java
false
false
2,035
java
package com.osokol.myapplicationgl; import android.opengl.GLSurfaceView.Renderer; import java.util.ArrayList; import java.util.List; import javax.microedition.khronos.egl.EGLConfig; import javax.microedition.khronos.opengles.GL10; public class ExampleGLRenderer implements Renderer { private List<ExampleGLObject> slides = new ArrayList<ExampleGLObject>(); private float ratio; private int width; private int height; private int pressX = -99; private int pressY = -99; public void onSurfaceCreated(GL10 gl, EGLConfig config) { gl.glClearColor(0.5f, 0.5f, 0.5f, 1.0f); gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); gl.glShadeModel(GL10.GL_SMOOTH); gl.glClearDepthf(1.0f); gl.glEnable(GL10.GL_DEPTH_TEST); gl.glDepthFunc(GL10.GL_LEQUAL); gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, GL10.GL_NICEST); //add 4 test objects to the scene slides.add(new ExampleGLObject("red", new float[] {1, 0, 0, 1}, new float[] {0, 0, .3f})); slides.add(new ExampleGLObject("yellow", new float[] {1, 1, 0, 1}, new float[] {.5f, .5f, 2f})); slides.add(new ExampleGLObject("green", new float[] {0, 1, 0, 1}, new float[] {-0.2f, -0.5f, 1f})); slides.add(new ExampleGLObject("blue", new float[] {0, 0, 1, 1}, new float[] {.5f, -1f, 0})); } public void onDrawFrame(GL10 gl) { gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); gl.glMatrixMode(GL10.GL_MODELVIEW); Ray ray = null; if (pressX != -99) { ray = new Ray(gl, width, height, pressX, pressY); } for (ExampleGLObject slide : slides) { slide.draw(gl, ray); } pressX = -99; } public void onSurfaceChanged(GL10 gl, int width, int height) { gl.glViewport(0, 0, width, height); this.width = width; this.height = height; ratio = (float)width / height; gl.glMatrixMode(GL10.GL_PROJECTION); gl.glLoadIdentity(); gl.glFrustumf(-ratio, ratio, -1, 1, 3, 27); gl.glMatrixMode(GL10.GL_MODELVIEW); gl.glLoadIdentity(); } public void onPress(int x, int y) { pressX = x; pressY = y; } }
5d5af0b429844a0d3c02bc56aad5fda4797f065c
356f3f10718abc5f93e2d1c4618542d4d5d26054
/app/src/main/java/com/kam/earthquakeuk_kam/ParseEarthquakes.java
15c925d164ef4d06415bf8b0736a77d316999caf
[]
no_license
kamclaughlin/EarthquakeMPD
f189dbdedc5aacc221473008d72e6b050c643292
aeb47c1351a72ba0311f74dc3c38a901e612054c
refs/heads/main
2023-04-09T13:51:03.028098
2021-04-09T09:13:54
2021-04-09T09:13:54
356,152,179
0
0
null
null
null
null
UTF-8
Java
false
false
3,700
java
/* Created by Kerry-Anne McLaughlin [email protected], s1802675 */ package com.kam.earthquakeuk_kam; import android.util.Log; import com.kam.earthquakeuk_kam.models.Earthquake; import com.kam.earthquakeuk_kam.models.Location; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import org.xmlpull.v1.XmlPullParserFactory; import java.io.IOException; import java.io.StringReader; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.List; public class ParseEarthquakes { private static final String TAG = "ParseEarthquakes"; private final ArrayList<Earthquake> earthquakes; public ParseEarthquakes() { this.earthquakes = new ArrayList<>(); } public List<Earthquake> getEarthquakes() { return earthquakes; } public void parse(String xml) { boolean status = true; Earthquake currentEarthquake = null; String text = ""; try { XmlPullParserFactory factory = XmlPullParserFactory.newInstance(); factory.setNamespaceAware(true); XmlPullParser parser = factory.newPullParser(); parser.setInput(new StringReader(xml)); int eventType = parser.getEventType(); while (eventType != XmlPullParser.END_DOCUMENT) { String tagname = parser.getName(); if (eventType == XmlPullParser.START_TAG) { if (tagname.equals("item")) { currentEarthquake = new Earthquake(); } } else if (eventType == XmlPullParser.TEXT) { text = parser.getText(); } else if (eventType == XmlPullParser.END_TAG) { if (tagname.equalsIgnoreCase("item")) { earthquakes.add(currentEarthquake); } else if (tagname.equalsIgnoreCase("link")) { if (currentEarthquake != null) { currentEarthquake.setLink(text); } } else if (tagname.equalsIgnoreCase("description") && currentEarthquake != null) { String[] elements; elements = text.split("([A-Za-z/ ]+?):"); String pattern = "EEE, dd MMM yyyy kk:mm:ss"; SimpleDateFormat simpleDateFormat = new SimpleDateFormat(pattern); String dateString = elements[1].replace(" ;", "").trim(); currentEarthquake.setDate(simpleDateFormat.parse(dateString)); String locname = elements[2].replace(",", ", "); Location loc = new Location(locname, elements[3]); currentEarthquake.setLocation(loc); currentEarthquake.setDepth(Integer.parseInt(elements[4].replace(" km ;", "").trim())); currentEarthquake.setMagnitude(Double.parseDouble(elements[5].trim())); } else if (parser.getName().equals("category") && currentEarthquake != null) { currentEarthquake.setCategory(text); } } eventType = parser.nextToken(); } } catch (XmlPullParserException e) { status = false; e.printStackTrace(); } catch (ParseException e) { status = false; Log.e(TAG, "Error Parsing Date: " + e.getMessage()); } catch (IOException e) { status = false; e.printStackTrace(); } } }
bbb118c4ed0c847500eeff043c3e9aa83fbb417a
3da8511b582e0236ba7fa4b7365ec6bf5b6bb397
/src/main/java/com/revature/andres/notebook/Main.java
1264e041b41d425e21fcffce106b72b8d8ac15a8
[]
no_license
2005Java-Nick/Andres_Toledo_p0
beaa7564a95d94e83d9b28a182c6ca6c05f9ce0d
25619ed461da5f23a30970f7710eccc4941ffe83
refs/heads/master
2022-12-28T21:17:13.048927
2020-05-20T16:10:14
2020-05-20T16:10:14
262,941,340
0
0
null
2020-10-14T00:31:44
2020-05-11T04:49:45
HTML
UTF-8
Java
false
false
275
java
package com.revature.andres.notebook; public class Main { //Singleton program manager public static ExperienceManager program= ExperienceManager.getExperienceManager(); public static void main(String [] args) { //Initializes program program.displayLogin(); } }
cf78c46d96c3cf5aed189ca4202c17b1605cd5d1
44f7332a1fd5a0b4ce5c8139086c9ef093fefa13
/app/src/main/java/com/spontivly/chat/utils/TextUtils.java
a4f961e2837e932a12a78cfd7c219380486c4638
[]
no_license
balboon/chat
ce69a0c3aa889ef00d4b7c48d3c093ba544739ae
919b69a901a41031ac5b566982016fc061cf1196
refs/heads/master
2020-03-20T20:56:10.013142
2018-08-28T01:22:06
2018-08-28T01:22:06
137,715,166
0
1
null
2018-08-03T03:50:29
2018-06-18T05:58:13
Java
UTF-8
Java
false
false
1,719
java
package com.spontivly.chat.utils; import android.widget.EditText; import java.text.DecimalFormat; import java.util.ArrayList; /** * Created by Shawn on 22/01/2018. */ public class TextUtils { public static String toTitleCase(String str) { if (str == null) { return null; } boolean space = true; StringBuilder builder = new StringBuilder(str); final int len = builder.length(); for (int i = 0; i < len; ++i) { char c = builder.charAt(i); if (space) { if (!Character.isWhitespace(c)) { // Convert to title case and switch out of whitespace mode. builder.setCharAt(i, Character.toTitleCase(c)); space = false; } } else if (Character.isWhitespace(c)) { space = true; } else { builder.setCharAt(i, Character.toLowerCase(c)); } } return builder.toString(); } public static boolean isEmpty(EditText txt) { return isEmpty(txt.getText().toString()); } public static boolean isEmpty(String value){ return value == null || value.trim().length() == 0; } public static double roundTo1Dec(double val) { DecimalFormat df2 = new DecimalFormat("###.#"); return Double.valueOf(df2.format(val)); } public static double roundTo2Dec(double val) { DecimalFormat df2 = new DecimalFormat("###.##"); return Double.valueOf(df2.format(val)); } public static String join(String s, ArrayList<Integer> idList) { return android.text.TextUtils.join(s, idList); } }
847868427097221843da3ce8f36990dd4b4ca47b
3b7f3fad71b5f146487eebffea1f03e9d71dcd66
/OutBoundManager/src/sunin/outbound/model/mapper/IApplicationMapper.java
dab862811e81b6b37f804ac1662db1ccfb4f438a
[]
no_license
thekofwf/OutBoundManager
d5f3fb4a70502560f069a9abefc9cca9899866df
19e112da4519add0d0d19126af0f982787fa56db
refs/heads/master
2020-03-25T09:59:51.137495
2018-08-06T06:43:42
2018-08-06T06:43:42
143,681,369
0
2
null
null
null
null
UTF-8
Java
false
false
420
java
package sunin.outbound.model.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import sunin.outbound.model.Application; public interface IApplicationMapper { void insert(Application application); void delete(Application application); void update(Application application); int selectApplicationsCount(); List<Application> selectApplications(@Param("condition") String condition); }
2b18073616be03c32d56ed5be6a5cadefd398c90
ec9bf57a07b7b06134ec7a21407a11f69cc644f7
/src/com/ubercab/rider/realtime/request/body/RedeemTokenBody.java
83df0842015c3df21f1eb877b5dcd91e9ae02892
[]
no_license
jzarca01/com.ubercab
f95c12cab7a28f05e8f1d1a9d8a12a5ac7fbf4b1
e6b454fb0ad547287ae4e71e59d6b9482369647a
refs/heads/master
2020-06-21T04:37:43.723581
2016-07-19T16:30:34
2016-07-19T16:30:34
null
0
0
null
null
null
null
UTF-8
Java
false
false
557
java
package com.ubercab.rider.realtime.request.body; import com.ubercab.rider.realtime.model.RedeemToken; import com.ubercab.shape.Shape; @Shape public abstract class RedeemTokenBody { public static RedeemTokenBody create() { return new Shape_RedeemTokenBody(); } public abstract RedeemToken getRequest(); public abstract RedeemTokenBody setRequest(RedeemToken paramRedeemToken); } /* Location: * Qualified Name: com.ubercab.rider.realtime.request.body.RedeemTokenBody * Java Class Version: 6 (50.0) * JD-Core Version: 0.7.1 */
b3f492be04065b9b991a27c55de251a4e9f12b40
2680afe0860d550c85f5a160be72aa0b63cd7e9f
/app/src/main/java/com/gw/zph/core/pager/IPagerAdapter.java
e63a121986830a21baab197d7355197b6db9e8e7
[]
no_license
zhepianhai/AppMvvm
5b2dae57fd76c1ce8828c93957073f039a841130
47ad92a88b593b1a5bd529f1e7fdec3be405034d
refs/heads/master
2023-08-11T19:52:07.607959
2021-09-27T02:51:36
2021-09-27T02:51:36
400,465,782
0
0
null
null
null
null
UTF-8
Java
false
false
177
java
package com.gw.zph.core.pager; import java.util.List; public interface IPagerAdapter<Model> { void setList(List<Model> models); void appendList(List<Model> models); }
4158b222f4e320ca13b9f7d9e17e00e0ad6a38ba
36af0a27f1aef6a9cf8185e70c311f0c8f9563fa
/coral/coral-chain/src/main/java/org/yyb/coral/chain/chains/IChainMessageProcessorAware.java
1a249e76ab170c9cb7bece66c081e6b8d7d72c79
[]
no_license
yinyanbing/coral
73011ce85d2181a90f4504ea160f14414a9d9ec3
f2f34cfe1d6301b4805e183e8c0d45662edd3dc8
refs/heads/master
2020-06-25T10:13:31.205079
2018-06-22T08:28:05
2018-06-22T08:28:05
96,973,584
0
0
null
null
null
null
UTF-8
Java
false
false
327
java
package org.yyb.coral.chain.chains; /** * 链式消息处理织入 * * @author: yybg * @date: 2017年9月26日 下午4:29:51 */ public interface IChainMessageProcessorAware { /** * 设置链式处理器 * * @param processor */ public void setChainProcessor(ChainMessageProcessor processor); }
5d089fb5420036d1b445b35d37a8fe24073b9f4e
7e113090a5b8757c3a9a40526f50a0f0f8e0d1e5
/FacultyHandbook/app/src/main/java/com/example/facultyhandbook/GovernanceActivity.java
ba9d437046f1a78760307cf82d1f000d276e5877
[]
no_license
sudocoms3009/registration-app
cf5d4be8d93e1c5f0cb7d78ed7922f78d7085bda
1f7a0f94068866cdcf8d2981ce39bc59ad8bf66c
refs/heads/master
2021-02-12T14:50:24.419720
2020-06-15T09:29:43
2020-06-15T09:29:43
244,600,195
0
2
null
2020-06-14T21:10:03
2020-03-03T09:55:56
Java
UTF-8
Java
false
false
2,731
java
package com.example.facultyhandbook; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.MotionEvent; import android.view.ScaleGestureDetector; import android.view.View; import android.widget.ImageView; import android.widget.RelativeLayout; public class GovernanceActivity extends AppCompatActivity { ImageView page1, page2, back; RelativeLayout right, left; private ScaleGestureDetector scaleGestureDetector; private float mScaleFactor = 1.0f; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_governance); getSupportActionBar().hide(); page1 = findViewById(R.id.page1); page2 = findViewById(R.id.page2); right = findViewById(R.id.box1); left = findViewById(R.id.box2); back = findViewById(R.id.back); scaleGestureDetector = new ScaleGestureDetector(this, new ScaleListener()); back.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent(getApplicationContext(), MainActivity.class); startActivity(intent); } }); right.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { page1.setVisibility(View.GONE); page2.setVisibility(View.VISIBLE); right.setVisibility(View.GONE); left.setVisibility(View.VISIBLE); } }); left.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { page2.setVisibility(View.GONE); page1.setVisibility(View.VISIBLE); left.setVisibility(View.GONE); right.setVisibility(View.VISIBLE); } }); } @Override public boolean onTouchEvent(MotionEvent motionEvent){ scaleGestureDetector.onTouchEvent(motionEvent); return true; } private class ScaleListener extends ScaleGestureDetector.SimpleOnScaleGestureListener{ @Override public boolean onScale(ScaleGestureDetector scaleGestureDetector) { mScaleFactor *= scaleGestureDetector.getScaleFactor(); mScaleFactor = Math.max(0.1f, Math.min(mScaleFactor, 10.0f)); page1.setScaleX(mScaleFactor); page1.setScaleY(mScaleFactor); page2.setScaleX(mScaleFactor); page2.setScaleY(mScaleFactor); return true; } } }
00e9cd1d08be8dcbc0d607efb67c0b10bc37d9c3
46ec886e442a47411fffa1cfbede5e0f6e1d52bb
/src/trafficsimulation/TrafficSimulation.java
42544b3cdf2051fdc0fc49e7842d19fb4136cbc0
[]
no_license
ziaziek/traffic
2b620248dd3ea2df52778e23b7919833aee223bc
1ea1f87c17cdc2b530b0ddb0757da021cefd1757
refs/heads/master
2020-12-24T18:12:50.948396
2013-02-16T20:12:01
2013-02-16T20:12:01
null
0
0
null
null
null
null
UTF-8
Java
false
false
350
java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package trafficsimulation; /** * * @author przemo */ public class TrafficSimulation { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here } }
0e9777b35dc6a450a7ac3383b90bed73e4036bd8
da13549f1a81da2494d7c67f93d2de95743c63a3
/MVC_EmpleadosCMFS/src/controlador/ControladorVentanaEmpleado.java
59ddcfab380cbeb7dc23ba14a04bcb818a8a4373
[]
no_license
carmenmaria5/PruebaCarmenMFernandezSanchez
64c0402d457707b8b77f1d099b044ae72a9b27b4
3d51abf7ab8d08a44274ae77d4bdd41068b4f8c2
refs/heads/master
2021-01-09T22:38:35.728867
2017-05-29T13:35:21
2017-05-29T13:35:21
92,736,114
0
0
null
null
null
null
UTF-8
Java
false
false
5,067
java
package controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JOptionPane; import modelo.Empleado; import vista.*; /** * Esta clase controla las funciones de la ventana principal. * @author Carmen */ public class ControladorVentanaEmpleado implements ActionListener { /** * Array de empleados. */ Empleado []emp = new Empleado[50]; //Arreglo, Array, Vector //Colección de elementos del mismo tipo //Los elementos se accesan por el indice //El indice es un numero entero que inicia //en 0 y termina en 50-1 /** * Instancia un objeto VentanaEmpleado. */ VentanaEmpleado ventana = new VentanaEmpleado(); /** * Índice del array de empleados. */ int indice; //Para manejar el arreglo /** * Este método es llamado desde la clase {@link principal.Principal#Principal() }, recibiendo como parámetros un objeto * ventana y un array de empleados, y añade los listener al objeto ventana. * @param ventana * @param emp */ public ControladorVentanaEmpleado(VentanaEmpleado ventana, Empleado []emp){ this.ventana = ventana; this.emp = emp; indice = 0; //Inicializamos el arreglo for (int i=0; i<emp.length; i++){ emp[i]=new Empleado(); } ventana.btnGuardar.addActionListener(this); ventana.btnImprimir.addActionListener(this); ventana.btnNuevo.addActionListener(this); } /** * Habilita los controles de la ventana. */ public void activaControles(){ ventana.btnGuardar.setEnabled(true); ventana.btnImprimir.setEnabled(true); ventana.btnNuevo.setEnabled(false); ventana.txtApellidos.setEnabled(true); ventana.txtClave.setEnabled(true); ventana.txtEdad.setEnabled(true); ventana.txtNombre.setEnabled(true); ventana.txtRFC.setEnabled(true); ventana.txtTelefono.setEnabled(true); } /** * Deshabilita los controles de la ventana. */ public void desactivaControles(){ ventana.btnGuardar.setEnabled(false); ventana.btnImprimir.setEnabled(false); ventana.btnNuevo.setEnabled(true); ventana.txtApellidos.setEnabled(false); ventana.txtClave.setEnabled(false); ventana.txtEdad.setEnabled(false); ventana.txtNombre.setEnabled(false); ventana.txtRFC.setEnabled(false); ventana.txtTelefono.setEnabled(false); } /** * Establece los controles por defecto, y la edad a 18. */ public void limpiaControles(){ ventana.txtApellidos.setText(""); ventana.txtClave.setText(""); ventana.txtEdad.setText("18"); ventana.txtNombre.setText(""); ventana.txtRFC.setText(""); ventana.txtTelefono.setText(""); } /** * Actúa en función del botón pulsado. * Si se pulsa "Nuevo" permite activar los controles, y posteriormente los pone por defecto, como hemos visto en la * función {@link #limpiaControles()} * Si se pulsa "Guardar", comprueba que quede espacio en el array y procede a guardar los datos. En caso de que el array * esté lleno, lanza un mensaje de error. * Finalmente, si pulsa "Imprimir", comprueba si hay empleados, en caso de no haber, muestra un mensaje. Si hay empleados, * los lista utilizando el método {@link controlador.ControladorListaEmpleados#ControladorListaEmpleados(modelo.Empleado[], vista.ListaEmpleados, int) }. * @param e */ @Override public void actionPerformed(ActionEvent e){ if (e.getSource()==ventana.btnNuevo){ activaControles(); limpiaControles(); } if (e.getSource()==ventana.btnGuardar){ if (indice < emp.length){ emp[indice].setNombre(ventana.txtNombre.getText()); emp[indice].setApellidos(ventana.txtApellidos.getText()); emp[indice].setClave(ventana.txtClave.getText()); emp[indice].setTelefono(ventana.txtTelefono.getText()); emp[indice].setRfc(ventana.txtRFC.getText()); emp[indice].setEdad(Integer.parseInt(ventana.txtEdad.getText())); indice++; desactivaControles(); }else{ JOptionPane.showMessageDialog(ventana, "No se pueden registrar mas empleados", "Error", JOptionPane.WARNING_MESSAGE); } } if (e.getSource()==ventana.btnImprimir){ if (indice == 0){ JOptionPane.showMessageDialog(ventana, "No se han dado de alta empleados", "Aviso", JOptionPane.INFORMATION_MESSAGE); }else{ ListaEmpleados lis = new ListaEmpleados(); ControladorListaEmpleados cl = new ControladorListaEmpleados(emp, lis, indice); lis.setVisible(true); lis.setLocationRelativeTo(ventana); } } } }
[ "Carmen@DESKTOP-4M0LMFR" ]
Carmen@DESKTOP-4M0LMFR
5bb5d88ae5705cb73688d1208f830404ae3222bd
27f4b7168b8ec4c493c907cf3acbeb070a1f56bf
/src/daxing/individualIntrogression/pop2Indi/IndividualsFdDxyDonor.java
2aebfdac8159f7a932deee9435010194aecf8a86
[ "Apache-2.0" ]
permissive
Fei-Lu/GroupPlantGenetics
5b31b8993d20930cc58f8b0eaabd608754355583
f2a3be758c6ebb9445f24f0a5ec7827b8d81626d
refs/heads/master
2023-07-06T12:09:52.369644
2023-06-26T08:30:28
2023-06-26T08:30:28
115,206,925
3
8
null
null
null
null
UTF-8
Java
false
false
10,389
java
package daxing.individualIntrogression.pop2Indi; import daxing.common.chrrange.ChrRange; import daxing.common.table.RowTableTool; import daxing.common.utiles.IOTool; import daxing.individualIntrogression.individual.Donor; import gnu.trove.list.array.TIntArrayList; import it.unimi.dsi.fastutil.doubles.DoubleArrayList; import it.unimi.dsi.fastutil.doubles.DoubleList; import it.unimi.dsi.fastutil.ints.IntArrayList; import it.unimi.dsi.fastutil.ints.IntList; import java.io.File; import java.util.*; /** * this class used to storage all individuals fd(pop2Indi), dxy(pop2Indi), Donor, Timing * ChrRange Window: 200 SNP, Step: 100 SNP, be storage in array, can not add or delete ChrRange * Taxon info such as sitesUsed:RelativeTiming_AC is storage in List, can add or delete taxon */ public class IndividualsFdDxyDonor { // dim1: ChrRange ChrRange[] chrRanges; int[] mid; int[] sites; // dim1: taxon List<String> taxa; Map<String, Integer> taxonIndexMap; // list: taxon, array: ChrRange IntList[] siteUsed; DoubleList[] abba; DoubleList[] baba; DoubleList[] d; DoubleList[] fd; DoubleList[] fdM; DoubleList[] fd_mean; IntList[] ifIntrogressionByfd; List<Donor>[] donorPredictedByMindxy; List<Donor>[] donorPredictedByMindxy_fd; DoubleList[] rndMin; DoubleList[] relativeTiming_AC; public IndividualsFdDxyDonor(String individualFdDxyDonorDir){ List<File> files = IOTool.getFileListInDirEndsWith(individualFdDxyDonorDir, ".txt.gz"); RowTableTool<String> table = new RowTableTool<>(files.get(0).getAbsolutePath()); this.initializeChrRange(table); int chrRangNum = this.getChrRangeNum(); this.siteUsed = new IntList[chrRangNum]; this.abba = new DoubleList[chrRangNum]; this.baba = new DoubleList[chrRangNum]; this.d = new DoubleList[chrRangNum]; this.fd = new DoubleList[chrRangNum]; this.fdM = new DoubleList[chrRangNum]; this.fd_mean = new DoubleList[chrRangNum]; this.ifIntrogressionByfd = new IntList[chrRangNum]; this.donorPredictedByMindxy = new ArrayList[chrRangNum]; this.donorPredictedByMindxy_fd = new ArrayList[chrRangNum]; this.rndMin = new DoubleList[chrRangNum]; this.relativeTiming_AC = new DoubleList[chrRangNum]; for (int i = 0; i < chrRangNum; i++) { this.siteUsed[i] = new IntArrayList(); this.abba[i] = new DoubleArrayList(); this.baba[i] = new DoubleArrayList(); this.d[i] = new DoubleArrayList(); this.fd[i] = new DoubleArrayList(); this.fdM[i] = new DoubleArrayList(); this.fd_mean[i] = new DoubleArrayList(); this.ifIntrogressionByfd[i] = new IntArrayList(); this.donorPredictedByMindxy[i] = new ArrayList<>(); this.donorPredictedByMindxy_fd[i] = new ArrayList<>(); this.rndMin[i] = new DoubleArrayList(); this.relativeTiming_AC[i] = new DoubleArrayList(); } List<RowTableTool<String>> tables = new ArrayList<>(); this.taxa = new ArrayList<>(); this.taxonIndexMap = new HashMap<>(); String taxon; int index = 0; for (File file : files){ tables.add(new RowTableTool<>(file.getAbsolutePath())); taxon = file.getName().substring(13).replaceAll("_vmap2.1.txt.gz",""); this.taxa.add(taxon); this.taxonIndexMap.put(taxon, index); index++; } this.initializeTaxa(tables); } /** * * @param chrRangesTable The first five columns must contain: scaffold, start, end, mid, sites */ private void initializeChrRange(RowTableTool<String> chrRangesTable){ List<String> chr = chrRangesTable.getColumn(0); int[] start = chrRangesTable.getColumnAsIntArray("start"); int[] end = chrRangesTable.getColumnAsIntArray("end"); int[] mid = chrRangesTable.getColumnAsIntArray("mid"); int[] sites = chrRangesTable.getColumnAsIntArray("sites"); ChrRange[] chrRanges = new ChrRange[chr.size()]; for (int i = 0; i < start.length; i++) { chrRanges[i] = new ChrRange(chr.get(i), start[i], end[i]); } Arrays.sort(chrRanges); this.chrRanges=chrRanges; this.mid=mid; this.sites=sites; } /** * * @param individualTables see follow * scaffold start end mid sites sitesUsed ABBA BABA D fd fdM fd_mean IfIntrogressionByfd DonorPredictedByMindxy RNDMin RelativeTiming_AC */ private void initializeTaxa(List<RowTableTool<String>> individualTables){ List<String> sitesUsed, abba, baba, d, fd, fdM, fd_mean, ifIntrogressionByfd, rndMin, relativeTiming_AC; List<String> donorPredictedByMindxy, donorPredictedByMindxy_fd; int chrRangeNum = this.getChrRangeNum(); List<String> headList = this.getHeader(); Comparator<List<String>> comparatorPos= Comparator.comparing(l->l.get(0)); comparatorPos = comparatorPos.thenComparing(l->Integer.parseInt(l.get(1))); comparatorPos = comparatorPos.thenComparing(l->Integer.parseInt(l.get(2))); Donor donor; int ifIntrogressionByFd; for (RowTableTool<String> tableTool : individualTables){ assert tableTool.getRowNumber() == chrRangeNum : "individualFdDxyDonor must contain same num row"; assert tableTool.getHeader().equals(headList) : "Column names must meet method requirements"; tableTool.sortBy(comparatorPos); sitesUsed = tableTool.getColumn(5); abba = tableTool.getColumn(6); baba = tableTool.getColumn(7); d = tableTool.getColumn(8); fd = tableTool.getColumn(9); fdM = tableTool.getColumn(10); fd_mean = tableTool.getColumn(11); ifIntrogressionByfd = tableTool.getColumn(12); donorPredictedByMindxy = tableTool.getColumn(13); rndMin = tableTool.getColumn(14); relativeTiming_AC = tableTool.getColumn(15); for (int i = 0; i < this.getChrRangeNum(); i++) { this.siteUsed[i].add(sitesUsed.get(i).equals("NA") ? -1 : Integer.parseInt(sitesUsed.get(i))); this.abba[i].add(abba.get(i).equals("NA") ? -1 : Double.parseDouble(abba.get(i))); this.baba[i].add(baba.get(i).equals("NA") ? -1 : Double.parseDouble(baba.get(i))); this.d[i].add(d.get(i).equals("NA") ? -1 : Double.parseDouble(d.get(i))); this.fd[i].add(fd.get(i).equals("NA") ? -1 : Double.parseDouble(fd.get(i))); this.fdM[i].add(fdM.get(i).equals("NA") ? -1 : Double.parseDouble(fdM.get(i))); this.fd_mean[i].add(fd_mean.get(i).equals("NA") ? -1 : Double.parseDouble(fd_mean.get(i))); ifIntrogressionByFd = ifIntrogressionByfd.get(i).equals("NA") ? -1 : Integer.parseInt(ifIntrogressionByfd.get(i)); this.ifIntrogressionByfd[i].add(ifIntrogressionByFd); donor = donorPredictedByMindxy.get(i).equals("NA") ? Donor.NONE : Donor.valueOf(donorPredictedByMindxy.get(i)); this.donorPredictedByMindxy[i].add(donor); this.donorPredictedByMindxy_fd[i].add(ifIntrogressionByFd==1 ? donor : Donor.NONE); this.rndMin[i].add(rndMin.get(i).equals("NA") ? -1 : Double.parseDouble(rndMin.get(i))); this.relativeTiming_AC[i].add(relativeTiming_AC.get(i).equals("NA") ? -1 : Double.parseDouble(relativeTiming_AC.get(i))); } } } private List<String> getHeader(){ String[] head={"scaffold","start","end","mid","sites","sitesUsed","ABBA","BABA","D","fd","fdM","fd_mean", "IfIntrogressionByfd","DonorPredictedByMindxy","RNDMin","RelativeTiming_AC"}; List<String> headList = new ArrayList<>(); for (String str:head){ headList.add(str); } return headList; } public int getChrRangeNum(){ return this.chrRanges.length; } public int getTaxaNum(){ return this.getTaxa().size(); } public List<String> getTaxa() { return taxa; } public ChrRange[] getChrRanges() { return chrRanges; } public List<Donor>[] getDonorPredictedByMindxy() { return donorPredictedByMindxy; } public IntList[] getIfIntrogressionByfd() { return ifIntrogressionByfd; } public List<Donor>[] getDonorPredictedByMindxy_fd() { return donorPredictedByMindxy_fd; } public Map<String, Integer> getTaxonIndexMap() { return taxonIndexMap; } public int getTaxonIndex(String taxon){ return this.getTaxonIndexMap().get(taxon); } /** * * @param refChr ref chr * @param refPos ref pos * @return new int[0] if do not contain */ public int[] getChrRangeIndicesContainsPosition (String refChr, int refPos) { TIntArrayList indexList = new TIntArrayList(); ChrRange query = new ChrRange(refChr, refPos, refPos+1); int hit = Arrays.binarySearch(this.getChrRanges(), query); hit = hit < -1 ? -hit-2 : hit; if (hit < 0) return new int[0]; for (int i = hit; i > -1; i--) { if (this.getChrRanges()[i].contain(refChr, refPos)) indexList.add(i); } indexList.sort(); return indexList.toArray(); } public boolean containTaxon(String taxon){ List<String> taxaList = this.getTaxa(); return taxaList.contains(taxon); } /** * if no introgression, return blank set * @param taxon * @param chr * @param pos * @return */ public EnumSet<Donor> getDonorFrom(String taxon, String chr, int pos){ EnumSet<Donor> donorEnumSet= EnumSet.noneOf(Donor.class); if (!this.containTaxon(taxon)) return donorEnumSet; int taxonIndex = this.getTaxonIndex(taxon); int[] indices=this.getChrRangeIndicesContainsPosition(chr, pos); for (int index : indices){ donorEnumSet.add(this.getDonorPredictedByMindxy_fd()[index].get(taxonIndex)); } if (donorEnumSet.size() <=1) return donorEnumSet; donorEnumSet.remove(Donor.NONE); return donorEnumSet; } }
[ "Xudaxing@2018" ]
Xudaxing@2018
1c80092474a8c9c8f6da4db79935cd2826486ea3
973c63c31242d141b12ce9e0696d41f73c8127f1
/src/main/java/com/xiayu/springboot/utils/ImageUtils.java
62449444ae3845bc60b075eae364c7483630061a
[]
no_license
hxc200802/houdada
d5db959c113bb8ebafac32ef9fc6c4b1b4644f08
72633a274304ff1a00f491ad1a5e036bf60b47bd
refs/heads/master
2023-08-02T11:32:05.239184
2020-11-03T12:13:36
2020-11-03T12:13:36
406,344,084
0
0
null
null
null
null
UTF-8
Java
false
false
2,327
java
package com.xiayu.springboot.utils; import sun.misc.BASE64Decoder; import sun.misc.BASE64Encoder; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; /** * Description: * 图片相关工具类 * @version v1.0.0 * @Author xiayu * @Date 2020/5/2 13:53 */ public class ImageUtils { public static void main(String[] args) { String iamgeFilePath = "E:\\桌面\\壁纸\\438760.jpg"; String s = GetImageStr(iamgeFilePath); System.out.println(s); boolean b = GenerateImage( s,"C:\\Users\\xiayu\\Desktop\\图片1.jpg"); System.out.println(b); } /** * 将图片文件转化为字节数组字符串,并对其进行Base64编码处理 * @param imgFilePath * @return */ public static String GetImageStr(String imgFilePath) { byte[] data = null; // 读取图片字节数组 try { InputStream in = new FileInputStream(imgFilePath); data = new byte[in.available()]; in.read(data); in.close(); } catch (IOException e) { e.printStackTrace(); } // 对字节数组Base64编码 BASE64Encoder encoder = new BASE64Encoder(); return encoder.encode(data);// 返回Base64编码过的字节数组字符串 } /** * 对字节数组字符串进行Base64解码并生成图片 * @param imgStr * @param imgFilePath * @return */ public static boolean GenerateImage(String imgStr, String imgFilePath) { if (imgStr == null){ // 图像数据为空 return false; } BASE64Decoder decoder = new BASE64Decoder(); try { // Base64解码 byte[] bytes = decoder.decodeBuffer(imgStr); for (int i = 0; i < bytes.length; ++i) { if (bytes[i] < 0) {// 调整异常数据 bytes[i] += 256; } } // 生成jpeg图片 OutputStream out = new FileOutputStream(imgFilePath); out.write(bytes); out.flush(); out.close(); return true; } catch (Exception e) { return false; } } }
cdc061ff974550b3571bbcc881ccb1f08fefb2dd
f8dd383c6fedf37d665f56de0a94dc8416f3403b
/backend/src/main/java/com/devsuperior/dsdevilver/comum/product/api/ProductController.java
987d5f8869710ea8a34b683dcb64952dc8391cab
[]
no_license
wgcostta/dsdeliver-sds2
716167641b7c3fdc82bdbff1fccdade4f535b9ab
288db9e6190280797e79103c15abfe89a5aeace8
refs/heads/main
2023-02-17T19:49:42.736614
2021-01-10T19:59:27
2021-01-10T19:59:27
326,838,620
1
0
null
null
null
null
UTF-8
Java
false
false
1,949
java
package com.devsuperior.dsdevilver.comum.product.api; import com.devsuperior.dsdevilver.comum.product.api.model.ProductResponse; import com.devsuperior.dsdevilver.comum.product.api.service.ProductService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.List; @RestController @RequestMapping(value = "products") public class ProductController { @Autowired private ProductService productService; // @PostMapping // @ApiOperation("Salvar um Produto") // public ResponseEntity<ProductResponse> cadastrar(@RequestBody @Valid InclusaoProdutoRequest request, // UriComponentsBuilder uriBuilder) { // // Product produto = request.toModel(); // // if(produtoRepository.existsByCodigo(produto.getCodigo())) { // throw new ProdutoDuplicadoException(request.getCodigo(), request.getDescricao()); // } // // Produto produtoCadastrado = produtoRepository.save(produto); // // return ResponseEntity.created(ServletUriComponentsBuilder // .fromCurrentRequest() // .path("/") // .path(produtoCadastrado.getId().toString()).build().toUri()) // .body(produtoCadastrado); // } @GetMapping("/{id}") public ResponseEntity<ProductResponse> buscarPorId(@PathVariable Long id){ return ResponseEntity.ok(productService.findById(id)); } @GetMapping public ResponseEntity<List<ProductResponse>> buscarTodos(){ return ResponseEntity .ok() .body(productService.findAll() ); } }
1014312a9e590e950ddd0ef9693d4146fc669394
f4ca88a202de1f723ab7da9bd0916ce2c36de1a0
/src/sample/service/DatabaseService.java
1d6268af9f60d23ce27fd30d9eb797dd1fe83c12
[]
no_license
AlexRidle/EY_TaskOne
d044546f0c67d19677bc7fc64993e4dba136e962
a1ba31064a0075f10db4a15ac95eab9bcfef8aa7
refs/heads/master
2020-04-28T19:03:39.363100
2019-03-17T00:07:18
2019-03-17T00:07:18
175,499,471
0
0
null
null
null
null
UTF-8
Java
false
false
2,800
java
package sample.service; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; public class DatabaseService { private String userName = "root"; private String password = "root"; private String connectionURL = "jdbc:mysql://localhost:3306/EY_Task_One?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC"; public void setupDatabase() { createDatabase(); createTables(); } private void createDatabase() { try { Connection connection = DriverManager.getConnection("jdbc:mysql://localhost:3306/?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC", userName, password); Statement statement = connection.createStatement(); statement.executeUpdate("CREATE DATABASE IF NOT EXISTS EY_Task_One"); System.out.println("// Successfully created database."); } catch (SQLException e) { e.printStackTrace(); System.out.println("// Error in method createDatabase()."); } } private void createTables() { try (Connection connection = DriverManager.getConnection(connectionURL, userName, password); Statement statement = connection.createStatement()) { statement.executeUpdate("CREATE TABLE IF NOT EXISTS `ey_task_one`.`random_lines` (`id` INT NOT NULL AUTO_INCREMENT," + " `random_date` VARCHAR(45) NOT NULL," + " `eng_chars` VARCHAR(45) NOT NULL," + " `rus_chars` VARCHAR(45) NOT NULL," + " `even_num` INT NOT NULL," + " `double_num` DECIMAL(10,8) NOT NULL," + " PRIMARY KEY (`id`)," + " UNIQUE INDEX `id_UNIQUE` (`id` ASC) VISIBLE)"); } catch (SQLException e) { e.printStackTrace(); } } public void addToTable(String rnd_date, String eng, String rus, int even, double doub) { try (Connection connection = DriverManager.getConnection(connectionURL, userName, password); Statement statement = connection.createStatement()) { statement.executeUpdate("insert into random_lines (random_date, eng_chars, rus_chars, even_num, double_num) values(" + "'" + rnd_date + "'" + ", " + "'" + eng + "'" + ", " + "'" + rus + "'" + ", " + "'" + even + "'" + ", " + "'" + doub + "'" + ")" ); } catch (SQLException e) { e.printStackTrace(); } } }