hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 98
values | lang stringclasses 21
values | max_stars_repo_path stringlengths 3 945 | max_stars_repo_name stringlengths 4 118 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count int64 1 368k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 945 | max_issues_repo_name stringlengths 4 118 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count int64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 945 | max_forks_repo_name stringlengths 4 135 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1 1.03M | max_line_length int64 2 1.03M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
46fecb95fcb61779e653a5ba5e850cd95ff20e82 | 104,889 | sql | SQL | db/sql/2478__create_table_sa_amos_tutkinnot_pohjakoulutus_2017.sql | CSCfi/antero | e762c09e395cb01e334f2a04753ba983107ac7d7 | [
"MIT"
] | 6 | 2017-08-03T08:49:17.000Z | 2021-11-14T17:09:27.000Z | db_archive/sql_archive/2478__create_table_sa_amos_tutkinnot_pohjakoulutus_2017.sql | CSC-IT-Center-for-Science/antero | 2835d7fd07cd7399a348033a6230d1b16634fb3b | [
"MIT"
] | 3 | 2017-05-03T08:45:42.000Z | 2020-10-27T06:30:40.000Z | db_archive/sql_archive/2478__create_table_sa_amos_tutkinnot_pohjakoulutus_2017.sql | CSC-IT-Center-for-Science/antero | 2835d7fd07cd7399a348033a6230d1b16634fb3b | [
"MIT"
] | 4 | 2017-10-19T11:31:43.000Z | 2022-01-05T14:53:57.000Z | USE [ANTERO]
GO
/****** Object: Table [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] Script Date: 10.10.2019 16:41:15 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[sa].[sa_amos_tutkinnot_pohjakoulutus_2017]') AND type in (N'U'))
BEGIN
CREATE TABLE [sa].[sa_amos_tutkinnot_pohjakoulutus_2017](
[vuosi] [int] NULL,
[ytunnus] [varchar](20) NULL,
[koulutuksen_jarjestaja] [varchar](100) NULL,
[ei_pohjakoul_pt_kr1] [int] NULL,
[ei_pohjakoul_pt_kr2] [int] NULL,
[ei_pohjakoul_pt_kr3] [int] NULL,
[ei_pohjakoul_pt_kr4] [int] NULL,
[ei_pohjakoul_pt_kr5] [int] NULL,
[ei_pohjakoul_at_eat_kr1] [int] NULL,
[ei_pohjakoul_at_eat_kr2] [int] NULL,
[ei_pohjakoul_at_eat_kr3] [int] NULL,
[ei_pohjakoul_at_eat_kr4] [int] NULL,
[ei_pohjakoul_at_eat_kr5] [int] NULL,
[pohjakoul_pt_kr1] [int] NULL,
[pohjakoul_pt_kr2] [int] NULL,
[pohjakoul_pt_kr3] [int] NULL,
[pohjakoul_pt_kr4] [int] NULL,
[pohjakoul_pt_kr5] [int] NULL,
[pohjakoul_at_eat_kr1] [int] NULL,
[pohjakoul_at_eat_kr2] [int] NULL,
[pohjakoul_at_eat_kr3] [int] NULL,
[pohjakoul_at_eat_kr4] [int] NULL,
[pohjakoul_at_eat_kr5] [int] NULL
) ON [PRIMARY]
END
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0101304-9', N'KELLOSEPÄNTAIDON EDISTÄMISSÄÄTIÖ', 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0114371-6', N'RASTOR OY', 0, 0, 0, 0, 0, 17, 39, 0, 0, 0, 0, 0, 0, 0, 0, 217, 177, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0116354-9', N'AMMATTIENEDISTÄMISLAITOSSÄÄTIÖ', 4, 63, 0, 0, 0, 7, 52, 13, 0, 0, 10, 83, 0, 0, 0, 93, 268, 38, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0116565-9', N'INVALIDILIITTO R.Y.', 23, 83, 10, 0, 0, 0, 0, 0, 0, 0, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0116936-9', N'SUOMEN KANSALLISOOPPERAN SÄÄTIÖ', 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0124610-9', N'VANTAAN KAUPUNKI', 13, 645, 44, 87, 0, 27, 12, 1, 0, 0, 4, 137, 9, 7, 0, 104, 61, 12, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0128756-8', N'KISAKALLIOSÄÄTIÖ', 0, 0, 0, 32, 0, 0, 4, 0, 0, 0, 0, 0, 0, 1, 0, 0, 13, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0130270-5', N'OY PORVOO INTERNATIONAL COLLEGE AB', 102, 37, 0, 0, 0, 1, 0, 0, 0, 0, 23, 45, 0, 0, 0, 27, 16, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0139545-4', N'SALON SEUDUN KOULUTUSKUNTAYHTYMÄ', 65, 375, 53, 43, 0, 12, 12, 0, 12, 0, 14, 123, 15, 10, 0, 80, 56, 1, 25, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0142247-5', N'TURUN AIKUISKOULUTUSSÄÄTIÖ', 0, 119, 0, 0, 0, 30, 81, 6, 0, 0, 0, 74, 0, 0, 0, 57, 197, 21, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0145076-7', N'ÅLANDS LANDSKAPSREGERING', 26, 133, 20, 6, 0, 0, 0, 0, 0, 0, 3, 28, 1, 17, 0, 0, 1, 1, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0147520-0', N'KIIPULASÄÄTIÖ', 33, 55, 19, 5, 0, 23, 2, 0, 0, 0, 3, 2, 4, 0, 0, 26, 21, 1, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0149057-4', N'LAHDEN KONSERVATORIO OY', 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0149666-9', N'LAHDEN KANSANOPISTON SÄÄTIÖ', 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0150951-1', N'AITOON EMÄNTÄKOULU OY', 0, 13, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0153158-3', N'PALLOILU SÄÄTIÖ', 0, 0, 0, 0, 0, 0, 16, 8, 0, 0, 0, 0, 0, 0, 0, 0, 45, 14, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0155402-1', N'AHLMANIN KOULUN SÄÄTIÖ', 0, 61, 13, 36, 0, 5, 0, 1, 0, 0, 0, 14, 13, 7, 0, 12, 0, 9, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0155651-0', N'TAMPEREEN AIKUISKOULUTUSSÄÄTIÖ', 26, 157, 0, 22, 0, 27, 92, 1, 3, 0, 12, 233, 0, 45, 0, 75, 141, 4, 7, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0155689-5', N'VARALAN SÄÄTIÖ', 0, 0, 0, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0161067-9', N'KOUVOLAN AMMATILLINEN AIKUISKOULUTUSSÄÄTIÖ', 0, 43, 0, 0, 0, 11, 27, 0, 0, 0, 0, 35, 0, 0, 0, 24, 40, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0161075-9', N'KOUVOLAN KAUPUNKI', 73, 477, 34, 43, 1, 7, 13, 2, 0, 0, 9, 158, 39, 3, 0, 68, 59, 1, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0163408-0', N'VALKEALAN KRISTILLISEN KANSANOPISTON KANNATUSYHDISTYS RY', 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0166055-3', N'S. JA A. BOVALLIUKSEN SÄÄTIÖ', 0, 69, 20, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, 0, 0, 0, 1, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0166930-4', N'TANHUVAARAN SÄÄTIÖ', 0, 0, 0, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0167924-6', N'ITÄ-SUOMEN LIIKUNTAOPISTO OY', 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0169327-5', N'LIEKSAN KRISTILLISEN OPISTON KANNATUSYHDISTYS RY', 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0172730-8', N'TOHTORI MATTHIAS INGMANIN SÄÄTIÖ', 0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0178980-8', N'KAUSTISEN EVANKELISEN KANSANOPISTON K', 0, 22, 0, 0, 0, 0, 5, 0, 0, 0, 0, 11, 0, 0, 0, 0, 17, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0180124-8', N'KUORTANEEN URHEILUOPISTOSÄÄTIÖ', 0, 0, 0, 39, 0, 0, 11, 0, 0, 0, 0, 0, 0, 1, 0, 0, 42, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0187690-1', N'OULUN KAUPUNKI', 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0187711-1', N'MARTTAYHDISTYSTEN LIITTO RY.', 0, 61, 0, 0, 0, 0, 15, 0, 0, 0, 0, 13, 0, 0, 0, 0, 38, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0189373-6', N'RAAHEN PORVARI- JA KAUPPAKOULURAHASTO', 52, 4, 0, 0, 0, 2, 0, 0, 0, 0, 12, 2, 0, 0, 0, 6, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0193507-8', N'PERÄPOHJOLAN KANSANOPISTON KANNATUSYHDISTYS RY', 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 6, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0195200-3', N'VUOKATIN SÄÄTIÖ', 0, 0, 0, 13, 0, 0, 11, 0, 0, 0, 0, 0, 0, 2, 0, 0, 34, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0195258-0', N'RAUDASKYLÄN KRISTILLINEN OPISTO RY', 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0200004-7', N'HELSINGIN KRISTILLISEN OPISTON SÄÄTIÖ', 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0201252-3', N'HELSINGIN KONSERVATORION SÄÄTIÖ', 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0201256-6', N'HELSINGIN KAUPUNKI', 23, 1846, 138, 53, 0, 84, 67, 18, 0, 0, 30, 605, 23, 7, 0, 505, 233, 63, 1, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0201375-3', N'INVALIDISÄÄTIÖ', 10, 121, 7, 5, 0, 0, 38, 1, 0, 0, 0, 7, 1, 2, 0, 0, 23, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0201472-1', N'HENGITYSLIITTO RY', 51, 154, 29, 28, 0, 10, 8, 0, 0, 0, 1, 13, 2, 1, 0, 43, 42, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0201689-0', N'MARKKINOINTI-INSTITUUTIN KANNATUSYHDISTYS RY', 84, 0, 0, 0, 0, 29, 0, 0, 0, 0, 232, 0, 0, 0, 0, 269, 8, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0202496-2', N'TYÖTEHOSEURA RY', 0, 96, 9, 62, 0, 14, 25, 5, 8, 0, 0, 69, 19, 30, 0, 80, 94, 19, 12, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0202512-1', N'SUOMEN URHEILUOPISTON KANNATUSOSAKEYHTIÖ', 0, 0, 0, 49, 0, 0, 19, 0, 0, 0, 0, 0, 0, 13, 0, 0, 56, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0203167-9', N'LUKSIA, LÄNSI-UUDENMAAN KOULUTUSKUNTAYHTYMÄ', 71, 465, 33, 35, 0, 10, 29, 3, 6, 0, 21, 131, 10, 4, 0, 89, 70, 4, 4, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0203717-3', N'EURAJOEN KRISTILLISEN OPISTON KANNATUSYHDISTYS RY', 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 1, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0203929-1', N'SATAKUNNAN KOULUTUSKUNTAYHTYMÄ', 22, 381, 34, 23, 0, 36, 21, 3, 2, 0, 6, 138, 14, 0, 0, 27, 65, 10, 6, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0204023-3', N'LOUNAIS-SUOMEN KOULUTUSKUNTAYHTYMÄ', 76, 247, 10, 57, 2, 2, 2, 0, 0, 0, 7, 80, 8, 18, 0, 70, 29, 4, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0204427-7', N'RAISION SEUDUN KOULUTUSKUNTAYHTYMÄ', 97, 334, 29, 0, 0, 25, 21, 1, 1, 0, 30, 65, 40, 0, 0, 155, 53, 10, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0204819-8', N'TURUN KAUPUNKI', 235, 944, 14, 57, 0, 39, 48, 5, 7, 0, 37, 225, 4, 20, 0, 189, 202, 18, 5, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0204843-8', N'TURUN KONSERVATORION KANNATUSYHDISTYS R.Y.', 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0204964-1', N'SASKY KOULUTUSKUNTAYHTYMÄ', 98, 451, 111, 58, 0, 8, 7, 0, 0, 0, 44, 171, 142, 41, 0, 81, 82, 10, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0205303-4', N'KOULUTUSKUNTAYHTYMÄ TAVASTIA', 61, 467, 8, 24, 0, 7, 45, 2, 0, 0, 11, 130, 17, 7, 0, 36, 120, 6, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0206148-0', N'TAMPEREEN MUSIIKKIOPISTON SÄÄTIÖ', 0, 0, 14, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0206289-7', N'VALKEAKOSKEN SEUDUN KOULUTUSKUNTAYHTYMÄ', 58, 187, 0, 0, 0, 0, 2, 0, 0, 0, 1, 41, 0, 0, 0, 23, 17, 2, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0207230-7', N'SUOMEN NUORISO-OPISTON KANNATUSYHDISTYS R.Y.', 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0207329-7', N'ITÄ-KARJALAN KANSANOPISTOSEURA RY', 0, 6, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0207390-8', N'ITÄ-SAVON KOULUTUSKUNTAYHTYMÄ', 50, 242, 31, 26, 0, 4, 60, 0, 0, 0, 16, 118, 12, 20, 0, 19, 153, 16, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0207572-7', N'KITEEN EVANKELISEN KANSANOPISTON KANNATUSYHDISTYS RY', 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0207862-9', N'KUOPION KONSERVATORION KANNATUSYHDISTYS RY', 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0207872-5', N'KUOPION TALOUSKOULUN KANNATUSYHDISTYS RY', 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0207972-8', N'PORTAANPÄÄ RY', 0, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 15, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0208201-1', N'JYVÄSKYLÄN KOULUTUSKUNTAYHTYMÄ', 221, 1185, 53, 156, 32, 50, 64, 9, 14, 0, 63, 486, 43, 122, 30, 210, 305, 73, 46, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0208362-0', N'KARSTULAN EVANKELISEN KANSANOPISTON', 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0208589-6', N'ÄÄNEKOSKEN AMMATILLISEN KOULUTUKSEN KUNTAYHTYMÄ', 32, 225, 3, 74, 0, 9, 4, 5, 0, 0, 20, 117, 8, 25, 1, 84, 55, 31, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0208850-1', N'SUOMEN YRITTÄJÄOPISTON KANNATUS OY', 44, 3, 0, 0, 0, 35, 3, 0, 0, 0, 41, 8, 0, 0, 0, 232, 17, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0208916-8', N'KESKI-POHJANMAAN KOULUTUSYHTYMÄ', 70, 513, 26, 101, 0, 22, 28, 5, 0, 0, 18, 152, 18, 49, 0, 123, 135, 44, 4, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0209021-4', N'KVARNEN SAMKOMMUN', 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0209492-8', N'FRIA KRISTLIGA FOLKHÖGSKOLAN FÖRENING R.F.', 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0209602-6', N'VAASAN KAUPUNKI', 73, 519, 24, 20, 0, 17, 30, 0, 0, 0, 24, 186, 6, 0, 0, 83, 126, 2, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0209770-7', N'HAAPAVEDEN OPISTON KANNATUSYHDISTYS RY', 3, 18, 0, 0, 0, 0, 1, 0, 0, 0, 8, 9, 0, 0, 0, 0, 15, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0209892-9', N'KALAJOEN KRISTILLISEN OPISTON KANNATUSYHDISTYS RY', 0, 15, 0, 0, 0, 0, 7, 0, 0, 0, 0, 17, 0, 0, 0, 0, 11, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0210010-1', N'JOKILAAKSOJEN KOULUTUSKUNTAYHTYMÄ', 67, 449, 71, 61, 0, 4, 15, 7, 5, 0, 30, 215, 74, 17, 0, 70, 74, 34, 21, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0210287-9', N'RAAHEN KOULUTUSKUNTAYHTYMÄ', 1, 141, 57, 23, 0, 1, 1, 0, 1, 0, 0, 18, 31, 13, 0, 17, 14, 0, 1, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0210668-5', N'ROVALAN SETLEMENTTI RY.', 0, 12, 0, 0, 0, 0, 6, 0, 0, 0, 0, 4, 0, 0, 0, 0, 15, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0210838-1', N'ITÄ-UUDENMAAN KOULUTUSKUNTAYHTYMÄ', 34, 318, 0, 21, 0, 31, 75, 0, 0, 0, 39, 160, 0, 6, 0, 171, 192, 3, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0211060-9', N'AVA-INSTITUUTIN KANNATUSYHDISTYS RY', 0, 0, 0, 0, 0, 18, 5, 0, 0, 0, 0, 0, 0, 0, 0, 89, 15, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0211675-2', N'TAMPEREEN KAUPUNKI', 335, 1503, 55, 176, 51, 30, 96, 15, 10, 0, 104, 493, 11, 113, 1, 354, 361, 38, 27, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0212371-7', N'POHJOIS-KARJALAN KOULUTUSKUNTAYHTYMÄ', 153, 868, 125, 97, 47, 13, 30, 3, 2, 0, 37, 408, 72, 57, 17, 76, 195, 31, 9, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0213502-1', N'KANSAN SIVISTYSTYÖN LIITTO KSL RY', 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0213612-0', N'AMI-SÄÄTIÖ', 150, 251, 0, 0, 0, 82, 176, 29, 26, 0, 76, 191, 0, 0, 0, 307, 286, 39, 58, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0213834-5', N'KESKI-UUDENMAAN KOULUTUSKUNTAYHTYMÄ', 152, 774, 101, 67, 0, 19, 61, 5, 3, 0, 22, 218, 37, 40, 0, 87, 174, 26, 9, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0213977-8', N'KANNELJÄRVEN KANSANOPISTON KANNATUSYHDISTYS RY', 0, 27, 0, 0, 0, 0, 2, 0, 0, 0, 0, 16, 0, 0, 0, 0, 2, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0214081-6', N'SAMKOMMUNEN FÖR YRKESUTBILDNING I ÖSTRA NYLAND', 0, 54, 7, 11, 0, 0, 0, 0, 0, 0, 0, 2, 3, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0214765-5', N'YLÄ-SAVON KOULUTUSKUNTAYHTYMÄ', 4, 205, 0, 130, 0, 6, 16, 10, 17, 0, 0, 73, 1, 53, 0, 59, 83, 42, 60, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0214822-8', N'POHJOIS-SAVON KANSANOPISTOSEURA R.Y.', 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0214958-9', N'KAJAANIN KAUPUNKI', 81, 439, 66, 84, 0, 2, 13, 6, 1, 0, 24, 201, 36, 49, 0, 45, 181, 32, 2, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0215281-7', N'KIRKKOPALVELUT RY', 1, 261, 0, 0, 0, 2, 34, 1, 0, 0, 0, 220, 0, 0, 0, 54, 174, 2, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0215303-5', N'RAKENNUSTEOLLISUUS RT RY', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0222804-1', N'MAALARIAMMATTIKOULUN KANNATUSYHDISTYS RY', 0, 38, 0, 0, 0, 0, 9, 0, 0, 0, 0, 17, 0, 0, 0, 0, 15, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0242525-6', N'SUOMEN LUTERILAINEN EVANKELIUMIYHDISTYS R.Y.', 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0242746-2', N'JOENSUUN KAUPUNKI', 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0244767-4', N'SAAMELAISALUEEN KOULUTUSKESKUS', 0, 13, 14, 0, 0, 0, 0, 0, 0, 0, 2, 6, 10, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0276652-8', N'TURUN AMMATTIOPISTOSÄÄTIÖ', 0, 80, 0, 0, 0, 0, 6, 0, 0, 0, 0, 20, 0, 0, 0, 0, 12, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0280690-5', N'POHJOIS-SATAKUNNAN KANSANOPISTON KANNATUSYHDISTYS RY', 0, 7, 3, 0, 0, 0, 8, 0, 0, 0, 0, 0, 8, 0, 0, 1, 29, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0365121-2', N'PAASIKIVIOPISTOYHDISTYS RY', 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0502454-6', N'ESPOON SEUDUN KOULUTUSKUNTAYHTYMÄ OMNIA', 339, 1427, 134, 4, 0, 50, 123, 3, 0, 0, 54, 449, 26, 4, 0, 367, 265, 15, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0503417-0', N'KAUPPIAITTEN KAUPPAOPPILAITOS OY', 266, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0536496-2', N'KORPISAAREN SÄÄTIÖ SR', 0, 18, 0, 0, 0, 0, 5, 0, 0, 0, 0, 6, 0, 0, 0, 0, 12, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0626288-8', N'LOUNAIS-HÄMEEN KOULUTUSKUNTAYHTYMÄ', 52, 168, 22, 15, 0, 3, 30, 1, 0, 0, 25, 68, 6, 3, 0, 44, 89, 1, 1, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0681365-1', N'SUOMEN YMPÄRISTÖOPISTO SYKLI OY', 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 92, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0734567-7', N'FYSIKAALINEN HOITOLAITOS ARCUS', 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0774302-6', N'KIINTEISTÖALAN KOULUTUSSÄÄTIÖ', 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0796234-1', N'OPTIMA SAMKOMMUN', 35, 250, 17, 43, 0, 2, 9, 7, 0, 0, 10, 46, 7, 7, 0, 22, 43, 27, 10, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0823246-3', N'PEIMARIN KOULUTUSKUNTAYHTYMÄ', 0, 78, 68, 53, 0, 0, 6, 9, 0, 0, 0, 48, 51, 44, 0, 0, 21, 34, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0828475-7', N'POHJOIS-SUOMEN KOULUTUSKESKUSSÄÄTIÖ', 3, 12, 0, 0, 0, 4, 1, 0, 0, 0, 4, 13, 1, 1, 0, 65, 10, 14, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0832600-5', N'KOILLIS-SUOMEN AIKUISKOULUTUS OY', 1, 5, 0, 0, 0, 3, 0, 0, 0, 0, 2, 11, 0, 0, 0, 8, 14, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0858476-8', N'TUL:N KISAKESKUSSÄÄTIÖ', 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0868699-1', N'OULUN AIKUISKOULUTUSKESKUS OY', 0, 73, 0, 3, 0, 11, 63, 0, 1, 0, 0, 47, 0, 8, 0, 27, 159, 0, 11, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0871305-6', N'M.S.F-OPPILAITOS OY', 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0872020-5', N'TEAK OY', 0, 4, 0, 0, 0, 1, 15, 0, 0, 0, 0, 7, 0, 0, 0, 0, 41, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0882817-9', N'PALKANSAAJIEN KOULUTUSSÄÄTIÖ SR', 0, 0, 0, 0, 0, 0, 10, 6, 1, 0, 0, 0, 0, 0, 0, 0, 36, 27, 2, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0908429-8', N'POP & JAZZ KONSERVATORION SÄÄTIÖ', 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0915313-4', N'TURUN KRISTILLISEN OPISTON SÄÄTIÖ', 0, 30, 0, 0, 0, 0, 14, 3, 0, 0, 0, 27, 0, 0, 0, 0, 20, 4, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0934732-6', N'HEVOSOPISTO OY', 0, 0, 0, 85, 0, 0, 0, 2, 0, 0, 0, 0, 0, 24, 0, 0, 0, 12, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0942165-3', N'JYVÄSKYLÄN TALOUSKOULUYHDISTYS RY.', 0, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0973110-9', N'ROVANIEMEN KOULUTUSKUNTAYHTYMÄ', 92, 463, 41, 150, 31, 14, 26, 1, 5, 0, 31, 242, 28, 72, 14, 119, 177, 18, 45, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0973712-1', N'SUUPOHJAN KOULUTUSKUNTAYHTYMÄ', 19, 102, 13, 36, 0, 0, 2, 0, 0, 0, 0, 19, 8, 9, 0, 30, 8, 1, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0988182-8', N'SVENSKA ÖSTERBOTTENS FÖRBUND FÖR UTBILDNING OCH KULTUR', 2, 295, 13, 44, 15, 2, 22, 1, 2, 0, 9, 102, 9, 9, 3, 50, 54, 11, 12, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0992445-3', N'OULUN SEUDUN KOULUTUSKUNTAYHTYMÄ', 207, 1180, 81, 179, 31, 28, 22, 0, 1, 0, 56, 374, 56, 64, 4, 232, 138, 20, 11, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'0993644-6', N'KOULUTUSKESKUS SALPAUS -KUNTAYHTYMÄ', 168, 1111, 102, 133, 0, 41, 37, 5, 13, 0, 56, 333, 65, 40, 0, 248, 185, 41, 11, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'1007629-5', N'SEINÄJOEN KOULUTUSKUNTAYHTYMÄ', 93, 858, 25, 106, 0, 23, 89, 6, 22, 0, 11, 162, 12, 61, 0, 163, 246, 20, 36, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'1019670-5', N'TOYOTA AUTO FINLAND OY', 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 18, 11, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'1027740-9', N'ETELÄ-KARJALAN KOULUTUSKUNTAYHTYMÄ', 110, 613, 21, 22, 0, 10, 26, 1, 7, 0, 23, 260, 9, 9, 0, 34, 119, 4, 21, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'1053500-9', N'VALTAKUNNALLINEN VALMENNUS- JA LIIKUNTAKESKUS OY', 0, 0, 0, 50, 0, 0, 3, 0, 0, 0, 0, 0, 0, 5, 0, 0, 12, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'1055483-2', N'HARJUN OPPIMISKESKUS OY', 0, 0, 1, 35, 0, 0, 0, 0, 0, 0, 0, 0, 11, 10, 0, 0, 0, 3, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'1605076-6', N'JYVÄSKYLÄN KRISTILLISEN OPISTON SÄÄTIÖ', 0, 22, 0, 0, 0, 0, 10, 0, 0, 0, 0, 21, 0, 0, 0, 0, 19, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'1637771-8', N'JOLLAS-OPISTO OY', 0, 0, 0, 0, 0, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 63, 17, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'1648362-5', N'SVENSKA FRAMTIDSSKOLAN I HELSINGFORSREGIONEN AB', 42, 145, 19, 0, 0, 5, 3, 0, 0, 0, 4, 48, 0, 0, 0, 7, 7, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'1778388-1', N'HAUS HALLINNON KEHITTÄMISKESKUS', 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'1807931-9', N'JÄRVISEUDUN KOULUTUSKUNTAYHTYMÄ', 20, 62, 12, 16, 0, 1, 0, 0, 0, 0, 2, 25, 27, 7, 0, 20, 33, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'1852679-9', N'SAVON KOULUTUSKUNTAYHTYMÄ', 236, 999, 38, 75, 29, 16, 49, 1, 0, 0, 65, 451, 44, 49, 1, 176, 284, 12, 1, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'1904292-1', N'KONE HISSIT OY', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'1943518-6', N'KESKI-POHJANMAAN KONSERVATORION KANNATUSYHDISTYS RY', 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'1958694-5', N'KOTKAN-HAMINAN SEUDUN KOULUTUSKUNTAYHTYMÄ', 68, 504, 46, 35, 0, 4, 48, 1, 0, 0, 12, 136, 11, 0, 0, 35, 78, 1, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'2064886-7', N'AXXELL UTBILDNING AB', 66, 256, 33, 40, 0, 0, 9, 9, 0, 0, 20, 76, 38, 4, 0, 60, 59, 67, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'2070757-2', N'SUOMEN KOSMETOLOGIEN YHDISTYKSEN OPISTON SÄÄTIÖ', 0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'2082223-9', N'TEAK TEKNOLOGIAKESKUS OY', 3, 12, 1, 1, 0, 1, 1, 0, 0, 0, 0, 24, 0, 0, 0, 2, 3, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'2109309-0', N'KEMI-TORNIONLAAKSON KOULUTUSKUNTAYHTYMÄ LAPPIA', 15, 458, 65, 36, 0, 4, 7, 7, 0, 0, 12, 175, 12, 7, 0, 77, 47, 32, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'2162576-3', N'HELSINKI BUSINESS COLLEGE OY', 559, 160, 0, 0, 0, 23, 0, 0, 0, 0, 81, 30, 0, 0, 0, 94, 0, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'2245018-4', N'LÄNSIRANNIKON KOULUTUS OY', 117, 779, 24, 54, 30, 38, 89, 3, 1, 0, 18, 283, 15, 31, 9, 173, 342, 18, 6, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'2249317-6', N'ETELÄ-SAVON KOULUTUS OY', 109, 458, 18, 42, 63, 6, 8, 0, 1, 0, 41, 198, 31, 18, 19, 81, 69, 2, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'2250205-2', N'HYRIA KOULUTUS OY', 130, 618, 75, 59, 0, 10, 60, 3, 0, 0, 28, 231, 33, 9, 0, 89, 99, 34, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'2334857-9', N'FOLKHÄLSAN UTBILDNING AB', 0, 0, 0, 24, 0, 0, 17, 0, 0, 0, 0, 0, 0, 6, 0, 0, 7, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'2460281-5', N'MANAGEMENT INSTITUTE OF FINLAND MIF OY', 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 3, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'2627679-3', N'HÄMEEN AMMATTI-INSTITUUTTI OY', 0, 0, 15, 58, 0, 0, 1, 13, 0, 0, 0, 0, 20, 26, 0, 32, 13, 74, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'2734201-9', N'PERHO LIIKETALOUSOPISTO OY', 219, 252, 0, 0, 0, 3, 7, 0, 0, 0, 22, 41, 0, 0, 0, 15, 29, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'2756786-7', N'SUOMEN DIAKONIAOPISTO - SDO OY', 0, 316, 0, 0, 0, 0, 13, 0, 0, 0, 0, 203, 0, 0, 0, 0, 47, 0, 0, 0)
GO
INSERT [sa].[sa_amos_tutkinnot_pohjakoulutus_2017] ([vuosi], [ytunnus], [koulutuksen_jarjestaja], [ei_pohjakoul_pt_kr1], [ei_pohjakoul_pt_kr2], [ei_pohjakoul_pt_kr3], [ei_pohjakoul_pt_kr4], [ei_pohjakoul_pt_kr5], [ei_pohjakoul_at_eat_kr1], [ei_pohjakoul_at_eat_kr2], [ei_pohjakoul_at_eat_kr3], [ei_pohjakoul_at_eat_kr4], [ei_pohjakoul_at_eat_kr5], [pohjakoul_pt_kr1], [pohjakoul_pt_kr2], [pohjakoul_pt_kr3], [pohjakoul_pt_kr4], [pohjakoul_pt_kr5], [pohjakoul_at_eat_kr1], [pohjakoul_at_eat_kr2], [pohjakoul_at_eat_kr3], [pohjakoul_at_eat_kr4], [pohjakoul_at_eat_kr5]) VALUES (2017, N'9999999-9', N'Tuntematon järjestäjä', 0, 15, 0, 0, 0, 6, 0, 0, 0, 0, 0, 15, 0, 0, 0, 1, 0, 0, 0, 0)
GO
use [antero] | 314.981982 | 726 | 0.77644 |
eecd3e54623d8a5b0b52f1451bc590d4116eac2d | 41 | sql | SQL | db-drop-all.sql | Lamphobic/discord-robot9000 | 106f6ada2a2ee12197c8d7324abda4404914689d | [
"MIT"
] | null | null | null | db-drop-all.sql | Lamphobic/discord-robot9000 | 106f6ada2a2ee12197c8d7324abda4404914689d | [
"MIT"
] | 6 | 2019-08-31T04:22:20.000Z | 2019-10-19T04:57:54.000Z | db-drop-all.sql | Lamphobic/discord-robot9000 | 106f6ada2a2ee12197c8d7324abda4404914689d | [
"MIT"
] | 2 | 2019-08-26T03:23:41.000Z | 2019-10-20T03:42:06.000Z | drop table if exists blacklist_entries;
| 13.666667 | 39 | 0.829268 |
725fa39d72872a9eeb09244ed5b8c5a1b6345854 | 9,401 | rs | Rust | jni-android-sys/src/generated/api-level-29/java/util/concurrent/locks/ReentrantReadWriteLock_ReadLock.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | jni-android-sys/src/generated/api-level-29/java/util/concurrent/locks/ReentrantReadWriteLock_ReadLock.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | jni-android-sys/src/generated/api-level-29/java/util/concurrent/locks/ReentrantReadWriteLock_ReadLock.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | // WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "java-util-concurrent-locks-ReentrantReadWriteLock_ReadLock"))]
__jni_bindgen! {
/// public class [ReentrantReadWriteLock.ReadLock](https://developer.android.com/reference/java/util/concurrent/locks/ReentrantReadWriteLock.ReadLock.html)
///
/// Required feature: java-util-concurrent-locks-ReentrantReadWriteLock_ReadLock
public class ReentrantReadWriteLock_ReadLock ("java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock") extends crate::java::lang::Object, implements crate::java::util::concurrent::locks::Lock, crate::java::io::Serializable {
// // Not emitting: Non-public method
// /// [ReadLock](https://developer.android.com/reference/java/util/concurrent/locks/ReentrantReadWriteLock.ReadLock.html#ReadLock(java.util.concurrent.locks.ReentrantReadWriteLock))
// ///
// /// Required features: "java-util-concurrent-locks-ReentrantReadWriteLock"
// #[cfg(any(feature = "all", all(feature = "java-util-concurrent-locks-ReentrantReadWriteLock")))]
// fn new<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::concurrent::locks::ReentrantReadWriteLock>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::util::concurrent::locks::ReentrantReadWriteLock_ReadLock>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// // class.path == "java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock", java.flags == PROTECTED, .name == "<init>", .descriptor == "(Ljava/util/concurrent/locks/ReentrantReadWriteLock;)V"
// unsafe {
// let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
// let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock\0", "<init>\0", "(Ljava/util/concurrent/locks/ReentrantReadWriteLock;)V\0");
// __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
// }
// }
/// [lock](https://developer.android.com/reference/java/util/concurrent/locks/ReentrantReadWriteLock.ReadLock.html#lock())
pub fn lock<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock", java.flags == PUBLIC, .name == "lock", .descriptor == "()V"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock\0", "lock\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [lockInterruptibly](https://developer.android.com/reference/java/util/concurrent/locks/ReentrantReadWriteLock.ReadLock.html#lockInterruptibly())
pub fn lockInterruptibly<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock", java.flags == PUBLIC, .name == "lockInterruptibly", .descriptor == "()V"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock\0", "lockInterruptibly\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [tryLock](https://developer.android.com/reference/java/util/concurrent/locks/ReentrantReadWriteLock.ReadLock.html#tryLock())
pub fn tryLock<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock", java.flags == PUBLIC, .name == "tryLock", .descriptor == "()Z"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock\0", "tryLock\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [tryLock](https://developer.android.com/reference/java/util/concurrent/locks/ReentrantReadWriteLock.ReadLock.html#tryLock(long,%20java.util.concurrent.TimeUnit))
///
/// Required features: "java-util-concurrent-TimeUnit"
#[cfg(any(feature = "all", all(feature = "java-util-concurrent-TimeUnit")))]
pub fn tryLock_long_TimeUnit<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::concurrent::TimeUnit>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock", java.flags == PUBLIC, .name == "tryLock", .descriptor == "(JLjava/util/concurrent/TimeUnit;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock\0", "tryLock\0", "(JLjava/util/concurrent/TimeUnit;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [unlock](https://developer.android.com/reference/java/util/concurrent/locks/ReentrantReadWriteLock.ReadLock.html#unlock())
pub fn unlock<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock", java.flags == PUBLIC, .name == "unlock", .descriptor == "()V"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock\0", "unlock\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [newCondition](https://developer.android.com/reference/java/util/concurrent/locks/ReentrantReadWriteLock.ReadLock.html#newCondition())
///
/// Required features: "java-util-concurrent-locks-Condition"
#[cfg(any(feature = "all", all(feature = "java-util-concurrent-locks-Condition")))]
pub fn newCondition<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::concurrent::locks::Condition>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock", java.flags == PUBLIC, .name == "newCondition", .descriptor == "()Ljava/util/concurrent/locks/Condition;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock\0", "newCondition\0", "()Ljava/util/concurrent/locks/Condition;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toString](https://developer.android.com/reference/java/util/concurrent/locks/ReentrantReadWriteLock.ReadLock.html#toString())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn toString<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock", java.flags == PUBLIC, .name == "toString", .descriptor == "()Ljava/lang/String;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock\0", "toString\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
}
}
| 83.9375 | 407 | 0.666312 |
411effedd7d162ffd99ce44de1c682d532106351 | 7,396 | swift | Swift | Messenger/Classes/Chat/RCKit/Cells/Content/RCAudioCell.swift | rawadbt21/Messenger | 719d984b8a0c037488acc4973073d6a7726f0dda | [
"MIT"
] | 2,439 | 2016-11-07T02:52:59.000Z | 2022-03-30T05:57:58.000Z | Messenger/Classes/Chat/RCKit/Cells/Content/RCAudioCell.swift | rawadbt21/Messenger | 719d984b8a0c037488acc4973073d6a7726f0dda | [
"MIT"
] | 94 | 2016-11-06T13:19:54.000Z | 2022-02-13T01:52:08.000Z | Messenger/Classes/Chat/RCKit/Cells/Content/RCAudioCell.swift | rawadbt21/Messenger | 719d984b8a0c037488acc4973073d6a7726f0dda | [
"MIT"
] | 669 | 2016-11-07T03:12:23.000Z | 2022-03-31T13:35:17.000Z | //
// Copyright (c) 2021 Related Code - https://relatedcode.com
//
// 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.
import UIKit
//-----------------------------------------------------------------------------------------------------------------------------------------------
class RCAudioCell: RCBaseCell {
private var imageViewPlay: UIImageView!
private var viewProgress: UIProgressView!
private var labelDuration: UILabel!
private var imageViewManual: UIImageView!
private var activityIndicator: UIActivityIndicatorView!
//-------------------------------------------------------------------------------------------------------------------------------------------
override func bindData(_ messagesView: RCMessagesView, at indexPath: IndexPath) {
super.bindData(messagesView, at: indexPath)
let rcmessage = messagesView.rcmessageAt(indexPath)
viewBubble.backgroundColor = rcmessage.incoming ? RCKit.audioBubbleColorIncoming : RCKit.audioBubbleColorOutgoing
if (imageViewPlay == nil) {
imageViewPlay = UIImageView()
viewBubble.addSubview(imageViewPlay)
}
if (viewProgress == nil) {
viewProgress = UIProgressView()
viewBubble.addSubview(viewProgress)
}
if (labelDuration == nil) {
labelDuration = UILabel()
labelDuration.font = RCKit.audioFont
viewBubble.addSubview(labelDuration)
}
if (activityIndicator == nil) {
if #available(iOS 13.0, *) {
activityIndicator = UIActivityIndicatorView(style: .medium)
} else {
activityIndicator = UIActivityIndicatorView(style: .white)
}
viewBubble.addSubview(activityIndicator)
}
if (imageViewManual == nil) {
imageViewManual = UIImageView(image: RCKit.audioImageManual)
viewBubble.addSubview(imageViewManual)
}
if (rcmessage.audioStatus == AudioStatus.Stopped) { imageViewPlay.image = RCKit.audioImagePlay }
if (rcmessage.audioStatus == AudioStatus.Playing) { imageViewPlay.image = RCKit.audioImagePause }
if (rcmessage.audioStatus == AudioStatus.Paused) { imageViewPlay.image = RCKit.audioImagePlay }
viewProgress.trackTintColor = rcmessage.incoming ? RCKit.audioTrackColorIncoming : RCKit.audioTrackColorOutgoing
viewProgress.progressTintColor = rcmessage.incoming ? RCKit.audioProgressColorIncoming : RCKit.audioProgressColorOutgoing
labelDuration.textColor = rcmessage.incoming ? RCKit.audioDurationColorIncoming : RCKit.audioDurationColorOutgoing
updateProgress(rcmessage)
updateDuration(rcmessage)
if (rcmessage.mediaStatus == MediaStatus.Unknown) {
imageViewPlay.isHidden = true
viewProgress.isHidden = true
labelDuration.isHidden = true
activityIndicator.startAnimating()
imageViewManual.isHidden = true
}
if (rcmessage.mediaStatus == MediaStatus.Loading) {
imageViewPlay.isHidden = true
viewProgress.isHidden = true
labelDuration.isHidden = true
activityIndicator.startAnimating()
imageViewManual.isHidden = true
}
if (rcmessage.mediaStatus == MediaStatus.Succeed) {
imageViewPlay.isHidden = false
viewProgress.isHidden = false
labelDuration.isHidden = false
activityIndicator.stopAnimating()
imageViewManual.isHidden = true
}
if (rcmessage.mediaStatus == MediaStatus.Manual) {
imageViewPlay.isHidden = true
viewProgress.isHidden = true
labelDuration.isHidden = true
activityIndicator.stopAnimating()
imageViewManual.isHidden = false
}
activityIndicator.color = rcmessage.incoming ? RCKit.activityColorIncoming : RCKit.activityColorOutgoing
}
//-------------------------------------------------------------------------------------------------------------------------------------------
override func layoutSubviews() {
let size = RCAudioCell.size(messagesView, at: indexPath)
super.layoutSubviews(size)
let widthPlay = imageViewPlay.image?.size.width ?? 0
let heightPlay = imageViewPlay.image?.size.height ?? 0
let yPlay = (size.height - heightPlay) / 2
imageViewPlay.frame = CGRect(x: 10, y: yPlay, width: widthPlay, height: heightPlay)
let xProgress = widthPlay + 20
let yProgress = size.height / 2 - 10
let widthProgress = size.width - widthPlay - 30
viewProgress.frame = CGRect(x: xProgress, y: yProgress, width: widthProgress, height: 5)
let heightDuration = size.height / 2
let xDuration = widthPlay + 20
let yDuration = size.height / 2 - 5
labelDuration.frame = CGRect(x: xDuration, y: yDuration, width: 50, height: heightDuration)
let widthActivity = activityIndicator.frame.size.width
let heightActivity = activityIndicator.frame.size.height
let xActivity = (size.width - widthActivity) / 2
let yActivity = (size.height - heightActivity) / 2
activityIndicator.frame = CGRect(x: xActivity, y: yActivity, width: widthActivity, height: heightActivity)
let widthManual = imageViewManual.image?.size.width ?? 0
let heightManual = imageViewManual.image?.size.height ?? 0
let xManual = (size.width - widthManual) / 2
let yManual = (size.height - heightManual) / 2
imageViewManual.frame = CGRect(x: xManual, y: yManual, width: widthManual, height: heightManual)
}
// MARK: - Size methods
//-------------------------------------------------------------------------------------------------------------------------------------------
class func height(_ messagesView: RCMessagesView, at indexPath: IndexPath) -> CGFloat {
let size = self.size(messagesView, at: indexPath)
return size.height
}
//-------------------------------------------------------------------------------------------------------------------------------------------
class func size(_ messagesView: RCMessagesView, at indexPath: IndexPath) -> CGSize {
return CGSize(width: RCKit.audioBubbleWidht, height: RCKit.audioBubbleHeight)
}
// MARK: - Progress, Duration update methods
//-------------------------------------------------------------------------------------------------------------------------------------------
func updateProgress(_ rcmessage: RCMessage) {
let progress = Float(rcmessage.audioCurrent) / Float(rcmessage.audioDuration)
viewProgress.progress = (progress > 0.05) ? progress : 0
}
//-------------------------------------------------------------------------------------------------------------------------------------------
func updateDuration(_ rcmessage: RCMessage) {
if (rcmessage.audioStatus == AudioStatus.Stopped) { updateDuration(rcmessage.audioDuration) }
if (rcmessage.audioStatus == AudioStatus.Playing) { updateDuration(Int(rcmessage.audioCurrent)) }
if (rcmessage.audioStatus == AudioStatus.Paused) { updateDuration(Int(rcmessage.audioCurrent)) }
}
//-------------------------------------------------------------------------------------------------------------------------------------------
private func updateDuration(_ duration: Int) {
if (duration < 60) {
labelDuration.text = String(format: "0:%02ld", duration)
} else {
labelDuration.text = String(format: "%ld:%02ld", duration / 60, duration % 60)
}
}
}
| 39.978378 | 145 | 0.635884 |
c4698b4c7eb4ce76ff5b83f23ce20a62611a7197 | 1,186 | h | C | js/cpp/generated/GroestlcoinAddress.h | IFWallet/wallet-core | 4ab8d2fac26530ffde6dbd56a5b4f1e96c111191 | [
"MIT"
] | 7 | 2019-05-29T02:56:59.000Z | 2021-08-31T16:58:29.000Z | js/cpp/generated/GroestlcoinAddress.h | moneto-dev/wallet-core | 0bfd312f868f02fe51cd2672e2397fd98d707db7 | [
"MIT"
] | null | null | null | js/cpp/generated/GroestlcoinAddress.h | moneto-dev/wallet-core | 0bfd312f868f02fe51cd2672e2397fd98d707db7 | [
"MIT"
] | 5 | 2020-03-07T14:54:39.000Z | 2021-09-25T03:27:31.000Z | // Copyright © 2017-2019 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
//
// This is a GENERATED FILE, changes made here WILL BE LOST.
//
#ifndef NAPI_TW_GROESTLCOINADDRESS_H
#define NAPI_TW_GROESTLCOINADDRESS_H
#include <TrustWalletCore/TWGroestlcoinAddress.h>
#include <TrustWalletCore/TWPublicKey.h>
#include <TrustWalletCore/TWBase.h>
#include "../TWNapi.h"
using namespace Napi;
External<TWGroestlcoinAddress> Js_wallet_core_napi_GroestlcoinAddress_createWithString(const CallbackInfo& info);
External<TWGroestlcoinAddress> Js_wallet_core_napi_GroestlcoinAddress_createWithPublicKey(const CallbackInfo& info);
void Js_wallet_core_napi_GroestlcoinAddress_delete(const CallbackInfo& info);
Boolean Js_wallet_core_napi_GroestlcoinAddress_equals(const CallbackInfo& info);
Boolean Js_wallet_core_napi_GroestlcoinAddress_isValidString(const CallbackInfo& info);
String Js_wallet_core_napi_GroestlcoinAddress_description(const CallbackInfo& info);
#endif // NAPI_TW_GROESTLCOINADDRESS_H | 34.882353 | 116 | 0.837268 |
5c645620affbc5f7ac38d81de8b2e0d61048d3b1 | 1,358 | h | C | cmake_targets/lte_build_oai/build/CMakeFiles/Rel14/RRCConnectionReconfiguration-v1020-IEs.h | davidraditya/OAI-Powder | a082c3e8af06cd7583c003a69ec517eb73d175b3 | [
"Apache-2.0"
] | 1 | 2019-02-22T21:33:57.000Z | 2019-02-22T21:33:57.000Z | cmake_targets/lte_build_oai/build/CMakeFiles/Rel14/RRCConnectionReconfiguration-v1020-IEs.h | aygunbaltaci/OAI_BS_Master | 375be88d50787cf1b7af516e1237df9005c32e0d | [
"Apache-2.0"
] | 1 | 2021-05-28T09:06:21.000Z | 2021-05-28T14:49:39.000Z | cmake_targets/lte_build_oai/build/CMakeFiles/Rel14/RRCConnectionReconfiguration-v1020-IEs.h | aygunbaltaci/OAI_BS_Master | 375be88d50787cf1b7af516e1237df9005c32e0d | [
"Apache-2.0"
] | 1 | 2018-03-04T11:09:57.000Z | 2018-03-04T11:09:57.000Z | /*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "fixed_grammar.asn"
* `asn1c -gen-PER`
*/
#ifndef _RRCConnectionReconfiguration_v1020_IEs_H_
#define _RRCConnectionReconfiguration_v1020_IEs_H_
#include <asn_application.h>
/* Including external dependencies */
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Forward declarations */
struct SCellToReleaseList_r10;
struct SCellToAddModList_r10;
struct RRCConnectionReconfiguration_v1130_IEs;
/* RRCConnectionReconfiguration-v1020-IEs */
typedef struct RRCConnectionReconfiguration_v1020_IEs {
struct SCellToReleaseList_r10 *sCellToReleaseList_r10 /* OPTIONAL */;
struct SCellToAddModList_r10 *sCellToAddModList_r10 /* OPTIONAL */;
struct RRCConnectionReconfiguration_v1130_IEs *nonCriticalExtension /* OPTIONAL */;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} RRCConnectionReconfiguration_v1020_IEs_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_RRCConnectionReconfiguration_v1020_IEs;
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include "SCellToReleaseList-r10.h"
#include "SCellToAddModList-r10.h"
#include "RRCConnectionReconfiguration-v1130-IEs.h"
#endif /* _RRCConnectionReconfiguration_v1020_IEs_H_ */
#include <asn_internal.h>
| 27.16 | 84 | 0.807069 |
0cc8db72c131873f18e22e999afa4a7e2c43c233 | 2,041 | py | Python | contrib/stack/stripmapStack/unpackFrame_risat_raw.py | vincentschut/isce2 | 1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c | [
"ECL-2.0",
"Apache-2.0"
] | 1,133 | 2022-01-07T21:24:57.000Z | 2022-01-07T21:33:08.000Z | contrib/stack/stripmapStack/unpackFrame_risat_raw.py | vincentschut/isce2 | 1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c | [
"ECL-2.0",
"Apache-2.0"
] | 276 | 2019-02-10T07:18:28.000Z | 2022-03-31T21:45:55.000Z | contrib/stack/stripmapStack/unpackFrame_risat_raw.py | vincentschut/isce2 | 1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c | [
"ECL-2.0",
"Apache-2.0"
] | 235 | 2019-02-10T05:00:53.000Z | 2022-03-18T07:37:24.000Z | #!/usr/bin/env python3
import isce
from isceobj.Sensor import createSensor
import shelve
import argparse
import os
from isceobj.Util import Poly1D
from isceobj.Planet.AstronomicalHandbook import Const
from mroipac.dopiq.DopIQ import DopIQ
import copy
def cmdLineParse():
'''
Command line parser.
'''
parser = argparse.ArgumentParser(description='Unpack RISAT raw data and store metadata in pickle file.')
parser.add_argument('-i','--input', dest='indir', type=str,
required=True, help='Input CSK frame')
parser.add_argument('-o', '--output', dest='slc', type=str,
required=True, help='Output SLC file')
parser.add_argument('-p', '--polar', dest='polar', type=str,
default='RH', help='Polarization to extract')
return parser.parse_args()
def unpack(hdf5, slcname, polar='RH'):
'''
Unpack HDF5 to binary SLC file.
'''
obj = createSensor('RISAT1')
obj._imageFile = os.path.join(hdf5, 'scene_'+polar, 'dat_01.001')
obj._leaderFile = os.path.join(hdf5, 'scene_'+polar,'lea_01.001')
if not os.path.isdir(slcname):
os.mkdir(slcname)
date = os.path.basename(slcname)
obj.output = os.path.join(slcname, date + '.raw')
obj.extractImage()
obj.frame.getImage().renderHdr()
#####Estimate doppler
dop = DopIQ()
dop.configure()
img = copy.deepcopy(obj.frame.getImage())
img.setAccessMode('READ')
dop.wireInputPort('frame', object=obj.frame)
dop.wireInputPort('instrument', object=obj.frame.instrument)
dop.wireInputPort('image', object=img)
dop.calculateDoppler()
dop.fitDoppler()
fit = dop.quadratic
coef = [fit['a'], fit['b'], fit['c']]
print(coef)
obj.frame._dopplerVsPixel = [x*obj.frame.PRF for x in coef]
pickName = os.path.join(slcname, 'raw')
with shelve.open(pickName) as db:
db['frame'] = obj.frame
if __name__ == '__main__':
'''
Main driver.
'''
inps = cmdLineParse()
unpack(inps.indir, inps.slc, polar=inps.polar)
| 26.506494 | 108 | 0.652621 |
c16aa74f49c11c2b56aed919039cf265917b158b | 2,882 | rs | Rust | src/controllers/category.rs | dpbriggs/crates.io | adf28ad82b4ec2aa8af95c03e42f9f361296278f | [
"Apache-2.0",
"MIT"
] | null | null | null | src/controllers/category.rs | dpbriggs/crates.io | adf28ad82b4ec2aa8af95c03e42f9f361296278f | [
"Apache-2.0",
"MIT"
] | null | null | null | src/controllers/category.rs | dpbriggs/crates.io | adf28ad82b4ec2aa8af95c03e42f9f361296278f | [
"Apache-2.0",
"MIT"
] | null | null | null | use super::helpers::pagination::*;
use super::prelude::*;
use crate::models::Category;
use crate::schema::categories;
use crate::views::{EncodableCategory, EncodableCategoryWithSubcategories};
/// Handles the `GET /categories` route.
pub fn index(req: &mut dyn Request) -> CargoResult<Response> {
let conn = req.db_conn()?;
let query = req.query();
// FIXME: There are 69 categories, 47 top level. This isn't going to
// grow by an OoM. We need a limit for /summary, but we don't need
// to paginate this.
let options = PaginationOptions::new(&query)?;
let offset = options.offset().unwrap_or_default();
let sort = query.get("sort").map_or("alpha", String::as_str);
let categories =
Category::toplevel(&conn, sort, i64::from(options.per_page), i64::from(offset))?;
let categories = categories.into_iter().map(Category::encodable).collect();
// Query for the total count of categories
let total = Category::count_toplevel(&conn)?;
#[derive(Serialize)]
struct R {
categories: Vec<EncodableCategory>,
meta: Meta,
}
#[derive(Serialize)]
struct Meta {
total: i64,
}
Ok(req.json(&R {
categories,
meta: Meta { total },
}))
}
/// Handles the `GET /categories/:category_id` route.
pub fn show(req: &mut dyn Request) -> CargoResult<Response> {
let slug = &req.params()["category_id"];
let conn = req.db_conn()?;
let cat = Category::by_slug(slug).first::<Category>(&*conn)?;
let subcats = cat
.subcategories(&conn)?
.into_iter()
.map(Category::encodable)
.collect();
let parents = cat
.parent_categories(&conn)?
.into_iter()
.map(Category::encodable)
.collect();
let cat = cat.encodable();
let cat_with_subcats = EncodableCategoryWithSubcategories {
id: cat.id,
category: cat.category,
slug: cat.slug,
description: cat.description,
created_at: cat.created_at,
crates_cnt: cat.crates_cnt,
subcategories: subcats,
parent_categories: parents,
};
#[derive(Serialize)]
struct R {
category: EncodableCategoryWithSubcategories,
}
Ok(req.json(&R {
category: cat_with_subcats,
}))
}
/// Handles the `GET /category_slugs` route.
pub fn slugs(req: &mut dyn Request) -> CargoResult<Response> {
let conn = req.db_conn()?;
let slugs = categories::table
.select((categories::slug, categories::slug, categories::description))
.order(categories::slug)
.load(&*conn)?;
#[derive(Serialize, Queryable)]
struct Slug {
id: String,
slug: String,
description: String,
}
#[derive(Serialize)]
struct R {
category_slugs: Vec<Slug>,
}
Ok(req.json(&R {
category_slugs: slugs,
}))
}
| 28.254902 | 89 | 0.614851 |
f778be5c82df14d51ad120df98ea2c27bebc4b8c | 9,715 | swift | Swift | Eating/Eating/Viewcontrollers/MapController/MapController.swift | daispacy/Eating | 52eccc4d083df714701e0dce116275ab79acc05a | [
"MIT"
] | null | null | null | Eating/Eating/Viewcontrollers/MapController/MapController.swift | daispacy/Eating | 52eccc4d083df714701e0dce116275ab79acc05a | [
"MIT"
] | null | null | null | Eating/Eating/Viewcontrollers/MapController/MapController.swift | daispacy/Eating | 52eccc4d083df714701e0dce116275ab79acc05a | [
"MIT"
] | null | null | null | //
// MapController.swift
// Promised Land
//
// Created by Dai Pham on 3/20/18.
// Copyright © 2018 Dai Pham. All rights reserved.
//
import UIKit
import MapKit
enum MapControllerType {
case lite
case full
}
protocol MapControllerDelegate:class {
func mapControllerWillDismiss(vc:MapController)
}
class MapController: BaseController {
// MARK: - api
// MARK: - action
func touchButton(_ sender:UIButton) {
}
func tapAction(_ gestureReconizer:UITapGestureRecognizer) {
let location = gestureReconizer.location(in:mapView)
let coordinate = mapView.convert(location,toCoordinateFrom: mapView)
// Add annotation:
MonitorLocation.shared.getPlaceMark(from: coordinate) { [weak self] placemark in
guard let _self = self else {return}
if let placeMark = placemark {
_self.dropPinZoomIn(placemark: MKPlacemark(placemark: placeMark))
}
}
}
func getDirections(_ sender:UIButton) {
if let selectedPin = selectedPin {
let request = MKDirectionsRequest()
request.source = MKMapItem.forCurrentLocation()
let mapItem = MKMapItem(placemark: selectedPin)
request.destination = mapItem
request.transportType = MKDirectionsTransportType.any
request.requestsAlternateRoutes = true
let directions = MKDirections(request: request)
directions.calculate(completionHandler: {[weak self] (response, err) in
guard let _self = self else {return}
guard let response = response else {
//handle the error here
return
}
_self.currentRoutes = response.routes
for (_,route) in response.routes.enumerated() {
_self.mapView.add(route.polyline)
}
})
}
}
func showQuestionButton(_ sender:NSNotification) {
btnDirection.isHidden = false
}
// MARK: - private
fileprivate func dropPinZoomIn(placemark:MKPlacemark){
// cache the pin
selectedPin = placemark
// clear existing pins & overlays
mapView.removeAnnotations(mapView.annotations)
mapView.removeOverlays(mapView.overlays)
let annotation = MKPointAnnotation()
annotation.coordinate = placemark.coordinate
annotation.title = placemark.name
if let city = placemark.locality,
let state = placemark.administrativeArea {
annotation.subtitle = "\(city) \(state)"
}
mapView.addAnnotation(annotation)
let span = MKCoordinateSpanMake(0.05, 0.05)
let region = MKCoordinateRegionMake(placemark.coordinate, span)
mapView.setRegion(region, animated: true)
}
private func config() {
mapView.delegate = self
btnDirection.isHidden = true
btnDirection.addTarget(self, action: #selector(touchButton(_:)), for: .touchUpInside)
mapView.showsUserLocation = true
mapView.showsBuildings = false
mapView.showsTraffic = false
vwInformationRestaurant.isHidden = type == .lite
}
fileprivate func parseAddress(selectedItem:MKPlacemark) -> String {
// put a space between "4" and "Melrose Place"
let firstSpace = (selectedItem.subThoroughfare != nil && selectedItem.thoroughfare != nil) ? " " : ""
// put a comma between street and city/state
let comma = (selectedItem.subThoroughfare != nil || selectedItem.thoroughfare != nil) && (selectedItem.subAdministrativeArea != nil || selectedItem.administrativeArea != nil) ? ", " : ""
// put a space between "Washington" and "DC"
let secondSpace = (selectedItem.subAdministrativeArea != nil && selectedItem.administrativeArea != nil) ? " " : ""
let addressLine = String(
format:"%@%@%@%@%@%@%@",
// street number
selectedItem.subThoroughfare ?? "",
firstSpace,
// street name
selectedItem.thoroughfare ?? "",
comma,
// city
selectedItem.locality ?? "",
secondSpace,
// state
selectedItem.administrativeArea ?? ""
)
return addressLine
}
// MARK: - init
override func viewDidLoad() {
super.viewDidLoad()
config()
MonitorLocation.shared.getCoordinateFromAddress(address: "65/30A Giải phóng, Phường 2, Tân Bình, Hồ Chí Minh") {[weak self] (coordinate, placemark) in
guard let _self = self else {return}
if let pmark = placemark {
_self.dropPinZoomIn(placemark: MKPlacemark(placemark: pmark))
}
}
}
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
if type == .full {
self.view.frame = UIScreen.main.bounds
self.view.setNeedsDisplay()
}
}
override func didMove(toParentViewController parent: UIViewController?) {
super.didMove(toParentViewController: parent)
if let p = parent {
type = p.isKind(of: ContainerMapController.self) ? .full : .lite
mapView.isScrollEnabled = p.isKind(of: ContainerMapController.self)
}
if type == .full {
if gestureRecognizer == nil {
gestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(tapAction(_:)))
mapView.addGestureRecognizer(gestureRecognizer)
}
} else {
if gestureRecognizer != nil {
mapView.removeGestureRecognizer(gestureRecognizer)
}
}
if vwInformationRestaurant != nil {
vwInformationRestaurant.isHidden = type == .lite
}
}
deinit {
if gestureRecognizer != nil {
mapView.removeGestureRecognizer(gestureRecognizer)
}
}
// MARK: - closures
// MARK: - properties
var selectedPin:MKPlacemark? = nil
var currentRoutes:[MKRoute] = []
var matchingItems:[MKMapItem] = []
weak var delegate:MapControllerDelegate?
var type:MapControllerType = .full
var gestureRecognizer:UITapGestureRecognizer!
// MARK: - outlet
@IBOutlet weak var vwNameRestaurantView: BlockNameRestaurantView!
@IBOutlet weak var lblOpenHours: UILabel!
@IBOutlet weak var mapView: MKMapView!
@IBOutlet weak var btnDirection: UIButton!
@IBOutlet weak var vwInformationRestaurant: UIView!
}
// MARK: -
extension MapController:MKMapViewDelegate {
func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView?{
if annotation.isKind(of:MKUserLocation.self) {
//return nil so map view draws "blue dot" for standard user location
return nil
}
var pinView: MKAnnotationView
let reuseId = "pin"
if let dequepinView = mapView.dequeueReusableAnnotationView(withIdentifier: reuseId) {
dequepinView.annotation = annotation
pinView = dequepinView
} else {
pinView = MKAnnotationView(annotation: annotation, reuseIdentifier: reuseId)
pinView.canShowCallout = true
}
let smallSquare = CGSize(width: 30, height: 30)
let button = UIButton(frame: CGRect(origin: CGPoint.zero, size: smallSquare))
button.setBackgroundImage(#imageLiteral(resourceName: "star").resizeImageWith(newSize: CGSize(width: 20, height: 20)), for: .normal)
button.addTarget(self, action: #selector(getDirections(_:)), for: .touchUpInside)
pinView.leftCalloutAccessoryView = button
pinView.image = #imageLiteral(resourceName: "star").resizeImageWith(newSize: CGSize(width: 20, height: 20)).tint(with: #colorLiteral(red: 0, green: 0.4784313725, blue: 1, alpha: 1))
return pinView
}
func mapView(_ mapView: MKMapView, didAdd views: [MKAnnotationView]) {
for view in views {
if let first = view.annotation, let selectedPin = self.selectedPin {
if first.coordinate.latitude == selectedPin.coordinate.latitude && first.coordinate.longitude == selectedPin.coordinate.longitude {
mapView.selectAnnotation(first, animated: false)
break
}
}
}
}
func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
for (i,route) in currentRoutes.enumerated() {
let myLineRenderer = MKPolylineRenderer(polyline: route.polyline)
if i == 0 {
myLineRenderer.strokeColor = #colorLiteral(red: 0.3411764801, green: 0.6235294342, blue: 0.1686274558, alpha: 1).withAlphaComponent(0.7) as UIColor
} else {
myLineRenderer.strokeColor = #colorLiteral(red: 0.6000000238, green: 0.6000000238, blue: 0.6000000238, alpha: 1).withAlphaComponent(0.3) as UIColor
}
myLineRenderer.lineWidth = 5
return myLineRenderer
}
return MKPolylineRenderer()
}
// func mapView(_ mapView: MKMapView, didUpdate userLocation: MKUserLocation) {
// let span = MKCoordinateSpanMake(0.01, 0.01)
// let region = MKCoordinateRegion(center: mapView.userLocation.coordinate, span: span)
// mapView.setRegion(region, animated: true)
// }
}
| 37.509653 | 194 | 0.611323 |
5fc42a66098b1f3e4684690edc1b25a816fee347 | 1,091 | css | CSS | src/components/Subscribe/Subscribe.css | secretkto/homepage-next | 7e1202b3f7828ad213271e5a79ef6f86ca0fbdea | [
"MIT"
] | null | null | null | src/components/Subscribe/Subscribe.css | secretkto/homepage-next | 7e1202b3f7828ad213271e5a79ef6f86ca0fbdea | [
"MIT"
] | null | null | null | src/components/Subscribe/Subscribe.css | secretkto/homepage-next | 7e1202b3f7828ad213271e5a79ef6f86ca0fbdea | [
"MIT"
] | 2 | 2019-06-06T06:50:53.000Z | 2019-06-25T20:08:47.000Z | @import '../../styles/variables.css';
.subscribe {
padding: 60px 0;
display: flex;
flex-flow: row nowrap;
@media (--mobile-viewport) {
flex-flow: column nowrap;
}
@media (--tablet-viewport) {
display: flex;
justify-content: space-between;
padding: 80px 0;
}
@media (--tablet-landscape-viewport) {
padding: 120px 0;
}
&__title {
margin: 24px 0;
font-size: var(--font-size-title);
line-height: var(--line-height-title);
font-weight: 500;
@media (--tablet-viewport) {
width: calc(50% - var(--padding-side-columns) / 2);
}
}
&__form {
@media (--mobile-viewport) {
flex: 0 0 auto;
}
@media (--tablet-viewport) {
flex: 0 0 300px;
}
@media (--tablet-landscape-viewport) {
flex: 0 0 400px;
}
@media (--laptop-viewport) {
flex: 0 0 490px;
}
@media (--desktop-viewport) {
flex: 0 0 600px;
}
& .form__footer {
margin-top: 20px;
@media (--mobile-viewport) {
& .button {
width: 100%;
}
}
}
}
}
| 17.046875 | 57 | 0.530706 |
d1b381a8857642ed6dc2ca2e90c4d2aae4fab306 | 44 | sql | SQL | config/sql-migrations/20190618210801-set-default-isdryrun-on-accountancy-exports.sql | rollvolet/app-crm | 8c6e50a2c6705fda85b1f5c6ca0acca8227b9ab5 | [
"MIT"
] | null | null | null | config/sql-migrations/20190618210801-set-default-isdryrun-on-accountancy-exports.sql | rollvolet/app-crm | 8c6e50a2c6705fda85b1f5c6ca0acca8227b9ab5 | [
"MIT"
] | null | null | null | config/sql-migrations/20190618210801-set-default-isdryrun-on-accountancy-exports.sql | rollvolet/app-crm | 8c6e50a2c6705fda85b1f5c6ca0acca8227b9ab5 | [
"MIT"
] | null | null | null | UPDATE [dbo].[TblBoeking]
SET IsDryRun = 0;
| 14.666667 | 25 | 0.704545 |
a1b96d437c9b3d62871eddb55a51e6867413b4ce | 1,276 | c | C | feladatok_megoldas/Pelda_zhk/kicsi_5.c | pekmil/CTutorial | e5d8e1b2d7cbab98669757219dfa212267d5f14a | [
"MIT"
] | null | null | null | feladatok_megoldas/Pelda_zhk/kicsi_5.c | pekmil/CTutorial | e5d8e1b2d7cbab98669757219dfa212267d5f14a | [
"MIT"
] | null | null | null | feladatok_megoldas/Pelda_zhk/kicsi_5.c | pekmil/CTutorial | e5d8e1b2d7cbab98669757219dfa212267d5f14a | [
"MIT"
] | null | null | null | /********************************************************************************************************
* 5. Kis zárthelyi példa *
* Kérjen be egy egész számot, és hozzon létre dinamikusan egy ekkora méretű, egészeket tároló tömböt. *
* Olvassa be a tömb elemeit. *
* Kérjen be egy egész számot. *
* Számolja meg, és közölje, hogy a szám hányszor szerepel a tömbben. *
********************************************************************************************************/
#include <stdio.h>
#include <stdlib.h>
int main()
{
int meret;
printf("Kerem a tomb meretet:\n");
scanf("%d", &meret);
int *tomb=(int*)malloc(meret*sizeof(int));
printf("Kerem a tomb elemeit:\n");
int i=0;
for (i=0; i<meret; i++)
{
scanf("%d", &tomb[i]);
}
int keresett;
printf("Kerem a keresett szamot:\n");
scanf("%d", &keresett);
int szamol=0;
for (i=0; i<meret; i++)
{
if (tomb[i]==keresett)
{
szamol++;
}
}
printf("A szam a tombben %d-szer szerepel.\n", szamol);
free(tomb);
return 0;
}
| 29 | 105 | 0.394984 |
ddc05a1b214263aac274933403e717a9c4fcc458 | 1,093 | sql | SQL | ShortURL.sql | PurpleMonkeyStudio/ShortURL | 2b6f86408fc0b2c173e622f345e12d607a898fd3 | [
"MIT"
] | 3 | 2019-01-02T23:33:12.000Z | 2020-06-14T01:31:51.000Z | ShortURL.sql | PinkTie/ShortURL | 2b6f86408fc0b2c173e622f345e12d607a898fd3 | [
"MIT"
] | null | null | null | ShortURL.sql | PinkTie/ShortURL | 2b6f86408fc0b2c173e622f345e12d607a898fd3 | [
"MIT"
] | 1 | 2015-08-06T03:01:02.000Z | 2015-08-06T03:01:02.000Z |
--
-- Table structure for table `linqs`
--
-- id int(11) - primary key
-- oid int(11) - owner id
-- url text - original url
-- linq varchar(6) - shortened url
-- pmstamp timestamp - record timestamp
DROP TABLE IF EXISTS `linqs`;
CREATE TABLE IF NOT EXISTS `linqs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`oid` int(11) NOT NULL,
`url` text NOT NULL,
`linq` varchar(6) NOT NULL,
`pmstamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `linq` (`linq`),
KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
--
-- Table structure for table `tracking`
--
-- id int(11) - primary key
-- ip varchar(20) - ip address
-- agent text - browser agent
-- linq text - shortened url
-- pmstamp timestamp - record timestamp
DROP TABLE IF EXISTS `tracking`;
CREATE TABLE IF NOT EXISTS `tracking` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`ip` varchar(20) DEFAULT NULL,
`agent` text,
`linq` text,
`pmstamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
| 26.658537 | 57 | 0.689844 |
bde0bbfaa7a1e02b7063c0afd602dc2b68d78113 | 13,333 | swift | Swift | BigFileMultiUploads/Classes/UUPItem.swift | amorYin/BigFileMultiUploads-swift | b1bae498292042b2a124c79caf0a4aa30ebd1ac9 | [
"MIT"
] | null | null | null | BigFileMultiUploads/Classes/UUPItem.swift | amorYin/BigFileMultiUploads-swift | b1bae498292042b2a124c79caf0a4aa30ebd1ac9 | [
"MIT"
] | null | null | null | BigFileMultiUploads/Classes/UUPItem.swift | amorYin/BigFileMultiUploads-swift | b1bae498292042b2a124c79caf0a4aa30ebd1ac9 | [
"MIT"
] | null | null | null | //
// UUPItem.swift
// BigFileMultiUploads
//
// Created by 殷昭 on 2020/7/9.
//
import UIKit
import Photos
public class UUPItem: Operation {
private var isAppSelfPause:Bool = false
private var isAppSelfResume:Bool = false
private var mmError:UUPItemErrorType = .NONE
private var lowTimes:Int = 0
private(set) var sendTimes:Int = 0
internal var mSliced:UUPSliced?
private(set) var mConfig:UUPConfig?
private(set) var mReceiver:UUPReceiver?
private(set) var mDelegate:UUPItfProxyy?
private(set) var mCurrentItem:UUPSlicedItem?
private(set) var mFileName:String?
private(set) var mSession:URLSession?
internal var mTask:URLSessionTask?
private var mSpeedTimer:Timer?
internal var mPProgress:Double = 0
internal var mLastProgress:Int64 = 0
private(set) var isMFinish:Bool = false
private(set) var isMCancelled:Bool = false
private(set) var isMPaused:Bool = false
private(set) var isMExcuting:Bool = false
private(set) var isMPreReady:Bool = false
internal var isMReady:Bool = false
internal var mMaxLives:Int = 5
internal var mCurrentLives:Int = 0
internal var mRequestList:[UUPConnUpload]
internal let kBoundary:String = "----WebKitFormBoundaryXGAyMbuVkeaFc916"
private override init() {
mRequestList = [UUPConnUpload]()
super.init()
}
func start(with delegate:UUPItfProxyy) -> Void{
defer {
if mSpeedStr == nil{
mSpeedTimer = Timer.init(timeInterval: 1, target: self, selector: #selector(calculatProsess(_:)), userInfo: self, repeats: true)
RunLoop.main.add(mSpeedTimer!, forMode: .defaultRunLoopMode)
}
}
if !isReady {
mConfig = delegate.onConfigure()
mDelegate = delegate
if #available(iOS 9, *) {
configure()
} else {
// Fallback on earlier versions
stop()
}
}
}
@objc public func pause() -> Void {
willChangeValue(forKey: "isExecuting")
defer { didChangeValue(forKey: "isExecuting") }
isMPaused = true
syncProsess(.RUN_PAUSE)
}
@objc public func resume() -> Void {
willChangeValue(forKey: "isExecuting")
willChangeValue(forKey: "isCancelled")
defer {
didChangeValue(forKey: "isCancelled")
didChangeValue(forKey: "isExecuting")
}
isMPaused = false
isMCancelled = false
}
func finsih() -> Void {
willChangeValue(forKey: "isFinished")
defer { didChangeValue(forKey: "isFinished") }
isMFinish = true
isUploadFinish = true
UUPHeader.log("UUPItem_finsih")
syncProsess(.RUN_FINISH)
UUPUtil.removeContentFile(mFilePath)
mSpeedTimer?.invalidate()
mSpeedTimer = nil
}
func stop() -> Void {
willChangeValue(forKey: "isFinished")
willChangeValue(forKey: "isCancelled")
defer {
didChangeValue(forKey: "isCancelled")
didChangeValue(forKey: "isFinished")
}
isMCancelled = true
isMFinish = true
syncProsess(.RUN_CANCEL)
mSpeedTimer?.invalidate()
mSpeedTimer = nil
}
public override func start() -> Void {
if !isAppSelfPause && !isFinished && !isMPaused {
UUPHeader.log("UUPItem_start")
willChangeValue(forKey: "isExecuting")
willChangeValue(forKey: "isCancelled")
defer {
didChangeValue(forKey: "isCancelled")
didChangeValue(forKey: "isExecuting")
}
isMPaused = false
isMCancelled = false
for s in mRequestList{
if s.isMFinish {
guard let model_index = mRequestList.index(of: s) else { continue }
mRequestList.remove(at: model_index)
}
}
guard let item = mSliced?.nextSlicedItem() else{
guard mRemoteUri != nil else { return }
if(mRequestList.count < 1) {
finsih();
}
return
}
mCurrentItem = item
while mCurrentLives < mMaxLives{
guard let item = mSliced?.nextSlicedItem() else{
return
}
item.isSuspend = true
let s = UUPConnUpload(a: self,i:item)
mRequestList.append(s)
s.startupload()
mCurrentLives += 1;
}
}
}
public override func cancel() {
willChangeValue(forKey: "isFinished")
willChangeValue(forKey: "isCancelled")
defer {
didChangeValue(forKey: "isCancelled")
didChangeValue(forKey: "isFinished")
}
isMCancelled = true
isMFinish = true
mSpeedTimer?.invalidate()
mSpeedTimer = nil
}
@objc public override var isCancelled: Bool {
get {
return isMCancelled
}
}
@objc public override var isFinished: Bool {
get {
return isMFinish
}
}
@objc public override var isExecuting: Bool {
get {
return isMExcuting
}
}
@objc public override var isReady: Bool {
get {
if isMPreReady {
return isMReady
}
return isMPreReady
}
}
/** 文件URL **/
@objc public var mContentUri:URL?
/** 文件名称 **/
@objc public internal(set) var mDisplayName:String?
/**文件的绝对路径 **/
@objc public internal(set) var mFilePath:String?
/** 上传文件的路径 **/
@objc public internal(set) var mRemoteUri:String?
/** 文件缩略图 **/
@objc public internal(set) var mThumbnailsPath:String?
/** 文件mime-type **/
@objc public internal(set) var mMimetype:String?
/** 上传速度格式化字符串 **/
@objc public internal(set) var mSpeedStr:String?
/** 文件大小格式化字符串 **/
@objc public internal(set) var mSizeStr:String?
/** 文件大小,单位字节 **/
@objc public internal(set) var mSize:UInt64 = 0
/** 文件时长,单位秒 **/
@objc public internal(set) var mDuration:UInt = 0
/** 文件上传进度 0~1.0 **/
@objc public internal(set) var mProgress:Double = 0
/** 当前一秒内上传大小,单位字节 **/
@objc public internal(set) var mSpeed:Double = 0
/** 文件约定类型 **/
@objc public internal(set) var mType:UUPItemType = .IMAGE
/** 错误 **/
@objc public internal(set) var mError:UUPItemErrorType {
set{
mmError = newValue
syncProsess(.RUN_ERROR)
}
get{
return mmError
}
}
/** 上传成功 **/
public internal(set) var isUploadFinish:Bool?
@objc public convenience init(url u:URL, type t:UUPItemType) {
self.init()
mContentUri = u
mType = t
}
deinit {
mSliced = nil
mRequestList.removeAll()
UUPHeader.log("UUPItem_deinit")
if mTask != nil {
mTask?.cancel()
}
}
}
extension UUPItem {
var isAppPause:Bool {
get{
return isAppSelfPause
}
set{
isAppSelfPause = newValue
if(!newValue){ start() }
}
}
var isAppResume:Bool{
get{
return isAppSelfResume
}
set{
isAppSelfResume = newValue
}
}
@objc func calculatProsess(_ timer:Timer) -> Void{
guard let weakSelf = timer.userInfo as? UUPItem else{
timer.invalidate()
return
}
if !isMPaused && !isAppPause {
if weakSelf.mProgress == 0.0{
weakSelf.mSpeedStr = "初始化中"
weakSelf.lowTimes = 0
}else if weakSelf.mProgress >= 0.9999999 {
weakSelf.mSpeedStr = "合成中"
weakSelf.lowTimes = 0
}else{
sendTimes += 1
let tem = Double(weakSelf.mReceiver!.mTotalBytesSent - weakSelf.mLastProgress) / Double(sendTimes)
weakSelf.mSpeed = tem
weakSelf.mSpeedStr = UUPUtil.calculateSpeed(weakSelf.mSpeed)
if weakSelf.lowTimes >= 10 {
weakSelf.mSpeedStr = "网速缓慢 \(weakSelf.mSpeedStr ?? "")"
if weakSelf.lowTimes % 10 == 0 {
weakSelf.mError = .LOW_NET
}
}
}
if weakSelf.mSpeed < 10 {
weakSelf.lowTimes += 1
}else{
weakSelf.lowTimes = 0
}
}else{
sendTimes = 0
weakSelf.mLastProgress = weakSelf.mReceiver!.mTotalBytesSent
weakSelf.mSpeedStr = "网络缓慢 0B/s"
}
weakSelf.syncProsess(.RUN_PROSESS)
}
func syncProsess(_ type:UUPItemRunType) -> Void {
guard let delegate = mDelegate else { return }
switch type {
case .RUN_START:
delegate.onUPStart(item: self)
break
case .RUN_PROSESS:
delegate.onUPProgress(item: self)
break
case .RUN_CANCEL:
delegate.onUPCancel(item: self)
break
case .RUN_PAUSE:
delegate.onUPPause(item: self)
break
case .RUN_FINISH:
delegate.onUPFinish(item: self)
break
case .RUN_ERROR:
delegate.onUPError(item: self)
break
default:
break
}
}
}
extension UUPItem {
@available(iOS 9, *)
func configure() -> Void {
guard let uri = mContentUri else{
stop()
return
}
//判断文件是否存在
if !uri.isFileURL {
let fetch = PHAsset .fetchAssets(withALAssetURLs: [uri], options: nil)
guard let asset = fetch.firstObject else {
mError = .BAD_IO
stop()
return
}
mDisplayName = (asset.value(forKey: "filename") as? String) ?? uri.lastPathComponent
let name = UUPUtil.getRandomName(mDisplayName)
let temppath = UUPUtil.getContentPath(.TEMPED_LIST, name: nil)
_ = UUPUtil.createFile(temppath)
let toURL = URL.init(fileURLWithPath: "\(temppath)/\(name).\(uri.pathExtension)")
if FileManager.default.fileExists(atPath: toURL.path) {
self.configAfter(toURL)
}else{
guard let resource = PHAssetResource.assetResources(for: asset).first else{
mError = .BAD_IO
stop()
return
}
PHAssetResourceManager.default().writeData(for: resource, toFile: toURL, options: nil) {[weak self] (error) in
guard error != nil else{
self?.configAfter(toURL)
return
}
self?.mError = .BAD_IO
self?.stop()
return
}
}
}else {
configAfter(mContentUri!)
}
}
func configAfter(_ rpath:URL,_ vedio:AVAsset? = nil) -> Void {
willChangeValue(forKey: "isMPreReady")
defer { didChangeValue(forKey: "isMPreReady") }
guard let fileAttri = try? FileManager.default.attributesOfItem(atPath: rpath.path) else {
mError = .BAD_IO
stop()
return
}
mFilePath = rpath.path
mThumbnailsPath = rpath.path
mDisplayName = mDisplayName ?? mContentUri?.lastPathComponent
mFileName = UUPUtil.getRandomName(mDisplayName)
mMimetype = UUPUtil.getMimetype(rpath.pathExtension)
mSize = fileAttri[.size] as! UInt64
mSizeStr = UUPUtil.calculateSize(mSize)
if vedio != nil {
mDuration = UInt(lround(Double(vedio!.duration.value / Int64(vedio!.duration.timescale))))
}
isMPreReady = true
syncProsess(.RUN_START)
check()
}
func check() -> Void {
guard mSize <= mConfig!.maxSize else{
mError = .OVER_MAXSIZE
stop()
return
}
guard mDuration <= mConfig!.maxDuration else{
mError = .OVER_MAXDURATION
stop()
return
}
guard mError == .NONE else {
mError = .OVER_MAXDURATION
stop()
return
}
if mSession == nil {
if mReceiver == nil { mReceiver = UUPReceiver.init(self) }
let config = URLSessionConfiguration.default
config.httpMaximumConnectionsPerHost = 5
mSession = URLSession.init(configuration: config, delegate: mReceiver, delegateQueue: nil)
}
guard mSliced != nil else {
initupload()
return
}
resume()
}
}
| 30.165158 | 144 | 0.529213 |
0bc3ea39ba0fc94f202b8d7ae044d4291abe51d4 | 484 | js | JavaScript | src/assets/behaviors/VelocityBasedRotation.js | doughtnerd/TranquilityEngine | 0936426fb6cd7e3fd1baf601e0c70c8646681e55 | [
"MIT"
] | null | null | null | src/assets/behaviors/VelocityBasedRotation.js | doughtnerd/TranquilityEngine | 0936426fb6cd7e3fd1baf601e0c70c8646681e55 | [
"MIT"
] | 8 | 2021-01-28T22:59:59.000Z | 2022-02-27T03:51:56.000Z | src/assets/behaviors/VelocityBasedRotation.js | doughtnerd/TranquilityEngine | 0936426fb6cd7e3fd1baf601e0c70c8646681e55 | [
"MIT"
] | null | null | null | import GameBehavior from "../../engine/GameBehavior";
import RigidBody from "../../engine/RigidBody";
export default class VelocityBasedRotation extends GameBehavior {
rigidBody = null;
awake() {
console.log("AWAKE")
this.rigidBody = this.gameObject.getBehavior(RigidBody);
}
update() {
if (this.rigidBody.velocity.y < 0) {
this.transform.rotation.z = -15;
} else if (this.rigidBody.velocity.y > 0) {
this.transform.rotation.z = 15;
}
}
}
| 24.2 | 65 | 0.661157 |
1403995cddc9ef12f2be8e2a6e381351cb7d4cfb | 77 | css | CSS | dmarc_reporting/static/dmarc_reporting/css/application.min.css | virtualtam/django-dmarc-reporting | e56aac02206924cd7f73c68b06fe088c7628381d | [
"BSD-3-Clause"
] | 4 | 2018-01-28T23:56:32.000Z | 2020-06-22T02:10:36.000Z | dmarc_reporting/static/dmarc_reporting/css/application.min.css | virtualtam/django-dmarc-reporting | e56aac02206924cd7f73c68b06fe088c7628381d | [
"BSD-3-Clause"
] | 13 | 2018-01-22T18:02:26.000Z | 2020-01-19T14:59:56.000Z | dmarc_reporting/static/dmarc_reporting/css/application.css | virtualtam/django-dmarc-reporting | e56aac02206924cd7f73c68b06fe088c7628381d | [
"BSD-3-Clause"
] | 3 | 2018-02-06T00:08:51.000Z | 2020-06-30T23:18:55.000Z | .navbar{border-bottom:#008ed6 3px solid;opacity:.8}#content{margin-top:100px} | 77 | 77 | 0.792208 |
cf6b21ea86f9bf00c0aba7eee5df3728a9d32811 | 303 | css | CSS | public/css/pages/forgot.css | asishantony/grace | c45777527304b45e9b6dc33cabf22bb38a1ce994 | [
"MIT"
] | 1 | 2021-06-03T16:41:32.000Z | 2021-06-03T16:41:32.000Z | public/css/pages/forgot.css | asishantony/grace | c45777527304b45e9b6dc33cabf22bb38a1ce994 | [
"MIT"
] | null | null | null | public/css/pages/forgot.css | asishantony/grace | c45777527304b45e9b6dc33cabf22bb38a1ce994 | [
"MIT"
] | null | null | null | .forgot-bg{background-image:url(/images/flat-bg.jpg?1c4729fca1f3648c73442f7d1271ae69);background-repeat:no-repeat;background-size:cover}#forgot-password{display:flex;justify-content:center;align-items:center;height:100vh}#forgot-password .card-panel.border-radius-6.forgot-card{margin-left:0!important}
| 151.5 | 302 | 0.838284 |
c37e16563174caae71d495a1bd7502a0d051726c | 3,674 | go | Go | pkg/util/kms.go | jeniawhite/noobaa-operator | dd1a91ac49209fc49777bb7367d257449ede16b7 | [
"Apache-2.0"
] | null | null | null | pkg/util/kms.go | jeniawhite/noobaa-operator | dd1a91ac49209fc49777bb7367d257449ede16b7 | [
"Apache-2.0"
] | null | null | null | pkg/util/kms.go | jeniawhite/noobaa-operator | dd1a91ac49209fc49777bb7367d257449ede16b7 | [
"Apache-2.0"
] | null | null | null | package util
import (
"fmt"
"strings"
"time"
"github.com/libopenstorage/secrets"
"github.com/libopenstorage/secrets/k8s"
"github.com/libopenstorage/secrets/vault"
nbv1 "github.com/noobaa/noobaa-operator/v5/pkg/apis/noobaa/v1alpha1"
conditionsv1 "github.com/openshift/custom-resource-status/conditions/v1"
corev1 "k8s.io/api/core/v1"
)
///////////////////////////////////
/////////// KMS ///////////
///////////////////////////////////
const (
KmsProvider = "KMS_PROVIDER"
)
// KMSSecret represents a single secret
// k8s and vault secrets are implemented, more types could be added
type KMSSecret interface {
// Get secret value from KMS
Get() (string, error)
// Set secret value in KMS
Set(value string) error
// Delete secret value from KMS
Delete() error
}
// KMSDriver is a type sepcific driver for libopenstorage/secrets framework
type KMSDriver interface {
Path() string
Name() string
Config(connectionDetails map[string]string, tokenSecretName, namespace string) (map[string]interface{}, error)
GetContext() map[string]string
SetContext() map[string]string
DeleteContext() map[string]string
}
// KMS implements KMSSecret interface
type KMS struct {
secrets.Secrets // secrets interface
Type string // system type, k8s & vault are supported
driver KMSDriver // type specific driver
}
// NewKMS creates a new secret KMS client
// or returns error otherwise
func NewKMS(connectionDetails map[string]string, tokenSecretName, name, namespace, uid string) (*KMS, error) {
t := kmsType(connectionDetails)
var driver KMSDriver
switch t {
case k8s.Name:
driver = &KMSK8S{name, namespace}
case vault.Name:
driver = &KMSVault{uid}
default:
return nil, fmt.Errorf("Unsupported KMS type %v", t)
}
c, err := driver.Config(connectionDetails, tokenSecretName, namespace)
if err != nil {
return nil, err
}
s, err := secrets.New(t, c)
if err != nil {
return nil, err
}
return &KMS{s, t, driver}, nil
}
// Get secret value from KMS
func (k *KMS) Get() (string, error) {
s, err := k.GetSecret(k.driver.Path(), k.driver.GetContext())
if err != nil {
// handle k8s get from non-existent secret
if strings.Contains(err.Error(), "not found") {
return "", secrets.ErrInvalidSecretId
}
return "", err
}
return s[k.driver.Name()].(string), nil
}
// Set secret value in KMS
func (k *KMS) Set(v string) error {
data := map[string]interface{} {
k.driver.Name(): v,
}
return k.PutSecret(k.driver.Path(), data, k.driver.SetContext())
}
// Delete secret value from KMS
func (k *KMS) Delete() error {
return k.DeleteSecret(k.driver.Path(), k.driver.DeleteContext())
}
// kmsType returns the secret backend type
func kmsType(connectionDetails map[string]string) string {
if len(connectionDetails) > 0 {
if provider, ok := connectionDetails[KmsProvider]; ok {
return provider
}
}
// by default use Kubernes secrets
return secrets.TypeK8s
}
//
// Test shared utilities
//
// NooBaaCondStatus waits for requested NooBaa CR KSM condition status
// returns false if timeout
func NooBaaCondStatus(noobaa* nbv1.NooBaa, s corev1.ConditionStatus) bool {
return NooBaaCondition(noobaa, nbv1.ConditionTypeKMSStatus, s)
}
// NooBaaCondition waits for requested NooBaa CR KSM condition type & status
// returns false if timeout
func NooBaaCondition(noobaa* nbv1.NooBaa, t conditionsv1.ConditionType, s corev1.ConditionStatus) bool {
found := false
timeout := 120 // seconds
for i := 0; i < timeout; i++ {
_, _, err := KubeGet(noobaa)
Panic(err)
if noobaaStatus(noobaa, t, s) {
found = true
break
}
time.Sleep(time.Second)
}
return found
}
| 24.331126 | 112 | 0.691345 |
71501a39b2495e2b2d12211d861ad5910dee3c33 | 883 | tsx | TypeScript | src/components/global/logo/Clock3/separator.tsx | chinanala/Search-Next | f12c40995efba9735de475c93c1235446f73caaf | [
"MIT"
] | 3 | 2021-03-03T16:56:26.000Z | 2021-06-05T01:56:23.000Z | src/components/global/logo/Clock3/separator.tsx | chinanala/Search-Next | f12c40995efba9735de475c93c1235446f73caaf | [
"MIT"
] | null | null | null | src/components/global/logo/Clock3/separator.tsx | chinanala/Search-Next | f12c40995efba9735de475c93c1235446f73caaf | [
"MIT"
] | 3 | 2021-03-24T02:47:02.000Z | 2021-05-18T01:38:08.000Z | /*
* @Author: Vir
* @Date: 2021-06-03 13:32:19
* @Last Modified by: Vir
* @Last Modified time: 2021-10-26 13:40:45
*/
import React from 'react';
import classNames from 'classnames';
export interface SeparatorProps {
number: number;
}
const Separator: React.FC<SeparatorProps> = ({ number = 0 }) => {
const [refresh, setRefresh] = React.useState<boolean>(true);
React.useEffect(() => {
setRefresh(!refresh);
}, [number]);
return (
<div className="flex justify-around flex-col">
<i
className={classNames(
'w-2.5 h-2.5 rounded-sm transition-all',
refresh ? 'bg-var-main-10' : 'bg-var-main-1',
)}
/>
<i
className={classNames(
'w-2.5 h-2.5 rounded-sm transition-all',
refresh ? 'bg-var-main-10' : 'bg-var-main-1',
)}
/>
</div>
);
};
export default Separator;
| 22.641026 | 65 | 0.576444 |
73c50a4abbe633b300eaadfbb0176cb4d4c46a6b | 3,063 | kt | Kotlin | buildSrc/src/main/java/buildsrc/dependencies.kt | mash-up-kr/Legacy-HellTaBus_Android | 52372e60228fa5cb444baa00c7dce63ebc0e7d84 | [
"MIT"
] | 1 | 2021-12-22T08:43:10.000Z | 2021-12-22T08:43:10.000Z | buildSrc/src/main/java/buildsrc/dependencies.kt | mash-up-kr/Legacy-HellTaBus_Android | 52372e60228fa5cb444baa00c7dce63ebc0e7d84 | [
"MIT"
] | null | null | null | buildSrc/src/main/java/buildsrc/dependencies.kt | mash-up-kr/Legacy-HellTaBus_Android | 52372e60228fa5cb444baa00c7dce63ebc0e7d84 | [
"MIT"
] | null | null | null | package buildsrc
object Versions {
object App {
const val major = 0
const val feature = 0
const val regular = 0
const val minor = 1
}
}
object Libs {
const val androidGradlePlugin = "com.android.tools.build:gradle:7.0.2"
const val junit = "junit:junit:4.13"
const val material = "com.google.android.material:material:1.4.0"
object Kotlin {
private const val version = "1.5.30"
const val stdlib = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$version"
const val gradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$version"
}
object Hilt {
private const val version = "2.38.1"
const val gradlePlugin = "com.google.dagger:hilt-android-gradle-plugin:$version"
const val hilt = "com.google.dagger:hilt-android:$version"
const val androidCompiler = "com.google.dagger:hilt-android-compiler:$version"
const val viewModel = "androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha03"
const val hiltCompiler = "androidx.hilt:hilt-compiler:1.0.0"
}
object Glide {
private const val version = "4.11.0"
const val glide = "com.github.bumptech.glide:glide:$version"
const val compiler = "com.github.bumptech.glide:compiler:$version"
const val integration = "com.github.bumptech.glide:okhttp3-integration:4.9.0"
const val transformation = "jp.wasabeef:glide-transformations:4.0.0"
}
object Network {
object Retrofit {
private const val version = "2.9.0"
const val retrofit = "com.squareup.retrofit2:retrofit:$version"
const val gsonConverter = "com.squareup.retrofit2:converter-gson:$version"
}
object OkHttp {
const val bom = "com.squareup.okhttp3:okhttp-bom:4.9.0"
const val okhttp = "com.squareup.okhttp3:okhttp"
const val logging = "com.squareup.okhttp3:logging-interceptor"
}
}
object AndroidX {
const val appcompat = "androidx.appcompat:appcompat:1.3.1"
const val constraintLayout = "androidx.constraintlayout:constraintlayout:2.1.0"
const val recyclerView = "androidx.recyclerview:recyclerview:1.2.1"
const val coreKtx = "androidx.core:core-ktx:1.6.0"
const val collectionKtx = "androidx.collection:collection-ktx:1.1.0"
const val fragmentKtx = "androidx.fragment:fragment-ktx:1.3.6"
object Test {
const val junit = "androidx.test.ext:junit:1.1.3"
const val espressoCore = "androidx.test.espresso:espresso-core:3.4.0"
}
object Lifecycle {
private const val version = "2.3.1"
const val viewModel = "androidx.lifecycle:lifecycle-viewmodel-ktx:$version"
const val liveData = "androidx.lifecycle:lifecycle-livedata-ktx:$version"
const val reactiveStream = "androidx.lifecycle:lifecycle-reactivestreams-ktx:$version"
const val common = "androidx.lifecycle:lifecycle-common-java8:$version"
}
}
} | 39.779221 | 98 | 0.650343 |
b642c5258774bb60744cd68ac823e31cc5e679e9 | 11,683 | rb | Ruby | lib/archetype/functions/css/constants.rb | ima007/archetype | df7109fc33051b87c8e2f241708756838d1bb946 | [
"Apache-2.0"
] | 17 | 2015-02-08T02:28:53.000Z | 2020-07-31T12:34:16.000Z | lib/archetype/functions/css/constants.rb | ima007/archetype | df7109fc33051b87c8e2f241708756838d1bb946 | [
"Apache-2.0"
] | 4 | 2015-01-16T20:36:42.000Z | 2015-02-18T00:45:24.000Z | lib/archetype/functions/css/constants.rb | ima007/archetype | df7109fc33051b87c8e2f241708756838d1bb946 | [
"Apache-2.0"
] | 8 | 2015-02-10T00:15:32.000Z | 2019-11-24T17:14:51.000Z | module Archetype::Functions::CSS
CSS_PRIMITIVES = {
# common
:inherit => Sass::Script::Value::String.new('inherit'),
:none => Sass::Script::Value::String.new('none'),
:auto => Sass::Script::Value::String.new('auto'),
:left => Sass::Script::Value::String.new('left'),
:top => Sass::Script::Value::String.new('top'),
:normal => Sass::Script::Value::String.new('normal'),
:repeat => Sass::Script::Value::String.new('repeat'),
:visible => Sass::Script::Value::String.new('visible'),
:scroll => Sass::Script::Value::String.new('scroll'),
:border_box => Sass::Script::Value::String.new('border-box'),
:padding_box => Sass::Script::Value::String.new('padding-box'),
:solid => Sass::Script::Value::String.new('solid'),
:static => Sass::Script::Value::String.new('static'),
:ease => Sass::Script::Value::String.new('ease'),
:running => Sass::Script::Value::String.new('running'),
:separate => Sass::Script::Value::String.new('separate'),
:stretch => Sass::Script::Value::String.new('stretch'),
:single => Sass::Script::Value::String.new('single'),
:inline_axis => Sass::Script::Value::String.new('inline-axis'),
:start => Sass::Script::Value::String.new('start'),
:content_box => Sass::Script::Value::String.new('content-box'),
:balance => Sass::Script::Value::String.new('balance'),
:medium => Sass::Script::Value::String.new('medium'),
:ltr => Sass::Script::Value::String.new('ltr'),
:inline => Sass::Script::Value::String.new('inline'),
:show => Sass::Script::Value::String.new('show'),
:outside => Sass::Script::Value::String.new('outside'),
:disc => Sass::Script::Value::String.new('disc'),
:invert => Sass::Script::Value::String.new('invert'),
:current => Sass::Script::Value::String.new('current'),
:window => Sass::Script::Value::String.new('window'),
:above => Sass::Script::Value::String.new('above'),
:flat => Sass::Script::Value::String.new('flat'),
:all => Sass::Script::Value::String.new('all'),
:baseline => Sass::Script::Value::String.new('baseline'),
# numbers
:zero => Sass::Script::Value::Number.new(0),
:one => Sass::Script::Value::Number.new(1),
:p100 => Sass::Script::Value::Number.new(100, ['%']),
:p100 => Sass::Script::Value::Number.new(50, ['%']),
# colors
:transparent => Sass::Script::Value::Color.new([0, 0, 0, 0]),
:black => Sass::Script::Value::Color.new([0, 0, 0]),
}
# a list of all CSS properties
ALL_CSS_PROPERTIES = {
'animation' => [:none, :zero, :ease, :zero, :one, :normal],
'animation-delay' => :zero,
'animation-direction' => :normal,
'animation-duration' => :zero,
'animation-fill-mode' => :none,
'animation-iteration-count' => :one,
'animation-name' => :none,
'animation-play-state' => :running,
'animation-timing-function' => :ease,
'appearance' => :normal,
'backface-visibility' => :visible,
'background' => :none,
'background-attachment' => :scroll,
'background-clip' => :border_box,
'background-color' => :transparent,
'background-image' => :none,
'background-origin' => :padding_box,
'background-position' => [:left, :top],
'background-repeat' => :repeat,
'background-size' => :auto,
'border' => :none,
'border-bottom' => :none,
'border-bottom-color' => :transparent,
'border-bottom-left-radius' => :zero,
'border-bottom-right-radius' => :zero,
'border-bottom-style' => :solid,
'border-bottom-width' => :zero,
'border-collapse' => :separate,
'border-color' => :transparent,
'border-image' => [:none, :p100, :one1, :zero, :stretch],
'border-image-outset' => :zero,
'border-image-repeat' => :stretch,
'border-image-slice' => :p100,
'border-image-source' => :none,
'border-image-width' => :zero,
'border-left' => :none,
'border-left-color' => :transparent,
'border-left-style' => :solid,
'border-left-width' => :zero,
'border-radius' => :zero,
'border-right' => :none,
'border-right-color' => :transparent,
'border-right-style' => :solid,
'border-right-width' => :zero,
'border-spacing' => :inherit,
'border-style' => :solid,
'border-top' => :none,
'border-top-color' => :transparent,
'border-top-left-radius' => :zero,
'border-top-right-radius' => :zero,
'border-top-style' => :solid,
'border-top-width' => :zero,
'border-width' => :zero,
'bottom' => :auto,
'box-align' => :stretch,
'box-direction' => :normal,
'box-flex' => :zero,
'box-flex-group' => :one,
'box-lines' => :single,
'box-ordinal-group' => :one,
'box-orient' => :inline_axis,
'box-pack' => :start,
'box-shadow' => :none,
'box-sizing' => :content_box,
'caption-side' => :top,
'clear' => :none,
'clip' => :auto,
'color' => :inherit,
'column-count' => :auto,
'column-fill' => :balance,
'column-gap' => :normal,
'column-rule' => [:medium, :none, :black],
'column-rule-color' => :black,
'column-rule-style' => :none,
'column-rule-width' => :width,
'column-span' => :one,
'column-width' => :auto,
'columns' => [:auto, :auto],
'content' => :normal,
'counter-increment' => :none,
'counter-reset' => :none,
'cursor' => :auto,
'direction' => :ltr,
'display' => :inline,
'empty-cells' => :show,
'float' => :none,
'font' => :inherit,
'font-family' => :inherit,
'font-size' => :inherit,
'font-size-adjust' => :inherit,
'font-stretch' => :inherit,
'font-style' => :inherit,
'font-variant' => :inherit,
'font-weight' => :inherit,
'grid-columns' => :none,
'grid-rows' => :none,
'hanging-punctuation' => :none,
'height' => :auto,
'icon' => :auto,
'left' => :auto,
'letter-spacing' => :normal,
'line-height' => :normal,
'list-style' => [:disc, :outside, :none],
'list-style-image' => :none,
'list-style-position' => :outside,
'list-style-type' => :disc,
'margin' => :zero,
'margin-bottom' => :zero,
'margin-left' => :zero,
'margin-right' => :zero,
'margin-top' => :zero,
'max-height' => :none,
'max-width' => :none,
'min-height' => :none,
'min-width' => :none,
'nav-down' => :auto,
'nav-index' => :auto,
'nav-left' => :auto,
'nav-right' => :auto,
'nav-up' => :auto,
'opacity' => :one,
'outline' => [:invert, :none, :medium],
'outline-color' => :invert,
'outline-offset' => :zero,
'outline-style' => :none,
'outline-width' => :medium,
'overflow' => :visible,
'overflow-x' => :visible,
'overflow-y' => :visible,
'padding' => :zero,
'padding-bottom' => :zero,
'padding-left' => :zero,
'padding-right' => :zero,
'padding-top' => :zero,
'page-break-after' => :auto,
'page-break-before' => :auto,
'page-break-inside' => :auto,
'perspective' => :none,
'perspective-origin' => [:p50, :p50],
'position' => :static,
'punctuation-trim' => :none,
'quotes' => :inherit,
'resize' => :none,
'right' => :auto,
'rotation' => :zero,
'rotation-point' => [:p50, :p50],
'table-layout' => :auto,
'target' => [:current, :window, :above],
'target-name' => :current,
'target-new' => :window,
'target-position' => :above,
'text-align' => :left,
'text-decoration' => :none,
'text-indent' => :zero,
'text-justify' => :auto,
'text-outline' => :none,
'text-overflow' => :clip,
'text-shadow' => :none,
'text-transform' => :none,
'text-wrap' => :normal,
'top' => :auto,
'transform' => :none,
'transform-origin' => [:p50, :p50, :zero],
'transform-style' => :flat,
'transition' => [:all, :zero, :ease, :zero],
'transition-delay' => :zero,
'transition-duration' => :zero,
'transition-property' => :all,
'transition-timing-function' => :ease,
'unicode-bidi' => :normal,
'vertical-align' => :baseline,
'visibility' => :visible,
'white-space' => :normal,
'width' => :auto,
'word-break' => :normal,
'word-spacing' => :normal,
'word-wrap' => :normal,
'z-index' => :zero,
# archetype custom properties...
'ie-filter' => :none,
'border-top-radius' => :zero,
'border-right-radius' => :zero,
'border-bottom-radius' => :zero,
'border-left-radius' => :zero
}
private
R_TIMING_FUNCTION = /^(?:linear|ease|ease-in|ease-out|ease-in-out|step-start|step-stop|steps\(.*\)|cubic-bezier\(.*\)|)$/
RS_BORDER_POSITION = '(-(?:top|right|bottom|left))'
RS_BORDER_TYPE = '(-(?:color|width|style))'
R_BORDER_STD = /^border#{RS_BORDER_POSITION}?#{RS_BORDER_TYPE}?$/
R_BORDER_SHORTHANDS = /^border#{RS_BORDER_POSITION}?$/
R_BORDER_IMG_OR_RADIUS = /(image|radius)/
end | 47.299595 | 123 | 0.430968 |
6223ced11807706d0d96e4ec8efd98549b961b47 | 166 | rs | Rust | src/models/address_component.rs | tomorrow-paper/recuperator-google-maps | 5bc2a89683a7d3f742da3f2ab552958748bd8a90 | [
"WTFPL"
] | null | null | null | src/models/address_component.rs | tomorrow-paper/recuperator-google-maps | 5bc2a89683a7d3f742da3f2ab552958748bd8a90 | [
"WTFPL"
] | null | null | null | src/models/address_component.rs | tomorrow-paper/recuperator-google-maps | 5bc2a89683a7d3f742da3f2ab552958748bd8a90 | [
"WTFPL"
] | null | null | null | #[derive(Serialize, Deserialize, Debug, Clone)]
pub struct AddressComponent {
pub long_name: String,
pub short_name: String,
pub types: Vec<String>
} | 27.666667 | 48 | 0.692771 |
2fe35e6e07e4f6a4d8533b8c0e9532bcb826d5c7 | 2,986 | rs | Rust | src/resource.rs | aegoroff/releaser | 2c7d5e50ea3d1f5af3fc19212aa03b47609b6a45 | [
"MIT"
] | 1 | 2021-04-14T13:05:56.000Z | 2021-04-14T13:05:56.000Z | src/resource.rs | aegoroff/releaser | 2c7d5e50ea3d1f5af3fc19212aa03b47609b6a45 | [
"MIT"
] | 12 | 2021-05-28T06:31:11.000Z | 2022-03-29T22:24:45.000Z | src/resource.rs | aegoroff/releaser | 2c7d5e50ea3d1f5af3fc19212aa03b47609b6a45 | [
"MIT"
] | 1 | 2021-04-14T13:07:58.000Z | 2021-04-14T13:07:58.000Z | extern crate url;
use self::url::Url;
use core::fmt;
use itertools::Itertools;
#[derive(Clone)]
pub struct Resource {
url: Url,
}
impl Resource {
pub fn new(uri: &str) -> Option<Resource> {
if let Ok(url) = Url::parse(uri) {
Some(Resource { url })
} else {
None
}
}
pub fn append_path(&mut self, path: &str) {
match self.url.path_segments() {
None => {
let r = self.url.join(path);
if r.is_ok() {}
}
Some(segments) => {
let p = segments
.chain(std::iter::once(path))
.filter(|x| !x.is_empty())
.map(|x| x.trim_matches('/'))
.join("/");
if path.len() > 1 && path.chars().last().unwrap_or_default() == '/' {
let p = p + "/";
self.url.set_path(&p);
} else {
self.url.set_path(&p);
}
}
}
}
}
impl std::fmt::Display for Resource {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "{}", self.url)
}
}
#[cfg(test)]
mod tests {
use super::*;
use rstest::*;
use spectral::prelude::*;
#[test]
fn new_correct_some() {
// Arrange
// Act
let r = Resource::new("http://localhost");
// Assert
assert_that!(r.is_some()).is_true();
}
#[test]
fn new_incorrect_none() {
// Arrange
// Act
let r = Resource::new("http/localhost");
// Assert
assert_that!(r.is_none()).is_true();
}
#[rstest]
#[case("http://localhost", "/x", "http://localhost/x")]
#[case("http://localhost", "/x/", "http://localhost/x/")]
#[case("http://localhost/", "/x/", "http://localhost/x/")]
#[case("http://localhost/", "x/y", "http://localhost/x/y")]
#[case("http://localhost/", "/x/y", "http://localhost/x/y")]
#[case("http://localhost/x", "/y", "http://localhost/x/y")]
#[case("http://localhost/x/", "/y", "http://localhost/x/y")]
#[case("http://localhost/x/", "y", "http://localhost/x/y")]
#[case::real_slashed_base("https://github.com/aegoroff/dirstat/releases/download/v1.0.7/", "dirstat_1.0.7_darwin_amd64.tar.gz", "https://github.com/aegoroff/dirstat/releases/download/v1.0.7/dirstat_1.0.7_darwin_amd64.tar.gz")]
#[case::real_slashless_base("https://github.com/aegoroff/dirstat/releases/download/v1.0.7", "dirstat_1.0.7_darwin_amd64.tar.gz", "https://github.com/aegoroff/dirstat/releases/download/v1.0.7/dirstat_1.0.7_darwin_amd64.tar.gz")]
#[trace]
fn append_path_tests(#[case] base: &str, #[case] path: &str, #[case] expected: &str) {
// Arrange
let mut r = Resource::new(base).unwrap();
// Act
r.append_path(path);
// Assert
assert_that!(r.to_string().as_str()).is_equal_to(expected);
}
}
| 29.27451 | 231 | 0.512391 |
750f090a72a22c9a14cb6d1dd875b4b0444053e9 | 314 | c | C | Ago-24-2021/C/ex002.c | gianbianchi/Uniso | 3abd036bde0b9d9e02ae4f95bae10af4f0a0bae7 | [
"MIT"
] | null | null | null | Ago-24-2021/C/ex002.c | gianbianchi/Uniso | 3abd036bde0b9d9e02ae4f95bae10af4f0a0bae7 | [
"MIT"
] | null | null | null | Ago-24-2021/C/ex002.c | gianbianchi/Uniso | 3abd036bde0b9d9e02ae4f95bae10af4f0a0bae7 | [
"MIT"
] | null | null | null | #include<stdio.h>
int main(){
float n1,n2;
printf("N1: ");
scanf("%f", &n1);
printf("N2: ");
scanf("%f", &n2);
printf("\nA soma é: %f", n1+n2);
printf("\nA subtração é: %f", n1-n2);
printf("\nA multiplicação é: %f", n1*n2);
printf("\nA divisão é: %f", n1/n2);
return 0;
} | 19.625 | 45 | 0.5 |
0ede8acbea665a8979f70ac03668a92c7bb1b740 | 7,993 | h | C | aws-cpp-sdk-fms/include/aws/fms/model/ComplianceViolator.h | zokir/aws-sdk-cpp | 7afa97a3961923dfe39e4d452590a8828acccf86 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-fms/include/aws/fms/model/ComplianceViolator.h | zokir/aws-sdk-cpp | 7afa97a3961923dfe39e4d452590a8828acccf86 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-fms/include/aws/fms/model/ComplianceViolator.h | zokir/aws-sdk-cpp | 7afa97a3961923dfe39e4d452590a8828acccf86 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file 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.
*/
#pragma once
#include <aws/fms/FMS_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/fms/model/ViolationReason.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace FMS
{
namespace Model
{
/**
* <p>Details of the resource that is not protected by the policy.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ComplianceViolator">AWS
* API Reference</a></p>
*/
class AWS_FMS_API ComplianceViolator
{
public:
ComplianceViolator();
ComplianceViolator(Aws::Utils::Json::JsonView jsonValue);
ComplianceViolator& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The resource ID.</p>
*/
inline const Aws::String& GetResourceId() const{ return m_resourceId; }
/**
* <p>The resource ID.</p>
*/
inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
/**
* <p>The resource ID.</p>
*/
inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
/**
* <p>The resource ID.</p>
*/
inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
/**
* <p>The resource ID.</p>
*/
inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
/**
* <p>The resource ID.</p>
*/
inline ComplianceViolator& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
/**
* <p>The resource ID.</p>
*/
inline ComplianceViolator& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
/**
* <p>The resource ID.</p>
*/
inline ComplianceViolator& WithResourceId(const char* value) { SetResourceId(value); return *this;}
/**
* <p>The reason that the resource is not protected by the policy.</p>
*/
inline const ViolationReason& GetViolationReason() const{ return m_violationReason; }
/**
* <p>The reason that the resource is not protected by the policy.</p>
*/
inline bool ViolationReasonHasBeenSet() const { return m_violationReasonHasBeenSet; }
/**
* <p>The reason that the resource is not protected by the policy.</p>
*/
inline void SetViolationReason(const ViolationReason& value) { m_violationReasonHasBeenSet = true; m_violationReason = value; }
/**
* <p>The reason that the resource is not protected by the policy.</p>
*/
inline void SetViolationReason(ViolationReason&& value) { m_violationReasonHasBeenSet = true; m_violationReason = std::move(value); }
/**
* <p>The reason that the resource is not protected by the policy.</p>
*/
inline ComplianceViolator& WithViolationReason(const ViolationReason& value) { SetViolationReason(value); return *this;}
/**
* <p>The reason that the resource is not protected by the policy.</p>
*/
inline ComplianceViolator& WithViolationReason(ViolationReason&& value) { SetViolationReason(std::move(value)); return *this;}
/**
* <p>The resource type. This is in the format shown in <a
* href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">AWS
* Resource Types Reference</a>. Valid values are
* <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code> or
* <code>AWS::CloudFront::Distribution</code>.</p>
*/
inline const Aws::String& GetResourceType() const{ return m_resourceType; }
/**
* <p>The resource type. This is in the format shown in <a
* href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">AWS
* Resource Types Reference</a>. Valid values are
* <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code> or
* <code>AWS::CloudFront::Distribution</code>.</p>
*/
inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
/**
* <p>The resource type. This is in the format shown in <a
* href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">AWS
* Resource Types Reference</a>. Valid values are
* <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code> or
* <code>AWS::CloudFront::Distribution</code>.</p>
*/
inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
/**
* <p>The resource type. This is in the format shown in <a
* href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">AWS
* Resource Types Reference</a>. Valid values are
* <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code> or
* <code>AWS::CloudFront::Distribution</code>.</p>
*/
inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
/**
* <p>The resource type. This is in the format shown in <a
* href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">AWS
* Resource Types Reference</a>. Valid values are
* <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code> or
* <code>AWS::CloudFront::Distribution</code>.</p>
*/
inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
/**
* <p>The resource type. This is in the format shown in <a
* href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">AWS
* Resource Types Reference</a>. Valid values are
* <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code> or
* <code>AWS::CloudFront::Distribution</code>.</p>
*/
inline ComplianceViolator& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
/**
* <p>The resource type. This is in the format shown in <a
* href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">AWS
* Resource Types Reference</a>. Valid values are
* <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code> or
* <code>AWS::CloudFront::Distribution</code>.</p>
*/
inline ComplianceViolator& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
/**
* <p>The resource type. This is in the format shown in <a
* href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">AWS
* Resource Types Reference</a>. Valid values are
* <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code> or
* <code>AWS::CloudFront::Distribution</code>.</p>
*/
inline ComplianceViolator& WithResourceType(const char* value) { SetResourceType(value); return *this;}
private:
Aws::String m_resourceId;
bool m_resourceIdHasBeenSet;
ViolationReason m_violationReason;
bool m_violationReasonHasBeenSet;
Aws::String m_resourceType;
bool m_resourceTypeHasBeenSet;
};
} // namespace Model
} // namespace FMS
} // namespace Aws
| 37.881517 | 137 | 0.686726 |
d2b863151d06e6b34b89fdb6521067f77fc50094 | 3,005 | php | PHP | application/models/M_Jenis_jurnal.php | evilsyaoran/smacc | c22707cbc9a6af826c72f44c03c5a19cd93aa3b2 | [
"MIT"
] | 1 | 2020-02-20T16:26:00.000Z | 2020-02-20T16:26:00.000Z | application/models/M_Jenis_jurnal.php | evilsyaoran/smacc | c22707cbc9a6af826c72f44c03c5a19cd93aa3b2 | [
"MIT"
] | null | null | null | application/models/M_Jenis_jurnal.php | evilsyaoran/smacc | c22707cbc9a6af826c72f44c03c5a19cd93aa3b2 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class m_Jenis_jurnal extends CI_Model {
public function __construct()
{
parent::__construct();
}
public $nav;
public function get_jenis_jurnal()
{
$this->load->database();
$this->db->order_by("JENIS_JURNAL_KODE","ASC");
$datauser=$this->db->get("BSPL_DATA_JENIS_JURNAL")->result();
return $datauser;
}
public function get_detail($kode=1)
{
$this->load->database();
$datauser=$this->db->where("JENIS_JURNAL_KODE",$kode)->get("BSPL_DATA_JENIS_JURNAL");
return $datauser->row_array();
}
public function tambah_jenis_jurnal()
{
//validasi
$this->load->library('form_validation');
$this->form_validation->set_rules('kode', 'Kode Jenis', 'trim|required|max_length[20]');
$this->form_validation->set_rules('nama', 'Nama Jenis', 'trim|required|max_length[40]');
if($this->form_validation->run() == FALSE){
return "gagal";
}
else{
//load data
$data=array(
"JENIS_JURNAL_KODE"=>$this->input->post("kode",true),
"JENIS_JURNAL_NAMA"=>$this->input->post("nama",true),
"JENIS_JURNAL_COCD"=>$this->input->post("cocd",true)
);
$this->load->database();
$this->load->model('m_Serbaguna','ms');
if($this->ms->cek_ganda("BSPL_DATA_JENIS_JURNAL","JENIS_JURNAL_KODE",$data["JENIS_JURNAL_KODE"])==TRUE){
if($this->db->insert("BSPL_DATA_JENIS_JURNAL",$data)){
return "berhasil";
}
else{
return "gagal";
}
}
else{
return "gagal";
}
}
}
public function edit_jenis_jurnal($kode)
{
//validasi
$this->load->library('form_validation');
$this->form_validation->set_rules('kode', 'kode', 'trim|required|max_length[20]');
$this->form_validation->set_rules('nama', 'Nama jurnal', 'trim|required|max_length[40]');
if($this->form_validation->run() == FALSE){
return "gagal";
}
else{
//load data
$id=$this->input->post("kodelama");
$data=array(
"JENIS_JURNAL_KODE"=>$this->input->post("kode"),
"JENIS_JURNAL_NAMA"=>$this->input->post("nama"),
"JENIS_JURNAL_COCD"=>$this->input->post("cocd")
);
$this->load->database();
$this->load->model('m_Serbaguna','ms');
if($this->ms->cek_ganda("BSPL_DATA_JENIS_JURNAL",array("JENIS_JURNAL_KODE"=>$data["JENIS_JURNAL_KODE"]))==TRUE or $id==$this->input->post("kode")){
if($this->db->where("JENIS_JURNAL_KODE",$id)->update("BSPL_DATA_JENIS_JURNAL",$data)){
return "berhasil";
}
else{
return "gagal";
}
}
else{
return "gagal";
}
}
}
public function delete_jenis_jurnal($kode)
{
//load data
$id=$kode;
$this->load->database();
$this->load->model('m_Serbaguna','ms');
if($this->ms->cek_ada("BSPL_DATA_JENIS_JURNAL","JENIS_JURNAL_KODE",$id)==TRUE){
if($this->db->where("JENIS_JURNAL_KODE",$id)->delete("BSPL_DATA_JENIS_JURNAL")){
return "berhasil";
}
else{
return "gagal";
}
}
else{
return "gagal";
}
}
}
?> | 25.041667 | 150 | 0.628952 |
dfbf319fa449e872f83a1b42d0945acc7002b1fb | 1,406 | tsx | TypeScript | src/index.test.tsx | yesmeck/react-fullviewport | 4258048d74bc7654a79f5e76c0633b3f4be5f96d | [
"MIT"
] | 3 | 2018-08-02T06:58:52.000Z | 2018-08-03T09:10:18.000Z | src/index.test.tsx | yesmeck/react-full-viewport | 4258048d74bc7654a79f5e76c0633b3f4be5f96d | [
"MIT"
] | null | null | null | src/index.test.tsx | yesmeck/react-full-viewport | 4258048d74bc7654a79f5e76c0633b3f4be5f96d | [
"MIT"
] | null | null | null | import * as React from 'react';
import { render, screen, fireEvent } from '@testing-library/react';
import FullViewport from '.';
test('renders', () => {
render(<FullViewport>{() => <div>hello</div>}</FullViewport>);
expect(screen.getByText('hello')).toBeInTheDocument();
});
test('toggle full viewport', () => {
render(
<FullViewport>
{({ style, toggle, isFull }) => (
<div data-testid="box" style={style}>
<button onClick={toggle}>
{isFull ? 'exit full' : 'enter full'}
</button>
<div>hello</div>
</div>
)}
</FullViewport>
);
fireEvent.click(screen.getByText('enter full'));
expect(screen.getByTestId('box')).toHaveStyle({
position: 'fixed',
zIndex: 1000,
width: '100%',
height: '100%',
top: 0,
left: 0,
});
fireEvent.click(screen.getByText('exit full'));
expect(screen.getByTestId('box')).toHaveAttribute('style', '');
});
test('config zIndex', () => {
render(
<FullViewport zIndex={500}>
{({ style, toggle, isFull }) => (
<div data-testid="box" style={style}>
<button onClick={toggle}>
{isFull ? 'exit full' : 'enter full'}
</button>
<div>hello</div>
</div>
)}
</FullViewport>
);
fireEvent.click(screen.getByText('enter full'));
expect(screen.getByTestId('box').style.zIndex).toBe('500');
});
| 27.038462 | 67 | 0.565434 |
5f3e8957721a027770a919a43a0d08502c061ec1 | 803 | tsx | TypeScript | packages/explorer/src/components/IconButtonLink.tsx | RoboPhred/wutwot | eb0b85d1f074c93f8ece3ba2d6e420510162d8cb | [
"MIT"
] | 1 | 2018-07-20T11:02:44.000Z | 2018-07-20T11:02:44.000Z | packages/explorer/src/components/IconButtonLink.tsx | RoboPhred/homectrl-server | eb0b85d1f074c93f8ece3ba2d6e420510162d8cb | [
"MIT"
] | 7 | 2020-04-15T00:46:00.000Z | 2022-03-24T03:45:55.000Z | packages/explorer/src/components/IconButtonLink.tsx | RoboPhred/homectrl-server | eb0b85d1f074c93f8ece3ba2d6e420510162d8cb | [
"MIT"
] | null | null | null | import * as React from "react";
import IconButton from "@material-ui/core/IconButton";
import { useLinkClicked } from "./utils";
export interface MenuItemLinkProps {
to: string;
target?: string;
disabled?: boolean;
title?: string;
onClick?(e: React.MouseEvent<any>): void;
children?: React.ReactNode;
}
const IconButtonLink = React.forwardRef<HTMLAnchorElement, MenuItemLinkProps>(
({ to, target, disabled, title, onClick, children }, ref) => {
const { onLinkClick, href } = useLinkClicked({ to, target, onClick });
return (
<IconButton
ref={ref}
component="a"
href={href}
title={title}
disabled={disabled}
onClick={onLinkClick}
>
{children}
</IconButton>
);
},
);
export default IconButtonLink;
| 22.942857 | 78 | 0.635118 |
5bf98e89ae8dad6ba539c08260b9effc1b30cfc6 | 8,097 | h | C | CondTools/RunInfo/interface/OMSAccess.h | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2021-11-30T16:24:46.000Z | 2021-11-30T16:24:46.000Z | CondTools/RunInfo/interface/OMSAccess.h | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 4 | 2021-11-29T13:57:56.000Z | 2022-03-29T06:28:36.000Z | CondTools/RunInfo/interface/OMSAccess.h | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2022-02-27T06:12:26.000Z | 2022-02-27T06:12:26.000Z | #ifndef CondTools_RunInfo_OMSAccess_h
#define CondTools_RunInfo_OMSAccess_h
#include <string>
#include <stdexcept>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <memory>
namespace cond {
// implementation details for data extraction from json/ data conversion to build query urls
namespace impl {
static constexpr const char* const OMS_TIME_FMT = "%Y-%m-%dT%H:%M:%SZ";
template <typename T, T fun(const std::string&)>
inline T from_string_impl(const std::string& attributeValue, T zero) {
T ret = zero;
if (not attributeValue.empty() && attributeValue != "null") {
ret = fun(attributeValue);
}
return ret;
}
template <typename T>
inline T from_string(const std::string& attributeValue) {
throw std::invalid_argument("");
}
template <>
inline std::string from_string(const std::string& attributeValue) {
return std::string(attributeValue);
}
inline float s_to_f(const std::string& val) { return std::stof(val); }
template <>
inline float from_string(const std::string& attributeValue) {
return from_string_impl<float, &s_to_f>(attributeValue, 0.);
}
inline int s_to_i(const std::string& val) { return std::stoi(val); }
template <>
inline int from_string(const std::string& attributeValue) {
return from_string_impl<int, &s_to_i>(attributeValue, 0);
}
inline unsigned long s_to_ul(const std::string& val) { return std::stoul(val); }
template <>
inline unsigned short from_string(const std::string& attributeValue) {
unsigned long int_val = from_string_impl<unsigned long, &s_to_ul>(attributeValue, 0);
return (unsigned short)int_val;
}
inline boost::posix_time::ptime s_to_time(const std::string& val) {
boost::posix_time::time_input_facet* facet = new boost::posix_time::time_input_facet(OMS_TIME_FMT);
std::stringstream ss;
ss.imbue(std::locale(std::locale(), facet));
ss << val;
boost::posix_time::ptime time;
ss >> time;
return time;
}
template <>
inline boost::posix_time::ptime from_string(const std::string& attributeValue) {
return from_string_impl<boost::posix_time::ptime, &s_to_time>(attributeValue, boost::posix_time::ptime());
}
template <typename V>
inline std::string to_string(const V& value) {
return std::to_string(value);
}
template <typename V>
inline std::string to_string(const V* value) {
return std::to_string(*value);
}
template <>
inline std::string to_string(const std::string& value) {
return std::string(value);
}
template <>
inline std::string to_string(const char* value) {
return std::string(value);
}
template <>
inline std::string to_string(const boost::posix_time::ptime& value) {
boost::posix_time::time_facet* facet = new boost::posix_time::time_facet();
facet->format(OMS_TIME_FMT);
std::stringstream stream;
stream.imbue(std::locale(std::locale::classic(), facet));
stream << value;
return stream.str();
}
} // namespace impl
// reference of a result set row. it does not own/hold data.
class OMSServiceResultRef {
public:
OMSServiceResultRef() = delete;
OMSServiceResultRef(const boost::property_tree::ptree* row);
// return true if no attribute is available
bool empty();
// typed getter for single param
template <typename T>
inline T get(const std::string& attributeName) {
return impl::from_string<T>(getAttribute(attributeName));
}
// getter for arrays
template <typename primitive>
std::vector<primitive> getArray(const std::string& attributeName) {
std::vector<primitive> ret;
for (auto& item : m_row->get_child(attributeName)) {
ret.push_back(item.second.get_value<primitive>());
}
return ret;
}
private:
std::string getAttribute(const std::string& attributeName);
const boost::property_tree::ptree* m_row = nullptr;
};
// iterator object for result
class OMSServiceResultIterator {
public:
OMSServiceResultIterator() = delete;
OMSServiceResultIterator(boost::property_tree::ptree::const_iterator iter);
OMSServiceResultRef operator*();
OMSServiceResultIterator& operator++();
bool operator==(const OMSServiceResultIterator& rhs);
bool operator!=(const OMSServiceResultIterator& rhs);
private:
boost::property_tree::ptree::const_iterator m_iter;
};
// container wrapping the query result, based on boost property tree
class OMSServiceResult {
public:
OMSServiceResult();
// basic iterators, to enable the C++11 for loop semantics
OMSServiceResultIterator begin() const;
OMSServiceResultIterator end() const;
// parse json returned from curl, filling the property tree
size_t parseData(const std::string& data);
// returns the number of top level elements of the tree ( result set "rows" )
size_t size() const;
// returns size()==0
bool empty() const;
private:
boost::property_tree::ptree m_root;
boost::property_tree::ptree* m_data;
};
// Query object
class OMSServiceQuery {
public:
// comparison operator label, used in query urls
static constexpr const char* const NEQ = "NEQ";
static constexpr const char* const EQ = "EQ";
static constexpr const char* const LT = "LT";
static constexpr const char* const GT = "GT";
static constexpr const char* const SNULL = "null";
public:
OMSServiceQuery() = delete;
OMSServiceQuery(const std::string& baseUrl, const std::string& function);
// functions to restring query output to specific variables
OMSServiceQuery& addOutputVar(const std::string& varName);
OMSServiceQuery& addOutputVars(const std::initializer_list<const char*>& varNames);
// generic query filter
template <typename T>
inline OMSServiceQuery& filter(const char* cmp, const std::string& varName, const T& value) {
std::stringstream filter;
if (m_filter.empty()) {
filter << "?";
} else {
filter << m_filter << "&";
}
filter << "filter[" << varName << "][" << cmp << "]=" << impl::to_string(value);
m_filter = filter.str();
return *this;
}
// filters with specific comparison operators
template <typename T>
inline OMSServiceQuery& filterEQ(const std::string& varName, const T& value) {
return filter<T>(EQ, varName, value);
}
template <typename T>
inline OMSServiceQuery& filterNEQ(const std::string& varName, const T& value) {
return filter<T>(NEQ, varName, value);
}
template <typename T>
inline OMSServiceQuery& filterGT(const std::string& varName, const T& value) {
return filter<T>(GT, varName, value);
}
template <typename T>
inline OMSServiceQuery& filterLT(const std::string& varName, const T& value) {
return filter<T>(LT, varName, value);
}
// not null filter
inline OMSServiceQuery& filterNotNull(const std::string& varName) { return filterNEQ(varName, SNULL); }
// triggers the execution of the query ( calling curl functions )
bool execute();
// return code from curl
unsigned long status();
// result from the query. memory allocated for data is owned by the query object itself
OMSServiceResult& result();
// the url constructed and used for the query
std::string url();
private:
void addVar(const std::string& varName);
private:
std::string m_url;
std::string m_filter;
std::string m_varList;
std::unique_ptr<OMSServiceResult> m_result;
unsigned long m_status = 0;
};
// provides query access to OMS Web services
class OMSService {
public:
OMSService();
void connect(const std::string& baseUrl);
std::unique_ptr<OMSServiceQuery> query(const std::string& function) const;
private:
std::string m_baseUrl;
};
} // namespace cond
#endif
| 32.130952 | 112 | 0.67383 |
77dbc644227a65317df01f940ac8c3ffd129220c | 3,987 | rs | Rust | registry/program/src/stake.rs | paul-schaaf/serum-dex | feebf9d3debb58730b02aa446c2b652b7438a6a3 | [
"Apache-2.0"
] | 1 | 2021-12-20T06:30:36.000Z | 2021-12-20T06:30:36.000Z | registry/program/src/stake.rs | paul-schaaf/serum-dex | feebf9d3debb58730b02aa446c2b652b7438a6a3 | [
"Apache-2.0"
] | null | null | null | registry/program/src/stake.rs | paul-schaaf/serum-dex | feebf9d3debb58730b02aa446c2b652b7438a6a3 | [
"Apache-2.0"
] | null | null | null | use serum_common::pack::Pack;
use serum_registry::accounts::{Entity, Member};
use serum_registry::error::{RegistryError, RegistryErrorCode};
use solana_sdk::account_info::{next_account_info, AccountInfo};
use solana_sdk::info;
use solana_sdk::pubkey::Pubkey;
pub fn handler<'a>(
program_id: &'a Pubkey,
accounts: &'a [AccountInfo<'a>],
amount: u64,
is_mega: bool,
) -> Result<(), RegistryError> {
info!("handler: stake");
let acc_infos = &mut accounts.iter();
let depositor_tok_owner_acc_info = next_account_info(acc_infos)?;
let depositor_tok_acc_info = next_account_info(acc_infos)?;
let member_acc_info = next_account_info(acc_infos)?;
let member_authority_acc_info = next_account_info(acc_infos)?;
let entity_acc_info = next_account_info(acc_infos)?;
let token_program_acc_info = next_account_info(acc_infos)?;
access_control(AccessControlRequest {
depositor_tok_owner_acc_info,
depositor_tok_acc_info,
member_acc_info,
member_authority_acc_info,
entity_acc_info,
token_program_acc_info,
})?;
Entity::unpack_mut(
&mut entity_acc_info.try_borrow_mut_data()?,
&mut |entity: &mut Entity| {
Member::unpack_mut(
&mut member_acc_info.try_borrow_mut_data()?,
&mut |member: &mut Member| {
state_transition(StateTransitionRequest {
entity,
member,
amount,
is_mega,
depositor_tok_owner_acc_info,
depositor_tok_acc_info,
member_acc_info,
member_authority_acc_info,
entity_acc_info,
token_program_acc_info,
})
.map_err(Into::into)
},
)
},
)?;
Ok(())
}
fn access_control(req: AccessControlRequest) -> Result<(), RegistryError> {
info!("access-control: stake");
let AccessControlRequest {
depositor_tok_owner_acc_info,
depositor_tok_acc_info,
member_acc_info,
member_authority_acc_info,
entity_acc_info,
token_program_acc_info,
} = req;
// todo
info!("access-control: success");
Ok(())
}
fn state_transition(req: StateTransitionRequest) -> Result<(), RegistryError> {
info!("state-transition: stake");
let StateTransitionRequest {
entity,
member,
amount,
is_mega,
depositor_tok_owner_acc_info,
depositor_tok_acc_info,
member_acc_info,
member_authority_acc_info,
entity_acc_info,
token_program_acc_info,
} = req;
// Transfer funds into the staking pool.
{
// todo
}
// Member account.
{
if is_mega {
member.mega_amount += amount;
} else {
member.amount = amount;
}
}
// Entity.
{
if is_mega {
entity.mega_amount += amount;
} else {
entity.amount += amount;
}
}
info!("state-transition: success");
Ok(())
}
struct AccessControlRequest<'a> {
depositor_tok_owner_acc_info: &'a AccountInfo<'a>,
depositor_tok_acc_info: &'a AccountInfo<'a>,
member_acc_info: &'a AccountInfo<'a>,
member_authority_acc_info: &'a AccountInfo<'a>,
entity_acc_info: &'a AccountInfo<'a>,
token_program_acc_info: &'a AccountInfo<'a>,
}
struct StateTransitionRequest<'a, 'b> {
entity: &'b mut Entity,
member: &'b mut Member,
amount: u64,
is_mega: bool,
depositor_tok_owner_acc_info: &'a AccountInfo<'a>,
depositor_tok_acc_info: &'a AccountInfo<'a>,
member_acc_info: &'a AccountInfo<'a>,
member_authority_acc_info: &'a AccountInfo<'a>,
entity_acc_info: &'a AccountInfo<'a>,
token_program_acc_info: &'a AccountInfo<'a>,
}
| 27.496552 | 79 | 0.599197 |
52302d2366912f6a8dd16ffd6352e72ab8d38200 | 2,404 | kt | Kotlin | sykepenger-mediators/src/main/kotlin/no/nav/helse/spleis/meldinger/VilkårsgrunnlagRiver.kt | navikt/helse-spleis | c78e3e9daee5881e302b653c2faa52f464ba9afc | [
"MIT"
] | 6 | 2021-09-07T11:37:16.000Z | 2022-02-16T11:29:42.000Z | sykepenger-mediators/src/main/kotlin/no/nav/helse/spleis/meldinger/VilkårsgrunnlagRiver.kt | navikt/helse-spleis | c78e3e9daee5881e302b653c2faa52f464ba9afc | [
"MIT"
] | 16 | 2019-09-25T11:28:22.000Z | 2022-02-20T18:38:22.000Z | sykepenger-mediators/src/main/kotlin/no/nav/helse/spleis/meldinger/VilkårsgrunnlagRiver.kt | navikt/helse-spleis | c78e3e9daee5881e302b653c2faa52f464ba9afc | [
"MIT"
] | 5 | 2020-04-21T12:33:51.000Z | 2021-02-26T18:54:47.000Z | package no.nav.helse.spleis.meldinger
import com.fasterxml.jackson.databind.JsonNode
import no.nav.helse.person.Aktivitetslogg.Aktivitet.Behov.Behovtype.*
import no.nav.helse.rapids_rivers.JsonMessage
import no.nav.helse.rapids_rivers.RapidsConnection
import no.nav.helse.rapids_rivers.asLocalDate
import no.nav.helse.rapids_rivers.asYearMonth
import no.nav.helse.spleis.IMessageMediator
import no.nav.helse.spleis.meldinger.model.VilkårsgrunnlagMessage
internal class VilkårsgrunnlagRiver(
rapidsConnection: RapidsConnection,
messageMediator: IMessageMediator
) : ArbeidsgiverBehovRiver(rapidsConnection, messageMediator) {
override val behov = listOf(InntekterForSammenligningsgrunnlag, InntekterForSykepengegrunnlag, ArbeidsforholdV2, Medlemskap)
override val riverName = "Vilkårsgrunnlag"
override fun validate(message: JsonMessage) {
message.requireKey("vedtaksperiodeId", "tilstand")
message.requireArray("@løsning.${InntekterForSammenligningsgrunnlag.name}") {
require("årMåned", JsonNode::asYearMonth)
requireArray("inntektsliste") {
requireKey("beløp")
requireAny("inntektstype", listOf("LOENNSINNTEKT", "NAERINGSINNTEKT", "PENSJON_ELLER_TRYGD", "YTELSE_FRA_OFFENTLIGE"))
interestedIn("orgnummer", "fødselsnummer", "aktørId", "fordel", "beskrivelse")
}
}
message.interestedIn("@løsning.${Medlemskap.name}.resultat.svar") {
require(it.asText() in listOf("JA", "NEI", "UAVKLART")) { "svar (${it.asText()}) er ikke JA, NEI eller UAVKLART" }
}
message.requireArray("@løsning.${InntekterForSykepengegrunnlag.name}") {
require("årMåned", JsonNode::asYearMonth)
requireArray("inntektsliste") {
requireKey("beløp")
requireAny("inntektstype", listOf("LOENNSINNTEKT", "NAERINGSINNTEKT", "PENSJON_ELLER_TRYGD", "YTELSE_FRA_OFFENTLIGE"))
interestedIn("orgnummer", "fødselsnummer", "aktørId", "fordel", "beskrivelse")
}
}
message.requireArray("@løsning.${ArbeidsforholdV2.name}"){
requireKey("orgnummer")
require("ansattSiden", JsonNode::asLocalDate)
interestedIn("ansattTil", JsonNode::asLocalDate)
}
}
override fun createMessage(packet: JsonMessage) = VilkårsgrunnlagMessage(packet)
}
| 48.08 | 134 | 0.698003 |
509aa2b84f1ea773a548bc7dedad88c63a0972d8 | 138 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_log10.asm | ahjelm/z88dk | c4de367f39a76b41f6390ceeab77737e148178fa | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_log10.asm | C-Chads/z88dk | a4141a8e51205c6414b4ae3263b633c4265778e6 | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_log10.asm | C-Chads/z88dk | a4141a8e51205c6414b4ae3263b633c4265778e6 | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
SECTION code_fp_am9511
PUBLIC cam32_sccz80_log10
EXTERN asm_am9511_log10_fastcall
defc cam32_sccz80_log10 = asm_am9511_log10_fastcall
| 15.333333 | 51 | 0.891304 |
dd3e2500c038d5237ac333f0a4c780a338346ac3 | 1,216 | go | Go | src/pkg/leanstreams/test/message/message.pb.go | jpmcb/metric-store-release | 2d74633e15a6c56fc3391eca8389a334fb48c9b0 | [
"Apache-2.0"
] | 23 | 2019-04-03T18:44:26.000Z | 2020-11-01T10:34:07.000Z | src/pkg/leanstreams/test/message/message.pb.go | jpmcb/metric-store-release | 2d74633e15a6c56fc3391eca8389a334fb48c9b0 | [
"Apache-2.0"
] | 155 | 2019-04-03T18:37:48.000Z | 2022-03-29T03:05:36.000Z | src/pkg/leanstreams/test/message/message.pb.go | jpmcb/metric-store-release | 2d74633e15a6c56fc3391eca8389a334fb48c9b0 | [
"Apache-2.0"
] | 11 | 2019-06-12T14:28:25.000Z | 2021-03-09T21:31:00.000Z | // Code generated by protoc-gen-go.
// source: message.proto
// DO NOT EDIT!
/*
Package message is a generated protocol buffer package.
It is generated from these files:
message.proto
It has these top-level messages:
Note
*/
package message
import (
math "math"
proto "github.com/golang/protobuf/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = math.Inf
type Note struct {
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
Date *int64 `protobuf:"varint,2,req,name=date" json:"date,omitempty"`
Comment *string `protobuf:"bytes,3,req,name=comment" json:"comment,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Note) Reset() { *m = Note{} }
func (m *Note) String() string { return proto.CompactTextString(m) }
func (*Note) ProtoMessage() {}
func (m *Note) GetName() string {
if m != nil && m.Name != nil {
return *m.Name
}
return ""
}
func (m *Note) GetDate() int64 {
if m != nil && m.Date != nil {
return *m.Date
}
return 0
}
func (m *Note) GetComment() string {
if m != nil && m.Comment != nil {
return *m.Comment
}
return ""
}
func init() {
}
| 20.266667 | 88 | 0.643092 |
819f6a53a3e631acef037999c7b991da809a02d8 | 821 | rs | Rust | examples0/struct_2.rs | clucompany/cluEscSequences | 4fdeacde6156f8fd4597963cddf957255f49bde8 | [
"Apache-2.0"
] | null | null | null | examples0/struct_2.rs | clucompany/cluEscSequences | 4fdeacde6156f8fd4597963cddf957255f49bde8 | [
"Apache-2.0"
] | null | null | null | examples0/struct_2.rs | clucompany/cluEscSequences | 4fdeacde6156f8fd4597963cddf957255f49bde8 | [
"Apache-2.0"
] | null | null | null |
extern crate ColorGeneric;
use ColorGeneric::ColorGeneric;
use ColorGeneric::colors::BrightRed;
use std::time::SystemTime;
fn main() {
let time_start = SystemTime::now();
println!("Start time {:?} nanos", time_start.elapsed().unwrap().subsec_nanos());
let writer = MyWriter::new(time_start);
writer.println("OK");
writer.println("OK12");
writer.println("OK123");
}
#[derive(Debug)]
pub struct MyWriter {
time: SystemTime,
}
impl MyWriter {
#[inline]
pub fn new(time: SystemTime) -> MyWriter {
MyWriter {
time: time,
}
}
#[inline]
pub fn string<'a>(&self, str: &'a str) -> String {
BrightRed::string_fmt( format_args!("[{:?} nanos] {}", SystemTime::now().elapsed().unwrap().subsec_nanos(), str) )
}
pub fn println<'a>(&self, str: &'a str) {
println!("{}", self.string(str));
}
}
| 18.244444 | 116 | 0.644336 |
437785a0d551f04fcc9343bc97b8c8c37c2d95c7 | 1,733 | lua | Lua | utils/hwpatcher/creative.lua | Rockbox-Chinese-Community/Rockbox-RCC | a701aefe45f03ca391a8e2f1a6e3da1b8774b2f2 | [
"BSD-3-Clause"
] | 24 | 2015-03-10T08:43:56.000Z | 2022-01-05T14:09:46.000Z | utils/hwpatcher/creative.lua | Rockbox-Chinese-Community/Rockbox-RCC | a701aefe45f03ca391a8e2f1a6e3da1b8774b2f2 | [
"BSD-3-Clause"
] | 4 | 2015-07-04T18:15:33.000Z | 2018-05-18T05:33:33.000Z | utils/hwpatcher/creative.lua | Rockbox-Chinese-Community/Rockbox-RCC | a701aefe45f03ca391a8e2f1a6e3da1b8774b2f2 | [
"BSD-3-Clause"
] | 15 | 2015-01-21T13:58:13.000Z | 2020-11-04T04:30:22.000Z | --[[
Creative ZEN hacking
required argument (in order):
- path to firmware
- path to output firmware
- path to blob
- path to stub
]]--
if #arg < 4 then
error("not enough argument to fuzep patcher")
end
local fw = hwp.load_file(arg[1])
local irq_addr_pool = hwp.make_addr(0x38)
local proxy_addr = arm.to_arm(hwp.make_addr(0x402519A0))
-- read old IRQ address pool
local old_irq_addr = hwp.make_addr(hwp.read32(fw, irq_addr_pool))
print(string.format("Old IRQ address: %s", old_irq_addr))
-- put stub at the beginning of the proxy
local stub = hwp.load_bin_file(arg[4])
local stub_info = hwp.section_info(stub, "")
local stub_data = hwp.read(stub, hwp.make_addr(stub_info.addr, ""), stub_info.size)
hwp.write(fw, proxy_addr, stub_data)
local stub_addr = proxy_addr
proxy_addr = hwp.inc_addr(proxy_addr, stub_info.size)
-- modify irq
hwp.write32(fw, irq_addr_pool, proxy_addr.addr)
print(string.format("New IRQ address: %s", proxy_addr))
-- in proxy, save registers
arm.write_save_regs(fw, proxy_addr)
proxy_addr = hwp.inc_addr(proxy_addr, 4)
-- load blob
local blob = hwp.load_bin_file(arg[3])
local blob_info = hwp.section_info(blob, "")
-- patch blob with stub address
hwp.write32(blob, hwp.make_addr(blob_info.addr + 4, ""), stub_addr.addr)
-- write it !
local blob_data = hwp.read(blob, hwp.make_addr(blob_info.addr, ""), blob_info.size)
hwp.write(fw, proxy_addr, blob_data)
proxy_addr = hwp.inc_addr(proxy_addr, blob_info.size)
-- restore registers
arm.write_restore_regs(fw, proxy_addr)
proxy_addr = hwp.inc_addr(proxy_addr, 4)
-- branch to old code
local branch_to_old = arm.make_branch(old_irq_addr, false)
arm.write_branch(fw, proxy_addr, branch_to_old, hwp.inc_addr(proxy_addr, 4))
-- save
hwp.save_file(fw, arg[2])
| 34.66 | 83 | 0.754183 |
3e7326f866aaada25eddd5c87f32210ac589ba37 | 777 | h | C | include/AI/AlonePlayer_AI.h | jtorche/BlokusIA | 40e30b16854a1e16610a783185d0809f83e67033 | [
"MIT"
] | null | null | null | include/AI/AlonePlayer_AI.h | jtorche/BlokusIA | 40e30b16854a1e16610a783185d0809f83e67033 | [
"MIT"
] | null | null | null | include/AI/AlonePlayer_AI.h | jtorche/BlokusIA | 40e30b16854a1e16610a783185d0809f83e67033 | [
"MIT"
] | null | null | null | #pragma once
#include "BlokusAI.h"
namespace blokusAI
{
//-------------------------------------------------------------------------------------------------
class AlonePlayer_AI : public BaseAI
{
public:
using Score = float;
AlonePlayer_AI(const BaseAI::Parameters& _parameters)
: BaseAI(_parameters)
{}
std::pair<Move, float> findBestMove(const GameState& _gameState);
Score computeScore(const GameState& _gameState)
{
m_numHeuristicEvaluated++;
return _gameState.computeBoardScore(Slot(m_playerTurn + u32(Slot::P0)), m_params.heuristic);
}
private:
Score evalPositionRec(const GameState& _gameState, u32 _depth);
u32 m_playerTurn = 0;
};
} | 27.75 | 104 | 0.546976 |
cbc5a953593391da1b892620da18c9a94d1ec4de | 251 | go | Go | app/domain/osm/entity/node.go | GarinAG/gofias | b0a9318d46805b5c725bf08fb3b8a44a67f5148a | [
"MIT"
] | 4 | 2020-09-17T17:54:24.000Z | 2022-03-17T15:30:58.000Z | app/domain/osm/entity/node.go | GarinAG/gofias | b0a9318d46805b5c725bf08fb3b8a44a67f5148a | [
"MIT"
] | null | null | null | app/domain/osm/entity/node.go | GarinAG/gofias | b0a9318d46805b5c725bf08fb3b8a44a67f5148a | [
"MIT"
] | 1 | 2022-02-21T12:54:43.000Z | 2022-02-21T12:54:43.000Z | package entity
import "github.com/paulmach/osm"
// Объект разбора OSM-файла
type Node struct {
Type string
Name string
HouseAddress string
Lat float64
Lon float64
PostalCode string
Node *osm.Node
}
| 16.733333 | 32 | 0.633466 |
b1e07eaa65967a9f484e3c742ebd2134725ef768 | 784 | h | C | SCGoJD/Classes/Tool(工具类)/HTTP/CategoryMenu/SCBaseParam.h | ShannonChenCHN/Demo_GitHub | 9d957f4c7825c23108947d530f357cee8daacf38 | [
"MIT"
] | 105 | 2015-12-21T07:47:55.000Z | 2020-10-28T10:25:39.000Z | SCGoJD/Classes/Tool(工具类)/HTTP/CategoryMenu/SCBaseParam.h | ShannonChenCHN/Demo_GitHub | 9d957f4c7825c23108947d530f357cee8daacf38 | [
"MIT"
] | null | null | null | SCGoJD/Classes/Tool(工具类)/HTTP/CategoryMenu/SCBaseParam.h | ShannonChenCHN/Demo_GitHub | 9d957f4c7825c23108947d530f357cee8daacf38 | [
"MIT"
] | 47 | 2015-12-29T01:41:21.000Z | 2021-01-16T14:57:05.000Z | //
// SCBaseParam.h
// SCGoJD
//
// Created by mac on 15/9/23.
// Copyright (c) 2015年 . All rights reserved.
// 系统级别输入参数(基类),一创建对象,就自动给所有属性赋值(method除外)
#import <Foundation/Foundation.h>
#import "MJExtension.h"
@interface SCBaseParam : NSObject <MJKeyValue>
/**
* API接口名称
*/
@property (nonatomic, copy) NSString *method;
/**
* 采用OAuth授权方式为必填参数
*/
@property (nonatomic, copy) NSString *access_token;
/**
* 应用的app_key
*/
@property (nonatomic, copy) NSString *app_key;
/**
* API协议版本,可选值:2.0
*/
@property (nonatomic, copy) NSString *v;
/**
* 应用级别输入参数(JSON文件转成的NSString)
*/
@property (nonatomic, copy) NSString *buy_param_json; // 与参数名字不同!需要修改
/**
* 创建并返回一个的SCBaseParam对象,其属性(method除外)已被赋值
*
* @return SCBaseParam对象(属性已经被赋值)
*/
+ (instancetype)parameter;
@end
| 18.232558 | 70 | 0.684949 |
5b419e7447639264227cf0710cfca7e0cd1fc20f | 2,204 | h | C | zero/gkyl_moment_em_coupling.h | ammarhakim/gkylzero | 7a17fd4bec9cc546400a24d3987c0ee6e1865152 | [
"MIT"
] | 2 | 2021-04-09T21:38:06.000Z | 2021-05-20T19:07:48.000Z | zero/gkyl_moment_em_coupling.h | ammarhakim/gkylzero | 7a17fd4bec9cc546400a24d3987c0ee6e1865152 | [
"MIT"
] | 12 | 2021-06-06T04:03:36.000Z | 2022-03-20T04:29:03.000Z | zero/gkyl_moment_em_coupling.h | ammarhakim/gkylzero | 7a17fd4bec9cc546400a24d3987c0ee6e1865152 | [
"MIT"
] | 1 | 2021-06-02T16:14:50.000Z | 2021-06-02T16:14:50.000Z | #pragma once
#include <math.h>
#include <gkyl_array.h>
#include <gkyl_eqn_type.h>
#include <gkyl_range.h>
#include <gkyl_rect_grid.h>
#include <gkyl_util.h>
struct gkyl_moment_em_coupling_data {
enum gkyl_eqn_type type;
double charge; // species charge
double mass; // species mass
double k0; // closure parameter (default is 0.0, used by 10 moment)
};
struct gkyl_moment_em_coupling_inp {
const struct gkyl_rect_grid *grid; // grid on which to solve equations
int nfluids; // number of fluids
struct gkyl_moment_em_coupling_data param[GKYL_MAX_SPECIES]; // species data
double epsilon0;
};
// Object type
typedef struct gkyl_moment_em_coupling gkyl_moment_em_coupling;
/**
* Create new updater to update electromagnetic sources in fluid
* equations. Uses implicit time-stepping (Time-centered
* Crank-Nicholson).
*
* @param inp Input parameters to updater
*/
gkyl_moment_em_coupling* gkyl_moment_em_coupling_new(struct gkyl_moment_em_coupling_inp inp);
/**
* Compute implicit update of the electromagnetic source terms in the
* multi-fluid system. The update_rng MUST be a sub-range of the
* range on which the array is defined. That is, it must be either
* the same range as the array range, or one created using the
* gkyl_sub_range_init method.
*
* @param mes Moment electromagnetic sources updater object
* @param update_rng Range on which to solve implicit time-centered update.
* @param fluid Array of fluid variables (array size: nfluids)
* @param app_accel Array of applied acceleration terms to fluid equations (for external forces)
* @param em EM variables
* @param app_current Applied current array (for external current driving)
* @param ext_em External EM variables (for EM fields coming from external sources (coils, capacitors, etc.))
*/
void gkyl_moment_em_coupling_advance(const gkyl_moment_em_coupling *mes, double dt,
const struct gkyl_range *update_rng,
struct gkyl_array *fluid[], struct gkyl_array *app_accel[],
struct gkyl_array *em, struct gkyl_array *app_current, struct gkyl_array *ext_em);
/**
* Delete updater.
*
* @param mes Updater to delete.
*/
void gkyl_moment_em_coupling_release(gkyl_moment_em_coupling *mes);
| 34.4375 | 109 | 0.770417 |
81f4c277f4d76746146b02db115dda17cef98ca7 | 16,522 | rs | Rust | src/librustc_mir/transform/qualify_min_const_fn.rs | kekcsi/rust66810 | c4375c9dfdd7f31de909f6e9384bac1bf37b44da | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/librustc_mir/transform/qualify_min_const_fn.rs | kekcsi/rust66810 | c4375c9dfdd7f31de909f6e9384bac1bf37b44da | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/librustc_mir/transform/qualify_min_const_fn.rs | kekcsi/rust66810 | c4375c9dfdd7f31de909f6e9384bac1bf37b44da | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | use rustc::hir::def_id::DefId;
use rustc::hir;
use rustc::mir::*;
use rustc::ty::{self, Predicate, Ty, TyCtxt, adjustment::{PointerCast}};
use rustc_target::spec::abi;
use std::borrow::Cow;
use syntax_pos::Span;
use syntax::symbol::{sym, Symbol};
use syntax::attr;
type McfResult = Result<(), (Span, Cow<'static, str>)>;
pub fn is_min_const_fn(tcx: TyCtxt<'tcx>, def_id: DefId, body: &'a Body<'tcx>) -> McfResult {
let mut current = def_id;
loop {
let predicates = tcx.predicates_of(current);
for (predicate, _) in predicates.predicates {
match predicate {
| Predicate::RegionOutlives(_)
| Predicate::TypeOutlives(_)
| Predicate::WellFormed(_)
| Predicate::Projection(_)
| Predicate::ConstEvaluatable(..) => continue,
| Predicate::ObjectSafe(_) => {
bug!("object safe predicate on function: {:#?}", predicate)
}
Predicate::ClosureKind(..) => {
bug!("closure kind predicate on function: {:#?}", predicate)
}
Predicate::Subtype(_) => bug!("subtype predicate on function: {:#?}", predicate),
Predicate::Trait(pred) => {
if Some(pred.def_id()) == tcx.lang_items().sized_trait() {
continue;
}
match pred.skip_binder().self_ty().kind {
ty::Param(ref p) => {
let generics = tcx.generics_of(current);
let def = generics.type_param(p, tcx);
let span = tcx.def_span(def.def_id);
return Err((
span,
"trait bounds other than `Sized` \
on const fn parameters are unstable"
.into(),
));
}
// other kinds of bounds are either tautologies
// or cause errors in other passes
_ => continue,
}
}
}
}
match predicates.parent {
Some(parent) => current = parent,
None => break,
}
}
for local in &body.local_decls {
check_ty(tcx, local.ty, local.source_info.span, def_id)?;
}
// impl trait is gone in MIR, so check the return type manually
check_ty(
tcx,
tcx.fn_sig(def_id).output().skip_binder(),
body.local_decls.iter().next().unwrap().source_info.span,
def_id,
)?;
for bb in body.basic_blocks() {
check_terminator(tcx, body, def_id, bb.terminator())?;
for stmt in &bb.statements {
check_statement(tcx, body, def_id, stmt)?;
}
}
Ok(())
}
fn check_ty(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>, span: Span, fn_def_id: DefId) -> McfResult {
for ty in ty.walk() {
match ty.kind {
ty::Ref(_, _, hir::Mutability::Mutable) => return Err((
span,
"mutable references in const fn are unstable".into(),
)),
ty::Opaque(..) => return Err((span, "`impl Trait` in const fn is unstable".into())),
ty::FnPtr(..) => {
if !tcx.const_fn_is_allowed_fn_ptr(fn_def_id) {
return Err((span, "function pointers in const fn are unstable".into()))
}
}
ty::Dynamic(preds, _) => {
for pred in preds.iter() {
match pred.skip_binder() {
| ty::ExistentialPredicate::AutoTrait(_)
| ty::ExistentialPredicate::Projection(_) => {
return Err((
span,
"trait bounds other than `Sized` \
on const fn parameters are unstable"
.into(),
))
}
ty::ExistentialPredicate::Trait(trait_ref) => {
if Some(trait_ref.def_id) != tcx.lang_items().sized_trait() {
return Err((
span,
"trait bounds other than `Sized` \
on const fn parameters are unstable"
.into(),
));
}
}
}
}
}
_ => {}
}
}
Ok(())
}
fn check_rvalue(
tcx: TyCtxt<'tcx>,
body: &Body<'tcx>,
def_id: DefId,
rvalue: &Rvalue<'tcx>,
span: Span,
) -> McfResult {
match rvalue {
Rvalue::Repeat(operand, _) | Rvalue::Use(operand) => {
check_operand(tcx, operand, span, def_id, body)
}
Rvalue::Len(place) | Rvalue::Discriminant(place) | Rvalue::Ref(_, _, place) => {
check_place(tcx, place, span, def_id, body)
}
Rvalue::Cast(CastKind::Misc, operand, cast_ty) => {
use rustc::ty::cast::CastTy;
let cast_in = CastTy::from_ty(operand.ty(body, tcx)).expect("bad input type for cast");
let cast_out = CastTy::from_ty(cast_ty).expect("bad output type for cast");
match (cast_in, cast_out) {
(CastTy::Ptr(_), CastTy::Int(_)) | (CastTy::FnPtr, CastTy::Int(_)) => Err((
span,
"casting pointers to ints is unstable in const fn".into(),
)),
(CastTy::RPtr(_), CastTy::Float) => bug!(),
(CastTy::RPtr(_), CastTy::Int(_)) => bug!(),
(CastTy::Ptr(_), CastTy::RPtr(_)) => bug!(),
_ => check_operand(tcx, operand, span, def_id, body),
}
}
Rvalue::Cast(CastKind::Pointer(PointerCast::MutToConstPointer), operand, _)
| Rvalue::Cast(CastKind::Pointer(PointerCast::ArrayToPointer), operand, _) => {
check_operand(tcx, operand, span, def_id, body)
}
Rvalue::Cast(CastKind::Pointer(PointerCast::UnsafeFnPointer), _, _) |
Rvalue::Cast(CastKind::Pointer(PointerCast::ClosureFnPointer(_)), _, _) |
Rvalue::Cast(CastKind::Pointer(PointerCast::ReifyFnPointer), _, _) => Err((
span,
"function pointer casts are not allowed in const fn".into(),
)),
Rvalue::Cast(CastKind::Pointer(PointerCast::Unsize), _, _) => Err((
span,
"unsizing casts are not allowed in const fn".into(),
)),
// binops are fine on integers
Rvalue::BinaryOp(_, lhs, rhs) | Rvalue::CheckedBinaryOp(_, lhs, rhs) => {
check_operand(tcx, lhs, span, def_id, body)?;
check_operand(tcx, rhs, span, def_id, body)?;
let ty = lhs.ty(body, tcx);
if ty.is_integral() || ty.is_bool() || ty.is_char() {
Ok(())
} else {
Err((
span,
"only int, `bool` and `char` operations are stable in const fn".into(),
))
}
}
Rvalue::NullaryOp(NullOp::SizeOf, _) => Ok(()),
Rvalue::NullaryOp(NullOp::Box, _) => Err((
span,
"heap allocations are not allowed in const fn".into(),
)),
Rvalue::UnaryOp(_, operand) => {
let ty = operand.ty(body, tcx);
if ty.is_integral() || ty.is_bool() {
check_operand(tcx, operand, span, def_id, body)
} else {
Err((
span,
"only int and `bool` operations are stable in const fn".into(),
))
}
}
Rvalue::Aggregate(_, operands) => {
for operand in operands {
check_operand(tcx, operand, span, def_id, body)?;
}
Ok(())
}
}
}
fn check_statement(
tcx: TyCtxt<'tcx>,
body: &Body<'tcx>,
def_id: DefId,
statement: &Statement<'tcx>,
) -> McfResult {
let span = statement.source_info.span;
match &statement.kind {
StatementKind::Assign(box(place, rval)) => {
check_place(tcx, place, span, def_id, body)?;
check_rvalue(tcx, body, def_id, rval, span)
}
| StatementKind::FakeRead(FakeReadCause::ForMatchedPlace, _)
if !tcx.features().const_if_match
=> {
Err((span, "loops and conditional expressions are not stable in const fn".into()))
}
StatementKind::FakeRead(_, place) => check_place(tcx, place, span, def_id, body),
// just an assignment
StatementKind::SetDiscriminant { .. } => Ok(()),
| StatementKind::InlineAsm { .. } => {
Err((span, "cannot use inline assembly in const fn".into()))
}
// These are all NOPs
| StatementKind::StorageLive(_)
| StatementKind::StorageDead(_)
| StatementKind::Retag { .. }
| StatementKind::AscribeUserType(..)
| StatementKind::Nop => Ok(()),
}
}
fn check_operand(
tcx: TyCtxt<'tcx>,
operand: &Operand<'tcx>,
span: Span,
def_id: DefId,
body: &Body<'tcx>
) -> McfResult {
match operand {
Operand::Move(place) | Operand::Copy(place) => {
check_place(tcx, place, span, def_id, body)
}
Operand::Constant(c) => match c.check_static_ptr(tcx) {
Some(_) => Err((span, "cannot access `static` items in const fn".into())),
None => Ok(()),
},
}
}
fn check_place(
tcx: TyCtxt<'tcx>,
place: &Place<'tcx>,
span: Span,
def_id: DefId,
body: &Body<'tcx>
) -> McfResult {
let mut cursor = place.projection.as_ref();
while let &[ref proj_base @ .., elem] = cursor {
cursor = proj_base;
match elem {
ProjectionElem::Downcast(..) if !tcx.features().const_if_match
=> return Err((span, "`match` or `if let` in `const fn` is unstable".into())),
ProjectionElem::Downcast(_symbol, _variant_index) => {}
ProjectionElem::Field(..) => {
let base_ty = Place::ty_from(&place.base, &proj_base, body, tcx).ty;
if let Some(def) = base_ty.ty_adt_def() {
// No union field accesses in `const fn`
if def.is_union() {
if !feature_allowed(tcx, def_id, sym::const_fn_union) {
return Err((span, "accessing union fields is unstable".into()));
}
}
}
}
ProjectionElem::ConstantIndex { .. }
| ProjectionElem::Subslice { .. }
| ProjectionElem::Deref
| ProjectionElem::Index(_) => {}
}
}
Ok(())
}
/// Returns whether `allow_internal_unstable(..., <feature_gate>, ...)` is present.
fn feature_allowed(
tcx: TyCtxt<'tcx>,
def_id: DefId,
feature_gate: Symbol,
) -> bool {
attr::allow_internal_unstable(&tcx.get_attrs(def_id), &tcx.sess.diagnostic())
.map_or(false, |mut features| features.any(|name| name == feature_gate))
}
fn check_terminator(
tcx: TyCtxt<'tcx>,
body: &'a Body<'tcx>,
def_id: DefId,
terminator: &Terminator<'tcx>,
) -> McfResult {
let span = terminator.source_info.span;
match &terminator.kind {
| TerminatorKind::Goto { .. }
| TerminatorKind::Return
| TerminatorKind::Resume => Ok(()),
TerminatorKind::Drop { location, .. } => {
check_place(tcx, location, span, def_id, body)
}
TerminatorKind::DropAndReplace { location, value, .. } => {
check_place(tcx, location, span, def_id, body)?;
check_operand(tcx, value, span, def_id, body)
},
| TerminatorKind::FalseEdges { .. }
| TerminatorKind::SwitchInt { .. }
if !tcx.features().const_if_match
=> Err((
span,
"loops and conditional expressions are not stable in const fn".into(),
)),
TerminatorKind::FalseEdges { .. } => Ok(()),
TerminatorKind::SwitchInt { discr, switch_ty: _, values: _, targets: _ } => {
check_operand(tcx, discr, span, def_id, body)
}
// FIXME(ecstaticmorse): We probably want to allow `Unreachable` unconditionally.
TerminatorKind::Unreachable if tcx.features().const_if_match => Ok(()),
| TerminatorKind::Abort | TerminatorKind::Unreachable => {
Err((span, "const fn with unreachable code is not stable".into()))
}
| TerminatorKind::GeneratorDrop | TerminatorKind::Yield { .. } => {
Err((span, "const fn generators are unstable".into()))
}
TerminatorKind::Call {
func,
args,
from_hir_call: _,
destination: _,
cleanup: _,
} => {
let fn_ty = func.ty(body, tcx);
if let ty::FnDef(def_id, _) = fn_ty.kind {
// some intrinsics are waved through if called inside the
// standard library. Users never need to call them directly
match tcx.fn_sig(def_id).abi() {
abi::Abi::RustIntrinsic => if !is_intrinsic_whitelisted(tcx, def_id) {
return Err((
span,
"can only call a curated list of intrinsics in `min_const_fn`".into(),
))
},
abi::Abi::Rust if tcx.is_min_const_fn(def_id) => {},
abi::Abi::Rust => return Err((
span,
format!(
"can only call other `const fn` within a `const fn`, \
but `{:?}` is not stable as `const fn`",
func,
)
.into(),
)),
abi => return Err((
span,
format!(
"cannot call functions with `{}` abi in `min_const_fn`",
abi,
).into(),
)),
}
check_operand(tcx, func, span, def_id, body)?;
for arg in args {
check_operand(tcx, arg, span, def_id, body)?;
}
Ok(())
} else {
Err((span, "can only call other const fns within const fn".into()))
}
}
TerminatorKind::Assert {
cond,
expected: _,
msg: _,
target: _,
cleanup: _,
} => check_operand(tcx, cond, span, def_id, body),
TerminatorKind::FalseUnwind { .. } => {
Err((span, "loops are not allowed in const fn".into()))
},
}
}
/// Returns `true` if the `def_id` refers to an intrisic which we've whitelisted
/// for being called from stable `const fn`s (`min_const_fn`).
///
/// Adding more intrinsics requires sign-off from @rust-lang/lang.
fn is_intrinsic_whitelisted(tcx: TyCtxt<'tcx>, def_id: DefId) -> bool {
match &*tcx.item_name(def_id).as_str() {
| "size_of"
| "min_align_of"
| "needs_drop"
// Arithmetic:
| "add_with_overflow" // ~> .overflowing_add
| "sub_with_overflow" // ~> .overflowing_sub
| "mul_with_overflow" // ~> .overflowing_mul
| "wrapping_add" // ~> .wrapping_add
| "wrapping_sub" // ~> .wrapping_sub
| "wrapping_mul" // ~> .wrapping_mul
| "saturating_add" // ~> .saturating_add
| "saturating_sub" // ~> .saturating_sub
| "unchecked_shl" // ~> .wrapping_shl
| "unchecked_shr" // ~> .wrapping_shr
| "rotate_left" // ~> .rotate_left
| "rotate_right" // ~> .rotate_right
| "ctpop" // ~> .count_ones
| "ctlz" // ~> .leading_zeros
| "cttz" // ~> .trailing_zeros
| "bswap" // ~> .swap_bytes
| "bitreverse" // ~> .reverse_bits
=> true,
_ => false,
}
}
| 37.211712 | 99 | 0.484203 |
dd7759ff4074e6120a3d66990aa4dac0b3943ba2 | 9,489 | php | PHP | core/cta/classes/class.enqueues.php | inboundnow/inbound-pro | 596d65886150c8b39624b371512a82e0bb37e188 | [
"Apache-2.0",
"MIT"
] | 27 | 2017-07-08T19:40:42.000Z | 2021-04-11T00:34:41.000Z | core/cta/classes/class.enqueues.php | inboundnow/inbound-pro | 596d65886150c8b39624b371512a82e0bb37e188 | [
"Apache-2.0",
"MIT"
] | 75 | 2017-07-06T21:56:57.000Z | 2021-06-21T02:15:44.000Z | core/cta/classes/class.enqueues.php | inboundnow/inbound-pro | 596d65886150c8b39624b371512a82e0bb37e188 | [
"Apache-2.0",
"MIT"
] | 18 | 2017-07-11T14:22:57.000Z | 2022-02-07T20:53:34.000Z | <?php
/**
* Class for enqueuing scripts and stylesheet that have not been segmented into classes or have no other home.
* @package CTA
* @subpackage Enqueues
*/
class CTA_Enqueues {
static $scripts_queue; /* Holds 3rd party scripts queue
/**
* Initializes class
*/
public function __construct() {
self::load_hooks();
}
/**
* Loads hooks and filters
*/
public static function load_hooks() {
add_action('wp_enqueue_scripts', array(__CLASS__, 'frontend_enqueues'));
add_action('admin_enqueue_scripts', array(__CLASS__, 'backend_enqueues'));
}
/**
* Load Frontend Enqueues
*/
public static function frontend_enqueues() {
global $post, $wp_query;
if (!isset($post)) {
return;
}
wp_enqueue_script('jquery');
self::frontend_cta_enqueue();
self::frontend_non_cta_enqueue();
}
/**
* Loads frontend enqueues when call to action post type is being loaded
*/
public static function frontend_cta_enqueue() {
global $post;
if ( isset($post) && $post->post_type == 'wp-call-to-action' ) {
return;
}
wp_enqueue_script('jquery');
}
/**
* Enqueues front end scripts on all post types that are not calls to actions
*/
public static function frontend_non_cta_enqueue() {
global $post;
if ( $post->post_type != 'wp-call-to-action' ) {
return;
}
/* Loads alignment definitions */
wp_enqueue_style('cta-css', WP_CTA_URLPATH . 'assets/css/cta-load.css', array() ,false , true);
/* Add edit cta pills to rendered calls to action */
if ( current_user_can( 'manage_options' )) {
wp_enqueue_script('frontend-cta-admin', WP_CTA_URLPATH . 'assets/js/admin/frontend-admin-cta.js' , array() , null , true);
wp_localize_script( 'frontend-cta-admin', 'ctafrontend', array('ajax_url' => admin_url( 'admin-ajax.php' ) ));
}
}
/**
* Load backened enqueues
*/
public static function backend_enqueues( $hook ) {
global $post;
if (!isset($post) || $post->post_type != 'wp-call-to-action') {
return;
}
self::dequeue_3rd_party_scripts();
/* Enqueues general & unorganized admin stylings */
wp_enqueue_style('wp-cta-admin-css', WP_CTA_URLPATH . 'assets/css/admin-style.css', array() ,false , true);
/* Load enqueues directly related to wp-call-to-action post type */
self::backend_cta_enqueues( $hook );
self::frontend_editor_enqueues( $hook );
self::reenqueue_3rd_party_scripts( $hook );
}
/**
* Enqueues scripts and styles related to wp-call-to-action post type and cta settings pages
*/
public static function backend_cta_enqueues( $hook ) {
global $post;
$screen = get_current_screen();
if ((isset($screen) && $screen->post_type != 'wp-call-to-action')){
return;
}
global $CTA_Variations;
$CTAExtensions = CTA_Load_Extensions();
/* Enqueue dependancies */
wp_enqueue_script(array('jquery', 'jqueryui', 'editor', 'thickbox', 'media-upload'));
/* Enqueue jpicker for color selectors */
wp_enqueue_script('jpicker', WP_CTA_URLPATH . 'assets/lib/jpicker/jpicker-1.1.6.min.js' , array() , null , false);
wp_localize_script( 'jpicker', 'jpicker', array( 'thispath' => WP_CTA_URLPATH . 'assets/lib/jpicker/images/'));
wp_enqueue_style('jpicker-css', WP_CTA_URLPATH . 'assets/lib/jpicker/css/jPicker-1.1.6.min.css', array() , null , false);
/* Enqueue qtip support */
wp_dequeue_script('jquery-qtip');
wp_enqueue_script('jquery-qtip', WP_CTA_URLPATH . 'assets/lib/jquery-qtip/jquery.qtip.min.js' , array() , null , false);
wp_enqueue_script('load-qtip', WP_CTA_URLPATH . 'assets/lib/jquery-qtip/load.qtip.js', array('jquery-qtip') , null , false);
wp_enqueue_style('qtip-css', WP_CTA_URLPATH . 'assets/css/jquery.qtip.min.css');
/* Enqueue CSS rules for wp-call-to-action post type */
wp_enqueue_style('wp-cta-only-cpt-admin-css', WP_CTA_URLPATH . 'assets/css/admin-wp-cta-cpt-only-style.css' , array() );
/* Enqueues support for clear stat buttons */
wp_enqueue_script( 'wp-cta-admin-clear-stats-ajax-request', WP_CTA_URLPATH . 'assets/js/ajax.clearstats.js', array( 'jquery') , null , true);
wp_localize_script( 'wp-cta-admin-clear-stats-ajax-request', 'ajaxadmin', array( 'ajaxurl' => admin_url('admin-ajax.php'), 'wp_call_to_action_clear_nonce' => wp_create_nonce('wp-call-to-action-clear-nonce') ));
/* Enqueue supporting js for Global Settings page */
if (isset($_GET['page']) && $_GET['page'] === 'wp_cta_global_settings') {
wp_enqueue_script('cta-settings-js', WP_CTA_URLPATH . 'assets/js/admin/admin.global-settings.js' , array() , null , true );
}
/* enqueue scripts and styles for CTA listing page */
if ($screen->id == 'edit-wp-call-to-action') {
wp_enqueue_script('wp-call-to-action-list', WP_CTA_URLPATH . 'assets/js/admin/admin.wp-call-to-action-list.js' , array() , null , true );
wp_enqueue_style('wp-call-to-action-list-css', WP_CTA_URLPATH.'assets/css/admin-wp-call-to-action-list.css');
wp_admin_css('thickbox');
add_thickbox();
}
/* Enqueue scripts required on create cta page and edit cta page */
if (isset($hooks) && $hook == 'post-new.php' || $hook == 'post.php') {
/* Set the default editor mode */
add_filter( 'wp_default_editor', array(__CLASS__, 'set_default_editor_mode'));/* force visual editor to open in text mode */
/* Enqueue UI assisting js */
wp_enqueue_script('wp-cta-post-edit-ui', WP_CTA_URLPATH . 'assets/js/admin/admin.post-edit.js' , array() , null , false);
wp_localize_script( 'wp-cta-post-edit-ui', 'wp_cta_post_edit_ui', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ), 'post_id' => $post->ID, 'variation_id' => $CTA_Variations->get_current_variation_id(), 'wp_call_to_action_meta_nonce' => wp_create_nonce('wp-call-to-action-meta-nonce'), 'wp_call_to_action_template_nonce' => wp_create_nonce('wp-cta-nonce') ));
/* Enqueue supportive js for template switching */
wp_enqueue_script('wp-cta-js-metaboxes', WP_CTA_URLPATH . 'assets/js/admin/admin.metaboxes.js' , array() , null , false );
$template_data = $CTAExtensions->definitions;
$template_data = json_encode($template_data);
$template = get_post_meta($post->ID, 'wp-cta-selected-template', true);
$template = apply_filters('wp_cta_selected_template',$template);
$template = strtolower($template);
$params = array('selected_template'=>$template, 'templates'=>$template_data);
wp_localize_script('wp-cta-js-metaboxes', 'data', $params);
}
/* Enqueue scripts & styles for cta edit page alone */
if ($hook == 'post.php') {
wp_enqueue_style('admin-post-edit-css', WP_CTA_URLPATH . 'assets/css/admin-post-edit.css');
}
/* Enqueue scripts & styles for cta creation page alone */
if ($hook == 'post-new.php'){
wp_enqueue_script('wp-cta-js-create-new', WP_CTA_URLPATH . 'assets/js/admin/admin.post-new.js', array('jquery'), null, false );
wp_enqueue_style('wp-cta-css-post-new', WP_CTA_URLPATH . 'assets/css/admin-post-new.css');
}
}
/**
* Loads CSS & JS applied to frontend editor mode
*/
public static function frontend_editor_enqueues() {
if (!isset($_GET['page'])||$_GET['page']!='wp-cta-frontend-editor') {
return;
}
wp_enqueue_script(array('jquery', 'editor', 'thickbox', 'media-upload'));
wp_dequeue_script('jquery-cookie');
wp_enqueue_script('jquery-cookie', WP_CTA_URLPATH . 'assets/js/jquery.cookie.js' , array() , null , true );
wp_enqueue_style( 'wp-admin' );
wp_admin_css('thickbox');
add_thickbox();
wp_enqueue_style('wp-cta-admin-css', WP_CTA_URLPATH . 'assets/css/admin-style.css');
wp_enqueue_script('wp-cta-post-edit-ui', WP_CTA_URLPATH . 'assets/js/admin/admin.post-edit.js' , array() , null , true );
wp_localize_script( 'wp-cta-post-edit-ui', 'wp_cta_post_edit_ui', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ), 'wp_call_to_action_meta_nonce' => wp_create_nonce('wp-call-to-action-meta-nonce') ));
wp_enqueue_script('wp-cta-frontend-editor-js', WP_CTA_URLPATH . 'assets/js/customizer.save.js' , array() , null , true );
//jpicker - color picker
wp_enqueue_script('jpicker', WP_CTA_URLPATH . 'assets/lib/jpicker/jpicker-1.1.6.min.js' , array() , null , true);
wp_localize_script( 'jpicker', 'jpicker', array( 'thispath' => WP_CTA_URLPATH . 'assets/lib/jpicker/images/'));
wp_enqueue_style('jpicker-css', WP_CTA_URLPATH . 'assets/lib/jpicker/css/jPicker-1.1.6.min.css');
wp_enqueue_style('jpicker-css', WP_CTA_URLPATH . 'assets/lib/jpicker/css/jPicker.css');
wp_enqueue_style('wp-cta-customizer-frontend', WP_CTA_URLPATH . 'assets/css/customizer.frontend.css');
wp_dequeue_script('form-population');
wp_dequeue_script('inbound-analytics');
wp_enqueue_script('jquery-easing', WP_CTA_URLPATH . 'assets/js/jquery.easing.min.js' , array() , null , true );
}
public static function set_default_editor_mode() {
//allowed: tinymce, html, test
return 'html';
}
/**
* stores 3rd party script enqueues in a static var and temporarily dequeues
*/
public static function dequeue_3rd_party_scripts() {
global $wp_scripts;
if ( !empty( $wp_scripts->queue ) ) {
self::$scripts_queue = $wp_scripts->queue; // store the scripts
foreach ( $wp_scripts->queue as $handle ) {
wp_dequeue_script( $handle );
}
}
}
/**
* re-enqueues 3rd party scripts
*/
public static function reenqueue_3rd_party_scripts() {
if(isset(self::$scripts_queue)) {
foreach ( self::$scripts_queue as $handle ) {
wp_enqueue_script( $handle );
}
}
}
}
/**
* Loads Class Pre-Init
*/
$CTA_Enqueues = new CTA_Enqueues(); | 37.505929 | 363 | 0.695964 |
712b7b3df7f15638392d2492a9d5464af24da30f | 171 | ts | TypeScript | src/lint-fmt/compat.ts | ocaml/setup-ocaml | 2f4d74fb4c57ed11cede25270bad0e0d324614b6 | [
"MIT"
] | 56 | 2021-05-21T16:44:21.000Z | 2022-03-28T03:25:17.000Z | src/lint-fmt/compat.ts | ocaml/setup-ocaml | 5d697f4d7a915e42b76d7780106be549c4eb6a1d | [
"MIT"
] | 116 | 2021-05-21T15:41:10.000Z | 2022-03-24T04:38:28.000Z | src/lint-fmt/compat.ts | ocaml/setup-ocaml | 2f4d74fb4c57ed11cede25270bad0e0d324614b6 | [
"MIT"
] | 8 | 2021-05-24T22:25:05.000Z | 2022-03-04T17:44:44.000Z | import "core-js/features/string";
export function convertToUnix(str: string) {
const regex = /\r?\n|\r/gi;
const unix = str.replaceAll(regex, "\n");
return unix;
}
| 21.375 | 44 | 0.672515 |
5816b0b2c175cb03a5af3280c5d2e1f54adfba18 | 202 | h | C | MeMeDa/Utils/Views/View Extension/UINavigationBar+CustomBar.h | nemOoO-wang/MMLive | 01753b5ba72138e4d3f3d6d8d397a40b34aef062 | [
"MIT"
] | null | null | null | MeMeDa/Utils/Views/View Extension/UINavigationBar+CustomBar.h | nemOoO-wang/MMLive | 01753b5ba72138e4d3f3d6d8d397a40b34aef062 | [
"MIT"
] | null | null | null | MeMeDa/Utils/Views/View Extension/UINavigationBar+CustomBar.h | nemOoO-wang/MMLive | 01753b5ba72138e4d3f3d6d8d397a40b34aef062 | [
"MIT"
] | null | null | null | //
// UINavigationBar+CustomBar.h
// MeMeDa
//
// Created by 镓洲 王 on 5/3/18.
// Copyright © 2018 镓洲 王. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UINavigationBar (CustomBar)
@end
| 14.428571 | 47 | 0.668317 |
589567e75f53e2baf1de22cab0d3d637b6be0429 | 281 | sql | SQL | src/test/resources/select1.test_70.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 131 | 2015-03-31T18:59:14.000Z | 2022-03-09T09:51:06.000Z | src/test/resources/select1.test_70.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 20 | 2015-03-31T21:35:38.000Z | 2018-07-02T16:15:51.000Z | src/test/resources/select1.test_70.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 43 | 2015-04-28T02:01:55.000Z | 2021-06-06T09:33:38.000Z | -- select1.test
--
-- execsql {
-- CREATE TABLE t5(a,b);
-- INSERT INTO t5 VALUES(1,10);
-- INSERT INTO t5 VALUES(2,9);
-- SELECT * FROM t5 ORDER BY 1;
-- }
CREATE TABLE t5(a,b);
INSERT INTO t5 VALUES(1,10);
INSERT INTO t5 VALUES(2,9);
SELECT * FROM t5 ORDER BY 1; | 23.416667 | 35 | 0.604982 |
2709be81c64ff6960233732b53b5c79573f32e14 | 4,364 | c | C | base/crts/crtw32/mbstring/mbstok.c | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | base/crts/crtw32/mbstring/mbstok.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | base/crts/crtw32/mbstring/mbstok.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /***
*mbstok.c - Break string into tokens (MBCS)
*
* Copyright (c) 1985-2001, Microsoft Corporation. All rights reserved.
*
*Purpose:
* Break string into tokens (MBCS)
*
*Revision History:
* 11-19-92 KRS Ported from 16-bit sources.
* 12-04-92 KRS Added MTHREAD support.
* 02-17-93 GJF Changed for new _getptd().
* 07-14-93 KRS Fix: all references should be to _mtoken, not _token.
* 09-27-93 CFW Remove Cruiser support.
* 10-06-93 GJF Replaced _CRTAPI1 with __cdecl, MTHREAD with _MT.
* 04-15-93 CFW Add _MB_CP_LOCK.
* 05-09-94 CFW Optimize for SBCS.
* 05-19-94 CFW Enable non-Win32.
* 09-11-97 GJF Replaced __mbcodepage == 0 with _ISNOTMBCP.
* 04-21-98 GJF Revised multithread support based on threadmbcinfo
* structs
*
*******************************************************************************/
#ifdef _MBCS
#include <mtdll.h>
#include <cruntime.h>
#include <string.h>
#include <mbdata.h>
#include <mbctype.h>
#include <mbstring.h>
#include <stddef.h>
/***
* _mbstok - Break string into tokens (MBCS)
*
*Purpose:
* strtok considers the string to consist of a sequence of zero or more
* text tokens separated by spans of one or more control chars. the first
* call, with string specified, returns a pointer to the first char of the
* first token, and will write a null char into string immediately
* following the returned token. subsequent calls with zero for the first
* argument (string) will work thru the string until no tokens remain. the
* control string may be different from call to call. when no tokens remain
* in string a NULL pointer is returned. remember the control chars with a
* bit map, one bit per ascii char. the null char is always a control char.
*
* MBCS chars supported correctly.
*
*Entry:
* char *string = string to break into tokens.
* char *sepset = set of characters to use as seperators
*
*Exit:
* returns pointer to token, or NULL if no more tokens
*
*Exceptions:
*
*******************************************************************************/
unsigned char * __cdecl _mbstok(
unsigned char * string,
const unsigned char * sepset
)
{
unsigned char *nextsep;
#ifdef _MT
_ptiddata ptd = _getptd();
unsigned char *nextoken;
pthreadmbcinfo ptmbci;
if ( (ptmbci = ptd->ptmbcinfo) != __ptmbcinfo )
ptmbci = __updatetmbcinfo();
if ( _ISNOTMBCP_MT(ptmbci) )
#else /* _MT */
static unsigned char *nextoken;
if ( _ISNOTMBCP )
#endif /* _MT */
return strtok(string, sepset);
/* init start of scan */
if (string)
nextoken = string;
else
/* If string==NULL, continue with previous string */
{
#ifdef _MT
nextoken = ptd->_mtoken;
#endif /* _MT */
if (!nextoken)
return NULL;
}
/* skip over lead seperators */
#ifdef _MT
if ( (string = __mbsspnp_mt(ptmbci, nextoken, sepset)) == NULL )
#else
if ( (string = _mbsspnp(nextoken, sepset)) == NULL )
#endif
return(NULL);
/* test for end of string */
if ( (*string == '\0') ||
#ifdef _MT
((__ismbblead_mt(ptmbci, *string)) && (string[1] == '\0')) )
#else
((_ismbblead(*string)) && (string[1] == '\0')) )
#endif
return(NULL);
/* find next seperator */
#ifdef _MT
nextsep = __mbspbrk_mt(ptmbci, string, sepset);
#else
nextsep = _mbspbrk(string, sepset);
#endif
if ((nextsep == NULL) || (*nextsep == '\0'))
nextoken = NULL;
else {
#ifdef _MT
if ( __ismbblead_mt(ptmbci, *nextsep) )
#else
if ( _ismbblead(*nextsep) )
#endif
*nextsep++ = '\0';
*nextsep = '\0';
nextoken = ++nextsep;
}
#ifdef _MT
/* Update the corresponding field in the per-thread data * structure */
ptd->_mtoken = nextoken;
#endif /* _MT */
return(string);
}
#endif /* _MBCS */
| 28.522876 | 81 | 0.542392 |
0c83ca38634452225fc5796f360c1d45205cc40e | 1,552 | py | Python | grabber.py | serj12342/pstreehunter | 255b2da9a7110ca37f776baa3071ecbb10fec2f5 | [
"MIT"
] | 1 | 2022-01-03T13:30:01.000Z | 2022-01-03T13:30:01.000Z | grabber.py | serj12342/pstreehunter | 255b2da9a7110ca37f776baa3071ecbb10fec2f5 | [
"MIT"
] | null | null | null | grabber.py | serj12342/pstreehunter | 255b2da9a7110ca37f776baa3071ecbb10fec2f5 | [
"MIT"
] | null | null | null | import requests
import re
pattern_hashes = "^[a-f0-9]{64}$"
pattern_url = "https?:\/\/.*"
pattern_ip = "(?:(?:\d|[01]?\d\d|2[0-4]\d|25[0-5])\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d|\d)(?:\/\d{1,2})?"
pattern_domain = "^[a-zA-Z0-9][a-zA-Z0-9-_]{0,61}[a-zA-Z0-9]{0,1}\.([a-zA-Z]{1,6}|[a-zA-Z0-9-]{1,30}\.[a-zA-Z]{2,3})$"
headers = {
'Accept': 'application/json'
}
r = requests.get('https://labs.inquest.net/api/iocdb/list', headers = headers)
j = r.json()
def ioc_grabber(fileHandle, pattern, data, notUseRegular=False):
if notUseRegular:
writerHandle(fileHandle, data)
return
sections = re.findall(pattern, data, re.DOTALL)
if any(isinstance(e, str) and len(e) > 0 for e in sections):
writerHandle(fileHandle, "\n".join(sections))
def writerHandle(fileHandle, data):
fileHandle.write(data)
fileHandle.write('\n')
with open("links.txt", "a") as links:
with open("hashes.txt", "a") as ioc_hash:
with open("urls.txt", "a") as ioc_url:
with open("ip.txt", "a") as ioc_ip:
with open("domains.txt", "a") as ioc_domain:
for each in (j['data']):
ioc_grabber(links, None, each['reference_link'], True)
ioc_grabber(ioc_hash, pattern_hashes, each['artifact'])
ioc_grabber(ioc_url, pattern_url, each['artifact'])
ioc_grabber(ioc_ip, pattern_ip, each['artifact'])
ioc_grabber(ioc_domain, pattern_domain, each['artifact'])
ioc_domain.close()
ioc_ip.close()
ioc_url.close()
ioc_hash.close()
links.close()
| 32.333333 | 118 | 0.607603 |
66780ebf3f68aac62b31bcfc73275e4d4ca01303 | 4,101 | swift | Swift | TMDB/Core/Services/Account.swift | okankocyigit/TMDB | 1a44524bcc644706a7447586f7e548b046d4ea9e | [
"MIT"
] | null | null | null | TMDB/Core/Services/Account.swift | okankocyigit/TMDB | 1a44524bcc644706a7447586f7e548b046d4ea9e | [
"MIT"
] | null | null | null | TMDB/Core/Services/Account.swift | okankocyigit/TMDB | 1a44524bcc644706a7447586f7e548b046d4ea9e | [
"MIT"
] | null | null | null | extension TMDB {
public class Account {
public class func getDetail(sessionId: String, completion: @escaping (Result<TMDBAccount, Error>) -> Void) -> URLSessionTask? {
return request(with: .getAccountDetail(sessionId: sessionId), completion: completion)
}
public class func getLists(sessionId: String, page: Int, completion: @escaping (Result<TMDBPagedListResult<TMDBAccountList>, Error>) -> Void) -> URLSessionTask? {
return request(with: .getAccountLists(sessionId: sessionId, page: page), completion: completion)
}
public class func getFavoriteMovies(sessionId: String, page: Int, sortBy: TMDBSortBy<TMDBAccountListsSortByParameters>? = nil, completion: @escaping (Result<TMDBPagedListResult<TMDBMovie>, Error>) -> Void) -> URLSessionTask? {
return request(with: .getAccountFavoriteMovies(sessionId: sessionId, page: page, sortBy: sortBy), completion: completion)
}
public class func getFavoriteTVShows(sessionId: String, page: Int, sortBy: TMDBSortBy<TMDBAccountListsSortByParameters>? = nil, completion: @escaping (Result<TMDBPagedListResult<TMDBTV>, Error>) -> Void) -> URLSessionTask? {
return request(with: .getAccountFavoriteTVShows(sessionId: sessionId, page: page, sortBy: sortBy), completion: completion)
}
public class func markMediaAsFavorite(sessionId: String, mediaId: Int, mediaType: TMDBAccountMediaType, isFavorite: Bool, completion: @escaping (Result<TMDBResponse, Error>) -> Void) -> URLSessionTask? {
return request(with: .markMediaAsFavorite(sessionId: sessionId, mediaId: mediaId, mediaType: mediaType, isFavorite: isFavorite), completion: completion)
}
public class func getRatedMovies(sessionId: String, page: Int, sortBy: TMDBSortBy<TMDBAccountListsSortByParameters>? = nil, completion: @escaping (Result<TMDBPagedListResult<TMDBMovie>, Error>) -> Void) -> URLSessionTask? {
return request(with: .getAccountRatedMovies(sessionId: sessionId, page: page, sortBy: sortBy), completion: completion)
}
public class func getRatedTVShows(sessionId: String, page: Int, sortBy: TMDBSortBy<TMDBAccountListsSortByParameters>? = nil, completion: @escaping (Result<TMDBPagedListResult<TMDBTV>, Error>) -> Void) -> URLSessionTask? {
return request(with: .getAccountRatedTVShows(sessionId: sessionId, page: page, sortBy: sortBy), completion: completion)
}
public class func getRatedTVEpisodes(sessionId: String, page: Int, sortBy: TMDBSortBy<TMDBAccountListsSortByParameters>? = nil, completion: @escaping (Result<TMDBPagedListResult<TMDBTVEpisode>, Error>) -> Void) -> URLSessionTask? {
return request(with: .getAccountRatedTVEpisodes(sessionId: sessionId, page: page, sortBy: sortBy), completion: completion)
}
public class func getWatchListMovies(sessionId: String, page: Int, sortBy: TMDBSortBy<TMDBAccountListsSortByParameters>? = nil, completion: @escaping (Result<TMDBPagedListResult<TMDBMovie>, Error>) -> Void) -> URLSessionTask? {
return request(with: .getAccountWatchListMovies(sessionId: sessionId, page: page, sortBy: sortBy), completion: completion)
}
public class func getWatchListTVShows(sessionId: String, page: Int, sortBy: TMDBSortBy<TMDBAccountListsSortByParameters>? = nil, completion: @escaping (Result<TMDBPagedListResult<TMDBTV>, Error>) -> Void) -> URLSessionTask? {
return request(with: .getAccountWatchListTVShows(sessionId: sessionId, page: page, sortBy: sortBy), completion: completion)
}
public class func addMediaToWatchList(sessionId: String, mediaId: Int, mediaType: TMDBAccountMediaType, inWatchList: Bool, completion: @escaping (Result<TMDBResponse, Error>) -> Void) -> URLSessionTask? {
return request(with: .addMediaToWatchList(sessionId: sessionId, mediaId: mediaId, mediaType: mediaType, inWatchList: inWatchList), completion: completion)
}
}
}
| 85.4375 | 239 | 0.713972 |
968114aca2840280b58cc7376ab074bf0159d057 | 350 | php | PHP | app/Models/Jobseeker/Register.php | sharmahemal/job_portal | 65e49f4adc1cf1ba08d26766eb0428d71c1b788f | [
"MIT"
] | null | null | null | app/Models/Jobseeker/Register.php | sharmahemal/job_portal | 65e49f4adc1cf1ba08d26766eb0428d71c1b788f | [
"MIT"
] | null | null | null | app/Models/Jobseeker/Register.php | sharmahemal/job_portal | 65e49f4adc1cf1ba08d26766eb0428d71c1b788f | [
"MIT"
] | null | null | null | <?php
namespace App\Models\Jobseeker;
use Illuminate\Database\Eloquent\Model;
class Register extends Model
{
protected $table = "tbl_users";
const CREATED_AT = 'user_created_date ';
const UPDATED_AT = 'user_updated_date';
protected $fillable = ['user_password'];
public function __construct() {
error_reporting(0);
}
}
| 18.421053 | 45 | 0.705714 |
99ff4ca8fc86554907be5cce6991f40f49ba6c82 | 2,264 | kt | Kotlin | app/src/main/java/com/example/android_study/event_system/multi_touch/scale_image/ScaleImageView.kt | RhythmCoderZZF/AndroidStudy | 8de07e3a5613128ce05a9a0de2305bd02122da3a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/android_study/event_system/multi_touch/scale_image/ScaleImageView.kt | RhythmCoderZZF/AndroidStudy | 8de07e3a5613128ce05a9a0de2305bd02122da3a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/android_study/event_system/multi_touch/scale_image/ScaleImageView.kt | RhythmCoderZZF/AndroidStudy | 8de07e3a5613128ce05a9a0de2305bd02122da3a | [
"Apache-2.0"
] | null | null | null | package com.example.android_study.event_system.multi_touch.scale_image
import android.content.Context
import android.graphics.Matrix
import android.util.AttributeSet
import android.view.MotionEvent
import android.view.ViewConfiguration
import android.widget.ImageView
import com.example.android_study._base.cmd.CmdUtil
import kotlin.math.abs
import kotlin.math.sqrt
/**
* Author:create by RhythmCoder
* Date:2021/8/30
* Description:
*/
class ScaleImageView @JvmOverloads constructor(
context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0
) : ImageView(context, attrs, defStyleAttr) {
private val mMatrix = Matrix()
private var mOldDist = 0f
private var mNewDist = 0f
private var mFingers = 0
private val slop = ViewConfiguration.getTouchSlop()
override fun onTouchEvent(event: MotionEvent): Boolean {
when (event.actionMasked) {
MotionEvent.ACTION_DOWN -> {
reset()
mFingers+=1
}
MotionEvent.ACTION_POINTER_DOWN -> {
mFingers += 1
if (mFingers == 2) {
mOldDist = spacing(event)
}
}
MotionEvent.ACTION_POINTER_UP -> {
mFingers -= 1
if (mFingers == 2) {
mOldDist = spacing(event)
}
}
MotionEvent.ACTION_MOVE -> {
if (mFingers >= 2) {
mNewDist = spacing(event)
if (abs(mNewDist - mOldDist) > 1) {
zoom()
mOldDist = mNewDist
}
}
}
MotionEvent.ACTION_UP -> {
reset()
}
}
return true
}
private fun reset() {
mOldDist = 0f
mFingers = 0
mNewDist = 0f
}
private fun spacing(event: MotionEvent): Float {
val x = event.getX(0) - event.getX(1)
val y = event.getY(0) - event.getY(1)
return sqrt(x * x + y * y)
}
private fun zoom() {
val scale = mNewDist / mOldDist
CmdUtil.v("scale:$scale")
mMatrix.postScale(scale, scale)
imageMatrix = mMatrix
}
} | 28.658228 | 72 | 0.544611 |
ab86f66becab55e5081f5c55b259a6328f67ce99 | 433 | sql | SQL | senzing/g2/resources/schema/g2core-schema-db2-upgrade-1.1-to-1.2.sql | GeoJamesJones/ArcGIS-Senzing-Prototype | ebe7f1c3f516525f4bfbf5b4f1446e8c6612a67b | [
"MIT"
] | null | null | null | senzing/g2/resources/schema/g2core-schema-db2-upgrade-1.1-to-1.2.sql | GeoJamesJones/ArcGIS-Senzing-Prototype | ebe7f1c3f516525f4bfbf5b4f1446e8c6612a67b | [
"MIT"
] | null | null | null | senzing/g2/resources/schema/g2core-schema-db2-upgrade-1.1-to-1.2.sql | GeoJamesJones/ArcGIS-Senzing-Prototype | ebe7f1c3f516525f4bfbf5b4f1446e8c6612a67b | [
"MIT"
] | null | null | null | CREATE TABLE SYS_CFG (CFG_ID smallint NOT NULL, CONFIG_DATA_ID BIGINT NOT NULL, CONFIG_DATA CLOB NOT NULL, SYS_CREATE_DT TIMESTAMP NOT NULL) ;
ALTER TABLE SYS_CFG ADD CONSTRAINT SYS_CFG_PK PRIMARY KEY(CFG_ID) ;
CREATE TABLE SYS_STATUS (SYSTEM_CODE VARCHAR(50) NOT NULL, LAST_TOUCH_DT TIMESTAMP) ;
ALTER TABLE SYS_STATUS ADD CONSTRAINT SYS_STATUS_PK PRIMARY KEY(SYSTEM_CODE) ;
ALTER TABLE RES_FEAT_EKEY ADD COLUMN SUPPRESSED CHAR(1);
| 72.166667 | 142 | 0.82448 |
f066f0cbf6ab8b77f029f21aa6f5291fa9dc1461 | 202 | js | JavaScript | playground/alias/vite.config.js | fauxparse/vite-jest | 3af1c34821f24d2efe532081c0181168f8f21290 | [
"MIT"
] | 281 | 2021-03-27T07:41:47.000Z | 2022-03-26T06:25:26.000Z | playground/alias/vite.config.js | fauxparse/vite-jest | 3af1c34821f24d2efe532081c0181168f8f21290 | [
"MIT"
] | 30 | 2021-07-09T23:43:17.000Z | 2022-03-24T13:44:39.000Z | playground/alias/vite.config.js | fauxparse/vite-jest | 3af1c34821f24d2efe532081c0181168f8f21290 | [
"MIT"
] | 36 | 2021-06-18T16:37:18.000Z | 2022-03-30T19:12:20.000Z | import { fileURLToPath } from 'url'
import { defineConfig } from 'vite'
export default defineConfig({
resolve: {
alias: {
'@': fileURLToPath(new URL('./dir', import.meta.url))
}
}
})
| 18.363636 | 59 | 0.613861 |
1a28d540a757d1c478b2da4fd47f94b4bf833e3a | 6,369 | rs | Rust | src/r1cs_nark_as/r1cs_nark/data_structures.rs | arkworks-rs/accumulation | 4a680af486a061927e2e46f3d7bf8830a96752b7 | [
"Apache-2.0",
"MIT"
] | 8 | 2021-05-11T07:35:54.000Z | 2021-11-17T18:18:50.000Z | src/r1cs_nark_as/r1cs_nark/data_structures.rs | arkworks-rs/accumulation | 4a680af486a061927e2e46f3d7bf8830a96752b7 | [
"Apache-2.0",
"MIT"
] | 10 | 2021-05-18T20:19:05.000Z | 2021-11-17T22:45:27.000Z | src/r1cs_nark_as/r1cs_nark/data_structures.rs | arkworks-rs/accumulation | 4a680af486a061927e2e46f3d7bf8830a96752b7 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T00:57:30.000Z | 2021-07-20T00:57:30.000Z | use ark_ec::AffineCurve;
use ark_ff::{Field, PrimeField};
use ark_poly_commit::trivial_pc::CommitterKey;
use ark_relations::r1cs::Matrix;
use ark_serialize::{CanonicalDeserialize, CanonicalSerialize, SerializationError};
use ark_sponge::{collect_sponge_bytes, collect_sponge_field_elements, Absorbable};
use ark_std::io::{Read, Write};
use ark_std::vec::Vec;
/// The public parameters of this NARK.
pub type PublicParameters = ();
/// Information about the index, including the field of definition, the number of
/// variables, the number of constraints, and the maximum number of non-zero
/// entries in any of the constraint matrices.
#[derive(Clone, Copy)]
pub(crate) struct IndexInfo {
/// The total number of variables in the constraint system.
pub(crate) num_variables: usize,
/// The number of constraints.
pub(crate) num_constraints: usize,
/// The number of public input (i.e. instance) variables.
pub(crate) num_instance_variables: usize,
/// Hash of the matrices.
pub(crate) matrices_hash: [u8; 32],
}
/// The index prover key for our NARK.
#[derive(Clone)]
pub struct IndexProverKey<G: AffineCurve> {
/// Information about the index.
pub(crate) index_info: IndexInfo,
/// The `A` matrix of the R1CS instance.
pub(crate) a: Matrix<G::ScalarField>,
/// The `B` matrix of the R1CS instance.
pub(crate) b: Matrix<G::ScalarField>,
/// The `C` matrix of the R1CS instance.
pub(crate) c: Matrix<G::ScalarField>,
/// Group elements required by the Pedersen commitment.
pub(crate) ck: CommitterKey<G>,
}
/// Index verifier key for our NARK.
pub type IndexVerifierKey<G> = IndexProverKey<G>;
/// The sigma protocol's prover commitment randomness.
#[derive(Clone, CanonicalSerialize, CanonicalDeserialize)]
pub struct FirstRoundMessageRandomness<G: AffineCurve> {
/// Pedersen commitment to the vector that blinds the witness in `Az`.
pub(crate) comm_r_a: G,
/// Pedersen commitment to the vector that blinds the witness in `Bz`.
pub(crate) comm_r_b: G,
/// Pedersen commitment to the vector that blinds the witness in `Cz`.
pub(crate) comm_r_c: G,
/// Pedersen commitment to the first cross term randomness vector
pub(crate) comm_1: G,
/// Pedersen commitment to the second cross term randomness vector
pub(crate) comm_2: G,
}
impl<CF, G> Absorbable<CF> for FirstRoundMessageRandomness<G>
where
CF: PrimeField,
G: AffineCurve + Absorbable<CF>,
{
fn to_sponge_bytes(&self) -> Vec<u8> {
collect_sponge_bytes!(
CF,
self.comm_r_a,
self.comm_r_b,
self.comm_r_c,
self.comm_1,
self.comm_2
)
}
fn to_sponge_field_elements(&self) -> Vec<CF> {
collect_sponge_field_elements!(
self.comm_r_a,
self.comm_r_b,
self.comm_r_c,
self.comm_1,
self.comm_2
)
}
}
/// The sigma protocol's prover commitment.
#[derive(Clone, CanonicalSerialize, CanonicalDeserialize)]
pub struct FirstRoundMessage<G: AffineCurve> {
/// Pedersen commitment to the `Az` vector.
pub(crate) comm_a: G,
/// Pedersen commitment to the `Bz` vector.
pub(crate) comm_b: G,
/// Pedersen commitment to the `Cz` vector.
pub(crate) comm_c: G,
/// The randomness used for the commitment.
pub(crate) randomness: Option<FirstRoundMessageRandomness<G>>,
}
impl<G: AffineCurve> FirstRoundMessage<G> {
pub(crate) fn zero(make_zk: bool) -> Self {
Self {
comm_a: G::zero(),
comm_b: G::zero(),
comm_c: G::zero(),
randomness: if make_zk {
Some(FirstRoundMessageRandomness {
comm_r_a: G::zero(),
comm_r_b: G::zero(),
comm_r_c: G::zero(),
comm_1: G::zero(),
comm_2: G::zero(),
})
} else {
None
},
}
}
}
impl<CF, G> Absorbable<CF> for FirstRoundMessage<G>
where
CF: PrimeField,
G: AffineCurve + Absorbable<CF>,
{
fn to_sponge_bytes(&self) -> Vec<u8> {
collect_sponge_bytes!(CF, self.comm_a, self.comm_b, self.comm_c, self.randomness)
}
fn to_sponge_field_elements(&self) -> Vec<CF> {
collect_sponge_field_elements!(self.comm_a, self.comm_b, self.comm_c, self.randomness)
}
}
/// The sigma protocol's prover response randomness.
#[derive(Clone, CanonicalSerialize, CanonicalDeserialize)]
pub struct SecondRoundMessageRandomness<F: Field> {
/// The blinded randomness for the Pedersen commitment to the linear combination with the
/// `A` matrix.
pub(crate) sigma_a: F,
/// The blinded randomness for the Pedersen commitment to the linear combination with the
/// `B` matrix.
pub(crate) sigma_b: F,
/// The blinded randomness for the Pedersen commitment to the linear combination with the
/// `C` matrix.
pub(crate) sigma_c: F,
/// The blinded randomness for the Pedersen commitment to the cross terms
pub(crate) sigma_o: F,
}
/// The sigma protocol's prover response.
#[derive(Clone, CanonicalSerialize, CanonicalDeserialize)]
pub struct SecondRoundMessage<F: Field> {
/// The R1CS witness with randomness applied if zero-knowledge is needed.
pub(crate) blinded_witness: Vec<F>,
/// The randomness used for the response.
pub(crate) randomness: Option<SecondRoundMessageRandomness<F>>,
}
impl<F: Field> SecondRoundMessage<F> {
pub(crate) fn zero(witness_len: usize, make_zk: bool) -> Self {
Self {
blinded_witness: vec![F::zero(); witness_len],
randomness: if make_zk {
Some(SecondRoundMessageRandomness {
sigma_a: F::zero(),
sigma_b: F::zero(),
sigma_c: F::zero(),
sigma_o: F::zero(),
})
} else {
None
},
}
}
}
/// The proof for our NARK.
#[derive(Clone, CanonicalSerialize, CanonicalDeserialize)]
pub struct Proof<G: AffineCurve> {
/// The sigma protocol's prove commitment.
pub first_msg: FirstRoundMessage<G>,
/// The sigma protocol's prove response.
pub second_msg: SecondRoundMessage<G::ScalarField>,
}
| 30.917476 | 94 | 0.638562 |
14082ab945945e620ba3f5f354f76cc3e9bf9898 | 1,568 | css | CSS | intro.css | Glitch-Bliss/Playchart | fdbdfddf7615a41bc00ac79ae95aa581de748d9e | [
"CC0-1.0"
] | null | null | null | intro.css | Glitch-Bliss/Playchart | fdbdfddf7615a41bc00ac79ae95aa581de748d9e | [
"CC0-1.0"
] | null | null | null | intro.css | Glitch-Bliss/Playchart | fdbdfddf7615a41bc00ac79ae95aa581de748d9e | [
"CC0-1.0"
] | null | null | null | /**
** INTRO TEMPLATE
**
*/
body {
background: #5069ab;
margin: 0;
padding: 0;
}
h1 {
font-family: 'Mukta', sans-serif;
text-align: center;
text-transform: uppercase;
background: white;
}
#templates {
display: grid;
align-items: stretch;
grid-template-columns: auto auto auto;
gap: 50px;
padding: 10px;
}
#templates .template {
display: grid;
position: relative;
border: solid 1px white;
background-color: #3B3B3B;
cursor: pointer;
align-items: center;
gap: 5px;
border-radius: 10px;
counter-increment: templates;
box-shadow: 3px 3px 12px black;
transition: box-shadow .3s, transform .3s;
}
#templates .template .template_image {
border-radius: 15px;
}
.template h2 {
text-align: center;
font-family: 'Mukta', sans-serif;
color: white;
font-variant: small-caps;
background-color: black;
}
.template h2::before {
content: "#" counter(templates)" ";
color: #ccae14;
}
#templates .template:not(.soon):hover {
box-shadow: 7px 7px 12px black;
transform: scale(1.01);
}
#templates .template.soon {
cursor: default;
}
.soon::before {
content: "Bientôt !";
background: #772C9A;
transform-origin: left;
position: absolute;
text-align: center;
top: 50%;
width: 90%;
/* transform: skewX(32deg); */
font-family: "Ubuntu", sans-serif;
color: white;
text-transform: uppercase;
padding: 10px;
border: solid 1px black;
box-shadow: 1px 1px 3px black;
transform: rotate(-45deg);
} | 18.891566 | 46 | 0.624362 |
0525a2cc8907c13b2cd4f99550cf6c9c4643a245 | 1,169 | swift | Swift | MazazineReader/Alert.swift | Onix-Systems/ios-mazazine-reader | 1c14bd4d912602776586fb81d88fdbfeefe4a23d | [
"Apache-2.0"
] | 7 | 2017-06-10T12:05:04.000Z | 2022-03-12T12:47:00.000Z | MazazineReader/Alert.swift | mohsinalimat/ios-mazazine-reader | 1c14bd4d912602776586fb81d88fdbfeefe4a23d | [
"Apache-2.0"
] | null | null | null | MazazineReader/Alert.swift | mohsinalimat/ios-mazazine-reader | 1c14bd4d912602776586fb81d88fdbfeefe4a23d | [
"Apache-2.0"
] | 6 | 2017-06-29T08:46:52.000Z | 2019-05-23T11:24:33.000Z | // Copyright 2017 Onix-Systems
// 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.
import UIKit
struct Alert {
static func error(_ message: String, controller: UIViewController) {
let alertController = UIAlertController(title: "Error", message: message, preferredStyle: .alert)
let action = UIAlertAction(title: "OK", style: UIAlertActionStyle.cancel, handler: nil)
alertController.addAction(action)
controller.present(alertController, animated: true, completion: nil)
}
static func error(_ error: NSError, controller: UIViewController) {
self.error(error.localizedDescription, controller: controller)
}
}
| 40.310345 | 105 | 0.733961 |
fe4113ee01be0cb7e6301bd7f8532a174b987b61 | 314 | h | C | qemu/include/hw/usb/chipidea.h | hyunjoy/scripts | 01114d3627730d695b5ebe61093c719744432ffa | [
"Apache-2.0"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | qemu/include/hw/usb/chipidea.h | hyunjoy/scripts | 01114d3627730d695b5ebe61093c719744432ffa | [
"Apache-2.0"
] | 1 | 2022-03-29T02:30:28.000Z | 2022-03-30T03:40:46.000Z | qemu/include/hw/usb/chipidea.h | hyunjoy/scripts | 01114d3627730d695b5ebe61093c719744432ffa | [
"Apache-2.0"
] | 18 | 2022-03-19T04:41:04.000Z | 2022-03-31T03:32:12.000Z | #ifndef CHIPIDEA_H
#define CHIPIDEA_H
#include "hw/usb/hcd-ehci.h"
#include "qom/object.h"
struct ChipideaState {
/*< private >*/
EHCISysBusState parent_obj;
MemoryRegion iomem[3];
};
#define TYPE_CHIPIDEA "usb-chipidea"
OBJECT_DECLARE_SIMPLE_TYPE(ChipideaState, CHIPIDEA)
#endif /* CHIPIDEA_H */
| 17.444444 | 51 | 0.732484 |
a16a2c7ed454d8a12b676c3dde00d3891b2fe8ad | 273 | c | C | v0100/srclib/strcspn.c | domesticmouse/SmallerC | 177650342af56c873155817e48d3385672931b90 | [
"BSD-2-Clause"
] | 1,130 | 2015-01-04T21:42:32.000Z | 2022-03-27T23:07:26.000Z | v0100/srclib/strcspn.c | st127/SmallerC | 2a180411235df39bc9df7782b00ed199bedb1fd8 | [
"BSD-2-Clause"
] | 175 | 2018-05-30T03:06:15.000Z | 2019-02-06T23:54:24.000Z | v0100/srclib/strcspn.c | st127/SmallerC | 2a180411235df39bc9df7782b00ed199bedb1fd8 | [
"BSD-2-Clause"
] | 173 | 2015-01-04T21:42:48.000Z | 2022-01-10T15:46:02.000Z | /*
Copyright (c) 2014, Alexey Frunze
2-clause BSD license.
*/
unsigned strcspn(char* s1, char* s2)
{
char *s = s1, *p;
int c, c2;
for (;;)
{
c = *s1++;
p = s2;
do
{
if ((c2 = *p++) == c)
return s1 - 1 - s;
} while (c2);
}
}
| 13 | 36 | 0.432234 |
0e774c6a68df357e3dfacf55fcc9d15754a5b70d | 80,008 | html | HTML | publications/(1)_WhatsApp.html | WereDouglas/epitrack | 780c4eb68f04af0f6a33fb989753a91f53903af5 | [
"MIT"
] | null | null | null | publications/(1)_WhatsApp.html | WereDouglas/epitrack | 780c4eb68f04af0f6a33fb989753a91f53903af5 | [
"MIT"
] | null | null | null | publications/(1)_WhatsApp.html | WereDouglas/epitrack | 780c4eb68f04af0f6a33fb989753a91f53903af5 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<!-- saved from url=(0025)https://web.whatsapp.com/ -->
<html class="js cssanimations csstransitions webp webp-alpha webp-animation webp-lossless wf-opensans-n4-active wf-opensans-n6-active wf-roboto-n3-active wf-roboto-n4-active wf-roboto-n5-active wf-active" dir="ltr" manifest="/404.appcache"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>(1) WhatsApp</title>
<meta name="viewport" content="width=device-width">
<meta name="google" content="notranslate">
<meta name="format-detection" content="telephone=no">
<meta name="description" content="Quickly send and receive WhatsApp messages right from your computer.">
<meta name="og:description" content="Quickly send and receive WhatsApp messages right from your computer.">
<meta name="og:url" content="https://web.whatsapp.com/">
<meta name="og:title" content="WhatsApp Web">
<meta name="og:image" content="https://www.whatsapp.com/img/whatsapp-promo.png">
<link id="favicon" rel="shortcut icon" href="blob:https://web.whatsapp.com/9e85fba5-2978-41b8-a7b4-3cf55a9f1637" type="image/png">
<link rel="apple-touch-icon" sizes="194x194" href="https://web.whatsapp.com/apple-touch-icon.png" type="image/png">
<link rel="stylesheet" href="./(1) WhatsApp_files/sprite_8edb35db33772cc26a31456da9617dd3.css">
<link rel="stylesheet" id="style" href="./(1) WhatsApp_files/style_82c15fc205ae6cdc687247af60120432.css">
<style>
html, body, #app {
height: 100%;
width: 100%;
overflow: hidden;
padding: 0;
margin: 0;
}
#app {
position: absolute;
top: 0;
left: 0;
}
#startup, #initial_startup {
width: 100%;
height: 100%;
position: fixed;
background-color: #f2f2f2;
-moz-user-select: none;
-webkit-user-select: none;
display: flex;
align-items: center;
justify-content: center;
display: -webkit-box;
display: -webkit-flex;
-webkit-align-items: center;
-webkit-justify-content: center;
flex-direction: column;
-webkit-flex-direction: column;
}
.spinner-container {
-webkit-animation: rotate 2s linear infinite;
animation: rotate 2s linear infinite;
z-index: 2;
}
.spinner-container .path {
stroke-dasharray: 1,150;
stroke-dashoffset: 0;
stroke: rgba(27, 154, 89, 0.7);
stroke-linecap: round;
-webkit-animation: dash 1.5s ease-in-out infinite;
animation: dash 1.5s ease-in-out infinite;
}
#startup .spinner-container .path,
#initial_startup .spinner-container .path {
stroke: #acb9bf;
}
@keyframes rotate {
100% { transform: rotate(360deg); }
}
@-webkit-keyframes rotate{
100% { -webkit-transform: rotate(360deg); }
}
@keyframes dash {
0% {
stroke-dasharray: 1,150;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 90,150;
stroke-dashoffset: -35;
}
100% {
stroke-dasharray: 90,150;
stroke-dashoffset: -124;
}
}
@-webkit-keyframes dash {
0% {
stroke-dasharray: 1,150;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 90,150;
stroke-dashoffset: -35;
}
100% {
stroke-dasharray: 90,150;
stroke-dashoffset: -124;
}
}
.progress-container {
width: 360px;
position: fixed;
padding-top: 120px;
top: 50%;
left: 50%;
margin-left: -180px;
}
progress {
-webkit-appearance: none;
appearance: none;
width: 100%;
height: 3px;
border: none;
margin: 0;
color: #02d1a4;
background-color: #e0e4e5;
}
progress[value]::-webkit-progress-bar {
background-color: #e0e4e5;
}
progress[value]::-webkit-progress-value {
background-color: #02d1a4;
}
progress[value]::-moz-progress-bar {
background-color: #02d1a4;
}
</style>
<script id="progress_script_/vendor1_4aff6e8f9b6cdc32437c.js" type="text/javascript" charset="utf-8" async="" src="./(1) WhatsApp_files/vendor1_4aff6e8f9b6cdc32437c.js.download"></script><script id="progress_script_/vendor2_5e9cd2c5c3f4133c6379.js" type="text/javascript" charset="utf-8" async="" src="./(1) WhatsApp_files/vendor2_5e9cd2c5c3f4133c6379.js.download"></script><script id="progress_script_/app_a682b0c445cb210f05b5.js" type="text/javascript" charset="utf-8" async="" src="./(1) WhatsApp_files/app_a682b0c445cb210f05b5.js.download"></script><link rel="stylesheet" href="./(1) WhatsApp_files/css" media="all"><script id="progress_script_/main_854bbafb129bb3d6c1a8.js" type="text/javascript" charset="utf-8" async="" src="./(1) WhatsApp_files/main_854bbafb129bb3d6c1a8.js.download"></script><style id="asset-style" type="text/css"></style><script type="text/javascript" charset="utf-8" async="" src="./(1) WhatsApp_files/main_854bbafb129bb3d6c1a8.js.download"></script></head>
<body>
<div id="app"><div data-reactroot="" class="app-wrapper app-wrapper-web app-wrapper-main"><span></span><span></span><span></span><span></span><span></span><div tabindex="-1" class="app two"><!-- react-empty: 12 --><!-- react-empty: 13 --><div class="drawer-manager"><span class="pane pane-one"></span><span class="pane pane-two"></span><span class="pane pane-three"></span></div><div id="side" class="pane pane-list pane-one"><header class="pane-header pane-list-header"><div class="pane-list-user"><div class="avatar icon-user-default" style="height: 40px; width: 40px; cursor: pointer;"><div class="avatar-body"><img src="./(1) WhatsApp_files/pp" draggable="false" class="avatar-image is-loaded"></div></div></div><div class="pane-list-controls"><div class="menu menu-horizontal"><span><div class="menu-item"><button class="icon icon-chat" title="New chat"></button><span></span></div><div class="menu-item"><button class="icon icon-menu" title="Menu"></button><span></span></div></span></div></div></header><div class="butterbar-container"><span><div class="butterbar-wrapper" style="display: block;"><div class="butterbar butterbar-notification"><div class="butterbar-icon"><span class="icon icon-alert icon-alert-notification"></span></div><div class="butterbar-body"><div class="butterbar-title">Get Notified of New Messages</div><div class="butterbar-text"><span class="action">Turn on desktop notifications</span></div></div></div></div></span></div><div tabindex="-1" class="search-container"><div class="pane-subheader pane-list-subheader subheader-search"><button class="icon icon-search-morph"><div class="icon icon-back-blue"></div><div class="icon icon-search"></div></button><span></span><div class="input-placeholder">Search or start new chat</div><label for="input-chatlist-search" class="cont-input-search"><input type="text" class="input input-search" data-tab="2" dir="auto" title="Search or start new chat" value=""></label></div></div><div class="pane-body pane-list-body" id="pane-side" data-list-scroll-container="true"><div tabindex="-1" data-tab="3"><div class="infinite-list chatlist infinite-list-animate"><div class="infinite-list-viewport" style="height: 15336px;"><div class="infinite-list-item infinite-list-item-transition" style="z-index: 210; height: 72px; transform: translate3d(0px, 144px, 0px);"><div tabindex="-1" class="chat-drag-cover"><div class="chat"><div class="chat-avatar"><div class="avatar icon-user-default"><div class="avatar-body"><img src="./(1) WhatsApp_files/pp(1)" draggable="false" class="avatar-image is-loaded"></div></div></div><div class="chat-body"><div class="chat-main"><div class="chat-title"><span class="emojitext ellipsify" dir="auto" title="Sarah Usa"><!-- react-text: 3151 -->Sarah Usa<!-- /react-text --></span></div><div class="chat-meta"><span class="chat-time">14:36</span></div></div><div class="chat-secondary"><div class="chat-status" title="U too have a lovely day"><span class="icon icon-ack icon-status-dblcheck"></span><span class="emojitext ellipsify" dir="ltr"><!-- react-text: 3158 -->U too have a lovely day<!-- /react-text --></span></div><div class="chat-meta"><span></span><span></span><span></span></div></div></div></div></div></div><div class="infinite-list-item infinite-list-item-transition" style="z-index: 207; height: 72px; transform: translate3d(0px, 360px, 0px);"><div tabindex="-1" class="chat-drag-cover"><div class="chat"><div class="chat-avatar"><div class="avatar icon-group-default"><div class="avatar-body"><img src="./(1) WhatsApp_files/pp(2)" draggable="false" class="avatar-image is-loaded"></div></div></div><div class="chat-body"><div class="chat-main"><div class="chat-title"><span class="emojitext ellipsify" dir="auto" title="SMACK 00-05"><!-- react-text: 3174 -->SMACK 00-05<!-- /react-text --></span></div><div class="chat-meta"><span class="chat-time">14:27</span></div></div><div class="chat-secondary"><div class="chat-status" title="😂😂😂😂"><span class="chat-status-name number" dir="auto"><!-- react-text: 3180 -->+256 774 947992<!-- /react-text --></span><span class="chat-status-divider">:</span><span class="emojitext ellipsify"><img alt="😂" draggable="false" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="e1678 c0 emoji"><img alt="😂" draggable="false" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="e1678 c0 emoji"><img alt="😂" draggable="false" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="e1678 c0 emoji"><img alt="😂" draggable="false" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="e1678 c0 emoji"></span></div><div class="chat-meta"><span><span class="icon icon-meta icon-muted"></span></span><span></span><span></span></div></div></div></div></div></div><div class="infinite-list-item infinite-list-item-transition" style="z-index: 211; height: 72px; transform: translate3d(0px, 72px, 0px);"><div tabindex="-1" class="chat-drag-cover"><div class="unread chat"><div class="chat-avatar"><div class="avatar icon-user-default"><div class="avatar-body"><img src="./(1) WhatsApp_files/pp(3)" draggable="false" class="avatar-image is-loaded"></div></div></div><div class="chat-body"><div class="chat-main"><div class="chat-title"><span class="emojitext ellipsify" dir="auto" title="Jackie Makerere"><!-- react-text: 3203 -->Jackie Makerere<!-- /react-text --></span></div><div class="chat-meta"><span class="chat-time">14:40</span></div></div><div class="chat-secondary"><div class="chat-status" title="Photo"><span class="icon icon-status icon-status-image"></span><span class="emojitext ellipsify"><!-- react-text: 4869 -->Photo<!-- /react-text --></span></div><div class="chat-meta"><span><span class="icon-meta unread-count" style="transform: scaleX(1) scaleY(1); opacity: 1;">5</span></span><span></span><span></span></div></div></div></div></div></div><div class="infinite-list-item infinite-list-item-transition" style="z-index: 205; height: 72px; transform: translate3d(0px, 504px, 0px);"><div tabindex="-1" class="chat-drag-cover"><div class="chat"><div class="chat-avatar"><div class="avatar icon-group-default"><div class="avatar-body"><img src="./(1) WhatsApp_files/pp(4)" draggable="false" class="avatar-image is-loaded"></div></div></div><div class="chat-body"><div class="chat-main"><div class="chat-title"><span class="emojitext ellipsify" dir="auto" title="Foxes not so much"><!-- react-text: 3226 -->Foxes not so much<!-- /react-text --></span></div><div class="chat-meta"><span class="chat-time">13:40</span></div></div><div class="chat-secondary"><div class="chat-status" title="Video"><span class="chat-status-name number" dir="auto"><!-- react-text: 3232 -->+256 778 858917<!-- /react-text --></span><span class="chat-status-divider">:</span><span class="icon icon-status icon-status-video"></span><span class="emojitext ellipsify"><!-- react-text: 3236 -->Video<!-- /react-text --></span></div><div class="chat-meta"><span></span><span></span><span></span></div></div></div></div></div></div><div class="infinite-list-item infinite-list-item-transition" style="z-index: 202; height: 72px; transform: translate3d(0px, 720px, 0px);"><div tabindex="-1" class="chat-drag-cover"><div class="chat"><div class="chat-avatar"><div class="avatar icon-group-default"><div class="avatar-body"><img src="./(1) WhatsApp_files/pp(5)" draggable="false" class="avatar-image is-loaded"></div></div></div><div class="chat-body"><div class="chat-main"><div class="chat-title"><span class="emojitext ellipsify" dir="auto" title="Sangalo crew 2017"><!-- react-text: 3252 -->Sangalo crew 2017<!-- /react-text --></span></div><div class="chat-meta"><span class="chat-time">12:22</span></div></div><div class="chat-secondary"><div class="chat-status" title="But why realy, why???"><span class="chat-status-name" dir="auto"><!-- react-text: 3258 -->Sulah<!-- /react-text --></span><span class="chat-status-divider">:</span><span class="emojitext ellipsify" dir="ltr"><!-- react-text: 3261 -->But why realy, why???<!-- /react-text --></span></div><div class="chat-meta"><span></span><span></span><span></span></div></div></div></div></div></div><div class="first infinite-list-item infinite-list-item-transition" style="z-index: 212; height: 72px; transform: translate3d(0px, 0px, 0px);"><div tabindex="-1" class="chat-drag-cover"><div class="active chat"><div class="chat-avatar"><div class="avatar icon-user-default"><div class="avatar-body"><img src="./(1) WhatsApp_files/pp(6)" draggable="false" class="avatar-image is-loaded"></div></div></div><div class="chat-body"><div class="chat-main"><div class="chat-title"><span class="emojitext ellipsify" dir="auto" title="Micheal Gatama"><!-- react-text: 4219 -->Micheal Gatama<!-- /react-text --></span></div><div class="chat-meta"><span class="chat-time">14:41</span></div></div><div class="chat-secondary"><div class="chat-status" title="https://kickass.cd/movies/"><span class="icon icon-ack icon-status-dblcheck-ack"></span><span class="emojitext ellipsify" dir="ltr"><!-- react-text: 5131 -->https://kickass.cd/movies/<!-- /react-text --></span></div><div class="chat-meta"><span></span><span></span><span></span></div></div></div></div></div></div><div class="infinite-list-item infinite-list-item-transition" style="z-index: 204; height: 72px; transform: translate3d(0px, 576px, 0px);"><div tabindex="-1" class="chat-drag-cover"><div class="chat"><div class="chat-avatar"><div class="avatar icon-user-default"><div class="avatar-body"><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" draggable="false" class="avatar-image"></div></div></div><div class="chat-body"><div class="chat-main"><div class="chat-title"><span class="emojitext ellipsify" dir="auto" title="Kyazze Smack"><!-- react-text: 3277 -->Kyazze Smack<!-- /react-text --></span></div><div class="chat-meta"><span class="chat-time">13:20</span></div></div><div class="chat-secondary"><div class="chat-status" title="Nga this looks military"><span class="icon icon-ack icon-status-check"></span><span class="emojitext ellipsify" dir="ltr"><!-- react-text: 3284 -->Nga this looks military<!-- /react-text --></span></div><div class="chat-meta"><span></span><span></span><span></span></div></div></div></div></div></div><div class="infinite-list-item infinite-list-item-transition" style="z-index: 208; height: 72px; transform: translate3d(0px, 288px, 0px);"><div tabindex="-1" class="chat-drag-cover"><div class="chat"><div class="chat-avatar"><div class="avatar icon-user-default"><div class="avatar-body"><img src="./(1) WhatsApp_files/pp(7)" draggable="false" class="avatar-image is-loaded"></div></div></div><div class="chat-body"><div class="chat-main"><div class="chat-title"><span class="emojitext ellipsify" dir="auto" title="Diana Nantambi"><!-- react-text: 3300 -->Diana Nantambi<!-- /react-text --></span></div><div class="chat-meta"><span class="chat-time">13:45</span></div></div><div class="chat-secondary"><div class="chat-status" title="What's up"><span class="icon icon-ack icon-status-dblcheck-ack"></span><span class="emojitext ellipsify" dir="ltr"><!-- react-text: 3307 -->What's up<!-- /react-text --></span></div><div class="chat-meta"><span></span><span></span><span></span></div></div></div></div></div></div><div class="infinite-list-item infinite-list-item-transition" style="z-index: 206; height: 72px; transform: translate3d(0px, 432px, 0px);"><div tabindex="-1" class="chat-drag-cover"><div class="chat"><div class="chat-avatar"><div class="avatar icon-group-default"><div class="avatar-body"><img src="./(1) WhatsApp_files/pp(8)" draggable="false" class="avatar-image is-loaded"></div></div></div><div class="chat-body"><div class="chat-main"><div class="chat-title"><span class="emojitext ellipsify" dir="auto" title="Funtula United"><!-- react-text: 3323 -->Funtula United<!-- /react-text --></span></div><div class="chat-meta"><span class="chat-time">14:20</span></div></div><div class="chat-secondary"><div class="chat-status" title=" 😡
/ ) )`\
🗡 ( ! 🔪
! \
👢👢
*Where are the Admins!!!*
it's 2nd of a new month today and other groups have received their salaries, where is ours??😂😂😂😂"><span class="chat-status-name number" dir="auto"><!-- react-text: 3329 -->+256 758 215369<!-- /react-text --></span><span class="chat-status-divider">:</span><span class="emojitext ellipsify" dir="ltr"><!-- react-text: 3332 --> <!-- /react-text --><img alt="😡" draggable="false" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="e1709 c0 emoji"><!-- react-text: 3334 -->
/ ) )`\
<!-- /react-text --><img alt="🗡" draggable="false" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="e1665 c5 emoji"><!-- react-text: 3336 --> ( ! <!-- /react-text --><img alt="🔪" draggable="false" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="e1546 c5 emoji"><!-- react-text: 3338 -->
! \
<!-- /react-text --><img alt="👢" draggable="false" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="e968 c0 emoji"><img alt="👢" draggable="false" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="e968 c0 emoji"><!-- react-text: 3341 -->
<!-- /react-text --><strong><!-- react-text: 3343 -->Where are the Admins!!!<!-- /react-text --></strong><!-- react-text: 3344 -->
it's 2nd of a new month today and other groups have received their salaries, where is ours??<!-- /react-text --><img alt="😂" draggable="false" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="e1678 c0 emoji"><img alt="😂" draggable="false" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="e1678 c0 emoji"><img alt="😂" draggable="false" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="e1678 c0 emoji"><img alt="😂" draggable="false" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="e1678 c0 emoji"></span></div><div class="chat-meta"><span><span class="icon icon-meta icon-muted"></span></span><span></span><span></span></div></div></div></div></div></div><div class="infinite-list-item infinite-list-item-transition" style="z-index: 209; height: 72px; transform: translate3d(0px, 216px, 0px);"><div tabindex="-1" class="chat-drag-cover"><div class="chat"><div class="chat-avatar"><div class="avatar icon-group-default"><div class="avatar-body"><img src="./(1) WhatsApp_files/pp(9)" draggable="false" class="avatar-image is-loaded"></div></div></div><div class="chat-body"><div class="chat-main"><div class="chat-title"><span class="emojitext ellipsify" dir="auto" title="Gamers Nights"><!-- react-text: 3365 -->Gamers Nights<!-- /react-text --></span></div><div class="chat-meta"><span class="chat-time">10:22</span></div></div><div class="chat-secondary"><div class="chat-status" title="Photo"><span class="chat-status-name number" dir="auto"><!-- react-text: 3371 -->+256 786 038124<!-- /react-text --></span><span class="chat-status-divider">:</span><span class="icon icon-status icon-status-image"></span><span class="emojitext ellipsify"><!-- react-text: 3375 -->Photo<!-- /react-text --></span></div><div class="chat-meta"><span></span><span></span><span></span></div></div></div></div></div></div><div class="infinite-list-item infinite-list-item-transition" style="z-index: 203; height: 72px; transform: translate3d(0px, 648px, 0px);"><div tabindex="-1" class="chat-drag-cover"><div class="chat"><div class="chat-avatar"><div class="avatar icon-user-default"><div class="avatar-body"><img src="./(1) WhatsApp_files/pp(10)" draggable="false" class="avatar-image is-loaded"></div></div></div><div class="chat-body"><div class="chat-main"><div class="chat-title"><span class="emojitext ellipsify" dir="auto" title="Claire Kakunda"><!-- react-text: 3391 -->Claire Kakunda<!-- /react-text --></span></div><div class="chat-meta"><span class="chat-time">13:19</span></div></div><div class="chat-secondary"><div class="chat-status" title="Photo"><span class="icon icon-ack icon-status-dblcheck-ack"></span><span class="icon icon-status icon-status-image"></span><span class="emojitext ellipsify"><!-- react-text: 3399 -->Photo<!-- /react-text --></span></div><div class="chat-meta"><span></span><span></span><span></span></div></div></div></div></div></div></div></div></div></div></div><div id="main" class="pane pane-chat pane-two"><div class="pane-chat-tile"></div><header class="pane-header pane-chat-header"><div class="chat-avatar"><div class="avatar icon-user-default" style="height: 40px; width: 40px;"><div class="avatar-body"><img src="./(1) WhatsApp_files/pp(6)" draggable="false" class="avatar-image is-loaded"></div></div></div><div class="chat-body"><div class="chat-main"><h2 class="chat-title" dir="auto"><span class="emojitext ellipsify" title="Micheal Gatama"><!-- react-text: 3415 -->Micheal Gatama<!-- /react-text --></span></h2></div><div class="chat-status ellipsify"><span class="emojitext ellipsify" title="online"><!-- react-text: 4872 -->online<!-- /react-text --></span></div></div><div class="pane-chat-controls"><div class="menu menu-horizontal"><div class="menu-item"><button class="icon icon-search-alt" title="Search…"></button><span></span></div><div class="menu-item"><button class="icon icon-clip" title="Attach"></button><span></span></div><div class="menu-item"><button class="icon icon-menu" title="Menu"></button><span></span></div></div></div></header><div class="pane-body pane-chat-tile-container"><div><span></span><span></span><div class="pane-chat-msgs pane-chat-body lastTabIndex" tabindex="0"><div class="pane-chat-empty"></div><div class="more"><div class="btn-more" title="load earlier messages…"><span class="icon icon-refresh"></span></div></div><div class="message-list"><div class="msg"><div class="message message-system"><span class="message-system-body"><span class="hidden-token"><!-- react-text: 3504 --><!-- /react-text --><span class="emojitext" dir="auto"><!-- react-text: 3506 -->2/11/2017<!-- /react-text --></span><!-- react-text: 3507 --><!-- /react-text --></span></span></div></div><div class="msg"><span></span><div class="message message-chat message-in tail message-chat"><div><span class="tail-container"></span><!-- react-text: 3513 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3515 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_9F0F8AABE781B284DFF4D649C933B9"><span class="message-pre-text"><!-- react-text: 3519 --><!-- /react-text --><!-- react-text: 3520 -->[13:51, 2/11/2017]<!-- /react-text --><!-- react-text: 3521 --> <!-- /react-text --><!-- react-text: 3522 -->Micheal Gatama<!-- /react-text --><!-- react-text: 3523 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><a class="selectable-text" href="http://hostingsource.com/" title="http://Hostingsource.com" rel="noopener noreferrer" target="_blank"><!-- react-text: 3526 -->Hostingsource.com<!-- /react-text --></a><!-- react-text: 3527 -->
Hello Michael,
Thanks for contacting us.
We have successfully allowed port 8172 in server and we are able to telnet it.Below are the logs for your reference:-
==================
telnet 199.231.187.134 8172
Trying 199.231.187.134...
Connected to 199.231.187.134.
Escape character is '^]'.
^]
===================<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 3530 --><!-- /react-text --><span class="message-datetime">13:51</span><!-- react-text: 3532 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg"><div class="message message-system"><span class="message-system-body"><span class="hidden-token"><!-- react-text: 3538 --><!-- /react-text --><span class="emojitext" dir="auto"><!-- react-text: 3540 -->2/12/2017<!-- /react-text --></span><!-- react-text: 3541 --><!-- /react-text --></span></span></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out tail message-chat"><div><span class="tail-container"></span><!-- react-text: 3547 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3549 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB05926B71C66BD0A87"><span class="message-pre-text"><!-- react-text: 3553 --><!-- /react-text --><!-- react-text: 3554 -->[02:37, 2/12/2017]<!-- /react-text --><!-- react-text: 3555 --> <!-- /react-text --><!-- react-text: 3556 -->+256 782 481746<!-- /react-text --><!-- react-text: 3557 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3559 -->http://199.231.187.134/budget/<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 3562 --><!-- /react-text --><span class="message-datetime">02:37</span><!-- react-text: 3564 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 3572 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3574 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB09BC96A381366899F"><span class="message-pre-text"><!-- react-text: 3578 --><!-- /react-text --><!-- react-text: 3579 -->[02:38, 2/12/2017]<!-- /react-text --><!-- react-text: 3580 --> <!-- /react-text --><!-- react-text: 3581 -->+256 782 481746<!-- /react-text --><!-- react-text: 3582 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3584 -->still taking care of more things but i think i got it now<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 3587 --><!-- /react-text --><span class="message-datetime">02:38</span><!-- react-text: 3589 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-in tail message-chat"><div><span class="tail-container"></span><!-- react-text: 3597 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3599 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_F2F15F32C8BA6C1791B322B7E4E593"><span class="message-pre-text"><!-- react-text: 3603 --><!-- /react-text --><!-- react-text: 3604 -->[02:38, 2/12/2017]<!-- /react-text --><!-- react-text: 3605 --> <!-- /react-text --><!-- react-text: 3606 -->Micheal Gatama<!-- /react-text --><!-- react-text: 3607 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3609 -->good stuff<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 3612 --><!-- /react-text --><span class="message-datetime">02:38</span><!-- react-text: 3614 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out tail message-chat"><div><span class="tail-container"></span><!-- react-text: 3621 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3623 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB0F196060631F580E2"><span class="message-pre-text"><!-- react-text: 3627 --><!-- /react-text --><!-- react-text: 3628 -->[02:38, 2/12/2017]<!-- /react-text --><!-- react-text: 3629 --> <!-- /react-text --><!-- react-text: 3630 -->+256 782 481746<!-- /react-text --><!-- react-text: 3631 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3633 -->thouhght u be sleeping<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 3636 --><!-- /react-text --><span class="message-datetime">02:38</span><!-- react-text: 3638 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 3646 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3648 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB0C7A9A62AF04115B1"><span class="message-pre-text"><!-- react-text: 3652 --><!-- /react-text --><!-- react-text: 3653 -->[02:39, 2/12/2017]<!-- /react-text --><!-- react-text: 3654 --> <!-- /react-text --><!-- react-text: 3655 -->+256 782 481746<!-- /react-text --><!-- react-text: 3656 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3658 -->how is the village<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 3661 --><!-- /react-text --><span class="message-datetime">02:39</span><!-- react-text: 3663 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-in tail message-chat"><div><span class="tail-container"></span><!-- react-text: 3671 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3673 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_40A9C2FE43C4FFF76F3342B5898C1E"><span class="message-pre-text"><!-- react-text: 3677 --><!-- /react-text --><!-- react-text: 3678 -->[02:39, 2/12/2017]<!-- /react-text --><!-- react-text: 3679 --> <!-- /react-text --><!-- react-text: 3680 -->Micheal Gatama<!-- /react-text --><!-- react-text: 3681 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3683 -->man, a lot of walking, but it is good<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 3686 --><!-- /react-text --><span class="message-datetime">02:39</span><!-- react-text: 3688 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-in message-chat"><div><span class="tail-container"></span><!-- react-text: 3695 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3697 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_BAE15C0EE7B7BB601D790E0CA9C067"><span class="message-pre-text"><!-- react-text: 3701 --><!-- /react-text --><!-- react-text: 3702 -->[02:40, 2/12/2017]<!-- /react-text --><!-- react-text: 3703 --> <!-- /react-text --><!-- react-text: 3704 -->Micheal Gatama<!-- /react-text --><!-- react-text: 3705 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3707 -->trying to get a few projects kicked off<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 3710 --><!-- /react-text --><span class="message-datetime">02:40</span><!-- react-text: 3712 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-out tail message-chat"><div><span class="tail-container"></span><!-- react-text: 3719 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3721 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB0FB993256500D3A01"><span class="message-pre-text"><!-- react-text: 3725 --><!-- /react-text --><!-- react-text: 3726 -->[02:41, 2/12/2017]<!-- /react-text --><!-- react-text: 3727 --> <!-- /react-text --><!-- react-text: 3728 -->+256 782 481746<!-- /react-text --><!-- react-text: 3729 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3731 -->good stuff we will chat let go to bed<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 3734 --><!-- /react-text --><span class="message-datetime">02:41</span><!-- react-text: 3736 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg"><div class="message message-system"><span class="message-system-body"><span class="hidden-token"><!-- react-text: 3743 --><!-- /react-text --><span class="emojitext" dir="auto"><!-- react-text: 3745 -->2/16/2017<!-- /react-text --></span><!-- react-text: 3746 --><!-- /react-text --></span></span></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-in tail message-chat"><div><span class="tail-container"></span><!-- react-text: 3752 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3754 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_3EB0D73A1F80020DC56A"><span class="message-pre-text"><!-- react-text: 3758 --><!-- /react-text --><!-- react-text: 3759 -->[13:29, 2/16/2017]<!-- /react-text --><!-- react-text: 3760 --> <!-- /react-text --><!-- react-text: 3761 -->Micheal Gatama<!-- /react-text --><!-- react-text: 3762 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3764 -->uo<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 3767 --><!-- /react-text --><span class="message-datetime">13:29</span><!-- react-text: 3769 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-in message-chat"><div><span class="tail-container"></span><!-- react-text: 3776 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3778 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_3EB0685053127E1C72B7"><span class="message-pre-text"><!-- react-text: 3782 --><!-- /react-text --><!-- react-text: 3783 -->[13:29, 2/16/2017]<!-- /react-text --><!-- react-text: 3784 --> <!-- /react-text --><!-- react-text: 3785 -->Micheal Gatama<!-- /react-text --><!-- react-text: 3786 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3788 -->yo<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 3791 --><!-- /react-text --><span class="message-datetime">13:29</span><!-- react-text: 3793 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-in message-chat"><div><span class="tail-container"></span><!-- react-text: 3800 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3802 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_3EB03D94E8D71C7EC47C"><span class="message-pre-text"><!-- react-text: 3806 --><!-- /react-text --><!-- react-text: 3807 -->[13:30, 2/16/2017]<!-- /react-text --><!-- react-text: 3808 --> <!-- /react-text --><!-- react-text: 3809 -->Micheal Gatama<!-- /react-text --><!-- react-text: 3810 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3812 -->when do we hook up to g through budget?<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 3815 --><!-- /react-text --><span class="message-datetime">13:30</span><!-- react-text: 3817 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-out tail message-chat"><div><span class="tail-container"></span><!-- react-text: 3824 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3826 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_DA263056E61E5731A0135BD77F4906"><span class="message-pre-text"><!-- react-text: 3830 --><!-- /react-text --><!-- react-text: 3831 -->[13:30, 2/16/2017]<!-- /react-text --><!-- react-text: 3832 --> <!-- /react-text --><!-- react-text: 3833 -->+256 782 481746<!-- /react-text --><!-- react-text: 3834 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3836 -->What's up how r u ?<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 3839 --><!-- /react-text --><span class="message-datetime">13:30</span><!-- react-text: 3841 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-in tail message-chat"><div><span class="tail-container"></span><!-- react-text: 3849 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3851 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_3EB04D4AB93A72D902DC"><span class="message-pre-text"><!-- react-text: 3855 --><!-- /react-text --><!-- react-text: 3856 -->[13:30, 2/16/2017]<!-- /react-text --><!-- react-text: 3857 --> <!-- /react-text --><!-- react-text: 3858 -->Micheal Gatama<!-- /react-text --><!-- react-text: 3859 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3861 -->I'm good bruv<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 3864 --><!-- /react-text --><span class="message-datetime">13:30</span><!-- react-text: 3866 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-out tail message-chat"><div><span class="tail-container"></span><!-- react-text: 3873 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3875 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_10393C2357D7F9A28556F6E626D523"><span class="message-pre-text"><!-- react-text: 3879 --><!-- /react-text --><!-- react-text: 3880 -->[13:30, 2/16/2017]<!-- /react-text --><!-- react-text: 3881 --> <!-- /react-text --><!-- react-text: 3882 -->+256 782 481746<!-- /react-text --><!-- react-text: 3883 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3885 -->Wen wud u like ? Ofcourse not today<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 3888 --><!-- /react-text --><span class="message-datetime">13:30</span><!-- react-text: 3890 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-in tail message-chat"><div><span class="tail-container"></span><!-- react-text: 3898 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3900 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_3EB0DC77981B57EB1C4B"><span class="message-pre-text"><!-- react-text: 3904 --><!-- /react-text --><!-- react-text: 3905 -->[13:31, 2/16/2017]<!-- /react-text --><!-- react-text: 3906 --> <!-- /react-text --><!-- react-text: 3907 -->Micheal Gatama<!-- /react-text --><!-- react-text: 3908 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3910 -->sato<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 3913 --><!-- /react-text --><span class="message-datetime">13:31</span><!-- react-text: 3915 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-in message-chat"><div><span class="tail-container"></span><!-- react-text: 3922 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3924 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_3EB0772FEE134A5DC84D"><span class="message-pre-text"><!-- react-text: 3928 --><!-- /react-text --><!-- react-text: 3929 -->[13:31, 2/16/2017]<!-- /react-text --><!-- react-text: 3930 --> <!-- /react-text --><!-- react-text: 3931 -->Micheal Gatama<!-- /react-text --><!-- react-text: 3932 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3934 -->we cleanup any pending issues<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 3937 --><!-- /react-text --><span class="message-datetime">13:31</span><!-- react-text: 3939 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-out tail message-chat"><div><span class="tail-container"></span><!-- react-text: 3946 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3948 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB000F17D4E85712A87"><span class="message-pre-text"><!-- react-text: 3952 --><!-- /react-text --><!-- react-text: 3953 -->[13:33, 2/16/2017]<!-- /react-text --><!-- react-text: 3954 --> <!-- /react-text --><!-- react-text: 3955 -->+256 782 481746<!-- /react-text --><!-- react-text: 3956 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3958 -->kawa<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 3961 --><!-- /react-text --><span class="message-datetime">13:33</span><!-- react-text: 3963 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-in tail message-chat"><div><span class="tail-container"></span><!-- react-text: 3971 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3973 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_3EB0806DDC0B86DAE6BC"><span class="message-pre-text"><!-- react-text: 3977 --><!-- /react-text --><!-- react-text: 3978 -->[13:33, 2/16/2017]<!-- /react-text --><!-- react-text: 3979 --> <!-- /react-text --><!-- react-text: 3980 -->Micheal Gatama<!-- /react-text --><!-- react-text: 3981 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 3983 -->say 10?<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 3986 --><!-- /react-text --><span class="message-datetime">13:33</span><!-- react-text: 3988 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-out tail message-chat"><div><span class="tail-container"></span><!-- react-text: 3995 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3997 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB02EAED68FA3A10B9B"><span class="message-pre-text"><!-- react-text: 4001 --><!-- /react-text --><!-- react-text: 4002 -->[13:33, 2/16/2017]<!-- /react-text --><!-- react-text: 4003 --> <!-- /react-text --><!-- react-text: 4004 -->+256 782 481746<!-- /react-text --><!-- react-text: 4005 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4007 -->but saturday really friday is better i dont usually leave home on weekends<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4010 --><!-- /react-text --><span class="message-datetime">13:33</span><!-- react-text: 4012 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-in tail message-chat"><div><span class="tail-container"></span><!-- react-text: 4020 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4022 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_3EB0BC7D6C3B02D5BC24"><span class="message-pre-text"><!-- react-text: 4026 --><!-- /react-text --><!-- react-text: 4027 -->[13:34, 2/16/2017]<!-- /react-text --><!-- react-text: 4028 --> <!-- /react-text --><!-- react-text: 4029 -->Micheal Gatama<!-- /react-text --><!-- react-text: 4030 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4032 -->friday is busy all day<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 4035 --><!-- /react-text --><span class="message-datetime">13:34</span><!-- react-text: 4037 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-in message-chat"><div><span class="tail-container"></span><!-- react-text: 4044 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4046 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_3EB00E8A0F97F5227785"><span class="message-pre-text"><!-- react-text: 4050 --><!-- /react-text --><!-- react-text: 4051 -->[13:34, 2/16/2017]<!-- /react-text --><!-- react-text: 4052 --> <!-- /react-text --><!-- react-text: 4053 -->Micheal Gatama<!-- /react-text --><!-- react-text: 4054 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4056 -->at work<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 4059 --><!-- /react-text --><span class="message-datetime">13:34</span><!-- react-text: 4061 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-in message-chat"><div><span class="tail-container"></span><!-- react-text: 4068 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4070 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_3EB021E73DD4D87DF33F"><span class="message-pre-text"><!-- react-text: 4074 --><!-- /react-text --><!-- react-text: 4075 -->[13:34, 2/16/2017]<!-- /react-text --><!-- react-text: 4076 --> <!-- /react-text --><!-- react-text: 4077 -->Micheal Gatama<!-- /react-text --><!-- react-text: 4078 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4080 -->even my afternoon is at work<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 4083 --><!-- /react-text --><span class="message-datetime">13:34</span><!-- react-text: 4085 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-out tail message-chat"><div><span class="tail-container"></span><!-- react-text: 4092 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4094 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB073D7A25ACE6D8994"><span class="message-pre-text"><!-- react-text: 4098 --><!-- /react-text --><!-- react-text: 4099 -->[13:38, 2/16/2017]<!-- /react-text --><!-- react-text: 4100 --> <!-- /react-text --><!-- react-text: 4101 -->+256 782 481746<!-- /react-text --><!-- react-text: 4102 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4104 -->lets do about 11am then saturday let me know wen you are there<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4107 --><!-- /react-text --><span class="message-datetime">13:38</span><!-- react-text: 4109 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-in tail message-chat"><div><span class="tail-container"></span><!-- react-text: 4117 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4119 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_3EB09E38C570981E6671"><span class="message-pre-text"><!-- react-text: 4123 --><!-- /react-text --><!-- react-text: 4124 -->[13:44, 2/16/2017]<!-- /react-text --><!-- react-text: 4125 --> <!-- /react-text --><!-- react-text: 4126 -->Micheal Gatama<!-- /react-text --><!-- react-text: 4127 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4129 -->ok<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 4132 --><!-- /react-text --><span class="message-datetime">13:44</span><!-- react-text: 4134 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg"><div class="message message-system"><span class="message-system-body"><span class="hidden-token"><!-- react-text: 4140 --><!-- /react-text --><span class="emojitext" dir="auto"><!-- react-text: 4142 -->TUESDAY<!-- /react-text --></span><!-- react-text: 4143 --><!-- /react-text --></span></span></div></div><div class="msg"><span></span><div class="message message-vcard message-in tail"><div><span class="tail-container"></span><!-- react-text: 4149 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4151 --> <!-- /react-text --><div class="bubble bubble-vcard"><div class="wrapper wrapper-vcard"><div class="vcard"><div class="preview vcard-avatar vcard-avatar-single icon-user-default preview-vcard no-image"><div class="preview-image"></div><span class="meta meta-audio"><span></span><span class="hidden-token"><!-- react-text: 4160 --><!-- /react-text --><!-- react-text: 4161 --><!-- /react-text --><!-- react-text: 4162 --><!-- /react-text --></span></span></div><div class="vcard-body"><div class="vcard-name vcard-name-single selectable-text" dir="ltr"><!-- react-text: 4165 -->George Kanso<!-- /react-text --></div></div></div></div><div class="bubble-actions"><div class="bubble-btn" title="Message George Kanso">Message</div><div class="bubble-btn" title="Add to a group">Add to a group</div></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 4171 --><!-- /react-text --><span class="message-datetime">10:39</span><!-- react-text: 4173 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out tail message-chat"><div><span class="tail-container"></span><!-- react-text: 4180 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4182 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_55E3BCF117794B5359217B004C4A1D"><span class="message-pre-text"><!-- react-text: 4186 --><!-- /react-text --><!-- react-text: 4187 -->[10:40, 2/28/2017]<!-- /react-text --><!-- react-text: 4188 --> <!-- /react-text --><!-- react-text: 4189 -->+256 782 481746<!-- /react-text --><!-- react-text: 4190 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4192 -->Kaale thx<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4195 --><!-- /react-text --><span class="message-datetime">10:40</span><!-- react-text: 4197 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-image message-out"><div><span class="tail-container"></span><!-- react-text: 3453 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 3455 --> <!-- /react-text --><div class="bubble-image"><div class="image-thumb" style="width: 330px; height: 185px;"><img src="blob:https://web.whatsapp.com/c86cf091-42b3-4dbd-ae77-0d4e54291b2e" class="image-thumb-body" style="width: 100%;"><div class="shade"></div></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 3466 --><!-- /react-text --><span class="message-datetime">10:40</span><!-- react-text: 3468 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack-light"></span></div></div><span></span></div><div class="icon icon-forward-chat btn-forward-chat"></div></div></div><div class="msg"><div class="message message-system"><span class="message-system-body date-marker-floating"><span class="hidden-token"><!-- react-text: 4235 --><!-- /react-text --><span class="emojitext" dir="auto"><!-- react-text: 4237 -->TODAY<!-- /react-text --></span><!-- react-text: 4238 --><!-- /react-text --></span></span></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out tail message-chat"><div><span class="tail-container"></span><!-- react-text: 4244 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4246 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB081DD35D557D6996D"><span class="message-pre-text"><!-- react-text: 4250 --><!-- /react-text --><!-- react-text: 4251 -->[14:38, 3/2/2017]<!-- /react-text --><!-- react-text: 4252 --> <!-- /react-text --><!-- react-text: 4253 -->+256 782 481746<!-- /react-text --><!-- react-text: 4254 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4256 -->Underworld.Blood.Wars.2017.HDRip.XviD.AC3-EVO<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4259 --><!-- /react-text --><span class="message-datetime">14:38</span><!-- react-text: 4261 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 4281 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4283 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB092DFC1DB24C019BD"><span class="message-pre-text"><!-- react-text: 4287 --><!-- /react-text --><!-- react-text: 4288 -->[14:38, 3/2/2017]<!-- /react-text --><!-- react-text: 4289 --> <!-- /react-text --><!-- react-text: 4290 -->+256 782 481746<!-- /react-text --><!-- react-text: 4291 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4293 -->La.La.Land.2016.DVDScr.XVID.AC3.HQ.Hive-CM8<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4296 --><!-- /react-text --><span class="message-datetime">14:38</span><!-- react-text: 4298 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 4332 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4334 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB09B74FCB85447F49B"><span class="message-pre-text"><!-- react-text: 4338 --><!-- /react-text --><!-- react-text: 4339 -->[14:38, 3/2/2017]<!-- /react-text --><!-- react-text: 4340 --> <!-- /react-text --><!-- react-text: 4341 -->+256 782 481746<!-- /react-text --><!-- react-text: 4342 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4344 -->Moonlight.2016.DVDScr.XVID.AC3.HQ.Hive-CM8<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4347 --><!-- /react-text --><span class="message-datetime">14:38</span><!-- react-text: 4349 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 4387 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4389 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB0CE23E0302A490360"><span class="message-pre-text"><!-- react-text: 4393 --><!-- /react-text --><!-- react-text: 4394 -->[14:38, 3/2/2017]<!-- /react-text --><!-- react-text: 4395 --> <!-- /react-text --><!-- react-text: 4396 -->+256 782 481746<!-- /react-text --><!-- react-text: 4397 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4399 -->Assassins.Creed.2016.HC.HDRip.XViD.AC3-ETRG<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4402 --><!-- /react-text --><span class="message-datetime">14:38</span><!-- react-text: 4404 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 4436 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4438 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB014125C311A356DE4"><span class="message-pre-text"><!-- react-text: 4442 --><!-- /react-text --><!-- react-text: 4443 -->[14:39, 3/2/2017]<!-- /react-text --><!-- react-text: 4444 --> <!-- /react-text --><!-- react-text: 4445 -->+256 782 481746<!-- /react-text --><!-- react-text: 4446 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4448 -->Hidden.Figures.2016.DVDSCR-P2P<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4451 --><!-- /react-text --><span class="message-datetime">14:39</span><!-- react-text: 4453 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 4487 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4489 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB0BBFB1B123E0EDC41"><span class="message-pre-text"><!-- react-text: 4493 --><!-- /react-text --><!-- react-text: 4494 -->[14:39, 3/2/2017]<!-- /react-text --><!-- react-text: 4495 --> <!-- /react-text --><!-- react-text: 4496 -->+256 782 481746<!-- /react-text --><!-- react-text: 4497 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4499 -->Passengers.2016.HC.HDRip.XViD.AC3-ETRG<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4502 --><!-- /react-text --><span class="message-datetime">14:39</span><!-- react-text: 4504 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 4535 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4537 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB0D346F8AAB5DCCD31"><span class="message-pre-text"><!-- react-text: 4541 --><!-- /react-text --><!-- react-text: 4542 -->[14:39, 3/2/2017]<!-- /react-text --><!-- react-text: 4543 --> <!-- /react-text --><!-- react-text: 4544 -->+256 782 481746<!-- /react-text --><!-- react-text: 4545 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4547 -->Split 2017 HD-TS x264 AC3-CPG<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4550 --><!-- /react-text --><span class="message-datetime">14:39</span><!-- react-text: 4552 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 4584 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4586 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB01CAD8A52EADF6441"><span class="message-pre-text"><!-- react-text: 4590 --><!-- /react-text --><!-- react-text: 4591 -->[14:39, 3/2/2017]<!-- /react-text --><!-- react-text: 4592 --> <!-- /react-text --><!-- react-text: 4593 -->+256 782 481746<!-- /react-text --><!-- react-text: 4594 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4596 -->Lion.2016.DVDScr.XVID.AC3.HQ.Hive-CM8<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4599 --><!-- /react-text --><span class="message-datetime">14:39</span><!-- react-text: 4601 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 4629 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4631 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB08B5978C9173A7E51"><span class="message-pre-text"><!-- react-text: 4635 --><!-- /react-text --><!-- react-text: 4636 -->[14:39, 3/2/2017]<!-- /react-text --><!-- react-text: 4637 --> <!-- /react-text --><!-- react-text: 4638 -->+256 782 481746<!-- /react-text --><!-- react-text: 4639 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4641 -->Underworld.Blood.Wars.2017.HDRip.XviD.AC3-EVO<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4644 --><!-- /react-text --><span class="message-datetime">14:39</span><!-- react-text: 4646 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 4686 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4688 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB0E343A34F61E0BBEC"><span class="message-pre-text"><!-- react-text: 4692 --><!-- /react-text --><!-- react-text: 4693 -->[14:39, 3/2/2017]<!-- /react-text --><!-- react-text: 4694 --> <!-- /react-text --><!-- react-text: 4695 -->+256 782 481746<!-- /react-text --><!-- react-text: 4696 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4698 -->Manchester.by.the.Sea.2016.DVDScr.XVID.AC3.HQ.Hive-CM8<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4701 --><!-- /react-text --><span class="message-datetime">14:39</span><!-- react-text: 4703 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 4735 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4737 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB0F57C9E2DF49683F7"><span class="message-pre-text"><!-- react-text: 4741 --><!-- /react-text --><!-- react-text: 4742 -->[14:40, 3/2/2017]<!-- /react-text --><!-- react-text: 4743 --> <!-- /react-text --><!-- react-text: 4744 -->+256 782 481746<!-- /react-text --><!-- react-text: 4745 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4747 -->Dr.Strange.2016.DVDScr.XVID.AC3.HQ.Hive-CM8<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4750 --><!-- /react-text --><span class="message-datetime">14:40</span><!-- react-text: 4752 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 4785 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4787 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB05BDA48A2666D0C40"><span class="message-pre-text"><!-- react-text: 4791 --><!-- /react-text --><!-- react-text: 4792 -->[14:40, 3/2/2017]<!-- /react-text --><!-- react-text: 4793 --> <!-- /react-text --><!-- react-text: 4794 -->+256 782 481746<!-- /react-text --><!-- react-text: 4795 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4797 -->Fences.2016.DVDScr.XVID.AC3.HQ.Hive-CM8<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4800 --><!-- /react-text --><span class="message-datetime">14:40</span><!-- react-text: 4802 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 4826 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4828 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB07BEEECC91EF31CE9"><span class="message-pre-text"><!-- react-text: 4832 --><!-- /react-text --><!-- react-text: 4833 -->[14:40, 3/2/2017]<!-- /react-text --><!-- react-text: 4834 --> <!-- /react-text --><!-- react-text: 4835 -->+256 782 481746<!-- /react-text --><!-- react-text: 4836 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4838 -->Sing 2016 NEW HD-TS x264-CPG<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4841 --><!-- /react-text --><span class="message-datetime">14:40</span><!-- react-text: 4843 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 4889 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4891 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB0A3AB423109C7E97D"><span class="message-pre-text"><!-- react-text: 4895 --><!-- /react-text --><!-- react-text: 4896 -->[14:40, 3/2/2017]<!-- /react-text --><!-- react-text: 4897 --> <!-- /react-text --><!-- react-text: 4898 -->+256 782 481746<!-- /react-text --><!-- react-text: 4899 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4901 -->Gold.2016.DVDScr.XVID.AC3.HQ.Hive-CM8<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 4904 --><!-- /react-text --><span class="message-datetime">14:40</span><!-- react-text: 4906 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-in tail message-chat"><div><span class="tail-container"></span><!-- react-text: 4941 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4943 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_11C4AB3658594BE1441D33F5F1AED9"><span class="message-pre-text"><!-- react-text: 4947 --><!-- /react-text --><!-- react-text: 4948 -->[14:40, 3/2/2017]<!-- /react-text --><!-- react-text: 4949 --> <!-- /react-text --><!-- react-text: 4950 -->Micheal Gatama<!-- /react-text --><!-- react-text: 4951 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4953 -->on vmwarw?<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 4956 --><!-- /react-text --><span class="message-datetime">14:40</span><!-- react-text: 4958 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-in message-chat"><div><span class="tail-container"></span><!-- react-text: 4983 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 4985 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="false_256775961273@c.us_B0ECFF6DDE83173BFD8D5553080E96"><span class="message-pre-text"><!-- react-text: 4989 --><!-- /react-text --><!-- react-text: 4990 -->[14:40, 3/2/2017]<!-- /react-text --><!-- react-text: 4991 --> <!-- /react-text --><!-- react-text: 4992 -->Micheal Gatama<!-- /react-text --><!-- react-text: 4993 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 4995 -->pirateba?<!-- /react-text --></span></div><div class="message-meta"><span class="hidden-token"><!-- react-text: 4998 --><!-- /react-text --><span class="message-datetime">14:40</span><!-- react-text: 5000 --><!-- /react-text --></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out tail message-chat"><div><span class="tail-container"></span><!-- react-text: 5014 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 5016 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB02F55140925ADA760"><span class="message-pre-text"><!-- react-text: 5020 --><!-- /react-text --><!-- react-text: 5021 -->[14:41, 3/2/2017]<!-- /react-text --><!-- react-text: 5022 --> <!-- /react-text --><!-- react-text: 5023 -->+256 782 481746<!-- /react-text --><!-- react-text: 5024 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 5026 -->Dont.Kill.It.2016.DVDRip.XviD.AC3-EVO<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 5029 --><!-- /react-text --><span class="message-datetime">14:41</span><!-- react-text: 5031 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg msg-continuation"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 5047 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 5049 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB0600BE03FADCEB829"><span class="message-pre-text"><!-- react-text: 5053 --><!-- /react-text --><!-- react-text: 5054 -->[14:41, 3/2/2017]<!-- /react-text --><!-- react-text: 5055 --> <!-- /react-text --><!-- react-text: 5056 -->+256 782 481746<!-- /react-text --><!-- react-text: 5057 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><!-- react-text: 5059 -->Hacksaw.Ridge.2016.DVDScr.XVID.AC3.HQ.Hive-CM8<!-- /react-text --></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 5062 --><!-- /react-text --><span class="message-datetime">14:41</span><!-- react-text: 5064 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div><div class="msg"><span></span><div class="message message-chat message-out message-chat"><div><span class="tail-container"></span><!-- react-text: 5104 --> <!-- /react-text --><span class="tail-container highlight"></span><!-- react-text: 5106 --> <!-- /react-text --><div class="bubble bubble-text"><div class="message-text" data-id="true_256775961273@c.us_3EB0CBF2EE95570BCB43"><span class="message-pre-text"><!-- react-text: 5110 --><!-- /react-text --><!-- react-text: 5111 -->[14:41, 3/2/2017]<!-- /react-text --><!-- react-text: 5112 --> <!-- /react-text --><!-- react-text: 5113 -->+256 782 481746<!-- /react-text --><!-- react-text: 5114 -->: <!-- /react-text --></span><span class="emojitext selectable-text" dir="ltr"><a class="selectable-text" href="https://kickass.cd/movies/" title="https://kickass.cd/movies/" rel="noopener noreferrer" target="_blank"><!-- react-text: 5117 -->https://kickass.cd/movies/<!-- /react-text --></a></span></div><div class="message-meta text-clickable"><span class="hidden-token"><!-- react-text: 5120 --><!-- /react-text --><span class="message-datetime">14:41</span><!-- react-text: 5122 --><!-- /react-text --></span><span class="icon icon-msg-dblcheck-ack"></span></div></div><span></span></div></div></div></div></div></div></div><div class="compose-filler" style="height: 0px;"></div><footer tabindex="-1" class="pane-footer pane-chat-footer"><!-- react-empty: 3474 --><div class="block-compose"><button class="icon icon-smiley btn-emoji"></button><div tabindex="-1" class="input-container"><div tabindex="-1" class="input-emoji"><div class="input-placeholder" style="visibility: visible">Type a message</div><div class="input" contenteditable="true" data-tab="1" dir="auto" spellcheck="true"></div></div></div><div class="ptt-container"><span><button class="icon btn-icon icon-ptt"></button></span></div></div><div class="compose-box-items-positioning-container"><div class="compose-box-items-overlay-container"><div></div></div></div><span class="mentions-positioning-container"></span></footer><span></span><!-- react-empty: 3489 --></div></div></div></div>
<script src="./(1) WhatsApp_files/progress_049f357785bcadfedb45f5575a41f551.js.download"></script>
</body></html> | 442.033149 | 55,518 | 0.641836 |
967891ffa44b28b8a6b6524ba6e19aee2574a857 | 24 | php | PHP | tests/help/pages/index.php | evas-php/evas-router | 3cc39c2864a31e2610d48369a44d1ef0bc65c107 | [
"CC-BY-4.0"
] | 7 | 2020-07-05T20:53:21.000Z | 2022-02-13T12:24:30.000Z | tests/help/pages/index.php | evas-php/evas-router | 3cc39c2864a31e2610d48369a44d1ef0bc65c107 | [
"CC-BY-4.0"
] | null | null | null | tests/help/pages/index.php | evas-php/evas-router | 3cc39c2864a31e2610d48369a44d1ef0bc65c107 | [
"CC-BY-4.0"
] | null | null | null |
<h1>The Home page</h1>
| 8 | 22 | 0.625 |
6262f1399d4544c1704b9c5b104e150b4b2f2010 | 182 | swift | Swift | stts/Services/StatusPage/Spoke.swift | renshuki/stts | 605c39c3d6d6f4171dc34478de026d2fdaa51eb0 | [
"MIT"
] | 456 | 2016-12-23T07:57:27.000Z | 2022-03-27T20:42:06.000Z | stts/Services/StatusPage/Spoke.swift | renshuki/stts | 605c39c3d6d6f4171dc34478de026d2fdaa51eb0 | [
"MIT"
] | 142 | 2016-12-23T18:16:08.000Z | 2022-03-09T07:42:20.000Z | stts/Services/StatusPage/Spoke.swift | renshuki/stts | 605c39c3d6d6f4171dc34478de026d2fdaa51eb0 | [
"MIT"
] | 71 | 2016-12-23T21:19:26.000Z | 2022-03-27T11:03:46.000Z | //
// Spoke.swift
// stts
//
import Foundation
class Spoke: StatusPageService {
let url = URL(string: "https://status.askspoke.com")!
let statusPageID = "4fw9h14fz72w"
}
| 15.166667 | 57 | 0.664835 |
0e6ecb15d7062d19bed13ed6cd97ab59a0482b50 | 1,460 | html | HTML | src/app/navigation/navigation.component.html | RasmusBuchholdt/home-panel | 6b2f0e8725f92d3b245f0cce821203e59e89b034 | [
"MIT"
] | 1 | 2020-12-14T12:38:54.000Z | 2020-12-14T12:38:54.000Z | src/app/navigation/navigation.component.html | RasmusBuchholdt/home-panel | 6b2f0e8725f92d3b245f0cce821203e59e89b034 | [
"MIT"
] | null | null | null | src/app/navigation/navigation.component.html | RasmusBuchholdt/home-panel | 6b2f0e8725f92d3b245f0cce821203e59e89b034 | [
"MIT"
] | null | null | null | <mat-sidenav-container class="sidenav-container" (swiperight)="onSwipeRight($event)" (swipeleft)="onSwipeLeft($event)">
<mat-sidenav #drawer class="sidenav" fixedInViewport [attr.role]="(isHandset$ | async) ? 'dialog' : 'navigation'"
[mode]="(isHandset$ | async) ? 'over' : 'side'" [opened]="(isHandset$ | async) === false">
<mat-toolbar>Menu</mat-toolbar>
<mat-nav-list>
<a mat-list-item (click)="closeDrawer()" [routerLink]="['/']">Dashboard</a>
<a mat-list-item (click)="closeDrawer()" [routerLink]="['/spotify']">Spotify</a>
<a mat-list-item (click)="closeDrawer()" [routerLink]="['/lights']">Lights</a>
<a mat-list-item (click)="closeDrawer()" [routerLink]="['/pihole']">Pi-hole</a>
</mat-nav-list>
</mat-sidenav>
<mat-sidenav-content>
<mat-toolbar color="primary">
<button type="button" aria-label="Toggle sidenav" mat-icon-button (click)="drawer.toggle()"
*ngIf="isHandset$ | async">
<mat-icon aria-label="Side nav toggle icon">menu</mat-icon>
</button>
<a *ngIf="(isHandset$ | async) === false" class="logo" [routerLink]="['/']">
<mat-icon class="white-icon">home</mat-icon>
</a>
<span [routerLink]="['/']">Home Panel</span>
<span class="spacer"></span>
<button mat-icon-button>
<mat-icon>person</mat-icon>
</button>
</mat-toolbar>
<router-outlet></router-outlet>
</mat-sidenav-content>
</mat-sidenav-container>
| 48.666667 | 119 | 0.611644 |
186282701292d591554c6e9011463b92b8b09da1 | 2,255 | asm | Assembly | programs/oeis/100/A100187.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/100/A100187.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/100/A100187.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A100187: Structured octagonal anti-diamond numbers (vertex structure 7).
; 1,18,77,204,425,766,1253,1912,2769,3850,5181,6788,8697,10934,13525,16496,19873,23682,27949,32700,37961,43758,50117,57064,64625,72826,81693,91252,101529,112550,124341,136928,150337,164594,179725,195756,212713,230622,249509,269400,290321,312298,335357,359524,384825,411286,438933,467792,497889,529250,561901,595868,631177,667854,705925,745416,786353,828762,872669,918100,965081,1013638,1063797,1115584,1169025,1224146,1280973,1339532,1399849,1461950,1525861,1591608,1659217,1728714,1800125,1873476,1948793,2026102,2105429,2186800,2270241,2355778,2443437,2533244,2625225,2719406,2815813,2914472,3015409,3118650,3224221,3332148,3442457,3555174,3670325,3787936,3908033,4030642,4155789,4283500,4413801,4546718,4682277,4820504,4961425,5105066,5251453,5400612,5552569,5707350,5864981,6025488,6188897,6355234,6524525,6696796,6872073,7050382,7231749,7416200,7603761,7794458,7988317,8185364,8385625,8589126,8795893,9005952,9219329,9436050,9656141,9879628,10106537,10336894,10570725,10808056,11048913,11293322,11541309,11792900,12048121,12306998,12569557,12835824,13105825,13379586,13657133,13938492,14223689,14512750,14805701,15102568,15403377,15708154,16016925,16329716,16646553,16967462,17292469,17621600,17954881,18292338,18633997,18979884,19330025,19684446,20043173,20406232,20773649,21145450,21521661,21902308,22287417,22677014,23071125,23469776,23872993,24280802,24693229,25110300,25532041,25958478,26389637,26825544,27266225,27711706,28162013,28617172,29077209,29542150,30012021,30486848,30966657,31451474,31941325,32436236,32936233,33441342,33951589,34467000,34987601,35513418,36044477,36580804,37122425,37669366,38221653,38779312,39342369,39910850,40484781,41064188,41649097,42239534,42835525,43437096,44044273,44657082,45275549,45899700,46529561,47165158,47806517,48453664,49106625,49765426,50430093,51100652,51777129,52459550,53147941,53842328,54542737,55249194,55961725,56680356,57405113,58136022,58873109,59616400,60365921,61121698,61883757,62652124,63426825,64207886,64995333,65789192,66589489,67396250
mov $2,$0
mov $3,$0
mov $0,1
mov $1,$3
add $1,$2
lpb $2,1
mul $0,2
add $3,2
add $0,$3
lpb $0,1
sub $0,1
add $1,$3
lpe
mov $0,1
sub $2,1
lpe
add $1,1
| 107.380952 | 2,007 | 0.841242 |
5261c10145ac61804d64b56e6762589d6db57f18 | 1,191 | kt | Kotlin | client-cli/src/sk/csirt/viruschecker/client/cli/config/CommandLineArguments.kt | StefanLevoca/viruschecker | 7d147d03c4e2b445e19a3f2709b73cee9a8a5f98 | [
"MIT"
] | 6 | 2019-12-09T06:23:24.000Z | 2021-07-15T09:55:30.000Z | client-cli/src/sk/csirt/viruschecker/client/cli/config/CommandLineArguments.kt | StefanLevoca/viruschecker | 7d147d03c4e2b445e19a3f2709b73cee9a8a5f98 | [
"MIT"
] | null | null | null | client-cli/src/sk/csirt/viruschecker/client/cli/config/CommandLineArguments.kt | StefanLevoca/viruschecker | 7d147d03c4e2b445e19a3f2709b73cee9a8a5f98 | [
"MIT"
] | 5 | 2019-10-13T18:21:31.000Z | 2021-11-15T06:33:07.000Z | package sk.csirt.viruschecker.client.cli.config
import com.xenomachina.argparser.ArgParser
import com.xenomachina.argparser.default
import sk.csirt.viruschecker.config.defaultTimeout
import java.io.File
import java.time.Duration
class CommandLineArguments(parser: ArgParser) {
val gateway by parser.positional(
"URL",
help = "Gateway url."
)
val fileToScan by parser.positional(
help = "File to scan. Does not support directories (only archived)."
) { File(this) }
val socketTimeout: Duration by parser.storing(
"-t", "--timeout",
help = "Optional: Sets socket timeout in milliseconds. Default value is " +
"${defaultTimeout.toMillis()}."
) { Duration.ofMillis(this.toLong()) }.default(defaultTimeout)
val useExternalDrivers by parser.flagging(
"-e", "--useExternalServices",
help = "Send file hash to external services like VirusTotal."
)
val outputFile by parser.storing(
"-o", "--out",
help = "Output file to store report. Csv format is supported if the filename ends" +
" with appropriate postfix."
) { File(this) }.default<File?>(null)
} | 35.029412 | 92 | 0.664987 |
2726e079982e7659fe446ca593e2cd8b412737f6 | 1,032 | css | CSS | assets/styles/site.css | loup-brun/hugorepo | cc554a9ea0f4467eb3ae941a0241d40b50d77fb0 | [
"WTFPL"
] | 2 | 2020-10-21T13:41:35.000Z | 2021-11-11T16:53:15.000Z | assets/styles/site.css | loup-brun/hugorepo | cc554a9ea0f4467eb3ae941a0241d40b50d77fb0 | [
"WTFPL"
] | 3 | 2020-06-08T15:40:05.000Z | 2020-09-13T22:54:55.000Z | assets/styles/site.css | loup-brun/hugorepo | cc554a9ea0f4467eb3ae941a0241d40b50d77fb0 | [
"WTFPL"
] | null | null | null | ::selection {
background-color: #000;
color: #fff;
}
html {
scroll-behavior: smooth;
}
h1 {
@apply text-2xl;
}
h2 {
@apply text-xl;
}
h3 {
@apply text-lg;
}
a {
@apply underline;
}
a:hover {
@apply no-underline;
}
.content {
hyphens: auto;
p,
blockquote,
figure,
> img {
margin-bottom: 1.25em;
}
b, strong {
@apply font-bold;
}
em {
font-style: italic;
}
ol {
list-style-type: decimal;
list-style-position: inside;
}
abbr {
cursor: help;
}
ul {
margin-bottom: 1em;
padding-left: 1em; /* Assuming em dash */
position: relative;
li {
&::before {
left: 0;
position: absolute;
content: '—';
@apply mr-2;
}
}
}
blockquote {
padding-left: 1em;
margin: 0;
margin-bottom: 1.25em; /* override */
}
}
.footnotes {
ol {
@apply list-decimal;
@apply list-inside;
@apply p-0;
li {
@apply mb-6;
}
p {
display: inline;
}
}
}
| 11.340659 | 45 | 0.504845 |
157379eb5d1623e0105b678e04713d87a9c76b19 | 2,233 | rb | Ruby | cloud_controller/spec/models/staging_task_log_spec.rb | mozilla/labs-vcap | 4e5344c6e35b675e38d897361dfce748b101da4a | [
"Apache-2.0"
] | 2 | 2015-04-27T22:38:42.000Z | 2015-10-22T08:39:27.000Z | cloud_controller/spec/models/staging_task_log_spec.rb | cloudfoundry-attic/cloud_controller | 6a75345a0d9479e47baf87c5717ec79fe0f8b42f | [
"Ruby",
"Apache-2.0"
] | 2 | 2019-02-17T17:46:37.000Z | 2022-01-11T19:38:55.000Z | cloud_controller/spec/models/staging_task_log_spec.rb | cloudfoundry-attic/cloud_controller | 6a75345a0d9479e47baf87c5717ec79fe0f8b42f | [
"Ruby",
"Apache-2.0"
] | 2 | 2015-04-16T13:18:10.000Z | 2021-04-03T11:05:32.000Z | require 'spec_helper'
describe StagingTaskLog do
before :all do
@task_id = 'test_task'
@task_log = StagingTaskLog.new(@task_id, 'Hello')
@task_key = StagingTaskLog.key_for_id(@task_id)
end
describe '#save' do
it 'should set a json encoded blob in redis' do
redis_mock = mock()
redis_mock.expects(:set).with(@task_key, @task_log.task_log)
@task_log.save(redis_mock)
end
it 'should use the static instance of redis if none is provided' do
redis_mock = mock()
redis_mock.expects(:set).with(@task_key, @task_log.task_log)
StagingTaskLog.redis = redis_mock
@task_log.save
end
end
describe '#fetch_fibered' do
before :each do
@redis_mock = mock()
@deferrable_mock = EM::DefaultDeferrable.new()
@deferrable_mock.stubs(:timeout)
@redis_mock.expects(:get).with(@task_key).returns(@deferrable_mock)
end
it 'should fetch and decode an existing task result' do
Fiber.new do
res = StagingTaskLog.fetch_fibered(@task_id, @redis_mock)
res.should be_instance_of(StagingTaskLog)
end.resume
@deferrable_mock.succeed(@task_log.task_log)
end
it 'should return nil if no key exists' do
Fiber.new do
res = StagingTaskLog.fetch_fibered(@task_id, @redis_mock)
res.should be_nil
end.resume
@deferrable_mock.succeed(nil)
end
it 'should use the static instance of redis if none is provided' do
Fiber.new do
StagingTaskLog.redis = @redis_mock
res = StagingTaskLog.fetch_fibered(@task_id)
end.resume
@deferrable_mock.succeed(nil)
end
it 'should raise TimeoutError when timed out fetching result' do
Fiber.new do
expect do
res = StagingTaskLog.fetch_fibered(@task_id, @redis_mock)
end.to raise_error(CloudError)
end.resume
@deferrable_mock.fail(nil)
end
it 'should raise error when redis fetching fails' do
Fiber.new do
expect do
res = StagingTaskLog.fetch_fibered(@task_id, @redis_mock)
end.to raise_error
end.resume
@deferrable_mock.fail(RuntimeError.new("Mock Runtime Error from EM::Hiredis"))
end
end
end
| 29 | 84 | 0.669055 |
a06955002f065b133fc763c9d57dbe0b8cb25542 | 1,647 | kt | Kotlin | idea/src/org/jetbrains/kotlin/idea/intentions/IntroduceImportAliasIntention.kt | tgeng/intellij-kotlin | 074f16db036cbdc3dc3e082841c1573b2da74f2d | [
"ECL-2.0",
"Apache-2.0"
] | 337 | 2020-05-14T00:40:10.000Z | 2022-02-16T23:39:07.000Z | idea/src/org/jetbrains/kotlin/idea/intentions/IntroduceImportAliasIntention.kt | Seantheprogrammer93/kotlin | f7aabf03f89bdd39d9847572cf9e0051ea42c247 | [
"ECL-2.0",
"Apache-2.0"
] | 92 | 2020-06-10T23:17:42.000Z | 2020-09-25T10:50:13.000Z | idea/src/org/jetbrains/kotlin/idea/intentions/IntroduceImportAliasIntention.kt | Seantheprogrammer93/kotlin | f7aabf03f89bdd39d9847572cf9e0051ea42c247 | [
"ECL-2.0",
"Apache-2.0"
] | 44 | 2020-05-17T10:11:11.000Z | 2022-03-11T02:37:20.000Z | /*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.intentions
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.util.TextRange
import org.jetbrains.kotlin.idea.KotlinBundle
import org.jetbrains.kotlin.idea.imports.canBeAddedToImport
import org.jetbrains.kotlin.idea.refactoring.introduce.introduceImportAlias.KotlinIntroduceImportAliasHandler
import org.jetbrains.kotlin.idea.references.mainReference
import org.jetbrains.kotlin.idea.references.resolveMainReferenceToDescriptors
import org.jetbrains.kotlin.psi.KtInstanceExpressionWithLabel
import org.jetbrains.kotlin.psi.KtNameReferenceExpression
class IntroduceImportAliasIntention : SelfTargetingRangeIntention<KtNameReferenceExpression>(
KtNameReferenceExpression::class.java,
KotlinBundle.lazyMessage("introduce.import.alias")
) {
override fun applicabilityRange(element: KtNameReferenceExpression): TextRange? {
if (element.parent is KtInstanceExpressionWithLabel) return null
if (element.mainReference.getImportAlias() != null) return null
val targets = element.resolveMainReferenceToDescriptors()
if (targets.isEmpty() || targets.any { !it.canBeAddedToImport() }) return null
return element.textRange
}
override fun applyTo(element: KtNameReferenceExpression, editor: Editor?) {
if (editor == null) return
KotlinIntroduceImportAliasHandler.doRefactoring(element.project, editor, element)
}
} | 47.057143 | 115 | 0.797814 |
7089c7c74657f733388fc1a1205bc8278ae216ae | 110 | h | C | include/al/layout/LayoutInitInfo.h | xiivler/smo-practice | 7df6dd21809e35e4af585a792c1fcdc3ee290132 | [
"MIT"
] | 14 | 2021-12-10T20:21:00.000Z | 2022-03-28T00:05:30.000Z | include/al/layout/LayoutInitInfo.h | xiivler/smo-practice | 7df6dd21809e35e4af585a792c1fcdc3ee290132 | [
"MIT"
] | 5 | 2021-12-14T16:02:41.000Z | 2022-03-23T22:05:46.000Z | include/al/layout/LayoutInitInfo.h | xiivler/smo-practice | 7df6dd21809e35e4af585a792c1fcdc3ee290132 | [
"MIT"
] | 10 | 2021-12-10T20:50:53.000Z | 2022-03-14T02:58:53.000Z | #pragma once
namespace al
{
class LayoutInitInfo {
public:
};
} // namespace al
| 11 | 26 | 0.518182 |
d627d241e2af18b358138e44692a685b2313b547 | 177 | lua | Lua | data.lua | NunoMarquesRM/RERailworld | 81397d121a4c3e210fb9de459ffbe7c17ca87fd4 | [
"MIT"
] | 2 | 2021-01-22T12:55:54.000Z | 2021-05-12T09:54:04.000Z | data.lua | NunoMarquesRM/RERailworld | 81397d121a4c3e210fb9de459ffbe7c17ca87fd4 | [
"MIT"
] | null | null | null | data.lua | NunoMarquesRM/RERailworld | 81397d121a4c3e210fb9de459ffbe7c17ca87fd4 | [
"MIT"
] | null | null | null | require("prototypes.eletric-train")
require("prototypes.machineryTrains")
require("prototypes.sonicTrain")
require("prototypes.wagons-cargo")
require("prototypes.wagons-liquid") | 35.4 | 37 | 0.819209 |
93c60b7e3e9b273f3aacaa785b67ee24b4f20fff | 238 | swift | Swift | Classes/Views/CollectionDynamicCell.swift | lecniers/UIKitPlus | a7a188df1e9515e12f7c1771cc2ad5265e40ead8 | [
"MIT"
] | 5 | 2020-06-25T08:19:10.000Z | 2022-03-28T00:10:04.000Z | Classes/Views/CollectionDynamicCell.swift | lecniers/UIKitPlus | a7a188df1e9515e12f7c1771cc2ad5265e40ead8 | [
"MIT"
] | null | null | null | Classes/Views/CollectionDynamicCell.swift | lecniers/UIKitPlus | a7a188df1e9515e12f7c1771cc2ad5265e40ead8 | [
"MIT"
] | null | null | null | import UIKit
class CollectionDynamicCell: CollectionViewCell {
func setRootView(_ rootView: VStack) {
contentView.subviews.forEach { $0.removeFromSuperview() }
contentView.body { rootView.edgesToSuperview() }
}
}
| 26.444444 | 65 | 0.714286 |
6e61cc0afa2608551a6ddff7485ea81cfc13fe31 | 2,130 | kt | Kotlin | src/main/kotlin/com/keygenqt/autoway/common/base/BaseService.kt | keygenqt/api-Autoway | 83c7380741854809c2a9b4af134559807377ac6f | [
"Apache-2.0"
] | 5 | 2021-09-05T01:39:04.000Z | 2021-09-08T07:46:25.000Z | src/main/kotlin/com/keygenqt/autoway/common/base/BaseService.kt | keygenqt/api-Autoway | 83c7380741854809c2a9b4af134559807377ac6f | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/keygenqt/autoway/common/base/BaseService.kt | keygenqt/api-Autoway | 83c7380741854809c2a9b4af134559807377ac6f | [
"Apache-2.0"
] | 2 | 2021-09-05T01:39:07.000Z | 2021-09-06T07:23:03.000Z | /*
* Copyright 2021 Vitaliy Zarubin
*
* 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.keygenqt.autoway.common.base
import com.keygenqt.autoway.common.config.DBConfig
import com.keygenqt.autoway.extensions.Type
import org.slf4j.LoggerFactory
open class BaseService {
private val log = LoggerFactory.getLogger(this::class.java)
suspend fun pk(table: String): String? = DBConfig.dbQuery {
exec("SELECT name, pk FROM PRAGMA_TABLE_INFO('$table')") { rs ->
while (rs.next()) {
if (rs.getBoolean("pk")) {
return@exec rs.getString("name")
}
}
return@exec ""
}.let { if (it.isNullOrEmpty()) null else it }
}
suspend fun columns(table: String): Map<String, Type>? = DBConfig.dbQuery {
val columns = mutableMapOf<String, Type>()
exec("SELECT name, type, pk FROM PRAGMA_TABLE_INFO('$table')") { rs ->
while (rs.next()) {
val name = rs.getString("name")
when (val type = rs.getString("type").substringBefore("(").uppercase()) {
Type.INTEGER.name -> columns[name] = Type.INTEGER
Type.VARCHAR.name -> columns[name] = Type.VARCHAR
Type.TEXT.name -> columns[name] = Type.TEXT
Type.REAL.name -> columns[name] = Type.REAL
Type.TIMESTAMP.name -> columns[name] = Type.TIMESTAMP
else -> log.error("Type not found: $type")
}
}
}
if (columns.isEmpty()) null else columns
}
} | 38.727273 | 89 | 0.605634 |
1020b10193fde6f0f9c45bbe081d755841688023 | 153 | kt | Kotlin | core/src/main/java/ir/mjmim/emitter/core/listeners/IConnectListener.kt | mortezamim/Kotlin-Emitter-io | b21560dd3b1d9bde5772812b259e17b39ec1dbdb | [
"MIT"
] | null | null | null | core/src/main/java/ir/mjmim/emitter/core/listeners/IConnectListener.kt | mortezamim/Kotlin-Emitter-io | b21560dd3b1d9bde5772812b259e17b39ec1dbdb | [
"MIT"
] | null | null | null | core/src/main/java/ir/mjmim/emitter/core/listeners/IConnectListener.kt | mortezamim/Kotlin-Emitter-io | b21560dd3b1d9bde5772812b259e17b39ec1dbdb | [
"MIT"
] | null | null | null | package ir.mjmim.emitter.core.listeners
interface IConnectListener {
fun onSuccess(url:String)
fun onFailure(url:String,exception: Throwable?)
} | 25.5 | 51 | 0.777778 |
162e77626c4516b7a9b49db2e7678b87b972e764 | 119 | tsx | TypeScript | src/components/app.tsx | samipourquoi/samipourquoi | 41c80d27081df8d9fb7d7d54468fc0b14f916eb8 | [
"MIT"
] | null | null | null | src/components/app.tsx | samipourquoi/samipourquoi | 41c80d27081df8d9fb7d7d54468fc0b14f916eb8 | [
"MIT"
] | null | null | null | src/components/app.tsx | samipourquoi/samipourquoi | 41c80d27081df8d9fb7d7d54468fc0b14f916eb8 | [
"MIT"
] | null | null | null | import React from "react";
import "./styles/app.scss"
export function App() {
return (
<h1>Hello world</h1>
);
}
| 11.9 | 26 | 0.638655 |
0ef36b8c006c31d2a791a2b89ef7ff1e9373d540 | 1,922 | tsx | TypeScript | src/components/cart/cart.container.tsx | 1Kakady1/pizza-time | 7c9002684b5830e36fd6fc861a3e3d7b5898f5ae | [
"MIT"
] | null | null | null | src/components/cart/cart.container.tsx | 1Kakady1/pizza-time | 7c9002684b5830e36fd6fc861a3e3d7b5898f5ae | [
"MIT"
] | null | null | null | src/components/cart/cart.container.tsx | 1Kakady1/pizza-time | 7c9002684b5830e36fd6fc861a3e3d7b5898f5ae | [
"MIT"
] | null | null | null | import { useNavigation } from '@react-navigation/native';
import React from 'react';
import { useDispatch, useSelector } from 'react-redux';
import { SCREENS_STACK, SCREENS } from '../../consts/screens';
import { getCounterCounter, getTotalPrice } from '../../helpers/cart';
import { Cart } from './cart.component';
import { ICartComments, ICartItem } from './state/cart.state.model';
import { toCartAction } from './state/cart.state.reducer';
import { toCartSelector } from './state/cart.state.selector';
export const CartContainer = () => {
const nav = useNavigation();
const cart = useSelector(toCartSelector.cart);
const dispatch = useDispatch();
const onAdd = (item: ICartItem, size: string) =>
dispatch(toCartAction.add({ prod: item, size }));
const onSub = (item: ICartItem, size: string) =>
dispatch(toCartAction.sub({ prod: item, size }));
const goProducts = () => {
nav.navigate(SCREENS_STACK.drawer, {
screen: SCREENS_STACK.drawlerChild,
params: {
screen: SCREENS.home
}
});
};
const goOrder = () => {
nav.navigate(SCREENS_STACK.modal, {
screen: SCREENS.order
});
};
const onClear = () => dispatch(toCartAction.clear());
const onRemove = (value: { id: string; size: string }) =>
dispatch(toCartAction.remove(value));
const onChangeComments = (value: ICartComments) =>
dispatch(toCartAction.changeComments(value));
return (
<Cart
cart={cart}
onAdd={onAdd}
onSub={onSub}
count={getCounterCounter(cart, 'productCount') as number}
goProducts={goProducts}
goOrder={goOrder}
onClear={onClear}
totalPrice={getTotalPrice(cart)}
onRemove={onRemove}
onChangeComments={onChangeComments}
/>
);
};
| 33.719298 | 70 | 0.601977 |
1846ec3ac5732ff57040d3ee20b3f18d0d7f6726 | 201 | rb | Ruby | features/step-definitions/checkbox.rb | LandRegistry/acceptance-test-skeleton | ae37900d922f3a83db9645a80ba3eb6fcb13f434 | [
"MIT"
] | 5 | 2020-02-05T09:01:18.000Z | 2022-02-03T09:52:02.000Z | features/step-definitions/checkbox.rb | LandRegistry/acceptance-test-skeleton | ae37900d922f3a83db9645a80ba3eb6fcb13f434 | [
"MIT"
] | 8 | 2020-03-27T09:05:34.000Z | 2022-02-26T06:11:46.000Z | features/step-definitions/checkbox.rb | LandRegistry/acceptance-test-skeleton | ae37900d922f3a83db9645a80ba3eb6fcb13f434 | [
"MIT"
] | 4 | 2020-11-18T13:24:11.000Z | 2021-09-30T20:38:20.000Z | # frozen_string_literal: true
Given('I visit the checkbox page') do
@checkbox_page = CheckboxPage.new.visit.displayed?
end
Then('the checkbox page is displayed') do
@checkbox_page.displayed?
end
| 20.1 | 52 | 0.771144 |
e096cd06f84611702cc1c411309915b4b9b0d9e5 | 577 | kt | Kotlin | clientprotocol/src/commonTest/kotlin/org/inthewaves/kotlinsignald/clientprotocol/TestHelpers.kt | inthewaves/kotlin-signald | 8a7c7ed42f867a194dfbd9f36f115c4f8fcb3b6d | [
"MIT"
] | 1 | 2021-09-27T01:52:09.000Z | 2021-09-27T01:52:09.000Z | clientprotocol/src/commonTest/kotlin/org/inthewaves/kotlinsignald/clientprotocol/TestHelpers.kt | inthewaves/kotlin-signald | 8a7c7ed42f867a194dfbd9f36f115c4f8fcb3b6d | [
"MIT"
] | 26 | 2021-08-23T13:06:53.000Z | 2022-03-02T00:52:11.000Z | clientprotocol/src/commonTest/kotlin/org/inthewaves/kotlinsignald/clientprotocol/TestHelpers.kt | inthewaves/kotlin-signald | 8a7c7ed42f867a194dfbd9f36f115c4f8fcb3b6d | [
"MIT"
] | null | null | null | package org.inthewaves.kotlinsignald.clientprotocol
inline fun <reified T : Throwable> assertThrows(executable: () -> Unit): T {
try {
executable.invoke()
} catch (e: Throwable) {
if (e is T) {
return e
}
throw AssertionError(
"Unexpected exception type thrown (expected: ${T::class.simpleName}; got ${e::class.simpleName}. " +
"Exception stacktrace:\n" + e.stackTraceToString()
)
}
throw AssertionError("Expected ${T::class.simpleName} to be thrown, but nothing was thrown.")
}
| 32.055556 | 112 | 0.604853 |
9c5037f98ea15f68a01ec04427e441cb36486ef0 | 2,089 | js | JavaScript | example/src/containers/CustomSlickbar.js | nmachine-io/ui-js | 21a2674c5b515957ebe9eea0de1f9bd33fb30ec9 | [
"MIT"
] | null | null | null | example/src/containers/CustomSlickbar.js | nmachine-io/ui-js | 21a2674c5b515957ebe9eea0de1f9bd33fb30ec9 | [
"MIT"
] | 21 | 2021-08-28T12:02:34.000Z | 2021-09-08T20:52:13.000Z | example/src/containers/CustomSlickbar.js | nmachine-io/ui-js | 21a2674c5b515957ebe9eea0de1f9bd33fb30ec9 | [
"MIT"
] | null | null | null | import React, {Fragment} from "react";
import {Layout,
TopBarViews,
SlickBar,
NectarGuiUtils
}
from "@nmachine/ui";
export default function CustomSlickBar(){
return(
<SlickBar.SlickBar>
<Layout.Div width='100%'>
<SlickBar.ImgItem
spaced={false}
isSelected={true}
src={NectarGuiUtils.image('company/logo/tomato/128x128.png')}
SubmenuView={CustomSubMenu}
/>
<SlickBar.ImgItem
SubmenuView={CustomSubMenu}
src={NectarGuiUtils.image('project.png')}
/>
</Layout.Div>
<Layout.Div width='100%'>
<SlickBar.ImgItem
low={true}
SubmenuView={CustomSubMenuTwo}
src={NectarGuiUtils.image('kama/kubernetes/blue-fill/medium.png')}
/>
<SlickBar.ImgItem
low={true}
SubmenuView={CustomSubMenuTwo}
src={NectarGuiUtils.image('company/logo/white/128x128.png')}
/>
</Layout.Div>
</SlickBar.SlickBar>
)
}
function CustomSubMenu(){
return(
<Fragment>
<TopBarViews.ImgAndLink
src={NectarGuiUtils.image('kama/kubernetes/blue-fill/medium.png')}
title="Top Bar Pages"
text="If you dare"
/>
<TopBarViews.ClickableRow
icon='open_in_new'
text='Store Index'
action='/store'
/>
<TopBarViews.ClickableRow
icon='open_in_new'
text='Store Item'
action='/store/item'
/>
<TopBarViews.ClickableRow
icon='open_in_new'
text='New Form Page'
action='/new-form'
/>
</Fragment>
)
}
function CustomSubMenuTwo(){
return(
<Layout.Div height='400px'>
<TopBarViews.ImgAndLink
src={NectarGuiUtils.image('kama/kubernetes/blue-outline/medium.png')}
title={"Kubernetes Context"}
text="If you dare"
action={_ => alert("Callback action")}
/>
<TopBarViews.ClickableRow
icon='open_in_new'
text='Open a dialog'
action={'https://www.codenectar.com'}
/>
</Layout.Div>
)
}
| 24.290698 | 77 | 0.580661 |
92c65b0d6bbd1e173621f6a9e6a44990134e1fa5 | 134 | swift | Swift | Tests/LinuxMain.swift | dezinezync/SwiftYapDatabase | e1befb00a014fa75721633950e100dddd343f496 | [
"BSD-3-Clause"
] | 4 | 2021-03-06T07:52:41.000Z | 2021-06-02T05:38:55.000Z | Tests/LinuxMain.swift | dezinezync/SwiftYapDatabase | e1befb00a014fa75721633950e100dddd343f496 | [
"BSD-3-Clause"
] | null | null | null | Tests/LinuxMain.swift | dezinezync/SwiftYapDatabase | e1befb00a014fa75721633950e100dddd343f496 | [
"BSD-3-Clause"
] | 3 | 2021-06-01T03:31:27.000Z | 2021-12-28T09:52:45.000Z | import XCTest
import SwiftYapDatabaseTests
var tests = [XCTestCaseEntry]()
tests += SwiftYapDatabaseTests.allTests()
XCTMain(tests)
| 16.75 | 41 | 0.80597 |
9c2e6e83f3d4a4db65f49ce4ba296ce786f60f1a | 2,990 | js | JavaScript | assets/arcgis_js_api/library/4.10/esri/views/3d/state/controllers/local/ZoomController.js | MalonzaElkanah/e-cafe | dcef1ceb8ccb86bdd598d17015369db55bcf63f1 | [
"Apache-2.0"
] | 2 | 2019-05-06T08:23:55.000Z | 2020-04-04T12:58:11.000Z | assets/arcgis_js_api/library/4.10/esri/views/3d/state/controllers/local/ZoomController.js | MalonzaElkanah/e-cafe | dcef1ceb8ccb86bdd598d17015369db55bcf63f1 | [
"Apache-2.0"
] | null | null | null | assets/arcgis_js_api/library/4.10/esri/views/3d/state/controllers/local/ZoomController.js | MalonzaElkanah/e-cafe | dcef1ceb8ccb86bdd598d17015369db55bcf63f1 | [
"Apache-2.0"
] | 1 | 2021-12-05T18:59:25.000Z | 2021-12-05T18:59:25.000Z | // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.10/esri/copyright.txt for details.
//>>built
define("require exports ../../../../../core/tsSupport/extendsHelper ../../../../../core/libs/gl-matrix-2/gl-matrix ../../../camera/constraintUtils ../InteractiveController ../../utils/navigationUtils ../../../support/geometryUtils ../../../support/mathUtils".split(" "),function(c,h,m,a,k,n,g,l,p){Object.defineProperty(h,"__esModule",{value:!0});c=function(c){function d(e,f){var b=c.call(this)||this;b.view=e;b.intersectionHelper=f;b.tmpP=a.vec3f64.create();b.tmpN=a.vec3f64.create();b.tmpP0=a.vec2f64.create();
b.tmpPoi=a.vec3f64.create();b.tmpRayDir=a.vec3f64.create();b.dragBeginPoint=a.vec2f64.create();b.normalizedAnchorPoint=a.vec2f64.create();b.constraintOptions={selection:15,interactionType:1,interactionFactor:0,interactionStartCamera:null,interactionDirection:a.vec3f64.create(),tiltMode:0};b.plane=l.plane.create();return b}m(d,c);d.prototype.begin=function(e){this.active&&(a.vec2.copy(this.dragBeginPoint,e),g.normalizeCoordinate(this.beginCamera,e,this.normalizedAnchorPoint),this.intersectionHelper.intersectScreenFreePointFallback(e,
this.tmpP),a.vec3.subtract(this.tmpN,this.beginCamera.eye,this.beginCamera.center),a.vec3.normalize(this.tmpN,this.tmpN),0>this.tmpN[1]&&a.vec3.negate(this.tmpN,this.tmpN),l.plane.fromPositionAndNormal(this.tmpP,this.tmpN,this.plane),this.constraintOptions.interactionStartCamera=this.beginCamera)};d.prototype.update=function(e){if(this.active){g.intersectPlaneFromScreenPoint(this.plane,this.currentCamera,this.dragBeginPoint,this.tmpPoi)||a.vec3.copy(this.tmpPoi,this.currentCamera.center);g.normalizeCoordinate(this.currentCamera,
e,this.tmpP0);var f=4*(this.normalizedAnchorPoint[1]-this.tmpP0[1]);a.vec2.copy(this.normalizedAnchorPoint,this.tmpP0);a.vec3.subtract(this.tmpRayDir,this.tmpPoi,this.currentCamera.eye);var b=a.vec3.length(this.tmpRayDir),c=b*(1-f);a.vec3.copy(this.constraintOptions.interactionDirection,this.tmpRayDir);a.vec3.scale(this.constraintOptions.interactionDirection,this.constraintOptions.interactionDirection,p.sign(f)/b);var d=this.view.state.constraints.minimumPoiDistance;0<=f&&c<d&&(c=d,f=-(c-b)/b);1E-6>
Math.abs(b-c)||(a.vec3.scale(this.tmpRayDir,this.tmpRayDir,f),a.vec3.add(this.currentCamera.eye,this.currentCamera.eye,this.tmpRayDir),a.vec3.lerp(this.currentCamera.center,this.currentCamera.center,this.tmpPoi,f),this.currentCamera.center[2]=this.tmpPoi[2]>this.beginCamera.center[2]?Math.max(this.beginCamera.center[2],this.currentCamera.center[2]):Math.min(this.beginCamera.center[2],this.currentCamera.center[2]),this.currentCamera.markViewDirty(),this.constraintOptions.interactionFactor=k.pixelDistanceToInteractionFactor(this.dragBeginPoint,
e),k.applyAll(this.view,this.currentCamera,this.constraintOptions))}};d.prototype.end=function(){this.active&&this.finishController()};return d}(n.InteractiveController);h.ZoomController=c}); | 332.222222 | 548 | 0.792977 |
a1b5b8ed69beb7388dadd28e008d3eff3381675f | 2,208 | go | Go | modules/client/profile/profile_schedule.go | openeuler-mirror/A-Tune | 7479b30e4ab688cf2ca53235d9fd72fc22f332bd | [
"MulanPSL-1.0"
] | 5 | 2020-03-09T12:03:57.000Z | 2022-03-05T06:38:40.000Z | modules/client/profile/profile_schedule.go | openeuler-mirror/A-Tune | 7479b30e4ab688cf2ca53235d9fd72fc22f332bd | [
"MulanPSL-1.0"
] | null | null | null | modules/client/profile/profile_schedule.go | openeuler-mirror/A-Tune | 7479b30e4ab688cf2ca53235d9fd72fc22f332bd | [
"MulanPSL-1.0"
] | 1 | 2020-10-14T02:35:56.000Z | 2020-10-14T02:35:56.000Z | /*
* Copyright (c) 2019 Huawei Technologies Co., Ltd.
* A-Tune is licensed under the Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
* http://license.coscl.org.cn/MulanPSL2
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
* PURPOSE.
* See the Mulan PSL v2 for more details.
* Create: 2019-10-29
*/
package profile
import (
PB "gitee.com/openeuler/A-Tune/api/profile"
"gitee.com/openeuler/A-Tune/common/client"
SVC "gitee.com/openeuler/A-Tune/common/service"
"gitee.com/openeuler/A-Tune/common/utils"
"fmt"
"io"
"github.com/urfave/cli"
CTX "golang.org/x/net/context"
)
var scheduleCommand = cli.Command{
Name: "schedule",
Usage: "schedule",
Flags: []cli.Flag{
cli.StringFlag{
Name: "pid,t",
Usage: "--pid=<pid1>,<pid2>...",
},
cli.StringFlag{
Name: "strategy,s",
Usage: "--strategy=<listed in atune-adm schedule --list>",
},
},
ArgsUsage: "[arguments...]",
Description: func() string {
desc := "\n schedule: schedule resource for instrances\n"
return desc
}(),
Action: schedule,
}
func init() {
svc := SVC.ProfileService{
Name: "opt.profile.schedule",
Desc: "opt profile system",
NewInst: newScheduleCmd,
}
if err := SVC.AddService(&svc); err != nil {
fmt.Printf("Failed to load schedule service : %s\n", err)
return
}
}
func newScheduleCmd(ctx *cli.Context, opts ...interface{}) (interface{}, error) {
return scheduleCommand, nil
}
func schedule(ctx *cli.Context) error {
appname := ctx.String("pid")
strategy := ctx.String("strategy")
c, err := client.NewClientFromContext(ctx)
if err != nil {
return err
}
defer c.Close()
svc := PB.NewProfileMgrClient(c.Connection())
stream, err := svc.Schedule(CTX.Background(), &PB.ScheduleMessage{App: appname, Type: "", Strategy: strategy})
if err != nil {
return err
}
for {
reply, err := stream.Recv()
if err == io.EOF {
break
}
if err != nil {
return err
}
utils.Print(reply)
}
return nil
}
| 23.242105 | 111 | 0.668931 |
85f90d0681c0342c53182331fce4a1b69b667f99 | 2,398 | h | C | CI/rule/pclint/pclint_include/include_linux/c++/4.8.2/javax/print/attribute/AttributeSetUtilities.h | chewaiwai/huaweicloud-sdk-c-obs | fbcd3dadd910c22af3a91aeb73ca0fee94d759fb | [
"Apache-2.0"
] | 22 | 2019-06-13T01:16:44.000Z | 2022-03-29T02:42:39.000Z | CI/rule/pclint/pclint_include/include_linux/c++/4.8.2/javax/print/attribute/AttributeSetUtilities.h | chewaiwai/huaweicloud-sdk-c-obs | fbcd3dadd910c22af3a91aeb73ca0fee94d759fb | [
"Apache-2.0"
] | 26 | 2019-09-20T06:46:05.000Z | 2022-03-11T08:07:14.000Z | CI/rule/pclint/pclint_include/include_linux/c++/4.8.2/javax/print/attribute/AttributeSetUtilities.h | chewaiwai/huaweicloud-sdk-c-obs | fbcd3dadd910c22af3a91aeb73ca0fee94d759fb | [
"Apache-2.0"
] | 14 | 2019-07-15T06:42:39.000Z | 2022-02-15T10:32:28.000Z |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_print_attribute_AttributeSetUtilities__
#define __javax_print_attribute_AttributeSetUtilities__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace javax
{
namespace print
{
namespace attribute
{
class Attribute;
class AttributeSet;
class AttributeSetUtilities;
class DocAttributeSet;
class PrintJobAttributeSet;
class PrintRequestAttributeSet;
class PrintServiceAttributeSet;
}
}
}
}
class javax::print::attribute::AttributeSetUtilities : public ::java::lang::Object
{
AttributeSetUtilities();
public:
static ::javax::print::attribute::AttributeSet * synchronizedView(::javax::print::attribute::AttributeSet *);
static ::javax::print::attribute::DocAttributeSet * synchronizedView(::javax::print::attribute::DocAttributeSet *);
static ::javax::print::attribute::PrintJobAttributeSet * synchronizedView(::javax::print::attribute::PrintJobAttributeSet *);
static ::javax::print::attribute::PrintRequestAttributeSet * synchronizedView(::javax::print::attribute::PrintRequestAttributeSet *);
static ::javax::print::attribute::PrintServiceAttributeSet * synchronizedView(::javax::print::attribute::PrintServiceAttributeSet *);
static ::javax::print::attribute::AttributeSet * unmodifiableView(::javax::print::attribute::AttributeSet *);
static ::javax::print::attribute::DocAttributeSet * unmodifiableView(::javax::print::attribute::DocAttributeSet *);
static ::javax::print::attribute::PrintJobAttributeSet * unmodifiableView(::javax::print::attribute::PrintJobAttributeSet *);
static ::javax::print::attribute::PrintRequestAttributeSet * unmodifiableView(::javax::print::attribute::PrintRequestAttributeSet *);
static ::javax::print::attribute::PrintServiceAttributeSet * unmodifiableView(::javax::print::attribute::PrintServiceAttributeSet *);
static ::java::lang::Class * verifyAttributeCategory(::java::lang::Object *, ::java::lang::Class *);
static ::javax::print::attribute::Attribute * verifyAttributeValue(::java::lang::Object *, ::java::lang::Class *);
static void verifyCategoryForValue(::java::lang::Class *, ::javax::print::attribute::Attribute *);
static ::java::lang::Class class$;
};
#endif // __javax_print_attribute_AttributeSetUtilities__
| 46.115385 | 135 | 0.737281 |
4d43ef22961b0728ae36cea3874ef069b98ca355 | 333 | swift | Swift | crashes-duplicates/04118-swift-sourcemanager-getmessage.swift | radex/swift-compiler-crashes | 41a18a98ae38e40384a38695805745d509b6979e | [
"MIT"
] | null | null | null | crashes-duplicates/04118-swift-sourcemanager-getmessage.swift | radex/swift-compiler-crashes | 41a18a98ae38e40384a38695805745d509b6979e | [
"MIT"
] | null | null | null | crashes-duplicates/04118-swift-sourcemanager-getmessage.swift | radex/swift-compiler-crashes | 41a18a98ae38e40384a38695805745d509b6979e | [
"MIT"
] | null | null | null | // Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
{
case c,
let f = [[Void{
struct A {
protocol e : b { func a<T where T.e : e) -> c {
"
let start = compose([Void{
class B<e) -> Void{
class
case c,
protocol c { e)
| 20.8125 | 87 | 0.678679 |
b39890067de32262b3c2c7ad49b946e0fd1d2654 | 840 | rb | Ruby | spec/active_hash/associations/definitions_spec.rb | kanety/active_hash-associations-definitions | f867e02c8d7ce888e5b764d460ea2fd287cfb2c2 | [
"MIT"
] | null | null | null | spec/active_hash/associations/definitions_spec.rb | kanety/active_hash-associations-definitions | f867e02c8d7ce888e5b764d460ea2fd287cfb2c2 | [
"MIT"
] | null | null | null | spec/active_hash/associations/definitions_spec.rb | kanety/active_hash-associations-definitions | f867e02c8d7ce888e5b764d460ea2fd287cfb2c2 | [
"MIT"
] | null | null | null | class Item < ActiveHash::Base
include ActiveHash::Associations
include ActiveHash::Associations::Definitions
field :parent_id
belongs_to :parent, foreign_key: :parent_id, class_name: self.name
has_many :children, foreign_key: :parent_id, class_name: self.name
end
describe ActiveHash::Associations::Definitions do
context 'belongs_to' do
let :definition do
Item.association_definition(:parent)
end
it 'gets definition' do
expect(definition.name).to eq(:parent)
expect(definition.options[:foreign_key]).to eq(:parent_id)
end
end
context 'has_many' do
let :definition do
Item.association_definition(:children)
end
it 'gets definition' do
expect(definition.name).to eq(:children)
expect(definition.options[:foreign_key]).to eq(:parent_id)
end
end
end
| 24.705882 | 68 | 0.720238 |
22eb1875d252b9543a4157de79ea85f33c28495e | 1,287 | c | C | MessageList.c | MxBlu/ChatSystem | 07ebdf07d97df8603cacbd148d886df1ed37a04e | [
"MIT"
] | null | null | null | MessageList.c | MxBlu/ChatSystem | 07ebdf07d97df8603cacbd148d886df1ed37a04e | [
"MIT"
] | null | null | null | MessageList.c | MxBlu/ChatSystem | 07ebdf07d97df8603cacbd148d886df1ed37a04e | [
"MIT"
] | null | null | null | //
// Created by mxblue on 14/04/17.
//
#include <stdlib.h>
#include <string.h>
#include "MessageList.h"
#include "VoidList.h"
struct MessageRep {
VoidList list;
};
MessageList newMessageList() {
MessageList L = malloc(sizeof(struct MessageRep));
L->list = newVoidList();
return L;
}
void freeMessageList(MessageList L) {
int it = MESSAGELIST_ITERATORINIT;
Message *m = MessageListIterator(L, &it);
while (it != MESSAGELIST_ITERATOREND) {
free(m->msg);
m = MessageListIterator(L, &it);
}
freeVoidList(L->list);
free(L);
}
void addMessage(MessageList L, char *msg) {
Message m;
m.msg = malloc(strlen(msg) + 1);
strcpy(m.msg, msg);
VoidListInsert(L->list, &m, sizeof(Message));
}
void deleteMessage(MessageList L, Message *msg) {
free(msg->msg);
VoidListDelete(L->list, msg);
}
Message *MessageListTop(MessageList L) {
struct VoidNode *n = VoidListGet(L->list, 0);
if (n == NULL) return NULL;
return (Message *)n->data;
}
Message *MessageListIterator(MessageList L, int *it) {
struct VoidNode *n = VoidListIterate(L->list, it);
Message *m = (n != NULL) ? (Message *)n->data : NULL;
return m;
}
int MessageListSize(MessageList L) {
return VoidListLength(L->list);
} | 19.8 | 57 | 0.640249 |
5fcd44e7917a2ec5f1bdd6a72941bb474b405a7b | 10,565 | c | C | bin/htxd/htxd_socket.c | narasimhan-v/HTX | 9f92fe8a07132cef9889e21ac17317b3adbae98e | [
"Apache-2.0"
] | 16 | 2016-04-06T18:47:59.000Z | 2019-07-23T01:31:45.000Z | bin/htxd/htxd_socket.c | narasimhan-v/HTX | 9f92fe8a07132cef9889e21ac17317b3adbae98e | [
"Apache-2.0"
] | 53 | 2016-04-06T13:40:33.000Z | 2020-03-02T06:49:14.000Z | bin/htxd/htxd_socket.c | narasimhan-v/HTX | 9f92fe8a07132cef9889e21ac17317b3adbae98e | [
"Apache-2.0"
] | 18 | 2016-04-05T19:27:04.000Z | 2022-03-23T14:13:25.000Z | /* IBM_PROLOG_BEGIN_TAG */
/*
* Copyright 2003,2016 IBM International Business Machines Corp.
*
* 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.
*/
/* IBM_PROLOG_END_TAG */
/* @(#)67 1.2 src/htx/usr/lpp/htx/bin/htxd/htxd_socket.c, htxd, htxubuntu 2/5/15 00:50:58 */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <sys/socket.h>
#include <netdb.h>
#include <errno.h>
#include <fcntl.h>
#include "htxd_option.h"
#include "htxd_trace.h"
#define BACKLOG 10
/* #define SELECT_TIMEOUT_SECONDS 600 */
#define SELECT_TIMEOUT_SECONDS 100
#define SELECT_TIMEOUT_MICRO_SECONDS 0
#define COMMAND_HEADER_LENGTH 16
#define COMMAND_TAILER_LENGTH 16
#define COMMAND_STRING_LENGTH 10
/* creating a socket */
int htxd_create_socket(void)
{
int socket_fd;
char trace_string[256];
socket_fd = socket (AF_INET, SOCK_STREAM, 0);
if(socket_fd == -1)
{
sprintf(trace_string, "ERROR: while creating socket. Exiting... errno = %d, return_code = %d", errno, socket_fd);
HTXD_TRACE(LOG_ON, trace_string);
perror(trace_string);
exit(1);
}
if (fcntl(socket_fd, F_SETFD, FD_CLOEXEC) == -1) {
sprintf(trace_string, "ERROR: while setting FD_CLOEXEC on socket. Exiting... errno = %d, return_code = %d", errno, socket_fd);
HTXD_TRACE(LOG_ON, trace_string);
perror(trace_string);
exit(1);
}
return socket_fd;
}
/* setting socket option */
int htxd_set_socket_option(int socket_fd)
{
int result;
int option_value = 1;
char trace_string[256];
result = setsockopt (socket_fd, SOL_SOCKET, SO_REUSEADDR, (void *) &option_value, sizeof (option_value) );
if(result == -1)
{
sprintf(trace_string, "ERROR: while setting socket options. Exiting... errno = %d, return_code = %d", errno, socket_fd);
HTXD_TRACE(LOG_ON, trace_string);
perror(trace_string);
exit(1);
}
return result;
}
/* bind socket */
int htxd_bind_socket(int socket_fd, struct sockaddr_in *local_address, int port_number)
{
int result;
char trace_string[256];
result = bind (socket_fd, (struct sockaddr *) local_address, sizeof (struct sockaddr));
if(result == -1)
{
sprintf(trace_string, "ERROR: while binding connection. Exiting... errno = %d, return_code = %d", errno, socket_fd);
HTXD_TRACE(LOG_ON, trace_string);
perror(trace_string);
exit(1);
}
return result;
}
/* listening connection */
int htxd_listen_socket(int socket_fd)
{
int result;
char trace_string[256];
result = listen (socket_fd, BACKLOG);
if(result == -1)
{
sprintf(trace_string, "ERROR: while listening connection. Exiting... errno = %d, return_code = %d", errno, socket_fd);
HTXD_TRACE(LOG_ON, trace_string);
perror(trace_string);
exit(1);
}
return result;
}
/* select for reading */
int htxd_select(int socket_fd)
{
int result;
fd_set read_fd_set;
struct timeval timeout;
char trace_string[256];
FD_ZERO (&read_fd_set);
timeout.tv_sec = SELECT_TIMEOUT_SECONDS;
timeout.tv_usec = SELECT_TIMEOUT_MICRO_SECONDS;
FD_SET (socket_fd, &read_fd_set);
result = select (socket_fd + 1, &read_fd_set, NULL, NULL, &timeout);
if( (result == -1) && (errno != EINTR) ) {
sprintf(trace_string, "ERROR: while selecting connection. Exiting... errno = %d, return_code = %d", errno, socket_fd);
HTXD_TRACE(LOG_ON, trace_string);
perror(trace_string);
exit(1);
}
return result;
}
/* select with timeout for reading */
int htxd_select_timeout(int socket_fd, int timeout_seconds)
{
int result;
fd_set read_fd_set;
struct timeval timeout;
char trace_string[256];
FD_ZERO (&read_fd_set);
timeout.tv_sec = timeout_seconds;
timeout.tv_usec = SELECT_TIMEOUT_MICRO_SECONDS;
FD_SET (socket_fd, &read_fd_set);
result = select (socket_fd + 1, &read_fd_set, NULL, NULL, &timeout);
if( (result == -1) && (errno != EINTR) ) {
sprintf(trace_string, "ERROR: while selecting connection. Exiting... errno = %d, return_code = %d", errno, socket_fd);
HTXD_TRACE(LOG_ON, trace_string)
perror(trace_string);
exit(1);
}
return result;
}
/* accept a connection */
int htxd_accept_connection(int socket_fd, struct sockaddr_in *p_client_address, socklen_t *p_address_length)
{
int new_fd;
char trace_string[256];
memset((void*)p_client_address, 0, sizeof(struct sockaddr));
*p_address_length = sizeof (struct sockaddr);
new_fd = accept (socket_fd, (struct sockaddr *)p_client_address, p_address_length);
if( (new_fd == -1) && (errno != EINTR) ) {
sprintf(trace_string, "ERROR: while accepting connection. Exiting... errno = %d, return_code = %d", errno, socket_fd);
HTXD_TRACE(LOG_ON, trace_string)
perror(trace_string);
exit(1);
}
return new_fd;
}
/* length received ack */
int htxd_send_ack_command_length(int new_fd)
{
int result;
char ack_string[] = ":length received:";
char trace_string[256];
result = send (new_fd, ack_string, strlen (ack_string), 0);
if(result == -1)
{
sprintf(trace_string, "htxd_receive_bytes: send() returned with <%d>. errno <%d>", result, errno);
HTXD_TRACE(LOG_ON, trace_string);
return result;
}
return result;
}
/* receive bytes */
int htxd_receive_bytes(int new_fd, char * receive_buffer, int receive_length)
{
int received_bytes;
int remaining_bytes;
char trace_string[256];
remaining_bytes = receive_length;
while(remaining_bytes > 0) {
received_bytes = recv(new_fd, receive_buffer, remaining_bytes, 0);
if(received_bytes == -1) {
sprintf(trace_string, "htxd_receive_bytes: recv() returned with <%d>. errno <%d>", received_bytes, errno);
HTXD_TRACE(LOG_ON, trace_string);
return -1;
}
if(received_bytes == 0) {
break;
}
remaining_bytes -= received_bytes;
receive_buffer += received_bytes;
}
return (receive_length - remaining_bytes);
}
/* incomming command string receives here */
char * htxd_receive_command(int new_fd) /* note: have to change for error handling */
{
int result;
char *command_details_buffer = NULL;
char temp_buffer[20];
int command_length;
char trace_string[256];
memset(temp_buffer, 0, sizeof(temp_buffer) );
/* receiving command length from incomming commend */
result = htxd_receive_bytes(new_fd, temp_buffer, 10);
if(result == -1)
{
sprintf(trace_string, "htxd_receive_bytes returned -1");
HTXD_TRACE(LOG_ON, trace_string);
return NULL;
}
temp_buffer[COMMAND_STRING_LENGTH] = '\0';
command_length = atoi(temp_buffer);
/* now we are ready to receive the command string */
command_details_buffer = malloc(command_length + 10);
if(command_details_buffer == NULL)
{
sprintf(trace_string, "malloc() failed while allocating command_details_buffer");
HTXD_TRACE(LOG_ON, trace_string)
return NULL;
}
memset(command_details_buffer, 0, command_length + 10);
/* receiving the command string */
result = htxd_receive_bytes(new_fd, command_details_buffer, command_length);
if(result == -1)
{
sprintf(trace_string, "htxd_receive_command: htxd_receive_bytes returned with <%d>", result);
HTXD_TRACE(LOG_ON, trace_string)
return NULL;
}
command_details_buffer[command_length] = '\0';
return command_details_buffer;
}
/* send response to a client */
int htxd_send_response(int new_fd, char *command_result, int command_type, int command_return_code)
{
int result = 0;
char *response_buffer = NULL;
int buffer_length;
int number_of_bytes_sent;
int cumulative_number_of_bytes_sent = 0;
int number_of_bytes_to_send;
char trace_string[256];
if(command_type == HTXCMDLINE_COMMAND) {
buffer_length = strlen(command_result) + 10 + 10 + 10;
response_buffer = malloc(buffer_length);
if(response_buffer == NULL) {
sprintf(trace_string, "1.htxd_send_response: malloc returned with NULL, errono <%d>", errno);
HTXD_TRACE(LOG_ON, trace_string);
return -2;
}
memset(response_buffer, 0, buffer_length);
sprintf(response_buffer, "%010d%010d%s", command_return_code,(int)strlen(command_result), command_result);
number_of_bytes_to_send = strlen(response_buffer);
while(cumulative_number_of_bytes_sent < number_of_bytes_to_send) {
number_of_bytes_sent = send(new_fd, response_buffer + cumulative_number_of_bytes_sent, number_of_bytes_to_send - cumulative_number_of_bytes_sent, 0);
if(number_of_bytes_sent == -1)
{
sprintf(trace_string, "1.htxd_send_response: send() returned with <%d>, errono <%d>", number_of_bytes_sent, errno);
HTXD_TRACE(LOG_ON, trace_string)
return -1;
}
cumulative_number_of_bytes_sent += number_of_bytes_sent;
}
} else if(command_type == HTXSCREEN_COMMAND) {
buffer_length = (10 * 1024) + 30;
response_buffer = malloc(buffer_length);
if(response_buffer == NULL) {
sprintf(trace_string, "2.htxd_send_response: malloc returned with NULL, errono <%d>", errno);
HTXD_TRACE(LOG_ON, trace_string);
return -2;
}
memset(response_buffer, 0, buffer_length);
sprintf(response_buffer, "%010d%010d", command_return_code, (10 * 1024));
memcpy(response_buffer + 20, command_result, 10 * 1024);
number_of_bytes_to_send = (10 * 1024) + 20;
while(cumulative_number_of_bytes_sent < number_of_bytes_to_send) {
number_of_bytes_sent = send(new_fd, (response_buffer + cumulative_number_of_bytes_sent) , number_of_bytes_to_send - cumulative_number_of_bytes_sent, 0);
if(number_of_bytes_sent == -1) {
sprintf(trace_string, "2. htxd_send_response: send() returned with <%d>, errono <%d>", number_of_bytes_sent, errno);
HTXD_TRACE(LOG_ON, trace_string)
return -1;
}
cumulative_number_of_bytes_sent += number_of_bytes_sent;
}
}
if(response_buffer != NULL) {
free(response_buffer);
}
return result;
}
int htxd_send_heart_beat_response(int new_fd, char *response_buffer)
{
int cumulative_number_of_bytes_sent = 0;
int number_of_bytes_to_send = 1;
int number_of_bytes_sent;
while(cumulative_number_of_bytes_sent < number_of_bytes_to_send) {
number_of_bytes_sent = send(new_fd, (response_buffer + cumulative_number_of_bytes_sent), number_of_bytes_to_send - cumulative_number_of_bytes_sent, 0);
cumulative_number_of_bytes_sent += number_of_bytes_sent;
}
return 0;
}
| 26.346633 | 155 | 0.730147 |
2eb6fea99276f4825e959a3f182ac17295f13319 | 4,634 | swift | Swift | Source/sRetoTests/ConnectivityTest.swift | workingDog/sReto | 2803ddd998875deffcf1d44607db46921ea5a3f9 | [
"MIT"
] | 96 | 2015-02-19T09:18:44.000Z | 2021-11-09T20:59:08.000Z | Source/sRetoTests/ConnectivityTest.swift | workingDog/sReto | 2803ddd998875deffcf1d44607db46921ea5a3f9 | [
"MIT"
] | 14 | 2015-12-24T17:40:24.000Z | 2020-10-06T06:08:34.000Z | Source/sRetoTests/ConnectivityTest.swift | workingDog/sReto | 2803ddd998875deffcf1d44607db46921ea5a3f9 | [
"MIT"
] | 32 | 2015-10-08T04:41:50.000Z | 2021-05-09T17:38:17.000Z | //
// ConnectivityTest.swift
// sReto
//
// Created by Julian Asamer on 20/09/14.
// Copyright (c) 2014 - 2016 Chair for Applied Software Engineering
//
// Licensed under the MIT License
//
// 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.
//
import UIKit
import XCTest
/**
* Note: At this time, these tests are extremely slow in Debug settings due to Swift dictionary's terrible performance.
*/
class ConnectivityTest: XCTestCase {
override func setUp() {
super.setUp()
broadcastDelaySettings = (0.01, 0.05)
reliabilityManagerDelays = (50, 50)
}
func testDirectNeighborConnectivity() {
testConnectivity(configuration: PeerConfiguration.directNeighborConfiguration())
}
func testTwoHopConnectivity() {
testConnectivity(configuration: PeerConfiguration.twoHopRoutedConfiguration())
}
func testTwoHopMulticastConnectivity() {
testConnectivity(configuration: PeerConfiguration.twoHopRoutedMulticastConfiguration())
}
func testTwoHopMulticastConnectivity2() {
testConnectivity(configuration: PeerConfiguration.twoHopRoutedMulticastConfiguration2())
}
func testFourHopConnectivity() {
testConnectivity(configuration: PeerConfiguration.fourHopRoutedConfiguration())
}
func testConnectivity(configuration: PeerConfiguration) {
let activePeers = [configuration.primaryPeer]+configuration.destinations
var onConnectExpectations: [UUID: XCTestExpectation] = [:]
var onCloseExpectations: [UUID: XCTestExpectation] = [:]
for peer in activePeers {
onConnectExpectations[peer.identifier] = self.expectation(description: "\(peer.identifier) received on connect call")
onCloseExpectations[peer.identifier] = self.expectation(description: "\(peer.identifier) received on close call")
}
configuration.executeAfterDiscovery {
print("all reachable!")
for peer in configuration.destinations {
peer.onConnection = {
source, connection in
connection.onConnect = {
c in
onConnectExpectations[peer.identifier]?.fulfill()
onConnectExpectations[peer.identifier] = nil
if onConnectExpectations.count == 0 {
connection.close()
}
}
connection.onClose = {
_ in
print("on close: \(peer.identifier)")
onCloseExpectations[peer.identifier]?.fulfill()
}
}
}
let connection = configuration.primaryPeer.connect(Set(configuration.primaryPeer.peers.filter({ configuration.destinationIdentifiers.contains($0.identifier) })))
connection.onConnect = {
connection in
onConnectExpectations[configuration.primaryPeer.identifier]?.fulfill()
onConnectExpectations[configuration.primaryPeer.identifier] = nil
if onConnectExpectations.count == 0 {
connection.close()
}
}
connection.onClose = {
_ in
onCloseExpectations[configuration.primaryPeer.identifier]?.fulfill()
()
}
}
self.waitForExpectations(timeout: 60, handler: {
error in print("success!")
})
}
}
| 44.133333 | 173 | 0.637678 |
f0178f93e06a5ab22b51ea951cf67bdba0d3c339 | 59 | py | Python | pdip/processing/factories/__init__.py | ahmetcagriakca/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | 2 | 2021-12-09T21:07:46.000Z | 2021-12-11T22:18:01.000Z | pdip/processing/factories/__init__.py | PythonDataIntegrator/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | null | null | null | pdip/processing/factories/__init__.py | PythonDataIntegrator/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | 3 | 2021-11-15T00:47:00.000Z | 2021-12-17T11:35:45.000Z | from .process_manager_factory import ProcessManagerFactory
| 29.5 | 58 | 0.915254 |
2e717f70dfbd8662fecceabfd15a6607e587be0a | 6,115 | swift | Swift | Source/NODE/NODE.swift | hexagons/RenderKit | 124574eaba8eada1fcae202bdcf7d06be51f2715 | [
"MIT"
] | 21 | 2019-10-04T22:37:44.000Z | 2020-08-08T15:38:35.000Z | Source/NODE/NODE.swift | hexagons/RenderKit | 124574eaba8eada1fcae202bdcf7d06be51f2715 | [
"MIT"
] | null | null | null | Source/NODE/NODE.swift | hexagons/RenderKit | 124574eaba8eada1fcae202bdcf7d06be51f2715 | [
"MIT"
] | 3 | 2019-11-01T04:16:33.000Z | 2020-08-13T01:19:01.000Z | //
// NODE.swift
// RenderKit
//
// Created by Anton Heestand on 2019-10-03.
//
import Metal
import simd
import CoreVideo
import Resolution
import Combine
import PixelColor
public protocol NODE: AnyObject {
var renderObject: Render { get }
var id: UUID { get }
var typeName: String { get }
var name: String { get }
var delegate: NODEDelegate? { get set }
var shaderName: String { get }
var view: NODEView! { get }
var additionalViews: [NODEView] { get set }
var overrideBits: Bits? { get }
var clearColor: PixelColor { get set }
var liveList: [LiveWrap] { get }
var values: [Floatable] { get }
var uniforms: [CGFloat] { get }
var extraUniforms: [CGFloat] { get }
var uniformArray: [[CGFloat]]? { get }
var uniformArrayMaxLimit: Int? { get }
var uniformArrayLength: Int? { get }
var uniformIndexArray: [[Int]]? { get }
var uniformIndexArrayMaxLimit: Int? { get }
var renderInProgress: Bool { get set }
var renderQueue: [RenderRequest] { get set }
var renderIndex: Int { get set }
var bypass: Bool { get set }
var canRender: Bool { get set }
var contentLoaded: Bool? { get set }
var finalResolution: Resolution { get }
var vertexUniforms: [CGFloat] { get }
var shaderNeedsResolution: Bool { get }
var pipeline: MTLRenderPipelineState! { get set }
var sampler: MTLSamplerState! { get set }
var customRenderActive: Bool { get set }
var customRenderDelegate: CustomRenderDelegate? { get set }
var customMergerRenderActive: Bool { get set }
var customMergerRenderDelegate: CustomMergerRenderDelegate? { get set }
var customGeometryActive: Bool { get set }
var customGeometryDelegate: CustomGeometryDelegate? { get set }
var customMetalLibrary: MTLLibrary? { get }
var customVertexShaderName: String? { get }
var customVertexTextureActive: Bool { get }
var customVertexNodeIn: (NODE & NODEOut)? { get }
var customMatrices: [matrix_float4x4] { get }
// var customLinkedNodes: [NODE] { get set }
var destroyed: Bool { get set }
var texture: MTLTexture? { get set }
func applyResolution(applied: @escaping () -> ())
func destroy()
func isEqual(to node: NODE) -> Bool
func addView() -> NODEView
func removeView(_ view: NODEView)
func liveValueChanged()
func render()
func didRender(renderPack: RenderPack)
func didConnect()
func didDisconnect()
}
extension NODE {
func contained(in nodes: [NODE]) -> Bool {
for node in nodes {
if node.id == self.id {
return true
}
}
return false
}
}
public struct WeakNODE {
public weak var node: NODE?
public init(_ node: NODE) {
self.node = node
}
}
// MARK: - 3D
public protocol NODE3D: NODE {
var renderedResolution3d: Resolution3D { get }
var finalResolution3d: Resolution3D { get set }
var pipeline3d: MTLComputePipelineState! { get set }
}
// MARK: - Content
public protocol NODEContent: NODE, NODEOutIO {}
public protocol NODEResource: NODEContent {
var resourceTexture: MTLTexture? { get set }
var resourcePixelBuffer: CVPixelBuffer? { get set }
func getResourceTexture(commandBuffer: MTLCommandBuffer) throws -> MTLTexture
}
public protocol NODEResourceCustom: NODEContent, NODEResolution3D {}
public protocol NODEGenerator: NODEContent {
var premultiply: Bool { get set }
}
public protocol NODECustom: NODEContent {
func customRender(_ texture: MTLTexture, with commandBuffer: MTLCommandBuffer) -> MTLTexture?
}
// MARK: - Effects
public protocol NODEEffect: NODE, NODEInIO, NODEOutIO {
var renderPromisePublisher: PassthroughSubject<RenderRequest, Never> { get }
var renderPublisher: PassthroughSubject<RenderPack, Never> { get }
var cancellableIns: [AnyCancellable] { get set }
}
public protocol NODESingleEffect: NODEEffect {}
public protocol NODEMergerEffect: NODEEffect {
var placement: Placement { get set }
}
public protocol NODEMultiEffect: NODEEffect {}
// MARK: - Output
public protocol NODEOutput: NODE, NODEInIO {
var renderPromisePublisher: PassthroughSubject<RenderRequest, Never> { get }
var renderPublisher: PassthroughSubject<RenderPack, Never> { get }
var cancellableIns: [AnyCancellable] { get set }
}
// MARK: - Resolution
public protocol NODEResolution {
var resolution: Resolution { get set }
init(at resolution: Resolution)
}
public protocol NODEResolution3D {
var resolution: Resolution3D { get set }
// init(at resolution: Resolution3D)
}
// MARK: - Metal
public protocol NODEMetal: AnyObject {
var metalUniforms: [MetalUniform] { get set }
var metalBaseCode: String { get }
var metalCode: String? { get }
var metalConsole: String? { get set }
var metalConsolePublisher: Published<String?>.Publisher { get }
}
public protocol NODEMetalCode: NODEMetal {
var code: String { get set }
}
public protocol NODEMetalScript: NODEMetal {
var whiteScript: String { get set }
var redScript: String { get set }
var greenScript: String { get set }
var blueScript: String { get set }
var alphaScript: String { get set }
}
// MARK: - TimeMachine
public protocol NODETimeMachine: NODEMergerEffect {
func customRender(_ texture: MTLTexture, with commandBuffer: MTLCommandBuffer) -> [MTLTexture]
}
// MARK: - Out Path
public struct NODEOutPath {
public var nodeIn: NODE & NODEIn
public let inIndex: Int
public init(nodeIn: NODE & NODEIn, inIndex: Int) {
self.nodeIn = nodeIn
self.inIndex = inIndex
}
}
// MARK: - Tile
public protocol NODETileable {
func didRenderTiles(force: Bool)
}
public protocol NODETileable2D: NODETileable {
var tileResolution: Resolution { get }
var tileTextures: [[MTLTexture]]? { get set }
}
public protocol NODETileable3D: NODETileable {
var tileResolution: Resolution3D { get }
var tileTextures: [[[MTLTexture]]]? { get set }
}
| 26.938326 | 98 | 0.675879 |
e96861d6b9c12dd3416c40b2e0542c0e6379cf11 | 589 | rb | Ruby | spec/unit/endpoint/lint_spec.rb | stefb965/travis-api | 0ba7bdf909febdb0c63f2001cd9399f35d9b145e | [
"MIT"
] | 1 | 2016-08-22T09:39:27.000Z | 2016-08-22T09:39:27.000Z | spec/unit/endpoint/lint_spec.rb | stefb965/travis-api | 0ba7bdf909febdb0c63f2001cd9399f35d9b145e | [
"MIT"
] | 13 | 2017-06-26T23:01:13.000Z | 2018-07-05T16:38:53.000Z | spec/unit/endpoint/lint_spec.rb | stefb965/travis-api | 0ba7bdf909febdb0c63f2001cd9399f35d9b145e | [
"MIT"
] | 1 | 2017-09-29T21:26:00.000Z | 2017-09-29T21:26:00.000Z | describe Travis::Api::App::Endpoint::Lint, set_app: true do
let(:content) { "foo: bar" }
let(:body) { "{\"lint\":{\"warnings\":[{\"key\":[],\"message\":\"unexpected key \\\"foo\\\", dropping\"},{\"key\":[],\"message\":\"missing key \\\"language\\\", defaulting to \\\"ruby\\\"\"}]}}" }
it "accepts content in parameter" do
response = post('/lint', content: content)
response.should be_ok
response.body.should be == body
end
it "accepts content as body" do
response = put('/lint', content)
response.should be_ok
response.body.should be == body
end
end
| 34.647059 | 198 | 0.60781 |
3fcacde50f79db0e0605a78d6f9e7c653c7ab3db | 702 | c | C | include/util.c | iSagarDhungel/RadiOS | 1ebb88d56f8bc99aaa1f625ebc2609a1d105bcd0 | [
"MIT"
] | 2 | 2016-12-15T07:21:58.000Z | 2019-05-03T01:00:20.000Z | include/util.c | iSagarDhungel/RadiOS | 1ebb88d56f8bc99aaa1f625ebc2609a1d105bcd0 | [
"MIT"
] | null | null | null | include/util.c | iSagarDhungel/RadiOS | 1ebb88d56f8bc99aaa1f625ebc2609a1d105bcd0 | [
"MIT"
] | null | null | null | #include "util.h"
void memory_copy(char *source, char *dest, int nbytes) {
int i;
for (i = 0; i < nbytes; i++) {
// dest[i] = source[i]
*(dest + i) = *(source + i);
}
}
void memory_set(uint8 *dest, uint8 val, uint32 len) {
uint8 *temp = (uint8 *)dest;
for ( ; len != 0; len--){
*temp++ = val;
}
}
void int_to_ascii(int n, char str[]) {
int i, sign;
if ((sign = n) < 0) {
n = -n;
}
i = 0;
do {
str[i++] = n % 10 + '0'; //for 45 => 5 + 48(= char '0') = 53 (= char of 5)
} while ((n /= 10) > 0);
if (sign < 0){
str[i++] = '-';
}
str[i] = '\0'; //null character
}
| 20.057143 | 85 | 0.408832 |
ddfd4ff7de974c44dc9b445adfe3be8f52dec8c6 | 30,306 | h | C | sys/bus/pci/pcidevs.h | daniel5555/dragonflybsd | 6ded6a3c399892a3c42dd005cfe4a507385dcace | [
"BSD-3-Clause"
] | 1 | 2019-08-24T23:34:12.000Z | 2019-08-24T23:34:12.000Z | sys/bus/pci/pcidevs.h | jorisgio/DragonFlyBSD | d37cc9027d161f3e36bf2667d32f41f87606b2ac | [
"BSD-3-Clause"
] | null | null | null | sys/bus/pci/pcidevs.h | jorisgio/DragonFlyBSD | d37cc9027d161f3e36bf2667d32f41f87606b2ac | [
"BSD-3-Clause"
] | null | null | null | /*
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
*/
/* $NetBSD: pcidevs,v 1.606 2004/01/06 19:44:17 matt Exp $ */
/*
* Copyright (c) 1995, 1996 Christopher G. Demetriou
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. 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.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by Christopher G. Demetriou
* for the NetBSD Project.
* 4. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
*/
/*
* NOTE: a fairly complete list of PCI codes can be found in:
*
* share/misc/pci_vendors
*
* (but it doesn't always seem to match vendor documentation)
*/
/*
* List of known PCI vendors
*/
#define PCI_VENDOR_HAUPPAUGE 0x0070 /* Hauppauge Computer Works */
#define PCI_VENDOR_TTTECH 0x0357 /* TTTech */
#define PCI_VENDOR_ATI 0x1002 /* ATI Technologies */
#define PCI_VENDOR_NS 0x100b /* National Semiconductor */
#define PCI_VENDOR_NCR 0x101a /* AT&T Global Information Systems */
#define PCI_VENDOR_AMD 0x1022 /* Advanced Micro Devices */
#define PCI_VENDOR_DELL 0x1028 /* Dell Computer */
#define PCI_VENDOR_SIS 0x1039 /* Silicon Integrated System */
#define PCI_VENDOR_TI 0x104c /* Texas Instruments */
#define PCI_VENDOR_WINBOND 0x1050 /* Winbond Electronics */
#define PCI_VENDOR_APPLE 0x106b /* Apple Computer */
#define PCI_VENDOR_QLOGIC 0x1077 /* Q Logic */
#define PCI_VENDOR_SUN 0x108e /* Sun Microsystems, Inc. */
#define PCI_VENDOR_SII 0x1095 /* Silicon Image */
#define PCI_VENDOR_BROOKTREE 0x109e /* Brooktree */
#define PCI_VENDOR_STB 0x10b4 /* STB Systems */
#define PCI_VENDOR_3COM 0x10b7 /* 3Com */
#define PCI_VENDOR_SMC 0x10b8 /* Standard Microsystems */
#define PCI_VENDOR_SURECOM 0x10bd /* Surecom Technology */
#define PCI_VENDOR_NVIDIA 0x10de /* Nvidia Corporation */
#define PCI_VENDOR_REALTEK 0x10ec /* Realtek Semiconductor */
#define PCI_VENDOR_IODATA 0x10fc /* I-O Data Device */
#define PCI_VENDOR_VIATECH 0x1106 /* VIA Technologies */
#define PCI_VENDOR_ACCTON 0x1113 /* Accton Technology */
#define PCI_VENDOR_EFFICIENTNETS 0x111a /* Efficent Networks */
#define PCI_VENDOR_SCHNEIDERKOCH 0x1148 /* Schneider & Koch */
#define PCI_VENDOR_DIGI 0x114f /* Digi International */
#define PCI_VENDOR_DLINK 0x1186 /* D-Link Systems */
#define PCI_VENDOR_MARVELL 0x11ab /* Marvell (was Galileo Technology) */
#define PCI_VENDOR_LUCENT 0x11c1 /* Lucent Technologies */
#define PCI_VENDOR_COMPEX 0x11f6 /* Compex */
#define PCI_VENDOR_COMTROL 0x11fe /* Comtrol */
#define PCI_VENDOR_COREGA 0x1259 /* Corega */
#define PCI_VENDOR_NORTEL 0x126c /* Nortel Networks (Northern Telecom) */
#define PCI_VENDOR_ALTEON 0x12ae /* Alteon */
#define PCI_VENDOR_USR2 0x16ec /* US Robotics */
#define PCI_VENDOR_FORTEMEDIA 0x1319 /* Forte Media */
#define PCI_VENDOR_CNET 0x1371 /* CNet */
#define PCI_VENDOR_LEVELONE 0x1394 /* Level One */
#define PCI_VENDOR_HIFN 0x13a3 /* Hifn */
#define PCI_VENDOR_SUNDANCETI 0x13f0 /* Sundance Technology */
#define PCI_VENDOR_ASKEY 0x144f /* Askey Computer Corp. */
#define PCI_VENDOR_AVERMEDIA 0x1461 /* Avermedia Technologies */
#define PCI_VENDOR_AIRONET 0x14b9 /* Aironet Wireless Communications */
#define PCI_VENDOR_INVERTEX 0x14e1 /* Invertex */
#define PCI_VENDOR_BROADCOM 0x14e4 /* Broadcom Corporation */
#define PCI_VENDOR_PLANEX 0x14ea /* Planex Communications */
#define PCI_VENDOR_DELTA 0x1500 /* Delta Electronics */
#define PCI_VENDOR_TERRATEC 0x153b /* TerraTec Electronic */
#define PCI_VENDOR_BLUESTEEL 0x15ab /* Bluesteel Networks */
#define PCI_VENDOR_NETSEC 0x1660 /* NetSec */
#define PCI_VENDOR_ATHEROS 0x168c /* Atheros Communications, Inc. */
#define PCI_VENDOR_LINKSYS 0x1737 /* Linksys */
#define PCI_VENDOR_ALTIMA 0x173b /* Altima */
#define PCI_VENDOR_PEPPERCON 0x1743 /* Peppercon AG */
#define PCI_VENDOR_BELKIN 0x1799 /* Belkin */
#define PCI_VENDOR_SILAN 0x1904 /* Hangzhou Silan Microelectronics */
#define PCI_VENDOR_JMICRON 0x197b /* JMicron Technology Corporation */
#define PCI_VENDOR_ADDTRON 0x4033 /* Addtron Technology */
#define PCI_VENDOR_ICOMPRESSION 0x4444 /* Conexant (iCompression) */
#define PCI_VENDOR_NETVIN 0x4a14 /* NetVin */
#define PCI_VENDOR_INTEL 0x8086 /* Intel */
#define PCI_VENDOR_PROLAN 0x8c4a /* ProLAN */
#define PCI_VENDOR_KTI 0x8e2e /* KTI */
#define PCI_VENDOR_ADP 0x9004 /* Adaptec */
#define PCI_VENDOR_INVALID 0xffff /* INVALID VENDOR ID */
/*
* List of known products. Grouped by vendor.
*/
/* 3COM Products */
#define PCI_PRODUCT_3COM_3C996 0x0003 /* 3c996 10/100/1000 Ethernet */
#define PCI_PRODUCT_3COM_3C940 0x1700 /* 3c940 Gigabit Ethernet */
#define PCI_PRODUCT_3COM_3C590 0x5900 /* 3c590 Ethernet */
#define PCI_PRODUCT_3COM_3C595TX 0x5950 /* 3c595-TX 10/100 Ethernet */
#define PCI_PRODUCT_3COM_3C595T4 0x5951 /* 3c595-T4 10/100 Ethernet */
#define PCI_PRODUCT_3COM_3C595MII 0x5952 /* 3c595-MII 10/100 Ethernet */
#define PCI_PRODUCT_3COM_3C940B 0x80eb /* 3c940B Gigabit Ethernet */
#define PCI_PRODUCT_3COM_3C900TPO 0x9000 /* 3c900-TPO Ethernet */
#define PCI_PRODUCT_3COM_3C900COMBO 0x9001 /* 3c900-COMBO Ethernet */
#define PCI_PRODUCT_3COM_3C905TX 0x9050 /* 3c905-TX 10/100 Ethernet */
#define PCI_PRODUCT_3COM_3C905T4 0x9051 /* 3c905-T4 10/100 Ethernet */
#define PCI_PRODUCT_3COM_3C910SOHOB 0x9300 /* 3c910 OfficeConnect 10/100B Ethernet */
#define PCI_PRODUCT_3COM_3CR990TX95 0x9902 /* 3CR990-TX-95 10/100 Ethernet with 3XP */
#define PCI_PRODUCT_3COM_3CR990TX97 0x9903 /* 3CR990-TX-97 10/100 Ethernet with 3XP */
#define PCI_PRODUCT_3COM_3C990B 0x9904 /* 3c990B 10/100 Ethernet with 3XP */
#define PCI_PRODUCT_3COM_3CR990SVR95 0x9908 /* 3CR990-SVR-95 10/100 Ethernet with 3XP */
#define PCI_PRODUCT_3COM_3CR990SVR97 0x9909 /* 3CR990-SVR-97 10/100 Ethernet with 3XP */
#define PCI_PRODUCT_3COM_3C990BSVR 0x990a /* 3c990BSVR 10/100 Ethernet with 3XP */
/* Accton products */
#define PCI_PRODUCT_ACCTON_MPX5030 0x1211 /* MPX 5030/5038 Ethernet */
/* Adaptec products */
#define PCI_PRODUCT_ADP_AIC5900 0x5900 /* AIC-5900 ATM */
#define PCI_PRODUCT_ADP_AIC5905 0x5905 /* AIC-5905 ATM */
#define PCI_PRODUCT_ADP_AIC6915 0x6915 /* AIC-6915 10/100 Ethernet */
/* Addtron Products */
#define PCI_PRODUCT_ADDTRON_RHINEII 0x1320 /* Rhine II 10/100 Ethernet */
#define PCI_PRODUCT_ADDTRON_8139 0x1360 /* 8139 Ethernet */
/* ADMtek products */
#define PCI_PRODUCT_ADMTEK_ADM8211 0x8201 /* ADMtek ADM8211 11Mbps 802.11b WLAN */
/* Aironet Wireless Communicasions products */
#define PCI_PRODUCT_AIRONET_PC4xxx 0x0001 /* Aironet PC4500/PC4800 Wireless LAN Adapter */
#define PCI_PRODUCT_AIRONET_350 0x0350 /* Aironet 350 Wireless LAN Adapter */
#define PCI_PRODUCT_AIRONET_MPI350 0xa504 /* Aironet 350 miniPCI Wireless LAN Adapter */
#define PCI_PRODUCT_AIRONET_PC4500 0x4500 /* Aironet PC4500 Wireless LAN Adapter */
#define PCI_PRODUCT_AIRONET_PC4800 0x4800 /* Aironet PC4800 Wireless LAN Adapter */
/* Alteon products */
#define PCI_PRODUCT_ALTEON_BCM5700 0x0003 /* ACEnic BCM5700 10/100/1000 Ethernet */
#define PCI_PRODUCT_ALTEON_BCM5701 0x0004 /* ACEnic BCM5701 10/100/1000 Ethernet */
/* Altima products */
#define PCI_PRODUCT_ALTIMA_AC1000 0x03e8 /* AC1000 Gigabit Ethernet */
#define PCI_PRODUCT_ALTIMA_AC1001 0x03e9 /* AC1001 Gigabit Ethernet */
#define PCI_PRODUCT_ALTIMA_AC9100 0x03ea /* AC9100 Gigabit Ethernet */
/* AMD products */
#define PCI_PRODUCT_AMD_AMD64_MISC 0x1103 /* AMD64 Miscellaneous configuration */
#define PCI_PRODUCT_AMD_AMD64_F10_MISC 0x1203 /* Family 10h Miscellaneous */
#define PCI_PRODUCT_AMD_AMD64_F11_MISC 0x1303 /* Family 11h Miscellaneous */
#define PCI_PRODUCT_AMD_PCNET_PCI 0x2000 /* PCnet-PCI Ethernet */
#define PCI_PRODUCT_AMD_PCNET_HOME 0x2001 /* PCnet-Home HomePNA Ethernet */
#define PCI_PRODUCT_AMD_GEODE_LX_PCHB 0x2080 /* Geode LX */
#define PCI_PRODUCT_AMD_CS5536_PCIB 0x2090 /* CS5536 ISA */
/* Apple products */
#define PCI_PRODUCT_APPLE_BCM5701 0x1645 /* BCM5701 */
/* ATI products */
#define PCI_PRODUCT_ATI_SB600_SATA 0x4380 /* SB600 SATA */
#define PCI_PRODUCT_ATI_SB700_AHCI 0x4391 /* SB700 AHCI */
/* Atheros products */
#define PCI_PRODUCT_ATHEROS_AR5210 0x0007 /* AR5210 */
/* Belkin products */
#define PCI_PRODUCT_BELKIN_F5D6001 0x6001 /* F5D6001 802.11b */
/* Bluesteel Networks */
#define PCI_PRODUCT_BLUESTEEL_5501 0x0000 /* 5501 */
#define PCI_PRODUCT_BLUESTEEL_5601 0x5601 /* 5601 */
/* Broadcom Corporation products */
#define PCI_PRODUCT_BROADCOM_BCM5752 0x1600 /* BCM5752 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5752M 0x1601 /* BCM5752M */
#define PCI_PRODUCT_BROADCOM_BCM5725 0x1643 /* BCM5725 */
#define PCI_PRODUCT_BROADCOM_BCM5700 0x1644 /* BCM5700 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5701 0x1645 /* BCM5701 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5702 0x1646 /* BCM5702 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5703 0x1647 /* BCM5703 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5704C 0x1648 /* BCM5704C Gigabit Ethernet (1000BASE-T) */
#define PCI_PRODUCT_BROADCOM_BCM5704S_ALT 0x1649 /* BCM5704S Alt */
#define PCI_PRODUCT_BROADCOM_BCM5705 0x1653 /* BCM5705 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5705K 0x1654 /* BCM5705K 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5717 0x1655 /* BCM5717 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5718 0x1656 /* BCM5718 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5719 0x1657 /* BCM5719 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5720 0x1658 /* BCM5720 */
#define PCI_PRODUCT_BROADCOM_BCM5721 0x1659 /* BCM5721 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5722 0x165a /* BCM5722 */
#define PCI_PRODUCT_BROADCOM_BCM5723 0x165b /* BCM5723 */
#define PCI_PRODUCT_BROADCOM_BCM5705M 0x165d /* BCM5705M 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5705M_ALT 0x165e /* BCM5705M 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5720_ALT 0x165f /* BCM5720 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5717C 0x1665 /* BCM5717C 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5714 0x1668 /* BCM5714 1000baseT Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5714S 0x1669 /* BCM5714S */
#define PCI_PRODUCT_BROADCOM_BCM5780 0x166a /* BCM5780 */
#define PCI_PRODUCT_BROADCOM_BCM5780S 0x166b /* BCM5780S */
#define PCI_PRODUCT_BROADCOM_BCM5705F 0x166e /* BCM5705F */
#define PCI_PRODUCT_BROADCOM_BCM5754M 0x1672 /* BCM5754M */
#define PCI_PRODUCT_BROADCOM_BCM5755M 0x1673 /* BCM5755M */
#define PCI_PRODUCT_BROADCOM_BCM5756 0x1674 /* BCM5756 */
#define PCI_PRODUCT_BROADCOM_BCM5750 0x1676 /* BCM5750 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5751 0x1677 /* BCM5751 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5715 0x1678 /* BCM5715 */
#define PCI_PRODUCT_BROADCOM_BCM5715S 0x1679 /* BCM5715S */
#define PCI_PRODUCT_BROADCOM_BCM5754 0x167a /* BCM5754 */
#define PCI_PRODUCT_BROADCOM_BCM5755 0x167b /* BCM5755 */
#define PCI_PRODUCT_BROADCOM_BCM5750M 0x167c /* BCM5750M 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5751M 0x167d /* BCM5751M 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5751F 0x167e /* BCM5751F */
#define PCI_PRODUCT_BROADCOM_BCM5787F 0x167f /* BCM5787F */
#define PCI_PRODUCT_BROADCOM_BCM5761E 0x1680 /* BCM5761E */
#define PCI_PRODUCT_BROADCOM_BCM5761 0x1681 /* BCM5761 */
#define PCI_PRODUCT_BROADCOM_BCM57762 0x1682 /* BCM57762 */
#define PCI_PRODUCT_BROADCOM_BCM5764 0x1684 /* BCM5764 */
#define PCI_PRODUCT_BROADCOM_BCM57766 0x1686 /* BCM57766 */
#define PCI_PRODUCT_BROADCOM_BCM5762 0x1687 /* BCM5762 */
#define PCI_PRODUCT_BROADCOM_BCM5761S 0x1688 /* BCM5761S */
#define PCI_PRODUCT_BROADCOM_BCM5761SE 0x1689 /* BCM5761SE */
#define PCI_PRODUCT_BROADCOM_BCM57760 0x1690 /* BCM57760 */
#define PCI_PRODUCT_BROADCOM_BCM57788 0x1691 /* BCM57788 */
#define PCI_PRODUCT_BROADCOM_BCM57780 0x1692 /* BCM57780 */
#define PCI_PRODUCT_BROADCOM_BCM5787M 0x1693 /* BCM5787M */
#define PCI_PRODUCT_BROADCOM_BCM57790 0x1694 /* BCM57790 */
#define PCI_PRODUCT_BROADCOM_BCM5782 0x1696 /* BCM5782 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5784 0x1698 /* BCM5784 */
#define PCI_PRODUCT_BROADCOM_BCM5785G 0x1699 /* BCM5785G */
#define PCI_PRODUCT_BROADCOM_BCM5786 0x169a /* BCM5786 */
#define PCI_PRODUCT_BROADCOM_BCM5787 0x169b /* BCM5787 */
#define PCI_PRODUCT_BROADCOM_BCM5788 0x169c /* BCM5788 10/100/1000 Enternet */
#define PCI_PRODUCT_BROADCOM_BCM5789 0x169d /* BCM5789 10/100/1000 Enternet */
#define PCI_PRODUCT_BROADCOM_BCM5785F 0x16a0 /* BCM5785F */
#define PCI_PRODUCT_BROADCOM_BCM5702X 0x16a6 /* BCM5702X 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5703X 0x16a7 /* BCM5703X 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5704S 0x16a8 /* BCM5704S Gigabit Ethernet (1000BASE-X) */
#define PCI_PRODUCT_BROADCOM_BCM57761 0x16b0 /* BCM57761 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM57781 0x16b1 /* BCM57781 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM57791 0x16b2 /* BCM57791 10/100 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM57786 0x16b3 /* BCM57786 */
#define PCI_PRODUCT_BROADCOM_BCM57765 0x16b4 /* BCM57765 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM57785 0x16b5 /* BCM57785 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM57795 0x16b6 /* BCM57795 10/100 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM57782 0x16b7 /* BCM57782 */
#define PCI_PRODUCT_BROADCOM_BCM5702_ALT 0x16c6 /* BCM5702 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5703A3 0x16c7 /* BCM5703 10/100/1000 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5781 0x16dd /* BCM5781 */
#define PCI_PRODUCT_BROADCOM_BCM5727 0x16f3 /* BCM5727 */
#define PCI_PRODUCT_BROADCOM_BCM5753 0x16f7 /* BCM5753 */
#define PCI_PRODUCT_BROADCOM_BCM5753M 0x16fd /* BCM5753M */
#define PCI_PRODUCT_BROADCOM_BCM5753F 0x16fe /* BCM5753F */
#define PCI_PRODUCT_BROADCOM_BCM5903M 0x16ff /* BCM5903M */
#define PCI_PRODUCT_BROADCOM_BCM4401B0 0x170c /* BCM4401-B0 10/100 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5901 0x170d /* BCM5901 10/100 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5901A2 0x170e /* BCM5901A 10/100 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM5906 0x1712 /* BCM5906 */
#define PCI_PRODUCT_BROADCOM_BCM5906M 0x1713 /* BCM5906M */
#define PCI_PRODUCT_BROADCOM_BCM4301 0x4301 /* BCM4301 802.11b Wireless Lan */
#define PCI_PRODUCT_BROADCOM_BCM4307 0x4307 /* BCM4307 802.11b Wireless Lan */
#define PCI_PRODUCT_BROADCOM_BCM4311 0x4311 /* BCM4311 802.11a/b/g Wireless Lan */
#define PCI_PRODUCT_BROADCOM_BCM4312 0x4312 /* BCM4312 802.11a/b/g Wireless Lan */
#define PCI_PRODUCT_BROADCOM_BCM4318 0x4318 /* BCM4318 802.11b/g Wireless Lan */
#define PCI_PRODUCT_BROADCOM_BCM4319 0x4319 /* BCM4319 802.11a/b/g Wireless Lan */
#define PCI_PRODUCT_BROADCOM_BCM4306_1 0x4320 /* BCM4306 802.11b/g Wireless Lan */
#define PCI_PRODUCT_BROADCOM_BCM4306_2 0x4321 /* BCM4306 802.11a Wireless Lan */
#define PCI_PRODUCT_BROADCOM_BCM4309 0x4324 /* BCM4309 802.11a/b/g Wireless Lan */
#define PCI_PRODUCT_BROADCOM_BCM4306_3 0x4325 /* BCM4306 802.11b/g Wireless Lan */
#define PCI_PRODUCT_BROADCOM_BCM4401 0x4401 /* BCM4401 10/100 Ethernet */
#define PCI_PRODUCT_BROADCOM_BCM4402 0x4402 /* BCM4402 10/100 Ethernet */
#define PCI_PRODUCT_BROADCOM_5801 0x5801 /* 5801 Security processor */
#define PCI_PRODUCT_BROADCOM_5802 0x5802 /* 5802 Security processor */
#define PCI_PRODUCT_BROADCOM_5805 0x5805 /* 5805 Security processor */
#define PCI_PRODUCT_BROADCOM_5820 0x5820 /* 5820 Security processor */
#define PCI_PRODUCT_BROADCOM_5821 0x5821 /* 5821 Security processor */
#define PCI_PRODUCT_BROADCOM_5822 0x5822 /* 5822 Security processor */
#define PCI_PRODUCT_BROADCOM_5823 0x5823 /* 5823 Security processor */
/* Brooktree products */
#define PCI_PRODUCT_BROOKTREE_BT848 0x0350 /* Bt848 Video Capture */
#define PCI_PRODUCT_BROOKTREE_BT849 0x0351 /* Bt849 Video Capture */
#define PCI_PRODUCT_BROOKTREE_BT878 0x036e /* Bt878 Video Capture */
#define PCI_PRODUCT_BROOKTREE_BT879 0x036f /* Bt879 Video Capture */
/* CNet produts */
#define PCI_PRODUCT_CNET_GIGACARD 0x434e /* GigaCard */
/* Compex products - XXX better descriptions */
#define PCI_PRODUCT_COMPEX_NE2KETHER 0x1401 /* Ethernet */
#define PCI_PRODUCT_COMPEX_RL100ATX 0x2011 /* RL100-ATX 10/100 Ethernet */
/* Comtrol products */
#define PCI_PRODUCT_COMTROL_ROCKETPORT32EXT 0x0001 /* RocketPort 32 port external */
#define PCI_PRODUCT_COMTROL_ROCKETPORT8EXT 0x0002 /* RocketPort 8 port external */
#define PCI_PRODUCT_COMTROL_ROCKETPORT16EXT 0x0003 /* RocketPort 16 port external */
#define PCI_PRODUCT_COMTROL_ROCKETPORT4QUAD 0x0004 /* RocketPort 4 port w/ quad cable */
#define PCI_PRODUCT_COMTROL_ROCKETPORT8OCTA 0x0005 /* RocketPort 8 port w/ octa cable */
#define PCI_PRODUCT_COMTROL_ROCKETPORT8RJ 0x0006 /* RocketPort 8 port w/ RJ11s */
#define PCI_PRODUCT_COMTROL_ROCKETPORT4RJ 0x0007 /* RocketPort 4 port w/ RJ11s */
#define PCI_PRODUCT_COMTROL_ROCKETMODEM6 0x000c /* RocketModem 6 port */
#define PCI_PRODUCT_COMTROL_ROCKETMODEM4 0x000d /* RocketModem 4 port */
/* Corega products */
#define PCI_PRODUCT_COREGA_CB_TXD 0xa117 /* FEther CB-TXD 10/100 Ethernet */
#define PCI_PRODUCT_COREGA_2CB_TXD 0xa11e /* FEther II CB-TXD 10/100 Ethernet */
#define PCI_PRODUCT_COREGA_CG_LAPCIGT 0xc017 /* CG-LAPCIGT 10/100/1000 Ethernet */
/* Delta products */
#define PCI_PRODUCT_DELTA_RHINEII 0x1320 /* Rhine II 10/100 Ethernet */
#define PCI_PRODUCT_DELTA_8139 0x1360 /* 8139 Ethernet */
/* Digi International products */
#define PCI_PRODUCT_DIGI_SYNC570I_2PB1 0x5010 /* SYNC/570i-PCI 2 port (mapped below 1M) */
#define PCI_PRODUCT_DIGI_SYNC570I_4PB1 0x5011 /* SYNC/570i-PCI 4 port (mapped below 1M) */
#define PCI_PRODUCT_DIGI_SYNC570I_2P 0x5012 /* SYNC/570i-PCI 2 port */
#define PCI_PRODUCT_DIGI_SYNC570I_4P 0x5013 /* SYNC/570i-PCI 4 port */
/* D-Link Systems products */
#define PCI_PRODUCT_DLINK_DL1002 0x1002 /* DL-1002 10/100 Ethernet */
#define PCI_PRODUCT_DLINK_DFE530TXPLUS 0x1300 /* DFE-530TXPLUS 10/100 Ethernet */
#define PCI_PRODUCT_DLINK_DFE690TXD 0x1340 /* DFE-690TXD 10/100 Ethernet */
#define PCI_PRODUCT_DLINK_DFE520TX_C1 0x4200 /* DFE-520TX C1 */
#define PCI_PRODUCT_DLINK_DGE528T 0x4300 /* DGE-528T Gigabit Ethernet */
#define PCI_PRODUCT_DLINK_DGE530T_B1 0x4b01 /* DGE-530T B1 */
#define PCI_PRODUCT_DLINK_DGE530T_A1 0x4c00 /* DGE-530T A1 */
/* Efficient Networks products */
#define PCI_PRODUCT_EFFICIENTNETS_ENI155PF 0x0000 /* 155P-MF1 ATM (FPGA) */
#define PCI_PRODUCT_EFFICIENTNETS_ENI155PA 0x0002 /* 155P-MF1 ATM (ASIC) */
/* Marvell (was Galileo Technology) products */
#define PCI_PRODUCT_MARVELL_YUKON 0x4320 /* Yukon 88E8001/8003/8010 */
#define PCI_PRODUCT_MARVELL_YUKON_BELKIN 0x5005 /* Yukon (Belkin F5D5005) */
#define PCI_PRODUCT_MARVELL_88SE6121 0x6121 /* 88SE6121 SATA/ATA controller */
#define PCI_PRODUCT_MARVELL_88SE6145 0x6145 /* 88SE6145 SATA/ATA controller */
/* Hifn products */
#define PCI_PRODUCT_HIFN_7751 0x0005 /* 7751 */
#define PCI_PRODUCT_HIFN_6500 0x0006 /* 6500 */
#define PCI_PRODUCT_HIFN_7811 0x0007 /* 7811 */
#define PCI_PRODUCT_HIFN_7951 0x0012 /* 7951 */
#define PCI_PRODUCT_HIFN_7955 0x0020 /* 7954/7955 */
#define PCI_PRODUCT_HIFN_7956 0x001d /* 7956 */
/* Conexant (iCompression, GlobeSpan) products */
#define PCI_PRODUCT_ICOMPRESSION_ITVC16 0x0016 /* iTVC16 MPEG2 codec */
#define PCI_PRODUCT_ICOMPRESSION_ITVC15 0x0803 /* iTVC15 MPEG2 codec */
/* Intel products */
#define PCI_PRODUCT_INTEL_PRO_WL_2100 0x1043 /* PRO/Wireless LAN 2100 3B Mini PCI Adapter */
#define PCI_PRODUCT_INTEL_82597EX 0x1048 /* PRO/10GbE LR Server Adapter */
#define PCI_PRODUCT_INTEL_PRO_100_VE_5 0x1064 /* PRO/100 VE (LOM) Ethernet Controller with 82562ET/EZ/GT/GZ */
/* Invertex */
#define PCI_PRODUCT_INVERTEX_AEON 0x0005 /* AEON */
/* JMicron Technology Corporation products */
#define PCI_PRODUCT_JMICRON_JMC250 0x0250 /* JMC250 PCI Express Gigabit Ethernet */
#define PCI_PRODUCT_JMICRON_JMC260 0x0260 /* JMC260 PCI Express Fast Ethernet */
/* KTI products - XXX better descriptions */
#define PCI_PRODUCT_KTI_NE2KETHER 0x3000 /* Ethernet */
/* Level One products */
#define PCI_PRODUCT_LEVELONE_LXT1001 0x0001 /* LXT-1001 10/100/1000 Ethernet */
/* Linksys products */
#define PCI_PRODUCT_LINKSYS_EG1032 0x1032 /* EG1032 v2 Instant Gigabit Network Adapter */
#define PCI_PRODUCT_LINKSYS_EG1064 0x1064 /* EG1064 v2 Instant Gigabit Network Adapter */
/* Lucent Technologies products */
#define PCI_PRODUCT_LUCENT_ET1310 0xed00 /* ET1310 10/100/1000M Ethernet */
#define PCI_PRODUCT_LUCENT_ET1310_FAST 0xed01 /* ET1310 10/100M Ethernet */
/* NetVin products - XXX better descriptions */
#define PCI_PRODUCT_NETVIN_5000 0x5000 /* 5000 Ethernet */
/* National Semiconductor products */
#define PCI_PRODUCT_NS_DP83815 0x0020 /* DP83815 10/100 Ethernet */
#define PCI_PRODUCT_NS_DP83820 0x0022 /* DP83820 10/100/1000 Ethernet */
#define PCI_PRODUCT_NS_SCx200_XBUS 0x0505 /* SCx200 X-BUS */
#define PCI_PRODUCT_NS_SC1100_XBUS 0x0515 /* SC1100 X-Bus */
/* Network Security Technologies, Inc. */
#define PCI_PRODUCT_NETSEC_7751 0x7751 /* 7751 */
/* Nortel products */
#define PCI_PRODUCT_NORTEL_BAYSTACK_21 0x1211 /* Baystack 21 (Accton MPX EN5038) */
/* Nvidia Corporation products */
#define PCI_PRODUCT_NVIDIA_MCP04_LAN1 0x0037 /* MCP04 Lan */
#define PCI_PRODUCT_NVIDIA_MCP04_LAN2 0x0038 /* MCP04 Lan */
#define PCI_PRODUCT_NVIDIA_CK804_LAN1 0x0056 /* CK804 Lan */
#define PCI_PRODUCT_NVIDIA_CK804_LAN2 0x0057 /* CK804 Lan */
#define PCI_PRODUCT_NVIDIA_NFORCE2_LAN 0x0066 /* nForce2 Lan */
#define PCI_PRODUCT_NVIDIA_NFORCE3_LAN2 0x0086 /* nForce3 Lan */
#define PCI_PRODUCT_NVIDIA_NFORCE3_LAN3 0x008c /* nForce3 Lan */
#define PCI_PRODUCT_NVIDIA_NFORCE3_LAN1 0x00d6 /* nForce3 Lan */
#define PCI_PRODUCT_NVIDIA_NFORCE3_LAN4 0x00df /* nForce3 Lan */
#define PCI_PRODUCT_NVIDIA_NFORCE3_LAN5 0x00e6 /* nForce3 Lan */
#define PCI_PRODUCT_NVIDIA_NFORCE_LAN 0x01c3 /* nForce Lan */
#define PCI_PRODUCT_NVIDIA_MCP51_LAN1 0x0268 /* MCP51 Lan */
#define PCI_PRODUCT_NVIDIA_MCP51_LAN2 0x0269 /* MCP51 Lan */
#define PCI_PRODUCT_NVIDIA_MCP55_LAN1 0x0372 /* MCP55 Lan */
#define PCI_PRODUCT_NVIDIA_MCP55_LAN2 0x0373 /* MCP55 Lan */
#define PCI_PRODUCT_NVIDIA_MCP61_LAN1 0x03e5 /* MCP61 Lan */
#define PCI_PRODUCT_NVIDIA_MCP61_LAN2 0x03e6 /* MCP61 Lan */
#define PCI_PRODUCT_NVIDIA_MCP61_LAN3 0x03ee /* MCP61 Lan */
#define PCI_PRODUCT_NVIDIA_MCP61_LAN4 0x03ef /* MCP61 Lan */
#define PCI_PRODUCT_NVIDIA_MCP65_AHCI_1 0x044c /* MCP65 AHCI */
#define PCI_PRODUCT_NVIDIA_MCP65_AHCI_2 0x044d /* MCP65 AHCI */
#define PCI_PRODUCT_NVIDIA_MCP65_AHCI_3 0x044e /* MCP65 AHCI */
#define PCI_PRODUCT_NVIDIA_MCP65_AHCI_4 0x044f /* MCP65 AHCI */
#define PCI_PRODUCT_NVIDIA_MCP65_LAN1 0x0450 /* MCP65 Lan */
#define PCI_PRODUCT_NVIDIA_MCP65_LAN2 0x0451 /* MCP65 Lan */
#define PCI_PRODUCT_NVIDIA_MCP65_LAN3 0x0452 /* MCP65 Lan */
#define PCI_PRODUCT_NVIDIA_MCP65_LAN4 0x0453 /* MCP65 Lan */
#define PCI_PRODUCT_NVIDIA_MCP65_AHCI_5 0x045c /* MCP65 AHCI */
#define PCI_PRODUCT_NVIDIA_MCP65_AHCI_6 0x045d /* MCP65 AHCI */
#define PCI_PRODUCT_NVIDIA_MCP65_AHCI_7 0x045e /* MCP65 AHCI */
#define PCI_PRODUCT_NVIDIA_MCP65_AHCI_8 0x045f /* MCP65 AHCI */
#define PCI_PRODUCT_NVIDIA_MCP67_LAN1 0x054c /* MCP67 Lan */
#define PCI_PRODUCT_NVIDIA_MCP67_LAN2 0x054d /* MCP67 Lan */
#define PCI_PRODUCT_NVIDIA_MCP67_LAN3 0x054e /* MCP67 Lan */
#define PCI_PRODUCT_NVIDIA_MCP67_LAN4 0x054f /* MCP67 Lan */
#define PCI_PRODUCT_NVIDIA_MCP67_AHCI_1 0x0554 /* MCP67 AHCI */
#define PCI_PRODUCT_NVIDIA_MCP77_LAN1 0x0760 /* MCP77 Lan */
#define PCI_PRODUCT_NVIDIA_MCP77_LAN2 0x0761 /* MCP77 Lan */
#define PCI_PRODUCT_NVIDIA_MCP77_LAN3 0x0762 /* MCP77 Lan */
#define PCI_PRODUCT_NVIDIA_MCP77_LAN4 0x0763 /* MCP77 Lan */
#define PCI_PRODUCT_NVIDIA_MCP73_LAN1 0x07dc /* MCP73 Lan */
#define PCI_PRODUCT_NVIDIA_MCP73_LAN2 0x07dd /* MCP73 Lan */
#define PCI_PRODUCT_NVIDIA_MCP73_LAN3 0x07de /* MCP73 Lan */
#define PCI_PRODUCT_NVIDIA_MCP73_LAN4 0x07df /* MCP73 Lan */
#define PCI_PRODUCT_NVIDIA_MCP79_LAN1 0x0ab0 /* MCP79 Lan */
#define PCI_PRODUCT_NVIDIA_MCP79_LAN2 0x0ab1 /* MCP79 Lan */
#define PCI_PRODUCT_NVIDIA_MCP79_LAN3 0x0ab2 /* MCP79 Lan */
#define PCI_PRODUCT_NVIDIA_MCP79_LAN4 0x0ab3 /* MCP79 Lan */
#define PCI_PRODUCT_NVIDIA_MCP77_AHCI_5 0x0ad4 /* MCP77 AHCI */
/* Peppercon products */
#define PCI_PRODUCT_PEPPERCON_ROLF 0x8139 /* ROL/F-100 Fast Ethernet Adapter with ROL */
/* Planex products */
#define PCI_PRODUCT_PLANEX_FNW_3800_TX 0xab07 /* FNW-3800-TX 10/100 Ethernet */
/* ProLAN products - XXX better descriptions */
#define PCI_PRODUCT_PROLAN_NE2KETHER 0x1980 /* Ethernet */
/* QLogic products */
#define PCI_PRODUCT_QLOGIC_ISP1020 0x1020 /* ISP1020 */
#define PCI_PRODUCT_QLOGIC_ISP1080 0x1080 /* ISP1080 */
#define PCI_PRODUCT_QLOGIC_ISP1240 0x1240 /* ISP1240 */
#define PCI_PRODUCT_QLOGIC_ISP2100 0x2100 /* ISP2100 */
/* Ralink Technologies products */
#define PCI_PRODUCT_RALINK_RT2560 0x0201 /* RT2560 802.11b/g */
#define PCI_PRODUCT_RALINK_RT2561S 0x0301 /* RT2561S 802.11b/g */
#define PCI_PRODUCT_RALINK_RT2561 0x0302 /* RT2561 802.11b/g */
#define PCI_PRODUCT_RALINK_RT2661 0x0401 /* RT2661 802.11b/g/n */
/* Realtek (Creative Labs?) products */
#define PCI_PRODUCT_REALTEK_RT8029 0x8029 /* 8029 Ethernet */
#define PCI_PRODUCT_REALTEK_RT8129 0x8129 /* 8129 10/100 Ethernet */
#define PCI_PRODUCT_REALTEK_RT8101E 0x8136 /* 8101E PCIe 10/10 Ethernet */
#define PCI_PRODUCT_REALTEK_RT8139B 0x8138 /* 8139B 10/100 Ethernet */
#define PCI_PRODUCT_REALTEK_RT8139 0x8139 /* 8139 10/100 Ethernet */
#define PCI_PRODUCT_REALTEK_RT8169SC 0x8167 /* 8169SC/8110SC Single-chip Gigabit Ethernet */
#define PCI_PRODUCT_REALTEK_RT8168 0x8168 /* 8168/8111B PCIe Gigabit Ethernet */
#define PCI_PRODUCT_REALTEK_RT8169 0x8169 /* 8169 10/100/1000 Ethernet */
#define PCI_PRODUCT_REALTEK_RT8180 0x8180 /* 8180 802.11b */
/* Hangzhou Silan Microelectronics products */
#define PCI_PRODUCT_SILAN_SC92031 0x2031 /* SC92031 based fast ethernet adapter */
#define PCI_PRODUCT_SILAN_8139D 0x8139 /* 8139D fast ethernet adapter */
/* Silicon Integrated System products */
#define PCI_PRODUCT_SIS_900 0x0900 /* SiS 900 10/100 Ethernet */
#define PCI_PRODUCT_SIS_7016 0x7016 /* SiS 7016 10/100 Ethernet */
/* SMC products */
#define PCI_PRODUCT_SMC_83C170 0x0005 /* 83C170 (\"EPIC/100\") Fast Ethernet */
/* Sun Microsystems, Inc. products */
#define PCI_PRODUCT_SUN_5821 0x5454 /* Sun bcm5821 */
#define PCI_PRODUCT_SUN_SCA1K 0x5455 /* Crypto Accelerator 1000 */
/* Sundance Technology products */
#define PCI_PRODUCT_SUNDANCETI_ST201 0x0201 /* ST201 10/100 Ethernet */
#define PCI_PRODUCT_SUNDANCETI_ST201_0 0x0200 /* ST201 10/100 Ethernet */
/* Surecom Technology products */
#define PCI_PRODUCT_SURECOM_NE34 0x0e34 /* NE-34 Ethernet */
/* Schneider & Koch (really SysKonnect) products */
#define PCI_PRODUCT_SCHNEIDERKOCH_SKNET_GE 0x4300 /* SK-NET GE */
#define PCI_PRODUCT_SCHNEIDERKOCH_SK9821v2 0x4320 /* SK-9821 v2.0 */
#define PCI_PRODUCT_SCHNEIDERKOCH_SK_9DX1 0x4400 /* SK-NET SK-9DX1 Gigabit Ethernet */
/* These next two are are really subsystem IDs */
#define PCI_PRODUCT_SCHNEIDERKOCH_SK_9D41 0x4441 /* SK-9D41 1000BASE-X */
/* SII products */
#define PCI_PRODUCT_SII_3132 0x3132 /* Sii3132 */
/* TTTech */
#define PCI_PRODUCT_TTTECH_MC322 0x000a /* MC322 */
/* Texas Instruments products */
#define PCI_PRODUCT_TI_ACX100A 0x8400 /* ACX100A 802.11b */
#define PCI_PRODUCT_TI_ACX100B 0x8401 /* ACX100B 802.11b */
#define PCI_PRODUCT_TI_ACX111 0x9066 /* ACX111 802.11b/g */
/* US Robotics products */
#define PCI_PRODUCT_USR2_997902 0x0116 /* Robotics 997902 Gigabit Ethernet */
/* VIA Technologies products, from http://www.via.com.tw/ */
#define PCI_PRODUCT_VIATECH_VT86C926 0x0926 /* VT86C926 Amazon PCI-Ethernet Controller */
#define PCI_PRODUCT_VIATECH_VT3043 0x3043 /* VT3043 (Rhine) 10/100 Ethernet */
#define PCI_PRODUCT_VIATECH_VT6105M 0x3053 /* VT6105M (Rhine III) 10/100 Ethernet */
#define PCI_PRODUCT_VIATECH_VT6102 0x3065 /* VT6102 (Rhine II) 10/100 Ethernet */
#define PCI_PRODUCT_VIATECH_VT6105 0x3106 /* VT6105 (Rhine III) 10/100 Ethernet */
#define PCI_PRODUCT_VIATECH_VT612X 0x3119 /* VT612X 10/100/1000 Ethernet */
#define PCI_PRODUCT_VIATECH_VT8623_VGA 0x3122 /* VT8623 (Apollo CLE266) VGA Controller */
#define PCI_PRODUCT_VIATECH_VT8623 0x3123 /* VT8623 (Apollo CLE266) CPU-PCI Bridge */
#define PCI_PRODUCT_VIATECH_VT8251_SATA 0x3349 /* VT8251 SATA */
#define PCI_PRODUCT_VIATECH_VT86C100A 0x6100 /* VT86C100A (Rhine-II) 10/100 Ethernet */
/* Winbond Electronics products */
#define PCI_PRODUCT_WINBOND_W89C840F 0x0840 /* W89C840F 10/100 Ethernet */
#define PCI_PRODUCT_WINBOND_W89C940F 0x0940 /* W89C940F Ethernet */
| 54.605405 | 111 | 0.780176 |
9a53d575132327f033765d596069338d21166775 | 307 | css | CSS | Mobile First Approach/grid/main.css | fauzan1892/learn-frontend-expert-dicoding | e1f899b2b327a3ea05d9c3d3f03a59ada5fa7803 | [
"MIT"
] | null | null | null | Mobile First Approach/grid/main.css | fauzan1892/learn-frontend-expert-dicoding | e1f899b2b327a3ea05d9c3d3f03a59ada5fa7803 | [
"MIT"
] | null | null | null | Mobile First Approach/grid/main.css | fauzan1892/learn-frontend-expert-dicoding | e1f899b2b327a3ea05d9c3d3f03a59ada5fa7803 | [
"MIT"
] | null | null | null | .wrapper {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
}
/* styling pendukung */
.wrapper div {
border: 1px dashed black;
padding: 16px;
background-color: white;
}
.wrapper {
padding: 8px;
background-color: antiquewhite;
border: 1px dashed black;
} | 16.157895 | 39 | 0.609121 |
9762ad0ba7b51524eea2f37edd264d112d412329 | 6,441 | swift | Swift | Sources/SwiftFFmpeg/SwrContext.swift | Huddly/SwiftFFmpeg | b656c2d7a1716ad86f023ea5c62262d83378edc7 | [
"Apache-2.0"
] | 320 | 2018-07-08T10:57:05.000Z | 2022-03-31T15:25:18.000Z | Sources/SwiftFFmpeg/SwrContext.swift | Huddly/SwiftFFmpeg | b656c2d7a1716ad86f023ea5c62262d83378edc7 | [
"Apache-2.0"
] | 47 | 2018-09-28T00:01:50.000Z | 2022-01-05T09:46:54.000Z | Sources/SwiftFFmpeg/SwrContext.swift | Huddly/SwiftFFmpeg | b656c2d7a1716ad86f023ea5c62262d83378edc7 | [
"Apache-2.0"
] | 59 | 2018-07-14T18:03:19.000Z | 2022-03-22T09:57:18.000Z | //
// SwrContext.swift
// SwiftFFmpeg
//
// Created by sunlubo on 2018/7/6.
//
import CFFmpeg
public final class SwrContext {
var native: OpaquePointer!
/// Create `SwrContext`.
///
/// If you use this function you will need to set the parameters before calling `initialize()`.
public init() {
self.native = swr_alloc()
}
/// Create `SwrContext` if needed and set/reset common parameters.
///
/// - Parameters:
/// - dstChannelLayout: output channel layout
/// - dstSampleFormat: output sample format
/// - dstSampleRate: output sample rate (frequency in Hz)
/// - srcChannelLayout: input channel layout
/// - srcSampleFormat: input sample format
/// - srcSampleRate: input sample rate (frequency in Hz)
public init(
dstChannelLayout: AVChannelLayout,
dstSampleFormat: AVSampleFormat,
dstSampleRate: Int,
srcChannelLayout: AVChannelLayout,
srcSampleFormat: AVSampleFormat,
srcSampleRate: Int
) {
native = swr_alloc_set_opts(
nil,
Int64(dstChannelLayout.rawValue),
dstSampleFormat.native,
Int32(dstSampleRate),
Int64(srcChannelLayout.rawValue),
srcSampleFormat.native,
Int32(srcSampleRate),
0,
nil
)
}
deinit {
swr_free(&native)
}
/// A Boolean value indicating whether the context has been initialized or not.
public var isInitialized: Bool {
swr_is_initialized(native) > 0
}
/// Set/reset common parameters.
///
/// - Parameters:
/// - dstChannelLayout: output channel layout
/// - dstSampleFormat: output sample format
/// - dstSampleRate: output sample rate (frequency in Hz)
/// - srcChannelLayout: input channel layout
/// - srcSampleFormat: input sample format
/// - srcSampleRate: input sample rate (frequency in Hz)
///
/// - Throws: AVError
public func setOptions(
dstChannelLayout: AVChannelLayout,
dstSampleFormat: AVSampleFormat,
dstSampleRate: Int,
srcChannelLayout: AVChannelLayout,
srcSampleFormat: AVSampleFormat,
srcSampleRate: Int
) throws {
let ptr = swr_alloc_set_opts(
native,
Int64(dstChannelLayout.rawValue),
dstSampleFormat.native,
Int32(dstSampleRate),
Int64(srcChannelLayout.rawValue),
srcSampleFormat.native,
Int32(srcSampleRate),
0,
nil
)
if ptr == nil {
throw AVError.invalidArgument
}
}
/// Initialize context after user parameters have been set.
///
/// - Throws: AVError
public func initialize() throws {
try throwIfFail(swr_init(native))
}
/// Closes the context so that `isInitialized` returns `false`.
///
/// The context can be brought back to life by running `initialize()`,
/// `initialize()` can also be used without `close()`.
/// This function is mainly provided for simplifying the usecase
/// where one tries to support libavresample and libswresample.
public func close() {
swr_close(native)
}
/// Gets the delay the next input sample will experience relative to the next output sample.
///
/// - Parameter timebase: timebase in which the returned delay will be
/// - if it's set to 1 the returned delay is in seconds
/// - if it's set to 1000 the returned delay is in milliseconds
/// - if it's set to the input sample rate then the returned delay is in input samples
/// - if it's set to the output sample rate then the returned delay is in output samples
/// - if it's the least common multiple of `in_sample_rate` and
/// `out_sample_rate` then an exact rounding-free delay will be returned
/// - Returns: the delay in 1 / base units.
public func getDelay(_ timebase: Int64) -> Int {
Int(swr_get_delay(native, timebase))
}
/// Find an upper bound on the number of samples that the next `convert(dst:dstCount:src:srcCount:)`
/// call will output, if called with `sampleCount` of input samples.
/// This depends on the internal state, and anything changing the internal state
/// (like further `convert(dst:dstCount:src:srcCount:)` calls) will may change the number of samples
/// `getOutSamples(_:)` returns for the same number of input samples.
///
/// - Note: any call to swr_inject_silence(), swr_convert(), swr_next_pts()
/// or swr_set_compensation() invalidates this limit
///
/// - Note: it is recommended to pass the correct available buffer size to all functions like
/// `convert(dst:dstCount:src:srcCount:)` even if `getOutSamples(_:)` indicates that less would be used.
///
/// - Parameter sampleCount: number of input samples
/// - Returns: an upper bound on the number of samples that the next `convert(dst:dstCount:src:srcCount:)`
/// will output
/// - Throws: AVError
public func getOutSamples(_ sampleCount: Int64) throws -> Int {
let ret = swr_get_out_samples(native, Int32(sampleCount))
try throwIfFail(ret)
return Int()
}
/// Convert audio.
///
/// `dst` and `dstCount` can be set to 0 to flush the last few samples out at the end.
///
/// If more input is provided than output space, then the input will be buffered.
/// You can avoid this buffering by using `getOutSamples(_:)` to retrieve an upper bound
/// on the required number of output samples for the given number of input samples.
/// Conversion will run directly without copying whenever possible.
///
/// - Parameters:
/// - dst: output buffers, only the first one need be set in case of packed audio
/// - dstCount: amount of space available for output in samples per channel
/// - src: input buffers, only the first one need to be set in case of packed audio
/// - srcCount: number of input samples available in one channel
/// - Returns: number of samples output per channel
/// - Throws: AVError
@discardableResult
public func convert(
dst: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>?>,
dstCount: Int,
src: UnsafeMutablePointer<UnsafePointer<UInt8>?>,
srcCount: Int
) throws -> Int {
let ret = swr_convert(native, dst, Int32(dstCount), src, Int32(srcCount))
try throwIfFail(ret)
return Int(ret)
}
}
extension SwrContext: AVClassSupport, AVOptionSupport {
public static let `class` = AVClass(native: swr_get_class())
public func withUnsafeObjectPointer<T>(
_ body: (UnsafeMutableRawPointer) throws -> T
) rethrows -> T {
try body(UnsafeMutableRawPointer(native))
}
}
| 34.816216 | 109 | 0.685142 |
22a7ad7227993d86771e18aa8e7e9ccf6dff5278 | 2,781 | html | HTML | src/app/layouts/agency/agency-blog/agency-blog.component.html | liang121900/TestAngularApp | 454208438cda23d02d9536bfa8fef997b6a46bb2 | [
"MIT"
] | null | null | null | src/app/layouts/agency/agency-blog/agency-blog.component.html | liang121900/TestAngularApp | 454208438cda23d02d9536bfa8fef997b6a46bb2 | [
"MIT"
] | null | null | null | src/app/layouts/agency/agency-blog/agency-blog.component.html | liang121900/TestAngularApp | 454208438cda23d02d9536bfa8fef997b6a46bb2 | [
"MIT"
] | null | null | null | <!-- blog section start-->
<section class="agency blog blog-bg" id="blog">
<div class="container">
<div class="row">
<div class="col-md-6 offset-md-3">
<div class="title">
<div class="main-title">
<h2 class="text-capitalize text-center">latest blog</h2>
</div>
<div class="sub-title">
<p class="text-center">Lorem Ipsum is simply dummy text of the printing and typesetting
industry.
Lorem Ipsum has been</p>
</div>
</div>
</div>
<div class="col-12">
<owl-carousel-o [options]="blogCarouselOptions">
<ng-container *ngFor="let blog of blogs">
<ng-template carouselSlide class="item">
<div class="blog-agency">
<div class="blog-contain">
<img [src]="blog.img" alt="" class="img-fluid">
<div class="img-container center-content">
<div class="center-content">
<div class="blog-info">
<div class="m-b-10">
<div class="center-text">
<i class="fa fa-clock-o"
aria-hidden="true"></i>
<h6 class="m-r-25 font-blog">{{blog.date}}</h6>
<i class="fa fa-map-marker" aria-hidden="true"></i>
<h6 class="font-blog">{{blog.type}}</h6>
</div>
</div>
<h5 class="blog-head">{{blog.title}}</h5>
<p class="para2">{{blog.description}}</p>
<div class="m-t-20"><a href="javascript:void(0)" class="text-uppercase">{{blog.btn}}</a></div>
</div>
</div>
</div>
</div>
</div>
</ng-template>
</ng-container>
</owl-carousel-o>
</div>
</div>
</div>
</section>
<!-- blog section end--> | 54.529412 | 142 | 0.321467 |
706f49ced94896f923aec5eab7efc139e33d4b99 | 1,570 | go | Go | pkg/api/topic/topic.go | nguyencatpham/go-effective-study | c60e208009e325c41a5b6716f0d42b85cdc5e644 | [
"MIT"
] | 2 | 2019-05-29T04:35:59.000Z | 2019-05-29T04:36:22.000Z | pkg/api/topic/topic.go | nguyencatpham/go-effective-study | c60e208009e325c41a5b6716f0d42b85cdc5e644 | [
"MIT"
] | null | null | null | pkg/api/topic/topic.go | nguyencatpham/go-effective-study | c60e208009e325c41a5b6716f0d42b85cdc5e644 | [
"MIT"
] | null | null | null | // Package topic contains topic application services
package topic
import (
"log"
"github.com/labstack/echo"
"github.com/nguyencatpham/go-effective-study/pkg/utl/model"
"github.com/nguyencatpham/go-effective-study/pkg/utl/structs"
)
// Create creates a new topic account
func (u *Topic) Create(c echo.Context, req model.Topic) (*model.Topic, error) {
log.Println("aaaaaaaaaa")
return u.udb.Create(u.db, req)
}
// List returns list of topics
func (u *Topic) List(c echo.Context, p *model.Pagination, query []string) ([]model.Topic, int, error) {
// TODO: []string to filter query
q := &model.FilterQuery{}
log.Println("Params", query)
return u.udb.List(u.db, q, p)
}
// View returns single topic
func (u *Topic) View(c echo.Context, query []string) (*model.Topic, error) {
q := &model.FilterQuery{
// Query: "topic.id=?",
// Params: []interface{}{query},
}
return u.udb.View(u.db, q)
}
// Delete deletes a topic
func (u *Topic) Delete(c echo.Context, id int) error {
q := &model.FilterQuery{Query: "topic.id=?", Params: []interface{}{id}}
topic, err := u.udb.View(u.db, q)
if err != nil {
return err
}
return u.udb.Delete(u.db, topic)
}
// Update updates topic's contact information
func (u *Topic) Update(c echo.Context, req model.UpdateReq) (*model.Topic, error) {
q := &model.FilterQuery{Query: "topic.id=?", Params: []interface{}{req.ID}}
topic, err := u.udb.View(u.db, q)
if err != nil {
return nil, err
}
structs.Merge(topic, req)
if err := u.udb.Update(u.db, topic); err != nil {
return nil, err
}
return topic, nil
}
| 26.166667 | 103 | 0.670701 |
1234f880e81d20b13736c7c332085bdf2e6148b0 | 428 | h | C | src/register_dialog.h | laaisivan/stockAnalyze | e71b13c3882e8b99b784fb25ef56f48a98d18518 | [
"Apache-2.0"
] | 6 | 2020-11-23T09:57:19.000Z | 2022-03-18T18:19:37.000Z | src/register_dialog.h | Qt-Widgets/stockAnalyze | e9407046732c437b03fed327f571ae8a19227737 | [
"Apache-2.0"
] | null | null | null | src/register_dialog.h | Qt-Widgets/stockAnalyze | e9407046732c437b03fed327f571ae8a19227737 | [
"Apache-2.0"
] | 10 | 2020-11-27T17:29:04.000Z | 2022-03-18T18:19:28.000Z | #ifndef REGISTER_DIALOG_H
#define REGISTER_DIALOG_H
#include <QDialog>
#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif
namespace Ui {
class register_dialog;
}
class register_dialog : public QDialog
{
Q_OBJECT
public:
explicit register_dialog(QWidget *parent = 0);
~register_dialog();
private:
Ui::register_dialog *ui;
void register_info();//注册要求
};
#endif // REGISTER_DIALOG_H
| 14.266667 | 50 | 0.726636 |
8eca0ea3a5001db6d0b3cd22a444d26c1370cd10 | 1,069 | kts | Kotlin | data/RF02507/rnartist.kts | fjossinet/Rfam-for-RNArtist | 3016050675602d506a0e308f07d071abf1524b67 | [
"MIT"
] | null | null | null | data/RF02507/rnartist.kts | fjossinet/Rfam-for-RNArtist | 3016050675602d506a0e308f07d071abf1524b67 | [
"MIT"
] | null | null | null | data/RF02507/rnartist.kts | fjossinet/Rfam-for-RNArtist | 3016050675602d506a0e308f07d071abf1524b67 | [
"MIT"
] | null | null | null | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF02507"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
4 to 6
81 to 83
}
value = "#ff4a1e"
}
color {
location {
55 to 57
65 to 67
}
value = "#2327b2"
}
color {
location {
7 to 54
68 to 80
}
value = "#c6846c"
}
color {
location {
58 to 64
}
value = "#a62370"
}
color {
location {
1 to 3
}
value = "#db6c96"
}
color {
location {
84 to 91
}
value = "#8a889b"
}
}
} | 15.271429 | 48 | 0.283442 |
c343d76173b19c1d429a0911c518d391d703b7a2 | 21,691 | rs | Rust | derive/src/lib.rs | KaiWitt/rust-amplify | 829a6db177266c2d0e706ac58f73f1fef9da0127 | [
"MIT"
] | 29 | 2020-09-16T14:30:04.000Z | 2022-03-31T01:17:21.000Z | derive/src/lib.rs | KaiWitt/rust-amplify | 829a6db177266c2d0e706ac58f73f1fef9da0127 | [
"MIT"
] | 115 | 2020-09-28T17:02:48.000Z | 2022-03-20T07:13:33.000Z | derive/src/lib.rs | KaiWitt/rust-amplify | 829a6db177266c2d0e706ac58f73f1fef9da0127 | [
"MIT"
] | 7 | 2020-11-12T08:59:25.000Z | 2022-01-19T00:00:14.000Z | // Rust language amplification derive library providing multiple generic trait
// implementations, type wrappers, derive macros and other language enhancements
//
// Written in 2019-2020 by
// Dr. Maxim Orlovsky <orlovsky@pandoracore.com>
// Elichai Turkel <elichai.turkel@gmail.com>
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is distributed without
// any warranty.
//
// You should have received a copy of the MIT License
// along with this software.
// If not, see <https://opensource.org/licenses/MIT>.
//! Amplifying Rust language capabilities: multiple generic trait
//! implementations, type wrappers, derive macros.
#![recursion_limit = "256"]
#![deny(
non_upper_case_globals,
non_camel_case_types,
non_snake_case,
unused_mut,
unused_imports,
missing_docs,
dead_code,
warnings
)]
#[macro_use]
extern crate quote;
#[macro_use]
extern crate syn;
extern crate proc_macro;
#[macro_use]
mod util;
mod as_any;
mod display;
mod error;
mod from;
mod getters;
mod wrapper;
use proc_macro::TokenStream;
use syn::DeriveInput;
/// # Usage
///
/// 1. Generate [`Display`] descriptions using other formatting trait:
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// #[derive(Display, Debug)]
/// #[display(Debug)]
/// enum Some {
/// Once,
/// Twice(u8)
/// }
/// ```
/// 2. Use existing function for displaying descriptions:
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// #[macro_use] extern crate amplify;
///
/// #[derive(Display)]
/// #[display(Int::print)]
/// union Int { uint: u32, int: i32 };
/// impl Int {
/// pub fn print(&self) -> String {
/// s!("Integer representation")
/// }
/// }
///
/// pub trait ToSpecialString {
/// fn to_special_string(&self) -> String {
/// s!("Special string")
/// }
/// }
///
/// #[derive(Display)]
/// #[display(Some::to_special_string)]
/// struct Some { uint: u32, int: i32 };
/// impl ToSpecialString for Some {}
///
/// assert_eq!(
/// format!("{}", Int { uint: 2 }),
/// s!("Integer representation")
/// );
///
/// #[derive(Display)]
/// #[display(some_fmt)]
/// enum Enum { Once(u8), Twice };
/// fn some_fmt(_: &Enum) -> String { s!("Some") }
/// assert_eq!(format!("{}", Enum::Once(3)), s!("Some"))
/// ```
/// Formatting function must return [`String`] and take a single `self`
/// argument (if you need formatting with streamed output, use one of
/// existing formatting traits as shown in pt. 1).
/// 3. Custom format string:
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// #[derive(Display)]
/// #[display("({x}, {y})")]
/// struct Point { x: u32, y: u32 }
/// assert_eq!(format!("{}", Point { x: 0, y: 1 }), "(0, 1)");
/// ```
/// 4. Support for alternative formatting with `alt` parameter:
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// #[derive(Display)]
/// #[display("({x}, {y})", alt = "{x}:{y}")]
/// struct Point { x: u32, y: u32 }
/// assert_eq!(format!("{}", Point { x: 0, y: 1 }), "(0, 1)");
/// assert_eq!(format!("{:#}", Point { x: 0, y: 1 }), "0:1");
/// ```
/// 5. Use of doc comments for descrition representation. In this case doc
/// comments may also contain formatting like in the case 3:
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// #[macro_use] extern crate amplify;
///
/// /// Example enum with doc comments converted into display
/// #[derive(Display)]
/// #[display(doc_comments)]
/// enum Variants {
/// /// Letter A.
/// /// Multiline comments are also working, but joined together
/// ///
/// /// Empty line is replaced with line break
/// /// \nYou may also use this way
/// /// \n
/// /// The above will still result in a single line break
/// A,
/// /// Letter B
/// B,
/// /// This comment is ignored
/// #[display("Letter C")]
/// C,
/// /// Letter {0}
/// Letter(String),
/// /// You can omit parameters and just have a normal doc comment
/// Number(u8),
/// /// ... for variants with named fields as well
/// Named { some: String }
/// };
///
/// assert_eq!(
/// format!("{}", Variants::A),
/// "Letter A. Multiline comments are also working, but joined \
/// together\nEmpty line is replaced with line break\nYou may also use \
/// this way\nThe above will still result in a single line break"
/// );
/// assert_eq!(format!("{}", Variants::C), "Letter C");
/// assert_eq!(format!("{}", Variants::Letter(s!("K"))), "Letter K");
/// ```
/// You can also mix in this mode with other fors of display tags on a
/// specific options; in this case doc comments are ignored
/// 6. Support of unit structs:
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// /// Some unit struct
/// #[derive(Clone, Debug, Display, Error)]
/// #[display(doc_comments)]
/// pub struct UnitStruct;
/// ```
/// # Example
///
/// Advanced use with enums:
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// #[derive(Display)]
/// enum Test {
/// Some,
///
/// #[display("OtherName")]
/// Other,
///
/// /// Document comment working as display string
/// Commented,
///
/// Named {
/// x: u8,
/// },
///
/// #[display("Custom{x}", alt = "this is alternative")]
/// NamedCustom {
/// x: u8,
/// },
///
/// #[display(inner)]
/// Inner {
/// a: String,
/// },
///
/// Unnamed(u16),
///
/// // NB: Use indexes for tuple values
/// #[display("Custom{0}")]
/// UnnamedCustom(String),
/// }
///
/// assert_eq!(format!("{}", Test::Some), "Some");
/// assert_eq!(format!("{}", Test::Other), "OtherName");
/// assert_eq!(format!("{}", Test::Named { x: 1 }), "Named { .. }");
/// assert_eq!(format!("{}", Test::Unnamed(5)), "Unnamed(..)");
/// assert_eq!(format!("{}", Test::NamedCustom { x: 8 }), "Custom8");
/// assert_eq!(
/// format!("{:#}", Test::NamedCustom { x: 8 }),
/// "this is alternative"
/// );
/// assert_eq!(
/// format!("{}", Test::UnnamedCustom("Test".to_string())),
/// "CustomTest"
/// );
/// ```
///
/// Use with tuple types:
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// #[derive(Clone, Copy, Debug, Display)]
/// #[display("{0}")]
/// struct Tuple(u8);
///
/// #[derive(Clone, Copy, Debug, Display)]
/// #[display(inner)] // `inner` is synonym to "{0}"
/// struct Tuple2(u8);
///
/// assert_eq!(format!("{}", Tuple(5)), format!("{}", Tuple2(5)))
/// ```
///
/// Using inner enum variant representation, defaulting to the variant name
/// if the variant does not have inner data:
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// use std::net::{IpAddr, Ipv4Addr};
///
/// #[derive(Clone, Copy, Debug, Display)]
/// #[display(inner)] // `inner` is synonym to "{0}"
/// enum Variants {
/// First,
/// Second,
/// WithData(u8),
/// WithComplexData(IpAddr),
/// };
///
/// assert_eq!(Variants::First.to_string(), "First");
/// assert_eq!(Variants::WithData(5).to_string(), "5");
/// assert_eq!(
/// Variants::WithComplexData(IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1))).to_string(),
/// "127.0.0.1"
/// );
/// ```
#[proc_macro_derive(Display, attributes(display))]
pub fn derive_display(input: TokenStream) -> TokenStream {
let derive_input = parse_macro_input!(input as DeriveInput);
display::inner(derive_input)
.unwrap_or_else(|e| e.to_compile_error())
.into()
}
/// Error derive macro works to the full extend only when other derive macros
/// are used. With `#[derive(Display)]` and `[display(doc_comments)]` it uses
/// doc comments for generating error descriptions; with `#[derive(From)]` it
/// may automatically implement transofrations from other error types.
///
/// # Example
///
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// #[derive(Debug, Display, Error)]
/// #[display(doc_comments)]
/// enum Error {
/// /// I/O operation error
/// Io,
/// /// Math overflow
/// Overflow,
/// /// Zero division with {0}
/// ZeroDivision(u16),
/// }
///
/// assert_eq!(format!("{}", Error::Io), "I/O operation error");
/// assert_eq!(format!("{}", Error::Overflow), "Math overflow");
/// assert_eq!(
/// format!("{}", Error::ZeroDivision(2)),
/// "Zero division with 2"
/// );
/// ```
#[proc_macro_derive(Error)]
pub fn derive_error(input: TokenStream) -> TokenStream {
let derive_input = parse_macro_input!(input as DeriveInput);
error::inner(derive_input)
.unwrap_or_else(|e| e.to_compile_error())
.into()
}
/// Implements [`From`] trait for the whole entity and/or its separate fields.
/// Works well with `#[derive(Error)]` and, in many cases may require
/// [`Default`] implementation (for details, pls see Examples below)
///
/// # Examples
///
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// #
/// #[derive(From, Default)]
/// #[from(::std::io::Error)]
/// // Structure may contain no parameters
/// pub struct IoErrorUnit;
///
/// #[derive(From, Default)]
/// #[from(::std::io::Error)] // When no explicit binding is given, structure must implement `Default`
/// pub struct IoError {
/// details: String,
///
/// #[from]
/// kind: IoErrorUnit,
/// }
///
/// #[derive(From)]
/// pub enum Error {
/// // You can specify multiple conversions with separate attributes
/// #[from(::std::io::Error)]
/// #[from(IoError)]
/// Io,
///
/// #[from]
/// Format(::std::fmt::Error),
///
/// #[from]
/// WithFields { details: ::std::str::Utf8Error },
///
/// MultipleFields {
/// // ...and you can also covert error type
/// #[from(IoErrorUnit)]
/// // rest of parameters must implement `Default`
/// io: IoError,
/// details: String,
/// },
/// }
///
/// #[derive(Clone, Copy, PartialEq, Eq, Hash, Default, Debug, From)]
/// pub struct Wrapper(u32, i16);
/// ```
///
/// If you use rust nightly and `#![feature(never_type)]` for [`!`], you can
/// even do the following:
/// ```ignore
/// #![feature(never_type)]
///
/// #[macro_use]
/// extern crate amplify_derive;
///
/// #[derive(From)]
/// pub enum Error {
/// // ... other error types
/// #[from(!)]
/// NeverType,
/// }
///
/// # fn main () {
/// # }
/// ```
#[proc_macro_derive(From, attributes(from))]
pub fn derive_from(input: TokenStream) -> TokenStream {
let derive_input = parse_macro_input!(input as DeriveInput);
from::inner(derive_input)
.unwrap_or_else(|e| e.to_compile_error())
.into()
}
/// Trait `amplify::AsAny` allows simple conversion of any type into a
/// generic "thick" pointer `&dyn Any` (see [`::core::any::Any`]), that can be
/// later converted back to the original type with a graceful failing for all
/// other conversions. `AsAny` derive macro allows to implement this trait for
/// arbitrary time without much hussle:
///
/// # Example
///
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// extern crate amplify;
/// use amplify::AsAny;
///
/// #[derive(AsAny, Copy, Clone, PartialEq, Eq, Debug)]
/// struct Point {
/// pub x: u64,
/// pub y: u64,
/// }
///
/// #[derive(AsAny, PartialEq, Debug)]
/// struct Circle {
/// pub radius: f64,
/// pub center: Point,
/// }
///
/// let mut point = Point { x: 1, y: 2 };
/// let point_ptr = point.as_any();
///
/// let mut circle = Circle {
/// radius: 18.,
/// center: point,
/// };
/// let circle_ptr = circle.as_any();
///
/// assert_eq!(point_ptr.downcast_ref(), Some(&point));
/// assert_eq!(circle_ptr.downcast_ref(), Some(&circle));
/// assert_eq!(circle_ptr.downcast_ref::<Point>(), None);
///
/// let p = point_ptr.downcast_ref::<Point>().unwrap();
/// assert_eq!(p.x, 1)
/// ```
#[proc_macro_derive(AsAny)]
pub fn derive_as_any(input: TokenStream) -> TokenStream {
let derive_input = parse_macro_input!(input as DeriveInput);
as_any::inner(derive_input)
.unwrap_or_else(|e| e.to_compile_error())
.into()
}
/// Derives getter methods for structures. The return type and naming of the
/// methods depends on the provided attribute arguments.
///
/// # Attribute `#[getter(...)]`
///
/// Macro is provided with `#[getter]` attribute, which may be used on both
/// type and field level. See following sections describing its arguments
///
/// ## Arguments
///
/// ### Method derivation arguments
/// Method derivation arguments define which forms of methods should be derived.
/// Applicable both at the type level, where it defines a set of derived methods
/// for all fields (unless they are overrided on the field level) – or on the
/// field level, where it overrides/replaces the default set of methods with a
/// new one.
///
/// Attribute takes a list of arguments in form of verbatim literals:
/// - `as_copy`: derives methods returning copy of the field value. Will error
/// at compile time on types which does not implement `Copy`
/// - `as_clone`: derives methods returning cloned value; will conflict with
/// `as_copy`. Errors at compile time on types which does not implement
/// `Clone`.
/// - `as_ref`: derives method returning reference. If provided together with
/// either `as_copy` or `as_clone`, method name returning reference is
/// suffixed with `_ref`; otherwise the base name is used (see below)
/// - `as_mut`: derives method returning mutable reference. Method name is
/// suffixed with `_mut`
/// - `all`: equivalent to `as_clone, as_ref, as_mut`
///
/// **Can be used**: at type and field level
///
/// **Defaults to**: `as_ref`
///
/// ### `#[getter(skip)]`
/// Skips derivation of a all gettter methods for this field
///
/// ### `#[getter(prefix = "...")]`
/// Defines prefix added to all derived getter method names.
///
/// **Defaults to**: none (no prefix added)
///
/// **Can be used**: at type level
///
/// ### `#[getter(base_name = "...")]`
/// Defines base name for the getter method. Base name is prefixed with prefix
/// from a type-level getter `prefix` attribute (if the one is specified) and
/// suffix, which is method-specific (see `methods` argument description above).
///
/// **Defaults to**: field name
///
/// **Can be used**: at field level
///
/// # Errors
///
/// Enums and units are not supported; attempt to derive `Getters` on them will
/// result in a compile-time error.
///
/// Deriving getters on unit structs and structs with unnamed fields (tupe
/// structs) is not supported (since it's meaningless), and results in a error.
///
/// Additionally to these two cases, macro errors on argument inconsistencies,
/// as described in the argument-specifc sections.
///
/// # Examples
///
/// Basic use:
///
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// #[derive(Getters, Default)]
/// struct One {
/// vec: Vec<u8>,
/// defaults: String,
/// pub flag: bool,
/// pub(self) field: u8,
/// }
///
/// let mut one = One::default();
/// assert_eq!(one.vec(), &Vec::<u8>::default());
/// assert_eq!(one.defaults(), "");
/// assert_eq!(one.flag(), &false);
/// assert_eq!(one.field(), &0);
/// ```
///
/// Advanced use:
///
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// #[derive(Getters, Default)]
/// #[getter(as_mut, prefix = "get_")]
/// struct One {
/// /// Contains byte representation of the data
/// #[getter(all, base_name = "bytes")]
/// vec: Vec<u8>,
///
/// defaults: String,
///
/// #[getter(as_copy)]
/// pub flag: bool,
///
/// #[getter(skip)]
/// pub(self) field: u8,
/// }
///
/// let mut one = One::default();
/// assert_eq!(one.get_bytes_ref(), &Vec::<u8>::default());
/// *one.get_bytes_mut() = vec![0, 1, 2];
/// assert_eq!(one.get_defaults(), "");
/// assert_eq!(one.get_defaults_mut(), "");
/// assert_eq!(one.get_bytes(), vec![0, 1, 2]);
/// assert_eq!(one.get_flag(), bool::default());
/// assert_eq!(one.get_flag_mut(), &mut bool::default());
/// let flag = one.get_flag_mut();
/// *flag = true;
/// assert_eq!(one.get_flag(), true);
/// assert_eq!(one.flag, one.get_flag());
/// // method does not exist: assert_eq!(one.get_field(), u8::default());
/// ```
///
/// this will end up in the following generated code:
/// ```
/// # struct One {
/// # vec: Vec<u8>,
/// # pub flag: bool,
/// # pub(self) field: u8,
/// # }
///
/// impl One {
/// #[doc = "Method cloning [`One::vec`] field.\n"]
/// #[doc = " Contains byte representation of the data"]
/// #[inline]
/// pub fn get_bytes(&self) -> Vec<u8> {
/// self.vec.clone()
/// }
///
/// #[doc = "Method borrowing [`One::vec`] field.\n"]
/// #[doc = " Contains byte representation of the data"]
/// #[inline]
/// pub fn get_bytes_ref(&self) -> &Vec<u8> {
/// &self.vec
/// }
///
/// #[doc = "Method returning mutable borrow of [`One::vec`] field.\n"]
/// #[doc = " Contains byte representation of the data"]
/// #[inline]
/// pub fn get_bytes_mut(&mut self) -> &mut Vec<u8> {
/// &mut self.vec
/// }
///
/// #[doc = "Method returning copy of [`One::flag`] field.\n"]
/// #[inline]
/// pub fn get_flag(&self) -> bool {
/// self.flag
/// }
///
/// #[doc = "Method returning mutable borrow of [`One::flag`] field.\n"]
/// #[inline]
/// pub fn get_flag_mut(&mut self) -> &mut bool {
/// &mut self.flag
/// }
/// }
/// ```
#[proc_macro_derive(Getters, attributes(getter))]
pub fn derive_getters(input: TokenStream) -> TokenStream {
let derive_input = parse_macro_input!(input as DeriveInput);
getters::derive(derive_input)
.unwrap_or_else(|e| e.to_compile_error())
.into()
}
/// Creates rust new type wrapping existing type. Can be used in sturctures
/// containing multiple named or unnamed fields; in this case the field you'd
/// like to wrap should be marked with `#[wrap]` attribute; otherwise the first
/// field is assumed to be the wrapped one.
///
/// NB: You have to use `derive(From)` in order foe Wrapper to work properly.
/// Also, in case of multiple fields, each non-wrapped field type must implement
/// `Default` trait.
///
/// Supports automatic implementation of the following traits:
/// * `amplify::Wrapper`
/// * [`AsRef`]
/// * [`AsMut`]
/// * [`std::borrow::Borrow`]
/// * [`std::borrow::BorrowMut`]
/// * [`std::ops::Deref`]
/// * [`std::ops::DerefMut`]
///
/// You can implement additonal derives, it they are implemented for the wrapped
/// type, using `#[wrapper()]` proc macro:
/// * [`std::fmt::LowerHex`]
/// * [`std::fmt::UpperHex`]
/// * [`std::fmt::LowerExp`]
/// * [`std::fmt::UpperExp`]
/// * [`std::fmt::Octal`]
/// * [`std::ops::Index`]
/// * [`std::ops::IndexMut`]
/// * [`std::ops::Neg`]
/// * [`std::ops::Not`]
/// * [`std::ops::Add`]
/// * [`std::ops::AddAssign`]
/// * [`std::ops::Sub`]
/// * [`std::ops::SubAssign`]
/// * [`std::ops::Mul`]
/// * [`std::ops::MulAssign`]
/// * [`std::ops::Div`]
/// * [`std::ops::DivAssign`]
/// * [`std::ops::Rem`]
/// * [`std::ops::RemAssign`]
/// * [`std::ops::Shl`]
/// * [`std::ops::ShlAssign`]
/// * [`std::ops::Shr`]
/// * [`std::ops::ShrAssign`]
/// * [`std::ops::BitAnd`]
/// * [`std::ops::BitAndAssign`]
/// * [`std::ops::BitOr`]
/// * [`std::ops::BitOrAssign`]
/// * [`std::ops::BitXor`]
/// * [`std::ops::BitXorAssign`]
///
/// Other traits, such as [`PartialEq`], [`Eq`], [`PartialOrd`], [`Ord`],
/// [`Hash`] can be implemented using standard `#[derive]` attribute in the
/// same manner as [`Default`], [`Debug`] and [`From`]
///
/// # Example
///
/// Simple wrapper:
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// use amplify::Wrapper;
///
/// #[derive(
/// Wrapper, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Default, From, Debug, Display,
/// )]
/// #[display(inner)]
/// #[wrapper(LowerHex, UpperHex, Octal)]
/// #[wrapper(Neg, Add, Sub, Div, Mul, Rem)]
/// #[wrapper(AddAssign, SubAssign, DivAssign, MulAssign, RemAssign)]
/// #[wrapper(Not, Shl, Shr, BitAnd, BitOr, BitXor)]
/// #[wrapper(ShlAssign, ShrAssign, BitAndAssign, BitOrAssign, BitXorAssign)]
/// struct Int64(i64);
/// ```
///
/// More complex wrapper with multiple unnamed fields:
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// # use std::collections::HashMap;
/// # use std::fmt::Debug;
/// use std::marker::PhantomData;
/// use amplify::Wrapper;
///
/// #[derive(Clone, Wrapper, Default, From)]
/// #[wrapper(Debug)]
/// struct Wrapped<T, U>(
/// #[wrap]
/// #[from]
/// HashMap<usize, Vec<U>>,
/// PhantomData<T>,
/// )
/// where
/// U: Sized + Clone + Debug;
///
/// let w = Wrapped::<(), u8>::default();
/// assert_eq!(w.into_inner(), HashMap::<usize, Vec<u8>>::default());
/// ```
///
/// Wrappers for indexable types
/// ```
/// # #[macro_use] extern crate amplify_derive;
/// use amplify::Wrapper;
///
/// #[derive(Wrapper, From)]
/// #[wrapper(Index, IndexRange, IndexFrom, IndexTo, IndexInclusive, IndexFull)]
/// struct VecNewtype(Vec<u8>);
/// ```
#[proc_macro_derive(Wrapper, attributes(wrap, wrapper, amplify_crate))]
pub fn derive_wrapper(input: TokenStream) -> TokenStream {
let derive_input = parse_macro_input!(input as DeriveInput);
wrapper::inner(derive_input)
.unwrap_or_else(|e| e.to_compile_error())
.into()
}
| 30.723796 | 102 | 0.58462 |
fe06fc4acd8004758124ed3247ab63eeb13bc826 | 237 | h | C | kernel/src/CPUID.h | pradosh-arduino/pradoshOS | b7c2a8b238261fc61460e609fd8352aa62b5f32e | [
"MIT"
] | 9 | 2021-11-17T10:27:18.000Z | 2022-03-16T09:43:24.000Z | kernel/src/CPUID.h | pradosh-arduino/pradoshOS | b7c2a8b238261fc61460e609fd8352aa62b5f32e | [
"MIT"
] | 1 | 2022-03-17T08:31:05.000Z | 2022-03-28T02:50:59.000Z | kernel/src/CPUID.h | pradosh-arduino/pradoshOS | b7c2a8b238261fc61460e609fd8352aa62b5f32e | [
"MIT"
] | 1 | 2021-12-21T09:49:02.000Z | 2021-12-21T09:49:02.000Z | #pragma once
#include <cpuid.h>
#include "BasicRenderer.h"
#include "cstr.h"
static inline int cpuid_string(int code, int where[4]);
const char * const cpu_string();
char* getName();
void fpu_load_control_word(const uint16_t control); | 21.545455 | 55 | 0.755274 |
39af6e6e2a497577bb94d66dbe86c005dbde74da | 307 | sql | SQL | db/reminders.sql | dipeshfort/nova-example-invoice | 70e6e6e2e21f05e68fa7b08188a5e2e8ddd5390d | [
"MIT"
] | null | null | null | db/reminders.sql | dipeshfort/nova-example-invoice | 70e6e6e2e21f05e68fa7b08188a5e2e8ddd5390d | [
"MIT"
] | null | null | null | db/reminders.sql | dipeshfort/nova-example-invoice | 70e6e6e2e21f05e68fa7b08188a5e2e8ddd5390d | [
"MIT"
] | null | null | null | DROP TABLE IF EXISTS reminders;
CREATE TABLE reminders (
id UUID NOT NULL PRIMARY KEY,
user_id UUID NOT NULL,
title VARCHAR(255) NOT NULL,
comments TEXT,
amount float8 NOT NULL,
remind_date TIMESTAMP NOT NULL,
created TIMESTAMP DEFAULT current_timestamp,
status VARCHAR(10)
) | 27.909091 | 48 | 0.723127 |
a8b7c93434a8a5a7cc5b493a8e8aff44d1ac5675 | 43 | rs | Rust | build/classes/visao/jasperreports-6.15.0/src/net/sf/jasperreports/engine/part/FillParts.rs | EuKaique/Projeto-Diagnostico-Medico | cf7cc535ff31992b7568dba777c8faafafa6920c | [
"MIT"
] | null | null | null | build/classes/visao/jasperreports-6.15.0/src/net/sf/jasperreports/engine/part/FillParts.rs | EuKaique/Projeto-Diagnostico-Medico | cf7cc535ff31992b7568dba777c8faafafa6920c | [
"MIT"
] | null | null | null | build/classes/visao/jasperreports-6.15.0/src/net/sf/jasperreports/engine/part/FillParts.rs | EuKaique/Projeto-Diagnostico-Medico | cf7cc535ff31992b7568dba777c8faafafa6920c | [
"MIT"
] | null | null | null | net.sf.jasperreports.engine.part.FillParts
| 21.5 | 42 | 0.860465 |
66be33f17fe21c56680ec9fd75db4dda5e3efa43 | 1,060 | sql | SQL | db/schemas/003_covid_individual_sources.sql | ChrisBremer/can-scrapers | a91123368f8473a2778c4efcc40855b2fd631306 | [
"MIT"
] | null | null | null | db/schemas/003_covid_individual_sources.sql | ChrisBremer/can-scrapers | a91123368f8473a2778c4efcc40855b2fd631306 | [
"MIT"
] | null | null | null | db/schemas/003_covid_individual_sources.sql | ChrisBremer/can-scrapers | a91123368f8473a2778c4efcc40855b2fd631306 | [
"MIT"
] | null | null | null | CREATE TABLE data.covid_official
(
vintage TIMESTAMP,
dt DATE,
location_id INT REFERENCES meta.locations (id),
variable_id SMALLINT REFERENCES meta.covid_variables (id),
demographic_id SMALLINT REFERENCES meta.covid_demographics (id),
value REAL,
provider INT REFERENCES data.covid_providers (id) NOT NULL,
PRIMARY KEY (vintage, dt, location_id, variable_id, demographic_id)
);
COMMENT ON TABLE data.covid_official IS E'This table contains all of the collected data from official COVID sources.';
CREATE TABLE data.covid_usafacts
(
vintage TIMESTAMP,
dt DATE,
location_id INT REFERENCES meta.locations (location),
variable_id SMALLINT REFERENCES meta.covid_variables (id),
demographic_id SMALLINT REFERENCES meta.covid_demographics (id),
value REAL,
provider INT REFERENCES data.covid_providers (id) NOT NULL,
PRIMARY KEY (vintage, dt, location_id, variable_id, demographic_id)
);
COMMENT ON TABLE data.covid_usafacts IS E'This table contains all of the collected COVID data from USAFacts.';
| 36.551724 | 118 | 0.765094 |