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
9e038e218b8bfc0cd560445f3a31e42da7baa6ec
624
cs
C#
Assets/Scripts/SaveData.cs
Quickz/Letters-To-Santa
f03c25997ab4bd52c9c89bbe469324ecd43e1151
[ "MIT" ]
null
null
null
Assets/Scripts/SaveData.cs
Quickz/Letters-To-Santa
f03c25997ab4bd52c9c89bbe469324ecd43e1151
[ "MIT" ]
null
null
null
Assets/Scripts/SaveData.cs
Quickz/Letters-To-Santa
f03c25997ab4bd52c9c89bbe469324ecd43e1151
[ "MIT" ]
null
null
null
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public static class SaveData { public static EventHandler<Costume> EquippedCostumeChanged; public static List<Costume> PurchasedCostumes { get; set; } = new List<Costume>(); public static Inventory availableCostumes; public static Costume EquippedCostume { get { return _equippedCostume; } set { _equippedCostume = value; EquippedCostumeChanged?.Invoke(null, value); } } private static Costume _equippedCostume; }
22.285714
86
0.657051
e72559d6405939233d4fa961141a4e124536b314
3,879
php
PHP
app/Views/Online/form.php
leetran2001/codeignit4
40310957bc9259c371b60cd978a94e2f4322daaa
[ "MIT" ]
null
null
null
app/Views/Online/form.php
leetran2001/codeignit4
40310957bc9259c371b60cd978a94e2f4322daaa
[ "MIT" ]
null
null
null
app/Views/Online/form.php
leetran2001/codeignit4
40310957bc9259c371b60cd978a94e2f4322daaa
[ "MIT" ]
null
null
null
<?php echo "<title>Tutorial and Example </title>"; // form_open() function echo form_open(); // form_fieldset() function echo form_fieldset('Student Registration form'); echo "<h2> <center> Enter your Details </center> </h2>"; echo "<hr></hr>"; $data = array( 'name' => 'uname', 'id' => 'uname', 'value' => '', 'maxlength' => '100', 'size' => '50', 'style' => 'width:50%', 'placeholder' => 'ENTER YOUR NAME', 'title' => 'Please Provide your name', ); echo "NAME : ". " ".form_input($data). "<br> <br>"; //echo "PASSWORD :". form_password echo form_label('Password :'); $password = array('name'=>'passowrd', 'id'=>'password', 'style' => 'width:50%', 'maxlength'=>'11', 'placeholder'=> 'ENTER YOUR PASSWORD'); // form_password() function echo form_password($password). "<br> <br>"; echo form_label('Email :'); echo form_input(array('id' => 'email', 'type' => 'email', 'name' => 'email', 'value'=>'', 'style' => 'width:50%', 'border' => '1', 'placeholder' => 'ENTER YOUR EMAIL-ID')); echo "<br><br>"; echo form_label('Address :'); // form_textarea() function echo form_label('Php :'); $data = array('name'=>'sunject', 'id'=>'php', 'value'=>'accept', 'checked'=>false, 'style'=>'margin:20px'); echo form_checkbox($data); echo form_label('java :'); $data = array('name'=>'subject', 'id'=>'Java', 'value'=>'java', 'checked'=> TRUE, 'style'=>'margin:20px'); echo form_checkbox($data); echo form_label('.Net :'); $data = array('name'=>'subject', 'id'=>'.Net', 'value'=>'dotNET', 'checked'=> false, 'style'=>'margin:20px'); echo " ".form_checkbox($data); echo form_label('C Programming :'); $data = array('name'=>'subject', 'id'=>'C', 'value'=>'C', 'checked'=> false, 'style'=>'margin:20px'); // form_checkbox() function echo " ".form_checkbox($data); echo form_label('CODEIGNITER :'); $data = array('name'=>'subject', 'id'=>'CODEIGNITER', 'value'=>'code', 'checked'=> TRUE, 'style'=>'margin:20px'); echo " ". form_checkbox($data). "<br>"; echo form_label('Gender :'); $data = array( 'name' => 'gender', 'id' => 'male', 'value' => 'M', // 'checked' => TRUE, 'style' => 'margin:10px' ); $data2 = array( 'name' => 'gender', 'id' => 'female', 'value' => 'F', // 'checked' => TRUE, 'style' => 'margin:10px' ); // form_radio() function echo form_label( form_radio($data)."Male"); echo form_label(form_radio($data2). "Female"."<br>" ); // form_label() and form_input() function echo form_label('Mobile No.: '); echo form_input(array('id' => 'mobile', 'name' => 'mobile', 'maxlength' => '10'))."<br></br>"; // form_dropdown() function echo form_label('Country'); $cname = array( 'USA' => 'UNITED STATE AMERICA', 'IN' => "INDIA", 'AUS' => 'AUSTRALIA', 'UK' => 'UNITED KINGDOM', 'NP' => 'NEPAL' ); echo form_dropdown("Show", $cname); echo "<br> <br>"; // form_multiselect() function echo form_label('Select Multiple Languages '. " "); $language = array( 'eng' => 'ENGLISH', 'hn' => "HINDI", 'jp' => 'JAPANESE', 'cn' => 'CHINESE', 'NP' => 'FRENCH', 'sp' => 'SPANISH' ); //$selected = array ('IN', 'USA'); echo " ".form_multiselect("Show[]", $language); echo "<br> <br>"; // form_upload() function echo form_label("Upload file:"); $upload_file = array( 'type' => 'file', 'name' => 'upload_file' ); echo form_upload($upload_file)."<br> <br>"; // form_submit() function echo form_submit('Sub', 'SAVE'); // form_reset() function $data = array('name'=>'resetbutton', 'id'=>'button', 'value'=>'RESET', 'content'=>'Reset'); echo form_reset($data); echo form_fieldset_close(); echo form_close(); ?>
33.153846
101
0.550915
20a04edccf4df6e06f0b1b14da11c726968eeff0
3,602
cs
C#
TONBRAINS.TONOPS.WebApp/Controllers/AssetsManagement/SmartContractsController.cs
mvkhokhlov/telegram_blockchain_devops
c810e6e1bcff44ad70fa418187e61e9b80483ece
[ "MIT" ]
null
null
null
TONBRAINS.TONOPS.WebApp/Controllers/AssetsManagement/SmartContractsController.cs
mvkhokhlov/telegram_blockchain_devops
c810e6e1bcff44ad70fa418187e61e9b80483ece
[ "MIT" ]
null
null
null
TONBRAINS.TONOPS.WebApp/Controllers/AssetsManagement/SmartContractsController.cs
mvkhokhlov/telegram_blockchain_devops
c810e6e1bcff44ad70fa418187e61e9b80483ece
[ "MIT" ]
null
null
null
using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Linq; using System.Text; using System.Threading.Tasks; using TONBRAINS.TONOPS.Core.DAL; using TONBRAINS.TONOPS.Core.Services; using TONBRAINS.TONOPS.WebApp.WebApp.Helpers; namespace TONBRAINS.TONOPS.WebApp.Controllers.AssetsManagement { [Route("api/smartcontracts")] public class SmartContractsController { private readonly TonOpsDbContext _context; public SmartContractsController(TonOpsDbContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); } [HttpGet("data")] public async Task<object> GetData(string libId) { var gridData = await _context.ViewSmartContracts.Where(i => i.LibId == libId).ToListAsync(); var types = await _context.SmartTypes.ToListAsync(); var libs = await _context.SmartContractsLibs.ToListAsync(); return new { GridData = gridData, Types = types.Select(i => new { i.Id, Title = i.Name }), Libs = libs.Select(i => new { i.Id, Title = i.Name }) }; } [HttpGet("single")] public async Task<SmartContract> SmartContract(string id) => await _context.SmartContracts.FirstOrDefaultAsync(q => q.Id == id && !q.IsDeleted); [HttpPost("add")] public async Task<SmartContract> AddSmartContract([FromBody] SmartContract item) { item.Id = IdGenerator.Generate(); var fileSvc = new FileSvc(); var abiFile = await fileSvc.GetFileAsync(item.AbiFileId); item.AbiJson = Encoding.UTF8.GetString(abiFile); if (!string.IsNullOrEmpty(item.SolFileId)) { var solFile = await fileSvc.GetFileAsync(item.SolFileId); item.SolJson = Encoding.UTF8.GetString(solFile); } await _context.SmartContracts.AddAsync(item); await _context.SaveChangesAsync(); return item; } [HttpPost("edit")] public async Task<SmartContract> UpdateSmartContract([FromBody] SmartContract item) { var fileSvc = new FileSvc(); var abiFile = await fileSvc.GetFileAsync(item.AbiFileId); item.AbiJson = Encoding.UTF8.GetString(abiFile); if (!string.IsNullOrEmpty(item.SolFileId)) { var solFile = await fileSvc.GetFileAsync(item.SolFileId); item.SolJson = Encoding.UTF8.GetString(solFile); } else { item.SolJson = null; } _context.SmartContracts.Update(item); await _context.SaveChangesAsync(); return item; } [HttpDelete("soft-delete")] public async Task<bool> SoftDeleteSmartContract(string id) { var rows = await _context.SmartContracts.Where(i => i.Id == id).ToListAsync(); rows.ForEach(q => q.IsDeleted = true); _context.SmartContracts.UpdateRange(rows); await _context.SaveChangesAsync(); return rows.Any(); } [HttpGet("options")] public async Task<object> GetOptions() { var smartContracts = await _context.SmartContracts.Where(i => !i.IsDeleted).ToListAsync(); return new { SmartContracts = smartContracts.Select(i => new { i.Id, Title = i.Name }) }; } } }
33.045872
152
0.58995
c0374d672526e21d22609df767dfd043077eaea0
241
cs
C#
Assets/Scripts/Models/WaveData.cs
gonzaloiv/mlgjam
e7ec067d97dcdea92ef5e59dbf7bfb3a69a3d296
[ "MIT" ]
null
null
null
Assets/Scripts/Models/WaveData.cs
gonzaloiv/mlgjam
e7ec067d97dcdea92ef5e59dbf7bfb3a69a3d296
[ "MIT" ]
null
null
null
Assets/Scripts/Models/WaveData.cs
gonzaloiv/mlgjam
e7ec067d97dcdea92ef5e59dbf7bfb3a69a3d296
[ "MIT" ]
null
null
null
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; [Serializable] public class WaveData { // Unit is banner each 10 seconds public float spawningTime; public float waveTime; }
21.909091
38
0.73029
2caf5c1b8dc245956ff70336f405b3dbb4e1d216
579
py
Python
asymmetric/singleton.py
ink-splatters/asymmetric
62ef8da05091902e343e6ca06c6bd06454c3884b
[ "MIT" ]
38
2020-10-20T13:49:17.000Z
2021-07-29T02:33:10.000Z
asymmetric/singleton.py
ink-splatters/asymmetric
62ef8da05091902e343e6ca06c6bd06454c3884b
[ "MIT" ]
19
2020-10-23T23:41:26.000Z
2021-07-07T16:11:09.000Z
asymmetric/singleton.py
ink-splatters/asymmetric
62ef8da05091902e343e6ca06c6bd06454c3884b
[ "MIT" ]
2
2020-10-28T08:03:45.000Z
2021-07-05T01:56:23.000Z
""" A module for containing the singleton metaclass for the _Asymmetric class. """ from typing import Any class AsymmetricSingleton(type): """ Singleton metaclass to limit the existance of the asymmetric object to one. """ def __call__(cls, *args: Any, **kwargs: Any) -> Any: """Defines the class creation method.""" if not hasattr(cls, "asymmetric_instance"): # Object does not exist cls.asymmetric_instance = super().__call__(*args, **kwargs) # Create object return cls.asymmetric_instance # Return asymmetric object
30.473684
88
0.680484
2f5d1fa279f92b63f83be666cd4462adcfa93e80
325
js
JavaScript
src/redux/modules/reducer.js
Venumteam/s-model-front
9a25013ac4a4281a5d5bd694d3abd57dc4e25e82
[ "MIT" ]
null
null
null
src/redux/modules/reducer.js
Venumteam/s-model-front
9a25013ac4a4281a5d5bd694d3abd57dc4e25e82
[ "MIT" ]
null
null
null
src/redux/modules/reducer.js
Venumteam/s-model-front
9a25013ac4a4281a5d5bd694d3abd57dc4e25e82
[ "MIT" ]
null
null
null
import { combineReducers } from 'redux' import { routerReducer } from 'react-router-redux' import {reducer as reduxAsyncConnect} from 'redux-async-connect' import auth from './auth' import {reducer as form} from 'redux-form' export default combineReducers({ routing: routerReducer, reduxAsyncConnect, auth, form })
23.214286
64
0.753846
b8ef2b6f465143ff6eb5d980fb3f53c0b5fd90f0
1,464
py
Python
src/gdata/acl/data.py
lqc/google-data-api
b720582a472d627a0853d02e51e13dbce4cfe6ae
[ "Apache-2.0" ]
null
null
null
src/gdata/acl/data.py
lqc/google-data-api
b720582a472d627a0853d02e51e13dbce4cfe6ae
[ "Apache-2.0" ]
null
null
null
src/gdata/acl/data.py
lqc/google-data-api
b720582a472d627a0853d02e51e13dbce4cfe6ae
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # # Copyright (C) 2009 Google Inc. # # 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. """Contains the data classes of the Google Access Control List (ACL) Extension""" __author__ = 'j.s@google.com (Jeff Scudder)' import atom.core import atom.data import gdata.data import gdata.opensearch.data GACL_TEMPLATE = '{http://schemas.google.com/acl/2007/}%s' class AclRole(atom.core.XmlElement): """Describes the role of an entry in an access control list""" _qname = GACL_TEMPLATE % 'role' value = 'value' class AclScope(atom.core.XmlElement): """Describes the scope of an entry in an access control list""" _qname = GACL_TEMPLATE % 'scope' type = 'type' value = 'value' class AclEntry(gdata.data.GDEntry): """Describes an entry in a feed of an access control list (ACL)""" scope = AclScope role = AclRole class AclFeed(gdata.data.GDFeed): """Describes a feed of an access control list (ACL)""" entry = [AclEntry]
25.684211
81
0.724727
799969d2071b41704aac1211189b79efeaa1857e
1,302
php
PHP
src/Formatter/PlainTextFormatter.php
ncou/http-error-handler
b0bc377fab4850b44b0d9885858c229c480d4315
[ "MIT" ]
null
null
null
src/Formatter/PlainTextFormatter.php
ncou/http-error-handler
b0bc377fab4850b44b0d9885858c229c480d4315
[ "MIT" ]
null
null
null
src/Formatter/PlainTextFormatter.php
ncou/http-error-handler
b0bc377fab4850b44b0d9885858c229c480d4315
[ "MIT" ]
null
null
null
<?php declare(strict_types=1); namespace Chiron\Http\ErrorHandler\Formatter; use Psr\Http\Message\ServerRequestInterface; use Throwable; //https://github.com/rudolfcms/rudolf/blob/d7cd824d8c9553fd95eea4570160a153b37fd7c4/src/component/ErrorHandler/Handler/PlainTextHandler.php // TODO : passer la classer en final ??? class PlainTextFormatter extends AbstractFormatter { /** * Get the supported content type. * * @return string */ public function contentType(): string { return 'text/plain'; } /** * Do we provide verbose information about the exception? * * @return bool */ public function isVerbose(): bool { // TODO : conditionner l'affichage de la stackstrace avec la valeur de ce booléen (qui représente le debug = true ou false). return false; } /** * Can we format the exception? * * @param \Throwable $e * * @return bool */ public function canFormat(Throwable $e): bool { return true; } /** * Render Plain-Text error. * * @param \Throwable $e * * @return string */ public function format(ServerRequestInterface $request, Throwable $e): string { return $this->getErrorDetail($e); } }
22.067797
139
0.62596
cf0705367c83c2d11397a2e7674db6f6c14b8bff
70,782
php
PHP
seller/application/views/site/pages/single_product.php
9xm/eshop
76efb12e3c3ee2bc9489c2f334fd3cc58a1057cd
[ "MIT" ]
null
null
null
seller/application/views/site/pages/single_product.php
9xm/eshop
76efb12e3c3ee2bc9489c2f334fd3cc58a1057cd
[ "MIT" ]
null
null
null
seller/application/views/site/pages/single_product.php
9xm/eshop
76efb12e3c3ee2bc9489c2f334fd3cc58a1057cd
[ "MIT" ]
null
null
null
<?php include('include/header.php'); ?> <style type="text/css"> .radio-group .radio_btn { margin: 3px 4px 3px 0; text-align: center; padding: 5px 10px !important; min-width: 40px; border-radius: 4px; } .radio_btn.selected { border-color: #ff5252; } .radio_btn.selected { border-color: #ff5252; background: #ff5252; color: #fff; } .radio_btn { display: inline-block; width: auto; height: auto; background-color: #eee; border: 2px solid #ddd; cursor: pointer; margin: 2px 1px; text-align: center; padding: 5px 15px; } .quantity { z-index: 1; position: relative; } .buttons_added { text-align: left; position: relative; white-space: nowrap; vertical-align: top; } .buttons_added .minus, .buttons_added .plus { padding: 8px; height: 35px; width: 35px; border-radius: 50%; background-color: #ff5252; color: #FFF; cursor: pointer; line-height: 50%; font-size: x-large; border: none; } .buttons_added input { display: inline-block; margin: 0; vertical-align: top; box-shadow: none; } .quantity input { width: 75px; border: 1px solid #ebebeb; border-radius: 3px; height: 36px; font-size: 16px; line-height: 34px; color: #363f4d; padding: 0 0 0 10px; } .product_qty { text-align: center !important; width: 50px !important; padding: 0px !important; } .share_product_a { color: #fff; width: 34px; height: 34px; background: #ff5252; font-size: 16px; display: block; line-height: 36px; text-align: center; border-radius: 30px; -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; } .quantity-button { background: #363f4d; box-shadow: none; border: 0; border-radius: 3px; color: #fff; display: block; font-size: 1em; font-weight: 500; height: 42px; line-height: 42px; overflow: hidden; padding: 0 20px; text-shadow: none; text-align: center; -webkit-transition: all .4s ease-out; -moz-transition: all .4s ease-out; -ms-transition: all .4s ease-out; -o-transition: all .4s ease-out; vertical-align: middle; white-space: nowrap; background: #ff5252; margin: 0; } </style> <?php $ci =& get_instance(); $single_pre_url=current_url(); $this->session->set_userdata(array('single_pre_url' => $single_pre_url)); $user_id=$this->session->userdata('user_id') ? $this->session->userdata('user_id'):'0'; $thumb_img_nm = preg_replace('/\\.[^.\\s]{3,4}$/', '', $product->featured_image); $img_file=$ci->_create_thumbnail('assets/images/products/',$thumb_img_nm,$product->featured_image,600,600); $img_file_sm=$ci->_create_thumbnail('assets/images/products/',$thumb_img_nm,$product->featured_image,200,200); $full_img='<div class="js-slide"><img class="img-fluid" src="'.base_url().$img_file.'" alt=""> </div>'; $thumb_img='<div class="js-slide" style="cursor: pointer;"><img class="img-fluid" src="'.base_url().$img_file_sm.'" alt=""></div> '; $where = array('parent_id' => $product->id,'type' => 'product'); $row_img=$ci->common_model->selectByids($where,'tbl_product_images'); foreach ($row_img as $key => $value) { $thumb_img_nm = preg_replace('/\\.[^.\\s]{3,4}$/', '', $value->image_file); $img_big=$ci->_create_thumbnail('assets/images/products/gallery/',$thumb_img_nm,$value->image_file,600,600); $img_small=$ci->_create_thumbnail('assets/images/products/gallery/',$thumb_img_nm,$value->image_file,200,200); $full_img.='<div class="js-slide"><img class="img-fluid" src="'.base_url().$img_big.'" alt=""> </div>'; $thumb_img.='<div class="js-slide" style="cursor: pointer;"><img class="img-fluid" src="'.base_url().$img_small.'" alt=""></div> '; } $size=$selected_size=$size_view=''; if($product->product_size !=''){ $i=1; foreach (explode(',', $product->product_size) as $key => $value) { $class='radio_btn'; if($ci->check_cart($product->id,$this->session->userdata('user_id'))){ $cart_size=$ci->get_single_info(array('product_id' => $product->id, 'user_id' => $this->session->userdata('user_id')),'product_size','tbl_cart'); if($cart_size==$value){ $class='radio_btn selected'; } else{ $class='radio_btn'; } } else{ if($i==1){ $class='radio_btn selected'; } else{ $class='radio_btn'; } } if($i==1){ $selected_size=$value; $size.='<div class="'.$class.'" data-value="'.$value.'">'.$value.'</div>'; $i=0; } else{ $size.='<div class="'.$class.'" data-value="'.$value.'">'.$value.'</div>'; } } $size_chart=(file_exists('assets/images/products/'.$product->size_chart) AND $product->size_chart!='') ? base_url('assets/images/products/'.$product->size_chart) : ""; if($size_chart!=''){ $size_view.='<p style="margin:0px 5px 8px">'.$this->lang->line('size_lbl').' :- </p> <div class="radio-group" style="margin-bottom:10px"> '.$size.' <input type="hidden" id="radio-value" name="product_size" value="'.$selected_size.'" /> </div>'; } else{ $size_view.=' <div class="clearfix"></div> <p style="margin:0px 5px 8px">'.$this->lang->line('size_lbl').'</p> <div class="radio-group"> '.$size.' <input type="hidden" id="radio-value" name="product_size" value="'.$selected_size.'" /> </div><br/>'; } } $is_avail=true; if($product->status==0) { $is_avail=false; } ?> <!-- ========== MAIN CONTENT ========== --> <main id="content" role="main"> <!-- breadcrumb --> <div class="bg-gray-13 bg-md-transparent"> <div class="container"> <!-- breadcrumb --> <div class="my-md-3"> <nav aria-label="breadcrumb"> <ol class="breadcrumb mb-3 flex-nowrap flex-xl-wrap overflow-auto overflow-xl-visble"> <li class="breadcrumb-item flex-shrink-0 flex-xl-shrink-1"><a href="<?php echo base_url('/'); ?>">Home</a></li> <li class="breadcrumb-item flex-shrink-0 flex-xl-shrink-1 active" aria-current="page"><?php echo $page_title; ?></li> </ol> </nav> </div> <!-- End breadcrumb --> </div> </div> <!-- End breadcrumb --> <div class="container"> <!-- Single Product Body --> <div class="mb-xl-14 mb-6"> <div class="row"> <div class="col-md-5 mb-4 mb-md-0"> <div id="sliderSyncingNav" class="js-slick-carousel u-slick mb-2" data-infinite="true" data-arrows-classes="d-none d-lg-inline-block u-slick__arrow-classic u-slick__arrow-centered--y rounded-circle" data-arrow-left-classes="fas fa-arrow-left u-slick__arrow-classic-inner u-slick__arrow-classic-inner--left ml-lg-2 ml-xl-4" data-arrow-right-classes="fas fa-arrow-right u-slick__arrow-classic-inner u-slick__arrow-classic-inner--right mr-lg-2 mr-xl-4" data-nav-for="#sliderSyncingThumb"> <?=$full_img?> </div> <div id="sliderSyncingThumb" class="js-slick-carousel u-slick u-slick--slider-syncing u-slick--slider-syncing-size u-slick--gutters-1 u-slick--transform-off" data-infinite="true" data-slides-show="5" data-is-thumbs="true" data-nav-for="#sliderSyncingNav"> <?=$thumb_img?> </div> </div> <div class="col-md-7 mb-md-6 mb-lg-0"> <div class="mb-2"> <div class="border-bottom mb-3 pb-md-1 pb-3"> <h2 class="font-size-25 text-lh-1dot2"><?=$product->product_title?></h2> <div class="mb-2"> <a class="d-inline-flex align-items-center small font-size-15 text-lh-1" href="#"> <div class="text-warning mr-2"> <?php for ($x = 0; $x < 5; $x++) { if($x < $product->rate_avg){ ?> <small class="fas fa-star"></small> <?php } else{ ?> <small class="far fa-star text-muted"></small> <?php } } ?> </div> </a> </div> </div> <div class="flex-horizontal-center flex-wrap mb-4"> <?php if(check_user_login() && $ci->is_favorite($this->session->userdata('user_id'), $product->id)){ ?> <a href="javascript:void(0)" style="color: red !important;" data-id="<?=$product->id?>" data-toggle="tooltip" title="<?=$this->lang->line('remove_wishlist_lbl')?>" class="text-gray-6 font-size-13 btn_wishlist mr-2"><i class="ec ec-favorites mr-1 font-size-15"></i> Wishlist</a> <?php } else { ?> <a href="javascript:void(0)" data-id="<?=$product->id?>" data-toggle="tooltip" title="<?=$this->lang->line('add_wishlist_lbl')?>" class="text-gray-6 font-size-13 btn_wishlist mr-2"><i class="ec ec-favorites mr-1 font-size-15"></i> Wishlist</a> <?php } ?> <?php if(check_user_login() && $ci->is_compare($this->session->userdata('user_id'), $product->id)){ ?> <a href="javascript:void(0)" style="color: red !important;" data-id="<?=$product->id?>" data-toggle="tooltip" title="Remove From Compare" class="text-gray-6 font-size-13 btn-compare mr-2"><i class="ec ec-compare mr-1 font-size-15"></i> Compare</a> <?php } else { ?> <a href="javascript:void(0)" data-id="<?=$product->id?>" data-toggle="tooltip" title="Add in Compare" class="text-gray-6 font-size-13 btn-compare mr-2"><i class="ec ec-compare mr-1 font-size-15"></i> Compare</a> <?php } ?> <ul style="margin: 0;padding: 0;"> <li style="display: inline-block;margin-right: 5px;"><a class="share_product_a" href="https://www.facebook.com/sharer/sharer.php?u=<?=current_url()?>" target="_blank"><i class="fab fa-facebook-f"></i></a></li> <li style="display: inline-block;margin-right: 5px;"><a class="share_product_a" href="https://twitter.com/intent/tweet?text=<?=$page_title?>&amp;url=<?=current_url()?>" target="_blank"><i class="fab fa-twitter"></i></a></li> <li style="display: inline-block;margin-right: 5px;"><a class="share_product_a" href="http://pinterest.com/pin/create/button/?url=<?=current_url()?>&media=<?=base_url().$img_file?>&description=<?=$page_title?>" target="_blank"><i class="fab fa-pinterest-p"></i></a></li> <li style="display: inline-block;margin-right: 5px;"><a class="share_product_a" href="https://api.whatsapp.com/send?text=<?=urlencode(current_url())?>" target="_blank" data-action="share/whatsapp/share"><i class="fab fa-whatsapp"></i></a></li> </ul> </div> <div class="flex-horizontal-center flex-wrap mb-4"> <?php if($product->offer_id!=0){ ?> <br/> <a href="javascript:void(0)" class="applied_offer_lbl" data-offer="<?=$product->offer_id?>" style="font-weight: 500;color: green;font-size: 15px"> <i class="fa fa-gift"></i> <?=$this->lang->line('applied_offer_lbl')?> <div class="offer_details" style="display: none"> <div class="row"> <div class="col-md-12"> <h4 style="text-align: left"> <strong><?=$ci->get_single_info(array('id' => $product->offer_id),'offer_title','tbl_offers')?></strong> </h4> <p style="font-weight: normal !important;"> <?=$ci->get_single_info(array('id' => $product->offer_id),'offer_desc','tbl_offers')?> </p> </div> </div> <hr style="margin: 10px auto" /> <div class="row"> <div class="col-md-4"> <p style="font-weight: normal !important;"> <strong>Discount: </strong><?=$ci->get_single_info(array('id' => $product->offer_id),'offer_percentage','tbl_offers')?>%</p> </div> </div> </div> </a> <?php } ?> </div> <p><?=$product->product_desc?></p> <div class="mb-4"> <div class="d-flex align-items-baseline"> <?php if($product->you_save_amt!='0'){ ?> <ins class="font-size-36 text-decoration-none"><?=CURRENCY_CODE.' '.number_format($product->selling_price, 2)?></ins> <del class="font-size-20 ml-2 text-gray-6"><?=CURRENCY_CODE.' '.number_format($product->product_mrp, 2);?></del> <?php } else{ ?> <ins class="font-size-36 text-decoration-none"><?=CURRENCY_CODE.' '.number_format($product->product_mrp, 2);?></ins> <?php } ?> </div> </div> <?php if($product->color!=''){ $color_arr=explode('/', $product->color); $color_name=$color_arr[0]; $color_code=$color_arr[1]; ?> <div class="border-top border-bottom py-3 mb-4"> <div class="d-flex align-items-center"> <h6 class="font-size-14 mb-0"><?=$this->lang->line('colour_lbl') ?> : <?php echo $color_name; ?></h6> <!-- Select --> <!-- <select class="js-select selectpicker dropdown-select ml-3" data-style="btn-sm bg-white font-weight-normal py-2 border"> <option value="one" selected>White with Gold</option> <option value="two">Red</option> <option value="three">Green</option> <option value="four">Blue</option> </select> --> <!-- End Select --> </div> </div> <?php } ?> <?php if($product->other_color_product!='') { $thumb_img_nm = preg_replace('/\\.[^.\\s]{3,4}$/', '', $product->featured_image); $img_color_sm='assets/images/products/'.$product->featured_image; ?> <div class="border-top border-bottom py-3 mb-4"> <div class="d-flex align-items-center"> <h6 class="font-size-14 mb-0"><?=$this->lang->line('colour_lbl') ?> :- </h6> <a href="<?php echo site_url('product/'.$product->product_slug); ?>" title="<?=$color_name?>"> <div class="text-center" style="auto;"> <div class="container-fluid" style="border: 2px solid #ff5252;padding: 2px;border-radius:6px;"> <img src="<?=base_url().$img_color_sm?>" style="border-radius:4px;height: 80px;width: 80px;"> </div> </div> </a> <?php $ids=explode(',', $product->other_color_product); foreach ($ids as $key => $value) { $product_slug=$ci->get_single_info(array('id' => $value),'product_slug','tbl_product'); $featured_image=$ci->get_single_info(array('id' => $value),'featured_image','tbl_product'); $thumb_img_nm = preg_replace('/\\.[^.\\s]{3,4}$/', '', $featured_image); $img_color_sm='assets/images/products/'.$featured_image; $color_arr=explode('/', $ci->get_single_info(array('id' => $value),'color','tbl_product')); $color_name=$color_arr[0]; if($product_slug != '') { ?> <a href="<?php echo site_url('product/'.$product_slug); ?>" title="<?=$color_name?>" style="float:left"> <div class="text-center" style="width: auto;"> <div class="container-fluid" style="border: 2px solid #eee;padding: 2px;border-radius:6px;"> <img src="<?=base_url().$img_color_sm?>" style="border-radius:4px;height: 80px;width: 80px;"> </div> </div> </a> <?php } } ?> </div> </div> <?php } ?> <form action="<?=base_url('site/add_to_cart')?>" method="post" id="cartForm2"> <?php if($size_view != '') { ?> <div class="border-top border-bottom py-3 mb-4"> <div class="d-flex align-items-center"> <?php echo $size_view; ?> </div> </div> <?php } ?> <div class="d-md-flex align-items-end mb-3"> <div class="mb-2 col-md-3" style="width: 50%;"> <h6 class="font-size-14">Quantity</h6> <!-- Quantity --> <div class="quantity"> <input type="hidden" name="user_id" value="<?=$this->session->userdata('user_id')?>"> <input type="hidden" name="max_unit_buy" value="<?=$product->max_unit_buy ? $product->max_unit_buy: '1'?>" class="max_unit_buy"> <input type="hidden" name="preview_url" value="<?=current_url()?>"> <input type="hidden" name="product_id" value="<?=$product->id?>" /> <div class="buttons_added"> <input type="button" value="-" class="minus"> <input class="input-text product_qty" name="product_qty" value="<?php if($ci->check_cart($product->id,$this->session->userdata('user_id'))){ echo $ci->get_single_info(array('product_id' => $product->id, 'user_id' => $this->session->userdata('user_id')),'product_qty','tbl_cart'); }else{ echo '1'; } ?>" type="text" min="1" max="<?=$product->max_unit_buy ? $product->max_unit_buy: '1'?>" onkeypress="return isNumberKey(event)" readonly=""> <input type="button" value="+" class="plus"> </div> <div class="clearfix"></div> </div> <!-- End Quantity --> </div> <div class="col-md-3 mb-2"> <button class="quantity-button btn-add-cart btn px-2 btn-primary-dark transition-3d-hover" type="submit" style="width:auto;" data-id="<?=$product->id?>" data-maxunit="<?=$product->max_unit_buy?>" data-toggle="tooltip"><i class="ec ec-add-to-cart mr-2 font-size-20"></i><?php if($ci->check_cart($product->id,$this->session->userdata('user_id'))){ echo $this->lang->line('update_cart_btn'); }else{ echo $this->lang->line('add_cart_btn'); } ?></button> </div> </form> <div class="col-md-3 mb-2"> <form action="<?=site_url('buy-now')?>" id="buy_now_form" action="post"> <input type="hidden" name="product" value="<?=$product->product_slug?>"> <input type="hidden" name="size" value=""> <input type="hidden" name="qty" value=""> <input type="hidden" name="chkout_ref" value="<?=uniqid('chkref_')?>"> <button class="btn px-5 btn-primary-dark transition-3d-hover quantity-button" type="submit" id="buy_now_btn"><?=$this->lang->line('buy_now_btn');?></button> </form> </div> </div> </div> </div> </div> </div> <!-- End Single Product Body --> <!-- Single Product Tab --> <div class="mb-8"> <div class="position-relative position-md-static px-md-6"> <ul class="nav nav-classic nav-tab nav-tab-lg flex-nowrap flex-xl-wrap overflow-auto overflow-xl-visble border-0 pb-1 pb-xl-0 mb-n1 mb-xl-0" id="pills-tab-8" role="tablist"> <li class="nav-item flex-shrink-0 flex-xl-shrink-1 z-index-2"> <a class="nav-link " id="Jpills-three-example1-tab" data-toggle="pill" href="#Jpills-three-example1" role="tab" aria-controls="Jpills-three-example1" aria-selected="false">Specification</a> </li> <li class="nav-item flex-shrink-0 flex-xl-shrink-1 z-index-2"> <a class="nav-link active" id="Jpills-four-example1-tab" data-toggle="pill" href="#Jpills-four-example1" role="tab" aria-controls="Jpills-four-example1" aria-selected="false">Rating & Reviews</a> </li> </ul> </div> <!-- Tab Content --> <div class="borders-radius-17 border p-4 mt-4 mt-md-0 px-lg-10 py-lg-9"> <div class="tab-content" id="Jpills-tabContent"> <div class="tab-pane fade " id="Jpills-three-example1" role="tabpanel" aria-labelledby="Jpills-three-example1-tab"> <div class="mx-md-5 pt-1"> <?=$product->product_features?> </div> </div> <div class="tab-pane fade active show" id="Jpills-four-example1" role="tabpanel" aria-labelledby="Jpills-four-example1-tab"> <?php $totrating = $this->db->get_where('tbl_rating',array('product_id'=>$product->id))->num_rows(); $productrating5 = $this->db->get_where('tbl_rating',array('product_id'=>$product->id,'rating'=>5))->num_rows(); $productrating4 = $this->db->get_where('tbl_rating',array('product_id'=>$product->id,'rating'=>4))->num_rows(); $productrating3 = $this->db->get_where('tbl_rating',array('product_id'=>$product->id,'rating'=>3))->num_rows(); $productrating2 = $this->db->get_where('tbl_rating',array('product_id'=>$product->id,'rating'=>2))->num_rows(); $productrating1 = $this->db->get_where('tbl_rating',array('product_id'=>$product->id,'rating'=>1))->num_rows(); /*if(empty($productrating5)) { $productrating5 = 0; }*/ if($productrating5 > 0 and $totrating > 0) { $fdgfg = $productrating5/$totrating * 100; } else { $fdgfg = 0; } if($productrating4 > 0 and $totrating > 0) { $fdgfg1 = $productrating4/$totrating * 100; } else { $fdgfg1 = 0; } if($productrating3 > 0 and $totrating > 0) { $fdgfg2 = $productrating3/$totrating * 100; } else { $fdgfg2 = 0; } if($productrating2 > 0 and $totrating > 0) { $fdgfg3 = $productrating2/$totrating * 100; } else { $fdgfg3 = 0; } if($productrating1 > 0 and $totrating > 0) { $fdgfg4 = $productrating1/$totrating * 100; } else { $fdgfg4 = 0; } ?> <div class="row mb-8"> <div class="col-md-6"> <div class="mb-3"> <h3 class="font-size-18 mb-6">Rating</h3> <h2 class="font-size-30 font-weight-bold text-lh-1 mb-0"> <?php if($productrating5 > 0 || $productrating4 > 0 || $productrating3 > 0 || $productrating2 > 0 || $productrating1 > 0) { echo number_format((5*$productrating5 + 4*$productrating4 + 3*$productrating3 + 2*$productrating2 + 1*$productrating1) / ($productrating5 + $productrating4 + $productrating3 + $productrating2 + $productrating1), 1); } else { } ?> </h2> <div class="text-lh-1">overall</div> </div> <!-- Ratings --> <ul class="list-unstyled"> <li class="py-1"> <a class="row align-items-center mx-gutters-2 font-size-1" href="javascript:;"> <div class="col-auto mb-2 mb-md-0"> <div class="text-warning text-ls-n2 font-size-16" style="width: 80px;"> <small class="fas fa-star"></small> <small class="fas fa-star"></small> <small class="fas fa-star"></small> <small class="fas fa-star"></small> <small class="fas fa-star"></small> </div> </div> <div class="col-auto mb-2 mb-md-0"> <div class="progress ml-xl-5" style="height: 10px; width: 200px;"> <div class="progress-bar" role="progressbar" style="width: <?= $fdgfg ?>%;background: green;" aria-valuenow="<?= $fdgfg ?>" aria-valuemin="0" aria-valuemax="100"></div> </div> </div> <div class="col-auto text-right"> <span class="text-gray-90"><?= $productrating5; ?></span> </div> </a> </li> <li class="py-1"> <a class="row align-items-center mx-gutters-2 font-size-1" href="javascript:;"> <div class="col-auto mb-2 mb-md-0"> <div class="text-warning text-ls-n2 font-size-16" style="width: 80px;"> <small class="fas fa-star"></small> <small class="fas fa-star"></small> <small class="fas fa-star"></small> <small class="fas fa-star"></small> <small class="far fa-star text-muted"></small> </div> </div> <div class="col-auto mb-2 mb-md-0"> <div class="progress ml-xl-5" style="height: 10px; width: 200px;"> <div class="progress-bar" role="progressbar" style="width: <?= $fdgfg1 ?>%;background: green;" aria-valuenow="<?= $fdgfg ?>" aria-valuemin="0" aria-valuemax="100"></div> </div> </div> <div class="col-auto text-right"> <span class="text-gray-90"><?= $productrating4; ?></span> </div> </a> </li> <li class="py-1"> <a class="row align-items-center mx-gutters-2 font-size-1" href="javascript:;"> <div class="col-auto mb-2 mb-md-0"> <div class="text-warning text-ls-n2 font-size-16" style="width: 80px;"> <small class="fas fa-star"></small> <small class="fas fa-star"></small> <small class="fas fa-star"></small> <small class="far fa-star text-muted"></small> <small class="far fa-star text-muted"></small> </div> </div> <div class="col-auto mb-2 mb-md-0"> <div class="progress ml-xl-5" style="height: 10px; width: 200px;"> <div class="progress-bar" role="progressbar" style="width: <?= $fdgfg2 ?>%;background: green;" aria-valuenow="<?= $fdgfg ?>" aria-valuemin="0" aria-valuemax="100"></div> </div> </div> <div class="col-auto text-right"> <span class="text-gray-90"><?= $productrating3; ?></span> </div> </a> </li> <li class="py-1"> <a class="row align-items-center mx-gutters-2 font-size-1" href="javascript:;"> <div class="col-auto mb-2 mb-md-0"> <div class="text-warning text-ls-n2 font-size-16" style="width: 80px;"> <small class="fas fa-star"></small> <small class="fas fa-star"></small> <small class="far fa-star text-muted"></small> <small class="far fa-star text-muted"></small> <small class="far fa-star text-muted"></small> </div> </div> <div class="col-auto mb-2 mb-md-0"> <div class="progress ml-xl-5" style="height: 10px; width: 200px;"> <div class="progress-bar" role="progressbar" style="width: <?= $fdgfg3 ?>%;background: yellow;" aria-valuenow="<?= $fdgfg ?>" aria-valuemin="0" aria-valuemax="100"></div> </div> </div> <div class="col-auto text-right"> <span class="text-gray-90"><?= $productrating2; ?></span> </div> </a> </li> <li class="py-1"> <a class="row align-items-center mx-gutters-2 font-size-1" href="javascript:;"> <div class="col-auto mb-2 mb-md-0"> <div class="text-warning text-ls-n2 font-size-16" style="width: 80px;"> <small class="fas fa-star"></small> <small class="far fa-star text-muted"></small> <small class="far fa-star text-muted"></small> <small class="far fa-star text-muted"></small> <small class="far fa-star text-muted"></small> </div> </div> <div class="col-auto mb-2 mb-md-0"> <div class="progress ml-xl-5" style="height: 10px; width: 200px;"> <div class="progress-bar" role="progressbar" style="width: <?= $fdgfg4 ?>%;background: red;" aria-valuenow="<?= $fdgfg ?>" aria-valuemin="0" aria-valuemax="100"></div> </div> </div> <div class="col-auto text-right"> <span class="text-gray-90"><?= $productrating1; ?></span> </div> </a> </li> </ul> <!-- End Ratings --> </div> <div class="col-md-6"> <h3 class="font-size-18 mb-5">Add a review</h3> <form action="<?=base_url('site/product_review')?>" id="review-form" method="post"> <input type="hidden" name="product_id" value="<?=$product->id?>"> <div class="row"> <div class="col-md-12"> <fieldset class="rating"> <input type="radio" id="star5" name="rating" value="5" required/> <label for="star5" title="Rocks!">5 <small class="fas fa-star"></small></label> <input type="radio" id="star4" name="rating" value="4" required/> <label for="star4" title="Pretty good">4 <small class="fas fa-star"></small></label> <input type="radio" id="star3" name="rating" value="3" required/> <label for="star3" title="Meh">3 <small class="fas fa-star"></small></label> <input type="radio" id="star2" name="rating" value="2" required/> <label for="star2" title="Kinda bad">2 <small class="fas fa-star"></small></label> <input type="radio" id="star1" name="rating" value="1" required/> <label for="star1" title="Sucks big time">1 <small class="fas fa-star"></small></label> </fieldset> </div> <div class="col-md-12"> <div class="form-group mb-2"> <label>Review <span class="text-danger">*</span></label> <textarea cols="5" rows="6" class="form-control form-control-sm" name="message" required=""></textarea> </div><!-- End .form-group --> </div> <div class="row"> <div class="offset-md-4 offset-lg-3 col-auto"> <button type="submit" class="btn btn-primary-dark btn-wide transition-3d-hover">Add Review</button> </div> </div> </div> </form> </div> </div> <?php if($totrating > 0) { $totrating = $this->db->get_where('tbl_rating',array('product_id'=>$product->id))->result(); foreach($totrating as $key) { ?> <!-- Review --> <div class="border-bottom border-color-1 pb-4 mb-4"> <!-- Review Rating --> <div class="d-flex justify-content-between align-items-center text-secondary font-size-1 mb-2"> <div class="text-warning text-ls-n2 font-size-16" style="width: 80px;"> <?php for ($x = 0; $x < 5; $x++) { if($x < $key->rating){ ?> <small class="fas fa-star"></small> <?php } else{ ?> <small class="far fa-star text-muted"></small> <?php } } ?> </div> </div> <!-- End Review Rating --> <p class="text-gray-90"><?=nl2br(stripslashes($key->rating_desc))?></p> <!-- Reviewer --> <div class="mb-2"> <strong><?=$this->common_model->selectByidParam($key->user_id, 'tbl_users','user_name'); ?></strong> <span class="font-size-13 text-gray-23">- <?=date('F d, Y',strtotime($key->created_at));?></span> </div> <!-- End Reviewer --> </div> <?php } } else { ?> <div class="border-bottom border-color-1 pb-4 mb-4"> <!-- Review Rating --> <div class="d-flex justify-content-between align-items-center text-secondary font-size-1 mb-2"> <div class="text-default text-ls-n2 font-size-16" style="width: 80px;"> <h2 class="reviews-title">No Reviews</h2> </div> </div> </div> <?php } ?> <!-- End Review --> </div> </div> </div> <!-- End Tab Content --> </div> <!-- End Single Product Tab --> <!-- Related products --> <div class="mb-6"> <div class="d-flex justify-content-between align-items-center border-bottom border-color-1 flex-lg-nowrap flex-wrap mb-4"> <h3 class="section-title mb-0 pb-2 font-size-22"><?=$this->lang->line('related_product_lbl')?></h3> </div> <ul class="row list-unstyled products-group no-gutters"> <?php $n = 1; foreach ($related_products as $key => $row) { if($n > 5) { break; } $n++; $thumb_img_nm = preg_replace('/\\.[^.\\s]{3,4}$/', '', $row->featured_image); $img_file=$ci->_create_thumbnail('assets/images/products/',$thumb_img_nm,$row->featured_image,250,250); $is_avail=true; if($row->status==0) { $is_avail=false; } ?> <li class="col-6 col-md-3 col-xl-2gdot4-only col-wd-2 product-item"> <div class="product-item__outer h-100"> <div class="product-item__inner px-xl-4 p-3"> <div class="product-item__body pb-xl-2"> <h5 class="mb-1 product-item__title"><a href="<?php echo site_url('product/'.$row->product_slug); ?>" title="<?=$row->product_title?>" class="text-blue font-weight-bold"><?php if(strlen($row->product_title) > 15){ echo substr(stripslashes($row->product_title), 0, 15).'...'; }else{ echo $row->product_title; } ?> </a> </h5> <div class="mb-2"> <a href="<?php echo site_url('product/'.$row->product_slug); ?>" class="d-block text-center"><img class="img-fluid" src="<?=base_url().$img_file?>" alt="Image Description"></a> </div> <div class="flex-center-between mb-1"> <div class="prodcut-price"> <?php for ($x = 0; $x < 5; $x++) { if($x < $row->rate_avg){ ?> <i class="fa fa-star" style="color: #F9BA48;font-size:14px;"></i> <?php } else{ ?> <i class="fa fa-star" style="font-size:14px;"></i> <?php } } ?> <?php if($row->you_save_amt!='0') { ?> <div class="text-gray-100"><?=CURRENCY_CODE.' '.number_format($row->selling_price, 2)?></div> <?php } else { ?> <div class="text-gray-100"><?=CURRENCY_CODE.' '.number_format($row->product_mrp, 2)?></div> <?php } ?> </div> <?php $user_id=$this->session->userdata('user_id') ? $this->session->userdata('user_id'):'0'; if(!$ci->check_cart($row->id,$user_id)){ ?> <div class="prodcut-add-cart"> <a href="javascript:void(0)" data-id="<?=$row->id?>" data-maxunit="<?=$row->max_unit_buy?>" data-toggle="tooltip" title="<?=$this->lang->line('add_cart_lbl')?>" class="btn-add-cart btn-primary transition-3d-hover"><i class="ec ec-add-to-cart"></i></a> </div> <?php } else { $cart_id=$ci->get_single_info(array('product_id' => $row->id, 'user_id' => $user_id),'id','tbl_cart'); ?> <div class="prodcut-add-cart"> <a href="<?php echo site_url('remove-to-cart/'.$cart_id); ?>" style="background-color: red;" title="<?=$this->lang->line('remove_cart_lbl')?>" class=" btn_remove_cart btn-add-cart btn-primary transition-3d-hover"><i class="ec ec-add-to-cart"></i></a> </div> <?php } ?> </div> </div> <div class="product-item__footer"> <div class="border-top pt-2 flex-center-between flex-wrap"> <?php if(check_user_login() && $ci->is_compare($this->session->userdata('user_id'), $row->id)){ ?> <a href="javascript:void(0)" style="color: red !important;" data-id="<?=$row->id?>" data-toggle="tooltip" title="Remove From Compare" class="text-gray-6 font-size-13 btn-compare"><i class="ec ec-compare mr-1 font-size-15"></i> Compare</a> <?php } else { ?> <a href="javascript:void(0)" data-id="<?=$row->id?>" data-toggle="tooltip" title="Add in Compare" class="text-gray-6 font-size-13 btn-compare"><i class="ec ec-compare mr-1 font-size-15"></i> Compare</a> <?php } ?> <?php if(check_user_login() && $ci->is_favorite($this->session->userdata('user_id'), $row->id)){ ?> <a href="javascript:void(0)" style="color: red !important;" data-id="<?=$row->id?>" data-toggle="tooltip" title="<?=$this->lang->line('remove_wishlist_lbl')?>" class="text-gray-6 font-size-13 btn_wishlist"><i class="ec ec-favorites mr-1 font-size-15"></i> Wishlist</a> <?php } else { ?> <a href="javascript:void(0)" data-id="<?=$row->id?>" data-toggle="tooltip" title="<?=$this->lang->line('add_wishlist_lbl')?>" class="text-gray-6 font-size-13 btn_wishlist"><i class="ec ec-favorites mr-1 font-size-15"></i> Wishlist</a> <?php } ?> </div> </div> </div> </div> </li> <?php }?> </ul> </div> <!-- End Related products --> </div> <div id="offer_details" class="modal" style="z-index: 9999999;background: rgba(0,0,0,0.5);overflow-y: auto;"> <div class="modal-dialog modal-confirm"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title" style="font-weight: 600"><?=$this->lang->line('offer_details_lbl')?></h4> <button type="button" class="close" data-dismiss="modal">&times;</button> </div> <div class="modal-body" style="padding:0px;padding-top:15px;"> </div> </div> </div> </div> </main> <!-- ========== END MAIN CONTENT ========== --> <?php include('include/footer.php'); ?> <script type="text/javascript"> // submit review form $("#review-form").submit(function(e){ e.preventDefault(); var formData = new FormData($(this)[0]); $.ajax({ url:$(this).attr("action"), processData: false, contentType: false, type: 'POST', data: formData, success: function(data){ var obj = $.parseJSON(data); if(obj.success=='1'){ location.reload(); } else{ swal("<?=$this->lang->line('something_went_wrong_err')?>"); } } }); }); $(document).ready(function(e){ $("#buy_now_form").find("input[name='size']").val($("input[name='product_size']").val()); $("#buy_now_form").find("input[name='qty']").val($("input[name='product_qty']").val()); }); $('.radio-group .radio_btn').click(function(){ $(this).parent().find('.radio_btn').removeClass('selected'); $(this).addClass('selected'); var val = $(this).attr('data-value'); $(this).parent().find('input').val(val); var size = $("input[name='product_size']").val(); $("#buy_now_form").find("input[name='size']").val(size); }); $(".btn_remove_img").click(function(e){ e.preventDefault(); var _ele=$(this).parent(".review_img_holder"); var href = '<?=base_url()?>site/remove_review_image'; var id=$(this).data("id"); swal({ title: "<?=$this->lang->line('are_you_sure_msg')?>", type: "warning", showCancelButton: true, confirmButtonClass: "btn-danger btn_edit", cancelButtonClass: "btn-warning btn_edit", confirmButtonText: "Yes", cancelButtonText: "No", closeOnConfirm: false, closeOnCancel: false, showLoaderOnConfirm: true }, function(isConfirm) { if (isConfirm) { $.ajax({ url:href, data: {"id": id}, type:'post', success:function(res){ var obj = $.parseJSON(res); swal.close(); if(obj.success==1){ _ele.remove(); $('.notifyjs-corner').empty(); $.notify( obj.message, { position:"top center",className: obj.class } ); } else{ swal("<?=$this->lang->line('something_went_wrong_err')?>"); } } }); }else{ swal.close(); } }); }); $(document).ready(function() { var showChar = 200; var ellipsestext = "..."; var moretext = '<?=$this->lang->line("show_more_lbl")?> <i class="fa fa-chevron-right" style="font-size: 12px"></i>'; var lesstext = '<?=$this->lang->line("show_less_lbl")?> <i class="fa fa-chevron-left" style="font-size: 12px"></i>'; $('.more').each(function() { var content = $.trim($(this).text()); if(content.length > showChar) { var c = content.substr(0, showChar); var h = content.substr(showChar, content.length - showChar); var html = c + '<span class="moreellipses">' + ellipsestext+ '&nbsp;</span><span class="morecontent"><span>' + h + '</span><a href="" class="morelink">' + moretext + '</a></span>'; $(this).html(html); } }); $(".morelink").click(function(){ if($(this).hasClass("less")) { $(this).removeClass("less"); $(this).html(moretext); } else { $(this).addClass("less"); $(this).html(lesstext); } $(this).parent().prev().toggle(); $(this).prev().toggle(); return false; }); $("#cartForm2").submit(function(event){ event.preventDefault(); $(".process_loader").show(); var formData = $(this).serialize(); var _form=$(this); $.ajax({ type: 'POST', url: $(this).attr('action'), data: formData }) .done(function(response) { var res = $.parseJSON(response); $(".process_loader").hide(); if(res.success=='1'){ swal({ title: "<?=$this->lang->line('done_lbl')?>", text: res.msg, type: "success" }, function(){ location.reload(); }); } else if(res.success=='0'){ window.location.href='<?=base_url()?>login-register'; } }) .fail(function(response) { $(".process_loader").hide(); swal("<?=$this->lang->line('something_went_wrong_err')?>"); }); }); }); // for size chart modal open $(".size_chart").click(function(e){ e.preventDefault(); $(".size_chart_img").hide(); $(".no_data").hide(); if($(this).data("img")==''){ $(".no_data").show(); } else{ $(".size_chart_img").show(); $(".size_chart_img").attr("src",$(this).data("img")); } $("#size_chart").modal("show") }); $(".applied_offer_lbl").click(function(e){ e.preventDefault(); var content=$(this).find(".offer_details").html(); $("#offer_details .modal-body").html(content) $("#offer_details").modal("show"); }); function showReviewNotAllow(){ $('.notifyjs-corner').empty(); $.notify("<?=$this->lang->line('review_not_allow_lbl')?>", { position:"top center",className: 'error' }); } $("#buy_now_form").submit(function() { $(this).children(':input[value=""]').attr("disabled", "disabled"); return true; // ensure form still submits }); </script> <?php if($this->session->flashdata('cart_msg')) { $message = $this->session->flashdata('cart_msg'); ?> <script type="text/javascript"> var _msg='<?=$message['message']?>'; var _class='<?=$message['class']?>'; $('.notifyjs-corner').empty(); $.notify( _msg, { position:"top center",className: _class } ); </script> <?php unset($_SESSION['cart_msg']); } ?> <?php if($this->session->flashdata('response_msg')) { $message = $this->session->flashdata('response_msg'); ?> <script type="text/javascript"> var _msg='<?=$message['message']?>'; var _class='<?=$message['class']?>'; $('.notifyjs-corner').empty(); $.notify( _msg, { position:"top center",className: _class } ); </script> <?php unset($_SESSION['response_msg']); } ?>
57.640065
495
0.335212
43884b316fd4c153bc6c4d3d0b590606f65d37d8
604
tsx
TypeScript
src/components/comp-grid-brand-card/styles/SCompGridBrandCardDescription.tsx
caisy-io/demo-project-nextjs
9f521406e54292cce88f200d4cf009c595c4b140
[ "MIT" ]
null
null
null
src/components/comp-grid-brand-card/styles/SCompGridBrandCardDescription.tsx
caisy-io/demo-project-nextjs
9f521406e54292cce88f200d4cf009c595c4b140
[ "MIT" ]
null
null
null
src/components/comp-grid-brand-card/styles/SCompGridBrandCardDescription.tsx
caisy-io/demo-project-nextjs
9f521406e54292cce88f200d4cf009c595c4b140
[ "MIT" ]
null
null
null
import styled, { css } from "styled-components"; import { MIN_SILVER, MIN_GOLD, MIN_PLATINUM, MIN_DIAMOND, } from "../../../constants/styles/mediaquerys"; const Bronze = css` font-family: Roboto; font-size: 14px; line-height: 140%; letter-spacing: 0.005em; color: rgba(29, 0, 84, 0.7); `; const Silver = css` width: 75.87%; `; const Gold = css``; const Platinum = css``; const Diamond = css``; export const SCompGridBrandCardDescription = styled.p` ${Bronze} ${MIN_SILVER`${Silver}`}; ${MIN_GOLD`${Gold}`}; ${MIN_PLATINUM`${Platinum}`}; ${MIN_DIAMOND`${Diamond}`}; `;
17.764706
54
0.640728
a13210a5ae1b68d41b7055a17be1535ed4e5e909
111
ts
TypeScript
label_studio/frontend/src/providers/CurrentUser.d.ts
xhuaustc/label-studio
b787824a9e16f488a9b4cd2cef83e1ac526a64f3
[ "Apache-2.0" ]
8,264
2019-06-25T23:08:05.000Z
2022-03-31T18:48:34.000Z
label_studio/frontend/src/providers/CurrentUser.d.ts
xhuaustc/label-studio
b787824a9e16f488a9b4cd2cef83e1ac526a64f3
[ "Apache-2.0" ]
1,446
2019-08-02T13:46:25.000Z
2022-03-31T23:09:32.000Z
label_studio/frontend/src/providers/CurrentUser.d.ts
xhuaustc/label-studio
b787824a9e16f488a9b4cd2cef83e1ac526a64f3
[ "Apache-2.0" ]
1,092
2019-07-02T16:36:35.000Z
2022-03-31T20:01:19.000Z
import { APIFullUser } from "../../types/User"; declare const useCurrentUser: () => { user: APIFullUser, };
18.5
47
0.63964
7f541dd424a5454760ad5aaa889e2ea5e616bbb6
45
php
PHP
hphp/hack/test/hackfmt/tests/file_attribute_specifications.php
donsbot/hhvm
ac98a590f75c569e1249b6c1145c7512c7bd240e
[ "PHP-3.01", "Zend-2.0" ]
9,491
2015-01-01T00:30:28.000Z
2022-03-31T20:22:11.000Z
hphp/hack/test/hackfmt/tests/file_attribute_specifications.php
donsbot/hhvm
ac98a590f75c569e1249b6c1145c7512c7bd240e
[ "PHP-3.01", "Zend-2.0" ]
4,796
2015-01-01T00:26:31.000Z
2022-03-31T01:09:05.000Z
hphp/hack/test/hackfmt/tests/file_attribute_specifications.php
donsbot/hhvm
ac98a590f75c569e1249b6c1145c7512c7bd240e
[ "PHP-3.01", "Zend-2.0" ]
2,126
2015-01-01T11:13:29.000Z
2022-03-28T19:58:15.000Z
<?hh // strict <<file: MyAttribute('foo')>>
11.25
28
0.577778
6dd2f979f579a57d2c45d4c5fb30d41f0a5fea71
2,507
h
C
platform/base/hal/micro/cortexm3/em35x/em3555/wake-gpio.h
lenloe1/v2.7
9ac9c4a7bb37987af382c80647f42d84db5f2e1d
[ "Zlib" ]
null
null
null
platform/base/hal/micro/cortexm3/em35x/em3555/wake-gpio.h
lenloe1/v2.7
9ac9c4a7bb37987af382c80647f42d84db5f2e1d
[ "Zlib" ]
1
2020-08-25T02:36:22.000Z
2020-08-25T02:36:22.000Z
platform/base/hal/micro/cortexm3/em35x/em3555/wake-gpio.h
lenloe1/v2.7
9ac9c4a7bb37987af382c80647f42d84db5f2e1d
[ "Zlib" ]
1
2020-08-25T01:56:04.000Z
2020-08-25T01:56:04.000Z
/***************************************************************************//** * @file * @brief Condense WAKE_ON_P* macros into port-specific and monolithic macros. * THIS IS A GENERATED FILE. DO NOT EDIT. ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> ******************************************************************************* * * The licensor of this software is Silicon Laboratories Inc. Your use of this * software is governed by the terms of Silicon Labs Master Software License * Agreement (MSLA) available at * www.silabs.com/about-us/legal/master-software-license-agreement. This * software is distributed to you in Source Code format and is governed by the * sections of the MSLA applicable to Source Code. * ******************************************************************************/ #ifndef __WAKE_GPIO_H__ #define __WAKE_GPIO_H__ // create some handy macros for referring to whole ports #define EMBER_WAKE_PORT_A \ ((WAKE_ON_PA0 << _GPIO_P_IN_Px0_SHIFT) \ | (WAKE_ON_PA1 << _GPIO_P_IN_Px1_SHIFT) \ | (WAKE_ON_PA2 << _GPIO_P_IN_Px2_SHIFT) \ | (WAKE_ON_PA3 << _GPIO_P_IN_Px3_SHIFT) \ | (WAKE_ON_PA4 << _GPIO_P_IN_Px4_SHIFT) \ | (WAKE_ON_PA5 << _GPIO_P_IN_Px5_SHIFT) \ | (WAKE_ON_PA7 << _GPIO_P_IN_Px7_SHIFT) \ ) #define EMBER_WAKE_PORT_B \ ((WAKE_ON_PB0 << _GPIO_P_IN_Px0_SHIFT) \ | (WAKE_ON_PB1 << _GPIO_P_IN_Px1_SHIFT) \ | (WAKE_ON_PB2 << _GPIO_P_IN_Px2_SHIFT) \ | (WAKE_ON_PB3 << _GPIO_P_IN_Px3_SHIFT) \ | (WAKE_ON_PB4 << _GPIO_P_IN_Px4_SHIFT) \ | (WAKE_ON_PB7 << _GPIO_P_IN_Px7_SHIFT) \ ) #define EMBER_WAKE_PORT_C \ ((WAKE_ON_PC0 << _GPIO_P_IN_Px0_SHIFT) \ | (WAKE_ON_PC1 << _GPIO_P_IN_Px1_SHIFT) \ | (WAKE_ON_PC2 << _GPIO_P_IN_Px2_SHIFT) \ | (WAKE_ON_PC3 << _GPIO_P_IN_Px3_SHIFT) \ | (WAKE_ON_PC4 << _GPIO_P_IN_Px4_SHIFT) \ | (WAKE_ON_PC5 << _GPIO_P_IN_Px5_SHIFT) \ | (WAKE_ON_PC6 << _GPIO_P_IN_Px6_SHIFT) \ | (WAKE_ON_PC7 << _GPIO_P_IN_Px7_SHIFT) \ ) // A monolithic constant for all GPIO wake sources #define EMBER_WAKE_GPIO_BITMASK_ARRAY { \ EMBER_WAKE_PORT_A, \ EMBER_WAKE_PORT_B, \ EMBER_WAKE_PORT_C, \ 0, \ 0, \ 0, \ } #endif // __WAKE_GPIO_H__
39.171875
80
0.56442
c67c3cff82040a1ee3c5b67da9b8bf77bb1e5c1c
2,350
py
Python
apps/abstract_models.py
kevingduck/transmission
c29ae529c02c885cdb0e64a35d7d4750ab1b8001
[ "Apache-2.0" ]
19
2018-09-04T14:49:01.000Z
2020-06-09T22:13:10.000Z
apps/abstract_models.py
kevingduck/transmission
c29ae529c02c885cdb0e64a35d7d4750ab1b8001
[ "Apache-2.0" ]
50
2018-09-18T17:28:57.000Z
2021-01-09T16:18:45.000Z
apps/abstract_models.py
kevingduck/transmission
c29ae529c02c885cdb0e64a35d7d4750ab1b8001
[ "Apache-2.0" ]
4
2019-12-15T13:44:18.000Z
2021-06-09T20:39:54.000Z
""" Copyright 2020 ShipChain, Inc. 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. """ from django.contrib.gis.db.models import GeometryField from django.core.validators import MaxValueValidator, MinValueValidator from django.db import models from shipchain_common.utils import AliasField, random_id class AbstractTelemetryData(models.Model): """ Base model fields and meta data for Telemetry Will be extended with FKs in child models """ id = models.CharField(primary_key=True, default=random_id, max_length=36) created_at = models.DateTimeField(auto_now_add=True) timestamp = models.DateTimeField(db_index=True) hardware_id = models.CharField(max_length=255) sensor_id = models.CharField(max_length=36) value = models.FloatField() version = models.CharField(max_length=36) class Meta: abstract = True ordering = ('timestamp',) class AbstractTrackingData(models.Model): """ Base model fields and meta data for Tracking Will be extended with FKs in child models """ id = models.CharField(primary_key=True, default=random_id, max_length=36) created_at = models.DateTimeField(auto_now_add=True) latitude = models.FloatField(max_length=36) longitude = models.FloatField(max_length=36) altitude = models.FloatField(max_length=36, null=True, blank=True) source = models.CharField(max_length=36) uncertainty = models.IntegerField(validators=[MinValueValidator(0), MaxValueValidator(100)], null=True, blank=True) speed = models.FloatField(validators=[MinValueValidator(0)], null=True, blank=True) timestamp = models.DateTimeField(db_index=True) time = AliasField(db_column='timestamp') version = models.CharField(max_length=36) point = GeometryField(spatial_index=True) class Meta: abstract = True ordering = ('timestamp',)
37.301587
119
0.748085
1307ecc186f94f42cc654696849190426cc1e37c
941
rb
Ruby
spec/decorators/server_decorator_spec.rb
swobspace/mirthCompanion
eafa6c7d9f11a01eddf0f1d3463671f1f93116c4
[ "MIT" ]
null
null
null
spec/decorators/server_decorator_spec.rb
swobspace/mirthCompanion
eafa6c7d9f11a01eddf0f1d3463671f1f93116c4
[ "MIT" ]
null
null
null
spec/decorators/server_decorator_spec.rb
swobspace/mirthCompanion
eafa6c7d9f11a01eddf0f1d3463671f1f93116c4
[ "MIT" ]
null
null
null
# frozen_string_literal: true require 'rails_helper' RSpec.describe ServerDecorator do let(:time_now) { Time.current } let(:srv) { server.decorate } describe 'with timestamps set' do let(:server) do FactoryBot.create(:server, last_channel_update: time_now, last_check: time_now, last_check_ok: time_now) end it { expect(srv.last_channel_update).to eq(server.last_channel_update.localtime.to_formatted_s(:db)) } it { expect(srv.last_check).to eq(server.last_check.localtime.to_formatted_s(:db)) } it { expect(srv.last_check_ok).to eq(server.last_check_ok.localtime.to_formatted_s(:db)) } end describe 'with empty timestamps' do let(:server) { FactoryBot.create(:server) } it { expect(srv.last_channel_update).to be_nil } it { expect(srv.last_check).to be_nil } it { expect(srv.last_check_ok).to be_nil } end end
33.607143
106
0.674814
886bbc12e692badf7324b54cec7ae761921fbb9c
6,002
ps1
PowerShell
azure-interfaces/powershell/compute/l3-createvirtualmachinegi.ps1
kangxhwork/FastTrackForAzure
e9aeefe675abcc42951116fb27fd6bd8a9793334
[ "MIT" ]
1
2020-06-01T16:41:00.000Z
2020-06-01T16:41:00.000Z
azure-interfaces/powershell/compute/l3-createvirtualmachinegi.ps1
kangxhwork/FastTrackForAzure
e9aeefe675abcc42951116fb27fd6bd8a9793334
[ "MIT" ]
null
null
null
azure-interfaces/powershell/compute/l3-createvirtualmachinegi.ps1
kangxhwork/FastTrackForAzure
e9aeefe675abcc42951116fb27fd6bd8a9793334
[ "MIT" ]
null
null
null
# Create a Windows VM using Resource Manager and PowerShell #[Microsoft Official Article]- https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-windows-ps-create/ # Run Login-AzureRmAccount to login # Login-AzureRmAccount ### Find Azure location that subscription has access too. Get-AzureRmLocation | sort Location | Select Location ### Choose Desired Location $locName = "centralus" ### Setup ResourceGroup $rgName = "mygroup3" New-AzureRmResourceGroup -Name $rgName -Location $locName ### Setup Storage Account $stName = "mystorageaccountft3" ### To Check Availibilty of Storage Account Name Get-AzureRmStorageAccountNameAvailability $stName $storageAcc = New-AzureRmStorageAccount -ResourceGroupName $rgName -Name $stName -SkuName "Standard_LRS" -Kind "Storage" -Location $locName ### Setup Networking $subnetName = "mysubnet1" $singleSubnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.0.0/24 $vnetName = "myvnet1" $vnet = New-AzureRmVirtualNetwork -Name $vnetName -ResourceGroupName $rgName -Location $locName -AddressPrefix 10.0.0.0/16 -Subnet $singleSubnet $ipName = "myIPaddress1" $pip = New-AzureRmPublicIpAddress -Name $ipName -ResourceGroupName $rgName -Location $locName -AllocationMethod Dynamic $nicName = "mynic1" $nic = New-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgName -Location $locName -SubnetId $vnet.Subnets[0].Id -PublicIpAddressId $pip.Id ### Setup Availibity Set New-AzureRmAvailabilitySet -ResourceGroupName $rgName -Name "AvailabilitySet01" -Location $locName $AvailabilitySet = Get-AzureRmAvailabilitySet -ResourceGroupName $rgName -Name "AvailabilitySet01" ### -------------------- ### Setup Credentials $user = "youaretheadmin" $password = 'Pa$$word$1' $securePassword = ConvertTo-SecureString $password -AsPlainText -Force $cred = New-Object System.Management.Automation.PSCredential ($user, $securePassword) ###### Using prompt # $cred = Get-Credential -Message "Type the name and password of the local administrator account." ### -------------------- ### To get VM Sizes Available in the region # Get-AzureRmVMSize -Location $locName|FT ### setup VM Configutation $vmName = "myvm1" $vm = New-AzureRmVMConfig -VMName $vmName -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id $compName = "myvm1" $vm = Set-AzureRmVMOperatingSystem -VM $vm -Windows -ComputerName $compName -Credential $cred -ProvisionVMAgent -EnableAutoUpdate ### Make sure you have validated the availbility of the image ### (https://github.com/abhishekanand/AzureLearning/blob/master/Module%20II/L2-FindAPublishedImage. $vm = Set-AzureRmVMSourceImage -VM $vm -PublisherName MicrosoftWindowsServer -Offer WindowsServer -Skus 2012-R2-Datacenter -Version "latest" $vm = Add-AzureRmVMNetworkInterface -VM $vm -Id $nic.Id ### Setting up of OS Disk Name $osdiskName = $vmname+'_osDisk' # Defining Location of OS Disk to be palced $osblobPath = "vhds/"+$vmname+"_os.vhd" $osDiskUri = $storageAcc.PrimaryEndpoints.Blob.ToString() + $osblobPath # https://mystorageaccountft1.blob.core.windows.net/vhds/myvm1_os.vhd $vm = Set-AzureRmVMOSDisk -VM $vm -Name $osdiskName -VhdUri $osDiskUri -CreateOption fromImage # To Add new empty data disk to the Virtual Machine ### Setting up of Data Disk Name $dataDiskName1 = $vmname+'_DataDisk1' $dataDiskName2 = $vmname+'_DataDisk2' $dataDiskName3 = $vmname+'_DataDisk3' # Defining Location of Data Disk to be palced - Please validate the allowed number of data disk for the chosen VM size. $datablobPath1 = "vhds/"+$vmname+"_data1.vhd" $DataDiskVhdUri01 = $storageAcc.PrimaryEndpoints.Blob.ToString() + $datablobPath1 $datablobPath2 = "vhds/"+$vmname+"_data2.vhd" $DataDiskVhdUri02 = $storageAcc.PrimaryEndpoints.Blob.ToString() + $datablobPath2 $datablobPath3 = "vhds/"+$vmname+"_data3.vhd" $DataDiskVhdUri03 = $storageAcc.PrimaryEndpoints.Blob.ToString() + $datablobPath3 $vm = Add-AzureRmVMDataDisk -VM $vm -Name $dataDiskName1 -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 0 -VhdUri $DataDiskVhdUri01 -CreateOption Empty $vm = Add-AzureRmVMDataDisk -VM $vm -Name $dataDiskName2 -Caching 'ReadOnly' -DiskSizeInGB 20 -Lun 1 -VhdUri $DataDiskVhdUri02 -CreateOption Empty $vm = Add-AzureRmVMDataDisk -VM $vm -Name $dataDiskName3 -Caching 'ReadOnly' -DiskSizeInGB 30 -Lun 2 -VhdUri $DataDiskVhdUri03 -CreateOption Empty # TO check all the setting before deployment $vm <# StatusCode : 0 Name : myvm1 AvailabilitySetReference : Id : /subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/mygroup2/providers/Microsoft.Compute/availabilitySets/AvailabilitySet01 HardwareProfile : VmSize : Standard_A1 NetworkProfile : NetworkInterfaces[0] : Id : /subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/mygroup2/providers/Microsoft.Network/networkInterfaces/mynic1 OSProfile : ComputerName : myvm1 AdminUsername : youaretheadmin AdminPassword : Pa$$word$1 WindowsConfiguration : ProvisionVMAgent : True EnableAutomaticUpdates : True StorageProfile : ImageReference : Publisher : MicrosoftWindowsServer Offer : WindowsServer Sku : 2012-R2-Datacenter Version : latest OsDisk : Name : myvm1_osDisk Vhd : Uri : https://mystorageaccountft1.blob.core.windows.net/vhds/myvm1_os.vhd CreateOption : FromImage NetworkInterfaceIDs[0] : /subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/mygroup2/providers/Microsoft.Network/networkInterfaces/mynic1 #> ### Deploy the VM New-AzureRmVM -ResourceGroupName $rgName -Location $locName -VM $vm -Verbose -Debug
36.375758
167
0.718094
389214c4ef72efdd592c792fc0464be2ba339108
1,503
php
PHP
src/DSNEmpresas/Comisiones/ComisionesBundle/Form/EditComisionesType.php
joacosnchz/mediterraneofm
cd49971653c2cf85a79c1d64b271a4e33ccfe087
[ "MIT" ]
null
null
null
src/DSNEmpresas/Comisiones/ComisionesBundle/Form/EditComisionesType.php
joacosnchz/mediterraneofm
cd49971653c2cf85a79c1d64b271a4e33ccfe087
[ "MIT" ]
null
null
null
src/DSNEmpresas/Comisiones/ComisionesBundle/Form/EditComisionesType.php
joacosnchz/mediterraneofm
cd49971653c2cf85a79c1d64b271a4e33ccfe087
[ "MIT" ]
null
null
null
<?php namespace DSNEmpresas\Comisiones\ComisionesBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class EditComisionesType extends AbstractType { /** * @param FormBuilderInterface $builder * @param array $options */ public function buildForm(FormBuilderInterface $builder, array $options) { $builder ->add('descripcion', null, array( 'required' => true, 'label' => 'Descripcion (*)', )) ->add('valor', null, array( 'required' => true, 'label' => 'Valor (*)', 'attr' => array( 'onkeypress' => 'return justNumbers(event)', ), )) ; } /** * @param OptionsResolverInterface $resolver */ public function setDefaultOptions(OptionsResolverInterface $resolver) { $resolver->setDefaults(array( 'data_class' => 'DSNEmpresas\Comisiones\ComisionesBundle\Entity\Comisiones', 'csrf_protection' => false, 'csrf_field_name' => '_token', // a unique key to help generate the secret token 'intention' => 'task_item', )); } /** * @return string */ public function getName() { return 'mediterraneofm_mediterraneofmbundle_editcomisiones'; } }
27.833333
88
0.567532
c64d6563ccd4e19da035d3e31daba4964f731aa8
6,825
ru
Ruby
systems/2013/english-russian/newstest2013.en-ru.rbmt-1/milenio_2012_12_01_275349.newstest2013.en-ru.rbmt-1.ru
fredblain/docQE-corp
6c03de96252f128e257cbbac633756e5280da0e6
[ "BSD-3-Clause" ]
null
null
null
systems/2013/english-russian/newstest2013.en-ru.rbmt-1/milenio_2012_12_01_275349.newstest2013.en-ru.rbmt-1.ru
fredblain/docQE-corp
6c03de96252f128e257cbbac633756e5280da0e6
[ "BSD-3-Clause" ]
null
null
null
systems/2013/english-russian/newstest2013.en-ru.rbmt-1/milenio_2012_12_01_275349.newstest2013.en-ru.rbmt-1.ru
fredblain/docQE-corp
6c03de96252f128e257cbbac633756e5280da0e6
[ "BSD-3-Clause" ]
null
null
null
Саммит Unasur закрывает без делать публикой объявление Лимы Шестой президентский саммит юга - американское соединение наций (Unasur) заключенных сегодня в Перу без делать публикой объявление Лимы, ранее объявленных и теоретически подписанных 7 руководителями участника. Efe повторно попробовало приобрести доступ к документу подписанному на шестой встрече UNASUR глав государства и правительства, но источники президентских и ведомства канцлера первоначально сказали что они поставит его после закрытого саммита, но позже они потребовали что он будет опубликован в какой-то момент на перуанском вебсайте правительства. Спрашиванный о тексте, они указали вне что содержание было показано перуанским президентом, Ollanta Humala, во время краткого заявления к прессе. Доступ к информации журналистов от саммита был ограничен во все времена. Во время саммита, в прессовом цехе, только видео- проветрил, без звука, показывая президентскую встречу с сообщением «закрытым заседанием суда, тональнозвуковое ограниченное.» Меньшая информация которая обеспечила циркуляцию среди репортеров далась представителями прессы некоторых из правительств UNASUR присутствуя на встрече, но не перуанским правительством. Единственный документ выпущенный во время саммита был списком присутствовать на президентах, которые злили сотни журналистов от различных национальных и международных средств массовой информации, которые спросили для получения более подробной информации. Перуанский президент после этого послал электронную почту к средствам массовой информации с «заключительным заявлением» саммита, но это был заявлением Humala, и не служебным документом который закрыл саммит. Последний Перу -го октябрь, хозяйничал третий саммит юга - американец - арабские страны (ASPA), и это время, несмотря на неоднократные просьбы от прессы, ранее объявленное объявление Лимы снова не было сделано общественный. Вебсайт ASPA официальный подтверждает что документ был опубликован в прошлый вторник. На обоих международных случаях, перуанские власти были на болях для того чтобы обеспечить что были системы трансляции убежденные для всех журналистов, но ограничивали получать информации к максимуму. Саммит также заключенный, что с совместным принятием окончательного решения Чили и Перу признавать постановление судом Гааги для того чтобы выносить спор границы между 2 странами. Президенты Перу, Ollanta Humala, и Чили, Sebastián Piñera, встреченного во время регионального мероприятия и подтверженного что они будут уважать решение Международного суда (ICJ), который в понедельник, на Гааге, начнут услышать аргументы обеих партий, в тяжбе Лиме хранили против Сантьяго. «Мы повинуемся и исполнить заказ который в настоящее время определяет разницы мы приносим перед этим международным судом» сказали Humala, вместе с его чилийскими двойниками. «Чили, и останется страна которая уважает международное право и мирное урегулирование споров, договоров и международных судов» добавило Piñera, приветствуя Humala с рукопожатием, наряду с флагами 2 стран. Подтверждение обоих президентов которые они представили бы к ICJ пришло после Колумбии на этой неделе денонсировало пакт Bogotá, whereby он принял для того чтобы представить к суждению этого международного суда, следовать решением на своей морской границе с Никарагуа которое она сосчитало как серьезно треснутый. Саммит держался с отсутствием президентов Бразилии, Dilma Rousseff; Венесуэла, Hugo Chavez; Боливия, Evo Моралес; и Аргентина, Cristina Kirchner. Парагвай, который был приостанавливан UNASUR в 2011 после отставки бывшего президента Фернандо Луго, не включился в встречу. Президент Ollanta Humala хозяина был ответственен для раскрывать встречу в утре и закрывать саммит, сразу после полдня в Лиме. Президент прочитал заключительный документ который сообщил что 16 согласований были приняты и планы действия клали вниз для 31 проекта между югом - американских стран, для итога 17 миллиардов долларов вкладов. Среди принятых разрешений, было упомянуто что страны UNASUR предпримут «важные к цели юга - американского подданства, для которого согласования резиденции расширенны.» Он сообщил что действия снабжаются для того чтобы улучшить «сотрудничество в драке против необеспеченности и транснациональной организованной преступности, действий для того чтобы сделать лекарство более доступный, более недорогой доступ к интернету во всех областях Южной Америки, и общаться совместно и эффективно с рисками стихийных бедствий.» С Европой в кризисе, «хозяйственная консолидация (в Латинской Америке) не должна иметь ориентацию триумфалиста а должна служить расширить свою производительную матрицу и мимолётный взгляд лучшее будущее для своих людей» Humala добавило. «Мы решили сфокусировать на группе в составе 31 проект корабля- флагмана который улучшат соединение среди областей Южной Америки, специально в сельском и пограничные области… соединяя наши страны и создавая новые хозяйственные сети» сказали перуанскому президенту в сообщении прочитанном вне. Среди этих проектов, он упомянули что 5 в Перу и расположены в поперечных осях своей территории, между побережьем и Бразилией, и фокус 2 на увеличенном соединении с эквадором, хотя он не дал никакие дальнейшие подробности. Также, заключительный документ упомянул политическую ситуацию в Парагвае. «Мы надеемся избирательный процесс в подачах той страны к reincorporate оно в соединении юга - американских наций,» от что он в настоящее время исключен. Потребность для Латинской Америки остаться зажиточной, мирной и интегрированной нацией, с хорошими соседскими отношениями, было другим делом выделенным саммитом. В этом смысле, президент Колумбии, Хуана Манюэля Сантоса, сказал перед присутствовать на старте регионального мероприятия что он рассчитывал встретить его двойники от Никарагуа, Daniel Ortega, в субботу в Мексике, почтительно для того чтобы обсудить морской спор после отказа ICJ, спрошенного Боготой. «Послезавтра (суббота) я мог иметь встречу с президентом Daniel Ortega» Сантосом сказал. «Мы расмотрим все эти пути, [которые] не исключительны, и договор с Никарагуа будет требовать переговора с Никарагуа» он подчеркнул. «С президентом Ortega, я надеюсь что я может сказать что мы регулируем это в цивилизовать и почтительный образ возможный» сказал Сантосу. Сантос и Ortega должны встретить в субботу в Мексике, где они рассчитывают присутствовать на инаугурации президента страны нового, Enrique Peña Nieto. Также, как часть саммита, министры обороны блока чужие встречали заранее для того чтобы одобрить план действия 2013, который ищет усилить диалог и консенсус на обороне в зоне. Аргентина, Боливия, Колумбия, эквадор, Перу, Бразилия, Уругвай, Венесуэла, Чили, Гайана, Суринам и Парагвай составляют UNASUR, хотя latter в настоящее время приостанавливан. Перу имеет pro президентство tempore регионального блока.
179.605263
348
0.840586
8bdaf79554d60dd83e458eb57bfdaee1f9a9e68f
3,137
lua
Lua
scripts/configure/icrf.lua
simpla-fusion/SimPla
2e45429e1c185cb9fa1fe6b984ae3c61aa666a39
[ "BSD-3-Clause" ]
10
2015-04-23T03:32:38.000Z
2019-05-29T02:28:49.000Z
scripts/configure/icrf.lua
simpla-fusion/SimPla
2e45429e1c185cb9fa1fe6b984ae3c61aa666a39
[ "BSD-3-Clause" ]
1
2016-12-08T06:56:27.000Z
2016-12-08T06:56:27.000Z
scripts/configure/icrf.lua
simpla-fusion/SimPla
2e45429e1c185cb9fa1fe6b984ae3c61aa666a39
[ "BSD-3-Clause" ]
6
2015-05-08T11:43:53.000Z
2020-06-26T05:47:56.000Z
Description="For Cold Plasma Dispersion" -- description or other text things. -- SI Unit System c = 299792458 -- m/s e=1.60217656e-19 -- C me=9.10938291e-31 --kg mp=1.672621777e-27 --kg mp_me=1836.15267245 -- KeV = 1.1604e7 -- K Tesla = 1.0 -- Tesla PI=3.141592653589793 TWOPI=PI*2 k_B=1.3806488e-23 --Boltzmann_constant epsilon0=8.8542e-12 -- k_parallel=6.5 Btor= 1.0 * Tesla Ti = 0.0003 * KeV Te = 0.05 * KeV N0 = 1.0e19-- m^-3 omega_ci = e * Btor/mp -- e/m_p B0 rad/s vTi= math.sqrt(k_B*Ti*2/mp) rhoi = vTi/omega_ci -- m omega_ce = e * Btor/me -- e/m_p B0 rad/s vTe= math.sqrt(k_B*Te*2/me) rhoe = vTe/omega_ce -- m omeaga_pe=math.sqrt(N0*e*e/(me*epsilon0)) NX = 128 NY = 1 NZ = 1 LX = 0.05 --m --100000*rhoi --0.6 LY = 0 --2.0*math.pi/k0 LZ = 0 -- 2.0*math.pi/18 GW = 5 omega_ext=omega_ci*1.2 -- From Gan InitN0=function(x,y,z) -- local X0 = 12*LX/NX; -- local DEN_JUMP = 0.4*LX; -- local DEN_GRAD = 0.2*LX; -- local AtX0 = 2./math.pi*math.atan((-DEN_JUMP)/DEN_GRAD); -- local AtLX = 2./math.pi*math.atan((LX-DEN_JUMP-X0)/DEN_GRAD); -- local DenCof = 1./(AtLX-AtX0); -- local dens1 = DenCof*(2./math.pi*math.atan((x-DEN_JUMP)/DEN_GRAD)-AtX0); return N0 --*dens1 end InitB0=function(x,y,z) return {0,0,Btor} end InitValue={ E=function(x,y,z) ---[[ local res = 0.0; for i=1,20 do res=res+math.sin(x/LX*TWOPI* i); end; return {res,res,res} end --[[ --]] -- E = 0.0 , J = 0.0 , B = InitB0 , ne = InitN0 } Grid= { Type="RectMesh", UnitSystem={Type="SI"}, Topology= { Type="RectMesh", Dimensions={NX,NY,NZ}, -- number of grid, now only first dimension is valid }, Geometry= { Type="Origin_DxDyDz", Min={0.0,0.0,0.0}, Max={LX,LY,LZ}, --dt= 2.0*math.pi/omega_ci/100.0 }, -- dt= TWOPI/omeaga_pe dt= 0.5*LX/NX/c -- time step } --[[ geometry= { {Type="Vacuum",Region={{0.2*LX,0,0},{0.8*LX,0,0}},Op="Push"}, {Type="Plasma", Select=function(x,y,z) return x>1.0 and x<2.0 end ,Op="Register"}, } --]] ---[[ Particles={ -- H ={Type="Full",Mass=mp,Charge=e,Temperature=Ti,Density=InitN0,PIC=100 }, -- H ={Type="DeltaF",Mass=mp,Charge=e,Temperature=Ti,Density=InitN0,PIC=100 } ele ={Type="DeltaF",Mass=me,Charge=-e,Temperature=Te,Density=InitN0,PIC=100 } } --]] FieldSolver= { --[[ PML= {Min={0.1*LX,0.1*LY,0.1*LZ},Max={0.9*LX,0.9*LY,0.9*LZ}} --]] } Constraints= { --[[ { DOF="E",IsHard=true, Select={Type="Boundary", Material="Vacuum" }, Value= 0 }, { DOF="J", Range={ {0.5*LX,0,0}}, IsHard=true, Value=function(t,x,y,z) local tau = t*omega_ext return { 0,math.sin(tau),0} end } --]] -- *(1-math.exp(-tau*tau) -- { -- DOF="J", -- Select={Type="Media", Tag="Vacuum"}, -- Value= 0 -- }, -- { -- DOF="Particles", -- Select={Type="Media", Tag="Vacuum"}, -- Value= "Absorb" -- }, } -- The End ---------------------------------------
17.925714
88
0.533312
bea00d2cfc23296b758f979e933e9a5cfe1d0eb3
1,260
ts
TypeScript
src/app/layout/mom-dashboard/dashboard.ts
thangatina1/SB-Admin-BS4-Angular-8
061b4fb6927887b6ecd28c354bc38dad9e317645
[ "Apache-2.0" ]
null
null
null
src/app/layout/mom-dashboard/dashboard.ts
thangatina1/SB-Admin-BS4-Angular-8
061b4fb6927887b6ecd28c354bc38dad9e317645
[ "Apache-2.0" ]
null
null
null
src/app/layout/mom-dashboard/dashboard.ts
thangatina1/SB-Admin-BS4-Angular-8
061b4fb6927887b6ecd28c354bc38dad9e317645
[ "Apache-2.0" ]
null
null
null
export interface IRevenueDashboard { baselineTotals: { januaryTotal: number, februaryTotal: number, marchTotal: number, aprilTotal: number, mayTotal: number, juneTotal: number, julyTotal: number, augustTotal: number, septemberTotal: number, octoberTotal: number, novemberTotal: number, decemberTotal: number, grandTotal: number }; mostlikelyTotals: { januaryTotal: number, februaryTotal: number, marchTotal: number, aprilTotal: number, mayTotal: number, juneTotal: number, julyTotal: number, augustTotal: number, septemberTotal: number, octoberTotal: number, novemberTotal: number, decemberTotal: number, grandTotal: number }; upsideTotals: { januaryTotal: number, februaryTotal: number, marchTotal: number, aprilTotal: number, mayTotal: number, juneTotal: number, julyTotal: number, augustTotal: number, septemberTotal: number, octoberTotal: number, novemberTotal: number, decemberTotal: number, grandTotal: number }; }
25.2
36
0.587302
b34984e609bcbd4c4032f1731bcf85cde9a8055f
2,040
py
Python
rides/models.py
petersoleeh/ShareRide
b37ce2f22dffd01e6c5671e76e708138966159b1
[ "MIT" ]
1
2019-01-24T01:01:45.000Z
2019-01-24T01:01:45.000Z
rides/models.py
petersoleeh/ShareRide
b37ce2f22dffd01e6c5671e76e708138966159b1
[ "MIT" ]
null
null
null
rides/models.py
petersoleeh/ShareRide
b37ce2f22dffd01e6c5671e76e708138966159b1
[ "MIT" ]
null
null
null
from django.db import models import datetime as dt from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver from django.db.models import Q, signals # Create your models here. class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) bio = models.TextField(max_length=500,blank=True) phone_number = models.IntegerField(blank=True,null=True) pro_pic = models.ImageField(upload_to = 'rides/',blank=True,null=True) def __str__(self): return self.user User.profile = property(lambda u: Profile.objects.get_or_create(user=u)[0]) @receiver(post_save,sender=User) def create_user_profile(sender,instance,created, **kwargs): if created: Profile.objects.create(user=instance) post_save.connect(create_user_profile, sender=User) @receiver(post_save,sender=User) def save_user_profile(sender,instance, **kwargs): instance.profile.save() class Rides(models.Model): source = models.CharField(max_length=255) dest = models.CharField(max_length=255) ride_date = models.DateTimeField(auto_now_add=True) rider = models.ForeignKey(User,on_delete=models.CASCADE,null=True) phone_number=models.IntegerField(blank=True,null=True) def __str__(self): return self.source + ' to ' +self.dest class Review(models.Model): commenter = models.ForeignKey(User,on_delete=models.CASCADE) comment = models.TextField(max_length=255,blank=True) comment_date = models.DateTimeField(auto_now_add=True) def __str__(self): return self.comment class Driver(models.Model): car_pic = models.ImageField(upload_to='driver/',blank=True) car_make = models.CharField(max_length=30) car_model= models.CharField(max_length=30) seats = models.IntegerField(blank=True,null=True) reg_numb = models.CharField(max_length=30) driver = models.ForeignKey(User, on_delete=models.CASCADE,null=True) def __str__(self): return self.reg_numb
29.142857
75
0.746078
ff2e3438d4ec23d541d9f83570547789c50f349e
5,858
py
Python
lightly/openapi_generated/swagger_client/api/mappings_api.py
Tekrific/lightly
75a1d56b4cee77f68e0f3166e3a412711d0dbb2d
[ "MIT" ]
1,515
2020-10-05T13:04:17.000Z
2022-03-31T16:14:55.000Z
lightly/openapi_generated/swagger_client/api/mappings_api.py
Tekrific/lightly
75a1d56b4cee77f68e0f3166e3a412711d0dbb2d
[ "MIT" ]
628
2020-10-14T11:38:51.000Z
2022-03-31T14:40:54.000Z
lightly/openapi_generated/swagger_client/api/mappings_api.py
Tekrific/lightly
75a1d56b4cee77f68e0f3166e3a412711d0dbb2d
[ "MIT" ]
108
2020-10-17T08:31:06.000Z
2022-03-20T16:44:22.000Z
# coding: utf-8 """ Lightly API Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501 OpenAPI spec version: 1.0.0 Contact: support@lightly.ai Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility library import six from lightly.openapi_generated.swagger_client.api_client import ApiClient class MappingsApi(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Ref: https://github.com/swagger-api/swagger-codegen """ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client def get_sample_mappings_by_dataset_id(self, dataset_id, field, **kwargs): # noqa: E501 """get_sample_mappings_by_dataset_id # noqa: E501 Get all samples of a dataset as a list. List index is the index of the sample2bitmask mapping and the value is the 'field' you wanted (e.g _id, fileName) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_sample_mappings_by_dataset_id(dataset_id, field, async_req=True) >>> result = thread.get() :param async_req bool :param MongoObjectID dataset_id: ObjectId of the dataset (required) :param str field: the field to return as the value (required) :return: list[str] If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_sample_mappings_by_dataset_id_with_http_info(dataset_id, field, **kwargs) # noqa: E501 else: (data) = self.get_sample_mappings_by_dataset_id_with_http_info(dataset_id, field, **kwargs) # noqa: E501 return data def get_sample_mappings_by_dataset_id_with_http_info(self, dataset_id, field, **kwargs): # noqa: E501 """get_sample_mappings_by_dataset_id # noqa: E501 Get all samples of a dataset as a list. List index is the index of the sample2bitmask mapping and the value is the 'field' you wanted (e.g _id, fileName) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_sample_mappings_by_dataset_id_with_http_info(dataset_id, field, async_req=True) >>> result = thread.get() :param async_req bool :param MongoObjectID dataset_id: ObjectId of the dataset (required) :param str field: the field to return as the value (required) :return: list[str] If the method is called asynchronously, returns the request thread. """ all_params = ['dataset_id', 'field'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') all_params.append('_request_timeout') params = locals() for key, val in six.iteritems(params['kwargs']): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" " to method get_sample_mappings_by_dataset_id" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'dataset_id' is set if self.api_client.client_side_validation and ('dataset_id' not in params or params['dataset_id'] is None): # noqa: E501 raise ValueError("Missing the required parameter `dataset_id` when calling `get_sample_mappings_by_dataset_id`") # noqa: E501 # verify the required parameter 'field' is set if self.api_client.client_side_validation and ('field' not in params or params['field'] is None): # noqa: E501 raise ValueError("Missing the required parameter `field` when calling `get_sample_mappings_by_dataset_id`") # noqa: E501 collection_formats = {} path_params = {} if 'dataset_id' in params: path_params['datasetId'] = params['dataset_id'] # noqa: E501 query_params = [] if 'field' in params: query_params.append(('field', params['field'])) # noqa: E501 header_params = {} form_params = [] local_var_files = {} body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['ApiKeyAuth', 'auth0Bearer'] # noqa: E501 return self.api_client.call_api( '/v1/datasets/{datasetId}/mappings', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='list[str]', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats)
42.449275
220
0.642199
dd5ae97c244efd3507a19d2fb508bab9b71bfe69
590
java
Java
chapter_001/src/main/java/ru/job4j/condition/DummyBot.java
notturnomio/job4j
1ea7d0db1253cef526c5d6d195fb37734b30ec69
[ "Apache-2.0" ]
null
null
null
chapter_001/src/main/java/ru/job4j/condition/DummyBot.java
notturnomio/job4j
1ea7d0db1253cef526c5d6d195fb37734b30ec69
[ "Apache-2.0" ]
null
null
null
chapter_001/src/main/java/ru/job4j/condition/DummyBot.java
notturnomio/job4j
1ea7d0db1253cef526c5d6d195fb37734b30ec69
[ "Apache-2.0" ]
null
null
null
package ru.job4j.condition; /** * @author Rustem Mukazhanov (r.mukazhanov@gmail.com) * @version $Id$ * @since 0.1 */ public class DummyBot { /** * This bot can answer questions. * * @param question Your question. * @return Bot's answer. */ public String answer(String question) { String rsl = "It baffles me. Ask another question."; if ("Hi, Bot!".equals(question)) { rsl = "Nice to meet you!"; } else if ("Bye, Bot!".equals(question)) { rsl = "See you next time!"; } return rsl; } }
23.6
60
0.549153
2eb1fd3ca41afd14ed0463fd447f18231e4bbfef
1,389
rs
Rust
d3-core/src/foundation/simple_event_timer.rs
BruceBrown/d3
688ee218a994f3aab2fddc75feac308c58174333
[ "Apache-2.0", "MIT" ]
3
2020-10-29T20:19:30.000Z
2020-12-31T09:17:33.000Z
d3-core/src/foundation/simple_event_timer.rs
BruceBrown/d3
688ee218a994f3aab2fddc75feac308c58174333
[ "Apache-2.0", "MIT" ]
9
2020-10-17T19:32:24.000Z
2020-11-22T07:36:36.000Z
d3-core/src/foundation/simple_event_timer.rs
BruceBrown/d3
688ee218a994f3aab2fddc75feac308c58174333
[ "Apache-2.0", "MIT" ]
null
null
null
/// This is just a brain-dead simple event timer. Mostly, its used for /// determining when to report statistics. It defaults to once every /// 5 minutes. It is designed to account for drift and long sleeps /// where one or more expirations may be missed. use std::time::{Duration, Instant}; #[derive(Debug, SmartDefault, Copy, Clone)] pub struct SimpleEventTimer { #[default(Duration::from_secs(300))] duration: Duration, #[default(Instant::now())] last_event: Instant, } impl SimpleEventTimer { // new allows a different duration, but not less than a second #[allow(dead_code)] pub fn new(duration: Duration) -> Self { if duration < Duration::from_secs(1) { panic!("SimpleEventTimer must have a duration of a second or more."); } Self { duration, ..Self::default() } } pub fn remaining(&self) -> Duration { self.duration - self.last_event.elapsed() } pub fn check(&mut self) -> bool { if self.last_event.elapsed() >= self.duration { // may need to advance several iterations if we've been asleep loop { self.last_event += self.duration; if self.last_event.elapsed() < self.duration { break; } } true } else { false } } }
32.302326
85
0.584593
ed4d65c5c5267356487b54684a40bf22f90d9348
104,580
h
C
demogl/Include/Distribution/DemoGL_glext.h
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
demogl/Include/Distribution/DemoGL_glext.h
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
demogl/Include/Distribution/DemoGL_glext.h
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
// // Some codeparts of this file are (c) copyright 1992-1999 Silicon Graphics, Inc. // All Rights Reserved. // /////////////////////////////////////////////////////////////////////////////// // This file is freely downloadable (glext.h) from (the SGI contexts): // http://www.berkelium.com/OpenGL/examples/glext.h // ////////////////////////////////////////////////////////////////////// // Part of DemoGL Demo System sourcecode. See version information ////////////////////////////////////////////////////////////////////// // COPYRIGHTS: // Copyright (c)1999-2001 Solutions Design. All rights reserved. // Central DemoGL Website: www.demogl.com. // // Released under the following license: (BSD) // ------------------------------------------- // 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. // // THIS SOFTWARE IS PROVIDED BY SOLUTIONS DESIGN ``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 SOLUTIONS DESIGN OR CONTRIBUTORS BE LIABLE FOR // ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR // BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // // The views and conclusions contained in the software and documentation are those of the authors // and should not be interpreted as representing official policies, either expressed or implied, // of Solutions Design. // ////////////////////////////////////////////////////////////////////// // Contributers to the code: // - SGI // - nVidia // - ATI // - 3dfx // - Frans Bouma [FB] ////////////////////////////////////////////////////////////////////// // VERSION INFORMATION. // // v1.3: Added all known extension definitions and presets. // v1.2: Added more extensions. // v1.1: Added to codebase. ////////////////////////////////////////////////////////////////////// // Last changed on: 03-may-2001. ////////////////////////////////////////////////////////////////////// #ifndef DEMOGL_GLEXT_H #define DEMOGL_GLEXT_H //////////////////////////////////////////////////////////////////////// // // DEFINES // //////////////////////////////////////////////////////////////////////// ////////////////////////// // Define OpenGL 1.2 constants. Not needed if you link to OpenGL 1.2 headers. // Not available at the moment for win32. ////////////////////////// #ifndef GL_VERSION_1_2 #define GL_CONSTANT_COLOR 0x8001 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 #define GL_CONSTANT_ALPHA 0x8003 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 #define GL_BLEND_COLOR 0x8005 #define GL_FUNC_ADD 0x8006 #define GL_MIN 0x8007 #define GL_MAX 0x8008 #define GL_BLEND_EQUATION 0x8009 #define GL_FUNC_SUBTRACT 0x800A #define GL_FUNC_REVERSE_SUBTRACT 0x800B #define GL_CONVOLUTION_1D 0x8010 #define GL_CONVOLUTION_2D 0x8011 #define GL_SEPARABLE_2D 0x8012 #define GL_CONVOLUTION_BORDER_MODE 0x8013 #define GL_CONVOLUTION_FILTER_SCALE 0x8014 #define GL_CONVOLUTION_FILTER_BIAS 0x8015 #define GL_REDUCE 0x8016 #define GL_CONVOLUTION_FORMAT 0x8017 #define GL_CONVOLUTION_WIDTH 0x8018 #define GL_CONVOLUTION_HEIGHT 0x8019 #define GL_MAX_CONVOLUTION_WIDTH 0x801A #define GL_MAX_CONVOLUTION_HEIGHT 0x801B #define GL_POST_CONVOLUTION_RED_SCALE 0x801C #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F #define GL_POST_CONVOLUTION_RED_BIAS 0x8020 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 #define GL_HISTOGRAM 0x8024 #define GL_PROXY_HISTOGRAM 0x8025 #define GL_HISTOGRAM_WIDTH 0x8026 #define GL_HISTOGRAM_FORMAT 0x8027 #define GL_HISTOGRAM_RED_SIZE 0x8028 #define GL_HISTOGRAM_GREEN_SIZE 0x8029 #define GL_HISTOGRAM_BLUE_SIZE 0x802A #define GL_HISTOGRAM_ALPHA_SIZE 0x802B #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C #define GL_HISTOGRAM_SINK 0x802D #define GL_MINMAX 0x802E #define GL_MINMAX_FORMAT 0x802F #define GL_MINMAX_SINK 0x8030 #define GL_TABLE_TOO_LARGE 0x8031 #define GL_UNSIGNED_BYTE_3_3_2 0x8032 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 #define GL_UNSIGNED_INT_8_8_8_8 0x8035 #define GL_UNSIGNED_INT_10_10_10_2 0x8036 #define GL_RESCALE_NORMAL 0x803A #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 #define GL_UNSIGNED_SHORT_5_6_5 0x8363 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 #define GL_COLOR_MATRIX 0x80B1 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA #define GL_COLOR_TABLE 0x80D0 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 #define GL_PROXY_COLOR_TABLE 0x80D3 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 #define GL_COLOR_TABLE_SCALE 0x80D6 #define GL_COLOR_TABLE_BIAS 0x80D7 #define GL_COLOR_TABLE_FORMAT 0x80D8 #define GL_COLOR_TABLE_WIDTH 0x80D9 #define GL_COLOR_TABLE_RED_SIZE 0x80DA #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF #define GL_CLAMP_TO_EDGE 0x812F #define GL_TEXTURE_MIN_LOD 0x813A #define GL_TEXTURE_MAX_LOD 0x813B #define GL_TEXTURE_BASE_LEVEL 0x813C #define GL_TEXTURE_MAX_LEVEL 0x813D #endif // GL_VERSION_1_2 ////////////////////////// // Extension specific constants ////////////////////////// ///////////////////////////// 3DFX /////////////////////////////////// // 3DFX_texture_compression_FXT1 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1 // 3DFX_multisample #define GL_MULTISAMPLE_3DFX 0x86B2 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3 #define GL_SAMPLES_3DFX 0x86B4 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000 ///////////////////////////// ARB /////////////////////////////////// // ARB_multitexture #define GL_ACTIVE_TEXTURE_ARB 0x84E0 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 #define GL_TEXTURE0_ARB 0x84C0 #define GL_TEXTURE1_ARB 0x84C1 #define GL_TEXTURE2_ARB 0x84C2 #define GL_TEXTURE3_ARB 0x84C3 #define GL_TEXTURE4_ARB 0x84C4 #define GL_TEXTURE5_ARB 0x84C5 #define GL_TEXTURE6_ARB 0x84C6 #define GL_TEXTURE7_ARB 0x84C7 #define GL_TEXTURE8_ARB 0x84C8 #define GL_TEXTURE9_ARB 0x84C9 #define GL_TEXTURE10_ARB 0x84CA #define GL_TEXTURE11_ARB 0x84CB #define GL_TEXTURE12_ARB 0x84CC #define GL_TEXTURE13_ARB 0x84CD #define GL_TEXTURE14_ARB 0x84CE #define GL_TEXTURE15_ARB 0x84CF #define GL_TEXTURE16_ARB 0x84D0 #define GL_TEXTURE17_ARB 0x84D1 #define GL_TEXTURE18_ARB 0x84D2 #define GL_TEXTURE19_ARB 0x84D3 #define GL_TEXTURE20_ARB 0x84D4 #define GL_TEXTURE21_ARB 0x84D5 #define GL_TEXTURE22_ARB 0x84D6 #define GL_TEXTURE23_ARB 0x84D7 #define GL_TEXTURE24_ARB 0x84D8 #define GL_TEXTURE25_ARB 0x84D9 #define GL_TEXTURE26_ARB 0x84DA #define GL_TEXTURE27_ARB 0x84DB #define GL_TEXTURE28_ARB 0x84DC #define GL_TEXTURE29_ARB 0x84DD #define GL_TEXTURE30_ARB 0x84DE #define GL_TEXTURE31_ARB 0x84DF // ARB_multisample #define GL_MULTISAMPLE_ARB 0x809D #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F #define GL_SAMPLE_COVERAGE_ARB 0x80A0 #define GL_SAMPLE_BUFFERS_ARB 0x80A8 #define GL_SAMPLES_ARB 0x80A9 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB #define GL_MULTISAMPLE_BIT_ARB 0x20000000 // ARB_texture_border_clamp #define GL_CLAMP_TO_BORDER_ARB 0x812D // ARB_texture_compression #define GL_COMPRESSED_ALPHA_ARB 0x84E9 #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB #define GL_COMPRESSED_INTENSITY_ARB 0x84EC #define GL_COMPRESSED_RGB_ARB 0x84ED #define GL_COMPRESSED_RGBA_ARB 0x84EE #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF #define GL_TEXTURE_IMAGE_SIZE_ARB 0x86A0 #define GL_TEXTURE_COMPRESSED_ARB 0x86A1 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3 // ARB_texture_cube_map #define GL_NORMAL_MAP_ARB 0x8511 #define GL_REFLECTION_MAP_ARB 0x8512 #define GL_TEXTURE_CUBE_MAP_ARB 0x8513 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C // ARB_texture_env_combine #define GL_COMBINE_ARB 0x8570 #define GL_COMBINE_RGB_ARB 0x8571 #define GL_COMBINE_ALPHA_ARB 0x8572 #define GL_SOURCE0_RGB_ARB 0x8580 #define GL_SOURCE1_RGB_ARB 0x8581 #define GL_SOURCE2_RGB_ARB 0x8582 #define GL_SOURCE0_ALPHA_ARB 0x8588 #define GL_SOURCE1_ALPHA_ARB 0x8589 #define GL_SOURCE2_ALPHA_ARB 0x858A #define GL_OPERAND0_RGB_ARB 0x8590 #define GL_OPERAND1_RGB_ARB 0x8591 #define GL_OPERAND2_RGB_ARB 0x8592 #define GL_OPERAND0_ALPHA_ARB 0x8598 #define GL_OPERAND1_ALPHA_ARB 0x8599 #define GL_OPERAND2_ALPHA_ARB 0x859A #define GL_RGB_SCALE_ARB 0x8573 #define GL_ADD_SIGNED_ARB 0x8574 #define GL_INTERPOLATE_ARB 0x8575 #define GL_CONSTANT_ARB 0x8576 #define GL_PRIMARY_COLOR_ARB 0x8577 #define GL_PREVIOUS_ARB 0x8578 #define GL_SUBTRACT_ARB 0x84E7 // ARB_texture_env_dot3 #define GL_DOT3_RGB_ARB 0x86AE #define GL_DOT3_RGBA_ARB 0x86AF // ARB_transpose_matrix #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 // ARB_vertex_blend #define GL_MAX_VERTEX_UNITS_ARB 0x86A4 #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5 #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6 #define GL_VERTEX_BLEND_ARB 0x86A7 #define GL_CURRENT_WEIGHT_ARB 0x86A8 #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9 #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC #define GL_WEIGHT_ARRAY_ARB 0x86AD #define GL_MODELVIEW0_ARB 0x1700 #define GL_MODELVIEW1_ARB 0x850a #define GL_MODELVIEW2_ARB 0x8722 #define GL_MODELVIEW3_ARB 0x8723 #define GL_MODELVIEW4_ARB 0x8724 #define GL_MODELVIEW5_ARB 0x8725 #define GL_MODELVIEW6_ARB 0x8726 #define GL_MODELVIEW7_ARB 0x8727 #define GL_MODELVIEW8_ARB 0x8728 #define GL_MODELVIEW9_ARB 0x8729 #define GL_MODELVIEW10_ARB 0x872A #define GL_MODELVIEW11_ARB 0x872B #define GL_MODELVIEW12_ARB 0x872C #define GL_MODELVIEW13_ARB 0x872D #define GL_MODELVIEW14_ARB 0x872E #define GL_MODELVIEW15_ARB 0x872F #define GL_MODELVIEW16_ARB 0x8730 #define GL_MODELVIEW17_ARB 0x8731 #define GL_MODELVIEW18_ARB 0x8732 #define GL_MODELVIEW19_ARB 0x8733 #define GL_MODELVIEW20_ARB 0x8734 #define GL_MODELVIEW21_ARB 0x8735 #define GL_MODELVIEW22_ARB 0x8736 #define GL_MODELVIEW23_ARB 0x8737 #define GL_MODELVIEW24_ARB 0x8738 #define GL_MODELVIEW25_ARB 0x8739 #define GL_MODELVIEW26_ARB 0x873A #define GL_MODELVIEW27_ARB 0x873B #define GL_MODELVIEW28_ARB 0x873C #define GL_MODELVIEW29_ARB 0x873D #define GL_MODELVIEW30_ARB 0x873E #define GL_MODELVIEW31_ARB 0x873F ///////////////////////////// ATI(X) /////////////////////////////////// // ATIX_envmap_bumpmap #define GL_BUMP_ROT_MATRIX_ATIX 0x60A0 #define GL_BUMP_ROT_MATRIX_SIZE_ATIX 0x60A1 #define GL_BUMP_NUM_TEX_UNITS_ATIX 0x60A2 #define GL_BUMP_TEX_UNITS_ATIX 0x60A3 #define GL_DUDV_ATIX 0x60A4 #define GL_DU8DV8_ATIX 0x60A5 #define GL_BUMP_ENVMAP_ATIX 0x60A6 #define GL_BUMP_TARGET_ATIX 0x60A7 // ATIX_pn_triangles #define GL_PN_TRIANGLES_ATIX 0x6090 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATIX 0x6091 #define GL_PN_TRIANGLES_POINT_MODE_ATIX 0x6092 #define GL_PN_TRIANGLES_NORMAL_MODE_ATIX 0x6093 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATIX 0x6094 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATIX 0x6095 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATIX 0x6096 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATIX 0x6097 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATIX 0x6098 // ATIX_texture_env_combine3 #define GL_MODULATE_ADD_ATIX 0x8744 #define GL_MODULATE_SIGNED_ADD_ATIX 0x8745 #define GL_MODULATE_SUBTRACT_ATIX 0x8746 // ATIX_texture_env_dot3 #define GL_DOT3_RGB_ATIX 0x6070 #define GL_DOT3_RGBA_ATIX 0x6071 // ATIX_texture_env_route #define GL_SECONDARY_COLOR_ATIX 0x8747 #define GL_TEXTURE_OUTPUT_RGB_ATIX 0x8748 #define GL_TEXTURE_OUTPUT_ALPHA_ATIX 0x8749 // ATI_texture_mirror_once #define GL_MIRROR_CLAMP_ATI 0x6080 #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x6081 // ATI_vertex_blend #define GL_ACTIVE_VERTEX_UNIT_ATI 0x6020 #define GL_CLIENT_ACTIVE_VERTEX_UNIT_ATI 0x6021 #define GL_MAX_VERTEX_UNITS_ATI 0x6022 #define GL_WEIGHT_ARRAY_ATI 0x6023 #define GL_VERTEX_BLENDING_ATI 0x6024 #define GL_CURRENT_WEIGHT_ATI 0x6025 #define GL_WEIGHT_ARRAY_TYPE_ATI 0x6026 #define GL_WEIGHT_ARRAY_STRIDE_ATI 0x6027 #define GL_VERTEX_UNIT0_ATI 0x6000 #define GL_VERTEX_UNIT1_ATI 0x6001 #define GL_VERTEX_UNIT2_ATI 0x6002 #define GL_VERTEX_UNIT3_ATI 0x6003 #define GL_VERTEX_UNIT4_ATI 0x6004 #define GL_VERTEX_UNIT5_ATI 0x6005 #define GL_VERTEX_UNIT6_ATI 0x6006 #define GL_VERTEX_UNIT7_ATI 0x6007 #define GL_VERTEX_UNIT8_ATI 0x6008 #define GL_VERTEX_UNIT9_ATI 0x6009 #define GL_VERTEX_UNIT10_ATI 0x600A #define GL_VERTEX_UNIT11_ATI 0x600B #define GL_VERTEX_UNIT12_ATI 0x600C #define GL_VERTEX_UNIT13_ATI 0x600D #define GL_VERTEX_UNIT14_ATI 0x600E #define GL_VERTEX_UNIT15_ATI 0x600F #define GL_VERTEX_UNIT16_ATI 0x6010 #define GL_VERTEX_UNIT17_ATI 0x6011 #define GL_VERTEX_UNIT18_ATI 0x6012 #define GL_VERTEX_UNIT19_ATI 0x6013 #define GL_VERTEX_UNIT20_ATI 0x6014 #define GL_VERTEX_UNIT21_ATI 0x6015 #define GL_VERTEX_UNIT22_ATI 0x6016 #define GL_VERTEX_UNIT23_ATI 0x6017 #define GL_VERTEX_UNIT24_ATI 0x6018 #define GL_VERTEX_UNIT25_ATI 0x6019 #define GL_VERTEX_UNIT26_ATI 0x601A #define GL_VERTEX_UNIT27_ATI 0x601B #define GL_VERTEX_UNIT28_ATI 0x601C #define GL_VERTEX_UNIT29_ATI 0x601D #define GL_VERTEX_UNIT30_ATI 0x601E #define GL_VERTEX_UNIT31_ATI 0x601F // ATI_vertex_streams #define GL_MAX_VERTEX_STREAMS_ATI 0x6050 #define GL_VERTEX_SOURCE_ATI 0x6051 #define GL_VERTEX_STREAM0_ATI 0x6030 #define GL_VERTEX_STREAM1_ATI 0x6031 #define GL_VERTEX_STREAM2_ATI 0x6032 #define GL_VERTEX_STREAM3_ATI 0x6033 #define GL_VERTEX_STREAM4_ATI 0x6034 #define GL_VERTEX_STREAM5_ATI 0x6035 #define GL_VERTEX_STREAM6_ATI 0x6036 #define GL_VERTEX_STREAM7_ATI 0x6037 #define GL_VERTEX_STREAM8_ATI 0x6038 #define GL_VERTEX_STREAM9_ATI 0x6039 #define GL_VERTEX_STREAM10_ATI 0x603A #define GL_VERTEX_STREAM11_ATI 0x603B #define GL_VERTEX_STREAM12_ATI 0x603C #define GL_VERTEX_STREAM13_ATI 0x603D #define GL_VERTEX_STREAM14_ATI 0x603E #define GL_VERTEX_STREAM15_ATI 0x603F #define GL_VERTEX_STREAM16_ATI 0x6040 #define GL_VERTEX_STREAM17_ATI 0x6041 #define GL_VERTEX_STREAM18_ATI 0x6042 #define GL_VERTEX_STREAM19_ATI 0x6043 #define GL_VERTEX_STREAM20_ATI 0x6044 #define GL_VERTEX_STREAM21_ATI 0x6045 #define GL_VERTEX_STREAM22_ATI 0x6046 #define GL_VERTEX_STREAM23_ATI 0x6047 #define GL_VERTEX_STREAM24_ATI 0x6048 #define GL_VERTEX_STREAM25_ATI 0x6049 #define GL_VERTEX_STREAM26_ATI 0x604A #define GL_VERTEX_STREAM27_ATI 0x604B #define GL_VERTEX_STREAM28_ATI 0x604C #define GL_VERTEX_STREAM29_ATI 0x604D #define GL_VERTEX_STREAM30_ATI 0x604E #define GL_VERTEX_STREAM31_ATI 0x604F ///////////////////////////// EXT /////////////////////////////////// // EXT_abgr #define GL_ABGR_EXT 0x8000 // EXT_bgra #define GL_BGR_EXT 0x80E0 #define GL_BGRA_EXT 0x80E1 // EXT_blend_color #define GL_CONSTANT_COLOR_EXT 0x8001 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 #define GL_CONSTANT_ALPHA_EXT 0x8003 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 #define GL_BLEND_COLOR_EXT 0x8005 // EXT_blend_func_separate #define GL_BLEND_DST_RGB_EXT 0x80C8 #define GL_BLEND_SRC_RGB_EXT 0x80C9 #define GL_BLEND_DST_ALPHA_EXT 0x80CA #define GL_BLEND_SRC_ALPHA_EXT 0x80CB // EXT_blend_minmax #define GL_FUNC_ADD_EXT 0x8006 #define GL_MIN_EXT 0x8007 #define GL_MAX_EXT 0x8008 #define GL_BLEND_EQUATION_EXT 0x8009 // EXT_blend_subtract #define GL_FUNC_SUBTRACT_EXT 0x800A #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B // EXT_clip_volume_hint #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0 // EXT_compiled_vertex_array #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 // EXT_convolution #define GL_CONVOLUTION_1D_EXT 0x8010 #define GL_CONVOLUTION_2D_EXT 0x8011 #define GL_SEPARABLE_2D_EXT 0x8012 #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013 #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014 #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015 #define GL_REDUCE_EXT 0x8016 #define GL_CONVOLUTION_FORMAT_EXT 0x8017 #define GL_CONVOLUTION_WIDTH_EXT 0x8018 #define GL_CONVOLUTION_HEIGHT_EXT 0x8019 #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023 // EXT_coordinate_frame #define GL_TANGENT_ARRAY_EXT 0x8439 #define GL_BINORMAL_ARRAY_EXT 0x843A #define GL_CURRENT_TANGENT_EXT 0x843B #define GL_CURRENT_BINORMAL_EXT 0x843C #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440 #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441 #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442 #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443 #define GL_MAP1_TANGENT_EXT 0x8444 #define GL_MAP2_TANGENT_EXT 0x8445 #define GL_MAP1_BINORMAL_EXT 0x8446 #define GL_MAP2_BINORMAL_EXT 0x8447 // EXT_cull_vertex #define GL_CULL_VERTEX_EXT 0x81AA #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC // EXT_draw_range_elements #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8 #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9 // EXT_fog_coord #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450 #define GL_FOG_COORDINATE_EXT 0x8451 #define GL_FRAGMENT_DEPTH_EXT 0x8452 #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457 // EXT_histogram #define GL_HISTOGRAM_EXT 0x8024 #define GL_PROXY_HISTOGRAM_EXT 0x8025 #define GL_HISTOGRAM_WIDTH_EXT 0x8026 #define GL_HISTOGRAM_FORMAT_EXT 0x8027 #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028 #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029 #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C #define GL_HISTOGRAM_SINK_EXT 0x802D #define GL_MINMAX_EXT 0x802E #define GL_MINMAX_FORMAT_EXT 0x802F #define GL_MINMAX_SINK_EXT 0x8030 #define GL_TABLE_TOO_LARGE_EXT 0x8031 // EXT_index_array_formats #define GL_IUI_V2F_EXT 0x81AD #define GL_IUI_V3F_EXT 0x81AE #define GL_IUI_N3F_V2F_EXT 0x81AF #define GL_IUI_N3F_V3F_EXT 0x81B0 #define GL_T2F_IUI_V2F_EXT 0x81B1 #define GL_T2F_IUI_V3F_EXT 0x81B2 #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3 #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4 // EXT_index_func #define GL_INDEX_TEST_EXT 0x81B5 #define GL_INDEX_TEST_FUNC_EXT 0x81B6 #define GL_INDEX_TEST_REF_EXT 0x81B7 // EXT_index_material #define GL_INDEX_MATERIAL_EXT 0x81B8 #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9 #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA // EXT_light_max_exponent #define GL_MAX_SHININESS_EXT 0x8507 #define GL_MAX_SPOT_EXPONENT_EXT 0x8508 // EXT_light_texture #define GL_FRAGMENT_MATERIAL_EXT 0x8349 #define GL_FRAGMENT_NORMAL_EXT 0x834A #define GL_FRAGMENT_COLOR_EXT 0x834C #define GL_ATTENUATION_EXT 0x834D #define GL_SHADOW_ATTENUATION_EXT 0x834E #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F #define GL_TEXTURE_LIGHT_EXT 0x8350 #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352 // EXT_multisample #define GL_MULTISAMPLE_EXT 0x809D #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F #define GL_SAMPLE_MASK_EXT 0x80A0 #define GL_1PASS_EXT 0x80A1 #define GL_2PASS_0_EXT 0x80A2 #define GL_2PASS_1_EXT 0x80A3 #define GL_4PASS_0_EXT 0x80A4 #define GL_4PASS_1_EXT 0x80A5 #define GL_4PASS_2_EXT 0x80A6 #define GL_4PASS_3_EXT 0x80A7 #define GL_SAMPLE_BUFFERS_EXT 0x80A8 #define GL_SAMPLES_EXT 0x80A9 #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB #define GL_SAMPLE_PATTERN_EXT 0x80AC // EXT_packed_pixels #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034 #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035 #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036 // EXT_paletted_texture #define GL_COLOR_INDEX1_EXT 0x80E2 #define GL_COLOR_INDEX2_EXT 0x80E3 #define GL_COLOR_INDEX4_EXT 0x80E4 #define GL_COLOR_INDEX8_EXT 0x80E5 #define GL_COLOR_INDEX12_EXT 0x80E6 #define GL_COLOR_INDEX16_EXT 0x80E7 #define GL_COLOR_TABLE_FORMAT_EXT 0x80D8 #define GL_COLOR_TABLE_WIDTH_EXT 0x80D9 #define GL_COLOR_TABLE_RED_SIZE_EXT 0x80DA #define GL_COLOR_TABLE_GREEN_SIZE_EXT 0x80DB #define GL_COLOR_TABLE_BLUE_SIZE_EXT 0x80DC #define GL_COLOR_TABLE_ALPHA_SIZE_EXT 0x80DD #define GL_COLOR_TABLE_LUMINANCE_SIZE_EXT 0x80DE #define GL_COLOR_TABLE_INTENSITY_SIZE_EXT 0x80DF #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED // EXT_pixel_transform #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330 #define GL_PIXEL_MAG_FILTER_EXT 0x8331 #define GL_PIXEL_MIN_FILTER_EXT 0x8332 #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333 #define GL_CUBIC_EXT 0x8334 #define GL_AVERAGE_EXT 0x8335 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338 // EXT_point_parameters #define GL_POINT_SIZE_MIN_EXT 0x8126 #define GL_POINT_SIZE_MAX_EXT 0x8127 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 #define GL_DISTANCE_ATTENUATION_EXT 0x8129 // EXT_polygon_offset #define GL_POLYGON_OFFSET_EXT 0x8037 #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039 // EXT_rescale_normal #define GL_RESCALE_NORMAL_EXT 0x803A // EXT_secondary_color #define GL_COLOR_SUM_EXT 0x8458 #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E // EXT_separate_specular_color #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 #define GL_SINGLE_COLOR_EXT 0x81F9 #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA // EXT_shared_texture_palette #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB // EXT_stencil_wrap #define GL_INCR_WRAP_EXT 0x8507 #define GL_DECR_WRAP_EXT 0x8508 // EXT_texgen_reflection #define GL_NORMAL_MAP_EXT 0x8511 #define GL_REFLECTION_MAP_EXT 0x8512 // EXT_texture #define GL_ALPHA4_EXT 0x803B #define GL_ALPHA8_EXT 0x803C #define GL_ALPHA12_EXT 0x803D #define GL_ALPHA16_EXT 0x803E #define GL_LUMINANCE4_EXT 0x803F #define GL_LUMINANCE8_EXT 0x8040 #define GL_LUMINANCE12_EXT 0x8041 #define GL_LUMINANCE16_EXT 0x8042 #define GL_LUMINANCE4_ALPHA4_EXT 0x8043 #define GL_LUMINANCE6_ALPHA2_EXT 0x8044 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045 #define GL_LUMINANCE12_ALPHA4_EXT 0x8046 #define GL_LUMINANCE12_ALPHA12_EXT 0x8047 #define GL_LUMINANCE16_ALPHA16_EXT 0x8048 #define GL_INTENSITY_EXT 0x8049 #define GL_INTENSITY4_EXT 0x804A #define GL_INTENSITY8_EXT 0x804B #define GL_INTENSITY12_EXT 0x804C #define GL_INTENSITY16_EXT 0x804D #define GL_RGB2_EXT 0x804E #define GL_RGB4_EXT 0x804F #define GL_RGB5_EXT 0x8050 #define GL_RGB8_EXT 0x8051 #define GL_RGB10_EXT 0x8052 #define GL_RGB12_EXT 0x8053 #define GL_RGB16_EXT 0x8054 #define GL_RGBA2_EXT 0x8055 #define GL_RGBA4_EXT 0x8056 #define GL_RGB5_A1_EXT 0x8057 #define GL_RGBA8_EXT 0x8058 #define GL_RGB10_A2_EXT 0x8059 #define GL_RGBA12_EXT 0x805A #define GL_RGBA16_EXT 0x805B #define GL_TEXTURE_RED_SIZE_EXT 0x805C #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060 #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061 #define GL_REPLACE_EXT 0x8062 #define GL_PROXY_TEXTURE_1D_EXT 0x8063 #define GL_PROXY_TEXTURE_2D_EXT 0x8064 #define GL_TEXTURE_TOO_LARGE_EXT 0x8065 // EXT_texture3D #define GL_TEXTURE_BINDING_3D_EXT 0x806A #define GL_PACK_SKIP_IMAGES 0x806B #define GL_PACK_SKIP_IMAGES_EXT 0x806B #define GL_PACK_IMAGE_HEIGHT 0x806C #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C #define GL_UNPACK_SKIP_IMAGES 0x806D #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D #define GL_UNPACK_IMAGE_HEIGHT 0x806E #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E #define GL_TEXTURE_3D 0x806F #define GL_TEXTURE_3D_EXT 0x806F #define GL_PROXY_TEXTURE_3D 0x8070 #define GL_PROXY_TEXTURE_3D_EXT 0x8070 #define GL_TEXTURE_DEPTH 0x8071 #define GL_TEXTURE_DEPTH_EXT 0x8071 #define GL_TEXTURE_WRAP_R 0x8072 #define GL_TEXTURE_WRAP_R_EXT 0x8072 #define GL_MAX_3D_TEXTURE_SIZE 0x8073 #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 // EXT_texture_compression_s3tc & NV_texgen_compression_vtc #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 // EXT_texture_cube_map #define GL_NORMAL_MAP_EXT 0x8511 #define GL_REFLECTION_MAP_EXT 0x8512 #define GL_TEXTURE_CUBE_MAP_EXT 0x8513 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851a #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851b #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851c // EXT_texture_edge_clamp #define GL_CLAMP_TO_EDGE_EXT 0x812F // EXT_texture_env_combine #define GL_COMBINE_EXT 0x8570 #define GL_COMBINE_RGB_EXT 0x8571 #define GL_COMBINE_ALPHA_EXT 0x8572 #define GL_RGB_SCALE_EXT 0x8573 #define GL_ADD_SIGNED_EXT 0x8574 #define GL_INTERPOLATE_EXT 0x8575 #define GL_CONSTANT_EXT 0x8576 #define GL_PRIMARY_COLOR_EXT 0x8577 #define GL_PREVIOUS_EXT 0x8578 #define GL_SOURCE0_RGB_EXT 0x8580 #define GL_SOURCE1_RGB_EXT 0x8581 #define GL_SOURCE2_RGB_EXT 0x8582 #define GL_SOURCE0_ALPHA_EXT 0x8588 #define GL_SOURCE1_ALPHA_EXT 0x8589 #define GL_SOURCE2_ALPHA_EXT 0x858A #define GL_OPERAND0_RGB_EXT 0x8590 #define GL_OPERAND1_RGB_EXT 0x8591 #define GL_OPERAND2_RGB_EXT 0x8592 #define GL_OPERAND0_ALPHA_EXT 0x8598 #define GL_OPERAND1_ALPHA_EXT 0x8599 #define GL_OPERAND2_ALPHA_EXT 0x859A // EXT_texture_env_dot3 #define GL_DOT3_RGB_EXT 0x8740 #define GL_DOT3_RGBA_EXT 0x8741 // EXT_texture_filter_anisotropic #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84fe #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84ff // EXT_texture_lod_bias #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 #define GL_TEXTURE_LOD_BIAS_EXT 0x8501 #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84fd // EXT_texture_object (Obsolete in OpenGL 1.1+) #define GL_TEXTURE_PRIORITY_EXT 0x8066 #define GL_TEXTURE_RESIDENT_EXT 0x8067 #define GL_TEXTURE_1D_BINDING_EXT 0x8068 #define GL_TEXTURE_2D_BINDING_EXT 0x8069 #define GL_TEXTURE_3D_BINDING_EXT 0x806A // EXT_texture_perturb_normal #define GL_PERTURB_EXT 0x85AE #define GL_TEXTURE_NORMAL_EXT 0x85AF // EXT_vertex_array #define GL_VERTEX_ARRAY_EXT 0x8074 #define GL_NORMAL_ARRAY_EXT 0x8075 #define GL_COLOR_ARRAY_EXT 0x8076 #define GL_INDEX_ARRAY_EXT 0x8077 #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078 #define GL_EDGE_FLAG_ARRAY_EXT 0x8079 #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080 #define GL_COLOR_ARRAY_SIZE_EXT 0x8081 #define GL_COLOR_ARRAY_TYPE_EXT 0x8082 #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083 #define GL_COLOR_ARRAY_COUNT_EXT 0x8084 #define GL_INDEX_ARRAY_TYPE_EXT 0x8085 #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086 #define GL_INDEX_ARRAY_COUNT_EXT 0x8087 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F #define GL_COLOR_ARRAY_POINTER_EXT 0x8090 #define GL_INDEX_ARRAY_POINTER_EXT 0x8091 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093 // EXT_vertex_weighting #define GL_VERTEX_WEIGHTING_EXT 0x8509 #define GL_MODELVIEW0_EXT 0x1700 #define GL_MODELVIEW1_EXT 0x850a #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850b #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850c #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850d #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850e #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850f #define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3 #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510 ///////////////////////////// IBM /////////////////////////////////// // IBM_texture_mirrored_repeat #define GL_MIRRORED_REPEAT_IBM 0x8370 ///////////////////////////// KTX /////////////////////////////////// // KTX_buffer_region #define GL_KTX_FRONT_REGION 0x0 #define GL_KTX_BACK_REGION 0x1 #define GL_KTX_Z_REGION 0x2 #define GL_KTX_STENCIL_REGION 0x3 ///////////////////////////// NV /////////////////////////////////// // NV_evaluators #define GL_EVAL_2D_NV 0x86C0 #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1 #define GL_MAP_TESSELLATION_NV 0x86C2 #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3 #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5 #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6 #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7 #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8 #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9 #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0 #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1 #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2 #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3 #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4 #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5 #define GL_MAX_MAP_TESSELLATION_NV 0x86D6 #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7 // NV_fence #define GL_ALL_COMPLETED_NV 0x84F2 #define GL_FENCE_STATUS_NV 0x84F3 #define GL_FENCE_CONDITION_NV 0x84F4 // NV_fog_distance #define GL_FOG_DISTANCE_MODE_NV 0x855a #define GL_EYE_RADIAL_NV 0x855b #define GL_EYE_PLANE_ABSOLUTE_NV 0x855c // NV_light_max_exponent #define GL_MAX_SHININESS_NV 0x8504 #define GL_MAX_SPOT_EXPONENT_NV 0x8505 // NV_packed_depth_stencil #define GL_DEPTH_STENCIL_NV 0x84F9 #define GL_UNSIGNED_INT_24_8_NV 0x84FA // NV_register_combiners #define GL_REGISTER_COMBINERS_NV 0x8522 #define GL_COMBINER0_NV 0x8550 #define GL_COMBINER1_NV 0x8551 #define GL_COMBINER2_NV 0x8552 #define GL_COMBINER3_NV 0x8553 #define GL_COMBINER4_NV 0x8554 #define GL_COMBINER5_NV 0x8555 #define GL_COMBINER6_NV 0x8556 #define GL_COMBINER7_NV 0x8557 #define GL_VARIABLE_A_NV 0x8523 #define GL_VARIABLE_B_NV 0x8524 #define GL_VARIABLE_C_NV 0x8525 #define GL_VARIABLE_D_NV 0x8526 #define GL_VARIABLE_E_NV 0x8527 #define GL_VARIABLE_F_NV 0x8528 #define GL_VARIABLE_G_NV 0x8529 #define GL_CONSTANT_COLOR0_NV 0x852a #define GL_CONSTANT_COLOR1_NV 0x852b #define GL_PRIMARY_COLOR_NV 0x852c #define GL_SECONDARY_COLOR_NV 0x852d #define GL_SPARE0_NV 0x852e #define GL_SPARE1_NV 0x852f #define GL_UNSIGNED_IDENTITY_NV 0x8536 #define GL_UNSIGNED_INVERT_NV 0x8537 #define GL_EXPAND_NORMAL_NV 0x8538 #define GL_EXPAND_NEGATE_NV 0x8539 #define GL_HALF_BIAS_NORMAL_NV 0x853a #define GL_HALF_BIAS_NEGATE_NV 0x853b #define GL_SIGNED_IDENTITY_NV 0x853c #define GL_SIGNED_NEGATE_NV 0x853d #define GL_E_TIMES_F_NV 0x8531 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532 #define GL_SCALE_BY_TWO_NV 0x853e #define GL_SCALE_BY_FOUR_NV 0x853f #define GL_SCALE_BY_ONE_HALF_NV 0x8540 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541 #define GL_DISCARD_NV 0x8530 #define GL_COMBINER_INPUT_NV 0x8542 #define GL_COMBINER_MAPPING_NV 0x8543 #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544 #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545 #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546 #define GL_COMBINER_MUX_SUM_NV 0x8547 #define GL_COMBINER_SCALE_NV 0x8548 #define GL_COMBINER_BIAS_NV 0x8549 #define GL_COMBINER_AB_OUTPUT_NV 0x854a #define GL_COMBINER_CD_OUTPUT_NV 0x854b #define GL_COMBINER_SUM_OUTPUT_NV 0x854c #define GL_NUM_GENERAL_COMBINERS_NV 0x854e #define GL_COLOR_SUM_CLAMP_NV 0x854f #define GL_MAX_GENERAL_COMBINERS_NV 0x854d // NV_register_combiners2 #define GL_PER_STAGE_CONSTANTS_NV 0x8535 // NV_texgen_emboss #define GL_EMBOSS_MAP_NV 0x855f #define GL_EMBOSS_LIGHT_NV 0x855d #define GL_EMBOSS_CONSTANT_NV 0x855e // NV_texgen_reflection #define GL_NORMAL_MAP_NV 0x8511 #define GL_REFLECTION_MAP_NV 0x8512 // NV_texture_env_combine4 #define GL_COMBINE4_NV 0x8503 #define GL_SOURCE3_RGB_NV 0x8583 #define GL_SOURCE3_ALPHA_NV 0x858B #define GL_OPERAND3_RGB_NV 0x8593 #define GL_OPERAND3_ALPHA_NV 0x859B // NV_texture_rectangle #define GL_TEXTURE_RECTANGLE_NV 0x84F5 #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6 #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8 // NV_texture_shader & NV_texture_shader2 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9 #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA #define GL_UNSIGNED_INT_S8_S8_8_8_REV_NV 0x86DB #define GL_DSDT_MAG_INTENSITY_NV 0x86DC #define GL_SHADER_CONSISTENT_NV 0x86DD #define GL_TEXTURE_SHADER_NV 0x86DE #define GL_SHADER_OPERATION_NV 0x86DF #define GL_CULL_MODES_NV 0x86E0 #define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1 #define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2 #define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3 #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4 #define GL_CONST_EYE_NV 0x86E5 #define GL_PASS_THROUGH_NV 0x86E6 #define GL_CULL_FRAGMENT_NV 0x86E7 #define GL_OFFSET_TEXTURE_2D_NV 0x86E8 #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9 #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA #define GL_DOT_PRODUCT_NV 0x86EC #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3 #define GL_HILO_NV 0x86F4 #define GL_DSDT_NV 0x86F5 #define GL_DSDT_MAG_NV 0x86F6 #define GL_DSDT_MAG_VIB_NV 0x86F7 #define GL_HILO16_NV 0x86F8 #define GL_SIGNED_HILO_NV 0x86F9 #define GL_SIGNED_HILO16_NV 0x86FA #define GL_SIGNED_RGBA_NV 0x86FB #define GL_SIGNED_RGBA8_NV 0x86FC #define GL_SIGNED_RGB_NV 0x86FE #define GL_SIGNED_RGB8_NV 0x86FF #define GL_SIGNED_LUMINANCE_NV 0x8701 #define GL_SIGNED_LUMINANCE8_NV 0x8702 #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 #define GL_SIGNED_ALPHA_NV 0x8705 #define GL_SIGNED_ALPHA8_NV 0x8706 #define GL_SIGNED_INTENSITY_NV 0x8707 #define GL_SIGNED_INTENSITY8_NV 0x8708 #define GL_DSDT8_NV 0x8709 #define GL_DSDT8_MAG8_NV 0x870A #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D #define GL_HI_SCALE_NV 0x870E #define GL_LO_SCALE_NV 0x870F #define GL_DS_SCALE_NV 0x8710 #define GL_DT_SCALE_NV 0x8711 #define GL_MAGNITUDE_SCALE_NV 0x8712 #define GL_VIBRANCE_SCALE_NV 0x8713 #define GL_HI_BIAS_NV 0x8714 #define GL_LO_BIAS_NV 0x8715 #define GL_DS_BIAS_NV 0x8716 #define GL_DT_BIAS_NV 0x8717 #define GL_MAGNITUDE_BIAS_NV 0x8718 #define GL_VIBRANCE_BIAS_NV 0x8719 #define GL_TEXTURE_BORDER_VALUES_NV 0x871A #define GL_TEXTURE_HI_SIZE_NV 0x871B #define GL_TEXTURE_LO_SIZE_NV 0x871C #define GL_TEXTURE_DS_SIZE_NV 0x871D #define GL_TEXTURE_DT_SIZE_NV 0x871E #define GL_TEXTURE_MAG_SIZE_NV 0x871F // NV_vertex_array_range #define GL_VERTEX_ARRAY_RANGE_NV 0x851d #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851e #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851f #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521 // NV_vertex_program #define GL_VERTEX_PROGRAM_NV 0x8620 #define GL_VERTEX_STATE_PROGRAM_NV 0x8621 #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623 #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624 #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625 #define GL_CURRENT_ATTRIB_NV 0x8626 #define GL_PROGRAM_LENGTH_NV 0x8627 #define GL_PROGRAM_STRING_NV 0x8628 #define GL_MODELVIEW_PROJECTION_NV 0x8629 #define GL_IDENTITY_NV 0x862A #define GL_INVERSE_NV 0x862B #define GL_TRANSPOSE_NV 0x862C #define GL_INVERSE_TRANSPOSE_NV 0x862D #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E #define GL_MAX_TRACK_MATRICES_NV 0x862F #define GL_MATRIX0_NV 0x8630 #define GL_MATRIX1_NV 0x8631 #define GL_MATRIX2_NV 0x8632 #define GL_MATRIX3_NV 0x8633 #define GL_MATRIX4_NV 0x8634 #define GL_MATRIX5_NV 0x8635 #define GL_MATRIX6_NV 0x8636 #define GL_MATRIX7_NV 0x8637 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640 #define GL_CURRENT_MATRIX_NV 0x8641 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643 #define GL_PROGRAM_PARAMETER_NV 0x8644 #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645 #define GL_PROGRAM_TARGET_NV 0x8646 #define GL_PROGRAM_RESIDENT_NV 0x8647 #define GL_TRACK_MATRIX_NV 0x8648 #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649 #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A #define GL_PROGRAM_ERROR_POSITION_NV 0x864B #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650 #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651 #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652 #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653 #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654 #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655 #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656 #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657 #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658 #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659 #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660 #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661 #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662 #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663 #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664 #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665 #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666 #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667 #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668 #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669 #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670 #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671 #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672 #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673 #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674 #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675 #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676 #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677 #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678 #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679 #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F ///////////////////////////// SGI(S) /////////////////////////////////// // SGI_color_matrix #define GL_COLOR_MATRIX_SGI 0x80B1 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB // SGI_color_table #define GL_COLOR_TABLE_SGI 0x80D0 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2 #define GL_PROXY_COLOR_TABLE_SGI 0x80D3 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5 #define GL_COLOR_TABLE_SCALE_SGI 0x80D6 #define GL_COLOR_TABLE_BIAS_SGI 0x80D7 #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8 #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9 #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF // SGIS_detail_texture #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096 #define GL_LINEAR_DETAIL_SGIS 0x8097 #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098 #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099 #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C // SGIS_fog_function #define GL_FOG_FUNC_SGIS 0x812A #define GL_FOG_FUNC_POINTS_SGIS 0x812B #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C // SGIS_generate_mipmap #define GL_GENERATE_MIPMAP_SGIS 0x8191 #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 // SGIS_multisample #define GL_MULTISAMPLE_SGIS 0x809D #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F #define GL_SAMPLE_MASK_SGIS 0x80A0 #define GL_1PASS_SGIS 0x80A1 #define GL_2PASS_0_SGIS 0x80A2 #define GL_2PASS_1_SGIS 0x80A3 #define GL_4PASS_0_SGIS 0x80A4 #define GL_4PASS_1_SGIS 0x80A5 #define GL_4PASS_2_SGIS 0x80A6 #define GL_4PASS_3_SGIS 0x80A7 #define GL_SAMPLE_BUFFERS_SGIS 0x80A8 #define GL_SAMPLES_SGIS 0x80A9 #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB #define GL_SAMPLE_PATTERN_SGIS 0x80AC // SGIS_multitexture #define TEXTURE0_SGIS 0x835E #define TEXTURE1_SGIS 0x835F #define GL_SELECTED_TEXTURE_SGIS 0x83C0 #define GL_SELECTED_TEXTURE_COORD_SET_SGIS 0x83C1 #define GL_SELECTED_TEXTURE_TRANSFORM_SGIS 0x83C2 #define GL_MAX_TEXTURES_SGIS 0x83C3 #define GL_MAX_TEXTURE_COORD_SETS_SGIS 0x83C4 #define GL_TEXTURE_ENV_COORD_SET_SGIS 0x83C5 #define GL_TEXTURE0_SGIS 0x83C6 #define GL_TEXTURE1_SGIS 0x83C7 #define GL_TEXTURE2_SGIS 0x83C8 #define GL_TEXTURE3_SGIS 0x83C9 #define GL_TEXTURE4_SGIS 0x83CA #define GL_TEXTURE5_SGIS 0x83CB #define GL_TEXTURE6_SGIS 0x83CC #define GL_TEXTURE7_SGIS 0x83CD #define GL_TEXTURE8_SGIS 0x83CE #define GL_TEXTURE9_SGIS 0x83CF #define GL_TEXTURE10_SGIS 0x83D0 #define GL_TEXTURE11_SGIS 0x83D1 #define GL_TEXTURE12_SGIS 0x83D2 #define GL_TEXTURE13_SGIS 0x83D3 #define GL_TEXTURE14_SGIS 0x83D4 #define GL_TEXTURE15_SGIS 0x83D5 #define GL_TEXTURE16_SGIS 0x83D6 #define GL_TEXTURE17_SGIS 0x83D7 #define GL_TEXTURE18_SGIS 0x83D8 #define GL_TEXTURE19_SGIS 0x83D9 #define GL_TEXTURE20_SGIS 0x83DA #define GL_TEXTURE21_SGIS 0x83DB #define GL_TEXTURE22_SGIS 0x83DC #define GL_TEXTURE23_SGIS 0x83DD #define GL_TEXTURE24_SGIS 0x83DE #define GL_TEXTURE25_SGIS 0x83DF #define GL_TEXTURE26_SGIS 0x83E0 #define GL_TEXTURE27_SGIS 0x83E1 #define GL_TEXTURE28_SGIS 0x83E2 #define GL_TEXTURE29_SGIS 0x83E3 #define GL_TEXTURE30_SGIS 0x83E4 #define GL_TEXTURE31_SGIS 0x83E5 // SGIS_pixel_texture #define GL_PIXEL_TEXTURE_SGIS 0x8353 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355 #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356 // SGIS_point_line_texgen #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1 #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3 #define GL_EYE_POINT_SGIS 0x81F4 #define GL_OBJECT_POINT_SGIS 0x81F5 #define GL_EYE_LINE_SGIS 0x81F6 #define GL_OBJECT_LINE_SGIS 0x81F7 // SGIS_point_parameters #define GL_POINT_SIZE_MIN_EXT 0x8126 #define GL_POINT_SIZE_MIN_SGIS 0x8126 #define GL_POINT_SIZE_MAX_EXT 0x8127 #define GL_POINT_SIZE_MAX_SGIS 0x8127 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128 #define GL_DISTANCE_ATTENUATION_EXT 0x8129 #define GL_DISTANCE_ATTENUATION_SGIS 0x8129 // SGIS_sharpen_texture #define GL_LINEAR_SHARPEN_SGIS 0x80AD #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0 // SGI_texture_edge_clamp #define GL_CLAMP_TO_EDGE_SGI 0x812F // SGIS_texture4D #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130 #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131 #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132 #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133 #define GL_TEXTURE_4D_SGIS 0x8134 #define GL_PROXY_TEXTURE_4D_SGIS 0x8135 #define GL_TEXTURE_4DSIZE_SGIS 0x8136 #define GL_TEXTURE_WRAP_Q_SGIS 0x8137 #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138 #define GL_TEXTURE_4D_BINDING_SGIS 0x814F // SGIS_texture_color_mask #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF // SGI_texture_color_table #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD // SGIS_texture_lod #define GL_TEXTURE_MIN_LOD_SGIS 0x813A #define GL_TEXTURE_MAX_LOD_SGIS 0x813B #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D // SGIS_texture_filter4 #define GL_FILTER4_SGIS 0x8146 #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147 // SGIS_texture_select #define GL_DUAL_ALPHA4_SGIS 0x8110 #define GL_DUAL_ALPHA8_SGIS 0x8111 #define GL_DUAL_ALPHA12_SGIS 0x8112 #define GL_DUAL_ALPHA16_SGIS 0x8113 #define GL_DUAL_LUMINANCE4_SGIS 0x8114 #define GL_DUAL_LUMINANCE8_SGIS 0x8115 #define GL_DUAL_LUMINANCE12_SGIS 0x8116 #define GL_DUAL_LUMINANCE16_SGIS 0x8117 #define GL_DUAL_INTENSITY4_SGIS 0x8118 #define GL_DUAL_INTENSITY8_SGIS 0x8119 #define GL_DUAL_INTENSITY12_SGIS 0x811A #define GL_DUAL_INTENSITY16_SGIS 0x811B #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D #define GL_QUAD_ALPHA4_SGIS 0x811E #define GL_QUAD_ALPHA8_SGIS 0x811F #define GL_QUAD_LUMINANCE4_SGIS 0x8120 #define GL_QUAD_LUMINANCE8_SGIS 0x8121 #define GL_QUAD_INTENSITY4_SGIS 0x8122 #define GL_QUAD_INTENSITY8_SGIS 0x8123 #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124 #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125 ///////////////////////////// S3 /////////////////////////////////// // S3_s3tc #define GL_RGB_S3TC 0x83A0 #define GL_RGB4_S3TC 0x83A1 #define GL_RGBA_S3TC 0x83A2 #define GL_RGBA4_S3TC 0x83A3 ///////////////////////////// WIN/WGL /////////////////////////////////// // WGL_ARB_buffer_region #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 #define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002 #define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004 #define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008 // WGL_ARB_pbuffer #define WGL_DRAW_TO_PBUFFER_ARB 0x202D #define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E #define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F #define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030 #define WGL_PBUFFER_LARGEST_ARB 0x2033 #define WGL_PBUFFER_WIDTH_ARB 0x2034 #define WGL_PBUFFER_HEIGHT_ARB 0x2035 #define WGL_PBUFFER_LOST_ARB 0x2036 // WGL_ARB_pixel_format #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000 #define WGL_DRAW_TO_WINDOW_ARB 0x2001 #define WGL_DRAW_TO_BITMAP_ARB 0x2002 #define WGL_ACCELERATION_ARB 0x2003 #define WGL_NEED_PALETTE_ARB 0x2004 #define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005 #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006 #define WGL_SWAP_METHOD_ARB 0x2007 #define WGL_NUMBER_OVERLAYS_ARB 0x2008 #define WGL_NUMBER_UNDERLAYS_ARB 0x2009 #define WGL_TRANSPARENT_ARB 0x200A #define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B #define WGL_SHARE_DEPTH_ARB 0x200C #define WGL_SHARE_STENCIL_ARB 0x200D #define WGL_SHARE_ACCUM_ARB 0x200E #define WGL_SUPPORT_GDI_ARB 0x200F #define WGL_SUPPORT_OPENGL_ARB 0x2010 #define WGL_DOUBLE_BUFFER_ARB 0x2011 #define WGL_STEREO_ARB 0x2012 #define WGL_PIXEL_TYPE_ARB 0x2013 #define WGL_COLOR_BITS_ARB 0x2014 #define WGL_RED_BITS_ARB 0x2015 #define WGL_RED_SHIFT_ARB 0x2016 #define WGL_GREEN_BITS_ARB 0x2017 #define WGL_GREEN_SHIFT_ARB 0x2018 #define WGL_BLUE_BITS_ARB 0x2019 #define WGL_BLUE_SHIFT_ARB 0x201A #define WGL_ALPHA_BITS_ARB 0x201B #define WGL_ALPHA_SHIFT_ARB 0x201C #define WGL_ACCUM_BITS_ARB 0x201D #define WGL_ACCUM_RED_BITS_ARB 0x201E #define WGL_ACCUM_GREEN_BITS_ARB 0x201F #define WGL_ACCUM_BLUE_BITS_ARB 0x2020 #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021 #define WGL_DEPTH_BITS_ARB 0x2022 #define WGL_STENCIL_BITS_ARB 0x2023 #define WGL_AUX_BUFFERS_ARB 0x2024 #define WGL_NO_ACCELERATION_ARB 0x2025 #define WGL_GENERIC_ACCELERATION_ARB 0x2026 #define WGL_FULL_ACCELERATION_ARB 0x2027 #define WGL_SWAP_EXCHANGE_ARB 0x2028 #define WGL_SWAP_COPY_ARB 0x2029 #define WGL_SWAP_UNDEFINED_ARB 0x202A #define WGL_TYPE_RGBA_ARB 0x202B #define WGL_TYPE_COLORINDEX_ARB 0x202C // WIN_phong_shading #define GL_PHONG_WIN 0x80EA #define GL_PHONG_HINT_WIN 0x80EB // WIN_specular_fog #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// // // FUNCION DEFINITIONS // //////////////////////////////////////////////////////////////////////// ///////////////////////////// 3DFX /////////////////////////////////// // 3DFX_tbuffer typedef void (APIENTRY * PFNGLTBUFFERMASK3DFXPROC) (GLuint mask); ///////////////////////////// ARB /////////////////////////////////// // ARB_multisample typedef void (APIENTRY * PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert); typedef void (APIENTRY * PFNGLSAMPLEPASSARBPROC) (GLenum pass); // ARB_multitexture typedef void (APIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); typedef void (APIENTRY * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); typedef void (APIENTRY * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); typedef void (APIENTRY * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); typedef void (APIENTRY * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); typedef void (APIENTRY * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); typedef void (APIENTRY * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); typedef void (APIENTRY * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); typedef void (APIENTRY * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); typedef void (APIENTRY * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); typedef void (APIENTRY * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); typedef void (APIENTRY * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); typedef void (APIENTRY * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); typedef void (APIENTRY * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); typedef void (APIENTRY * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); typedef void (APIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum target); typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum target); // ARB_texture_compression typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img); // ARB_transpose_matrix typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); // ARB_vertex_blend typedef void (APIENTRY *PFNGLWEIGHTBVARBPROC)(GLint size, GLbyte *weights); typedef void (APIENTRY *PFNGLWEIGHTSVARBPROC)(GLint size, GLshort *weights); typedef void (APIENTRY *PFNGLWEIGHTIVARBPROC)(GLint size, GLint *weights); typedef void (APIENTRY *PFNGLWEIGHTFVARBPROC)(GLint size, GLfloat *weights); typedef void (APIENTRY *PFNGLWEIGHTDVARBPROC)(GLint size, GLdouble *weights); typedef void (APIENTRY *PFNGLWEIGHTUBVARBPROC)(GLint size, GLubyte *weights); typedef void (APIENTRY *PFNGLWEIGHTUSVARBPROC)(GLint size, GLushort *weights); typedef void (APIENTRY *PFNGLWEIGHTUIVARBPROC)(GLint size, GLuint *weights); typedef void (APIENTRY *PFNGLWEIGHTPOINTERARBPROC)(GLint size, GLenum type, GLsizei stride, GLvoid *pointer); typedef void (APIENTRY *PFNGLVERTEXBLENDARBPROC)(GLint count); ///////////////////////////// ATI(X) /////////////////////////////////// // ATIX_envmap_bumpmap typedef void (APIENTRY * PFNGLTEXBUMPPARAMETERIVATIXPROC) (GLenum pname, GLint *param); typedef void (APIENTRY * PFNGLTEXBUMPPARAMETERFVATIXPROC) (GLenum pname, GLfloat *param); typedef void (APIENTRY * PFNGLGETTEXBUMPPARAMETERIVATIXPROC) (GLenum pname, GLint *param); typedef void (APIENTRY * PFNGLGETTEXBUMPPARAMETERFVATIXPROC) (GLenum pname, GLfloat *param); // ATIX_pn_triangles typedef void (APIENTRY *PFNGLPNTRIANGLESIATIXPROC)(GLenum pname, GLint param); typedef void (APIENTRY *PFNGLPNTRIANGLESFATIXPROC)(GLenum pname, GLfloat param); // ATI_vertex_blend typedef void (APIENTRY * PFNGLACTIVEVERTEXUNITATIPROC) (GLenum unit); typedef void (APIENTRY * PFNGLCLIENTACTIVEVERTEXUNITATIPROC) (GLenum unit); typedef void (APIENTRY * PFNGLWEIGHTPOINTERATIPROC) (GLenum type, GLsizei stride, void *pointer); typedef void (APIENTRY * PFNGLWEIGHTFATIPROC) (GLenum unit, GLfloat weight); typedef void (APIENTRY * PFNGLWEIGHTDATIPROC) (GLenum unit, GLdouble weight); typedef void (APIENTRY * PFNGLWEIGHTFVATIPROC) (GLenum unit, const GLfloat *v); typedef void (APIENTRY * PFNGLWEIGHTDVATIPROC) (GLenum unit, const GLdouble *v); // ATI_vertex_streams typedef void (APIENTRY * PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream); typedef void (APIENTRY * PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param); typedef void (APIENTRY * PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param); typedef void (APIENTRY * PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y); typedef void (APIENTRY * PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *v); typedef void (APIENTRY * PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y); typedef void (APIENTRY * PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *v); typedef void (APIENTRY * PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y); typedef void (APIENTRY * PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *v); typedef void (APIENTRY * PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y); typedef void (APIENTRY * PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *v); typedef void (APIENTRY * PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); typedef void (APIENTRY * PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *v); typedef void (APIENTRY * PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z); typedef void (APIENTRY * PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *v); typedef void (APIENTRY * PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); typedef void (APIENTRY * PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *v); typedef void (APIENTRY * PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); typedef void (APIENTRY * PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *v); typedef void (APIENTRY * PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); typedef void (APIENTRY * PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *v); typedef void (APIENTRY * PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w); typedef void (APIENTRY * PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *v); typedef void (APIENTRY * PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (APIENTRY * PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *v); typedef void (APIENTRY * PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (APIENTRY * PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *v); typedef void (APIENTRY * PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte x, GLbyte y, GLbyte z); typedef void (APIENTRY * PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *v); typedef void (APIENTRY * PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); typedef void (APIENTRY * PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *v); typedef void (APIENTRY * PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z); typedef void (APIENTRY * PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *v); typedef void (APIENTRY * PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); typedef void (APIENTRY * PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *v); typedef void (APIENTRY * PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); typedef void (APIENTRY * PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *v); ///////////////////////////// EXT /////////////////////////////////// // EXT_blend_color typedef void (APIENTRY * PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); // EXT_blend_func_separate typedef void (APIENTRY * PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); // EXT_blend_minmax typedef void (APIENTRY * PFNGLBLENDEQUATIONEXTPROC) (GLenum mode); // EXT_compiled_vertex_array typedef void (APIENTRY * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count); typedef void (APIENTRY * PFNGLUNLOCKARRAYSEXTPROC) (void); // EXT_copy_texture typedef void (APIENTRY * PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); typedef void (APIENTRY * PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); // EXT_convolution typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params); typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params); typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (APIENTRY * PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); typedef void (APIENTRY * PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); typedef void (APIENTRY * PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); // EXT_coordinate_frame typedef void (APIENTRY * PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz); typedef void (APIENTRY * PFNGLTANGENT3BVEXTPROC) (const GLbyte *v); typedef void (APIENTRY * PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz); typedef void (APIENTRY * PFNGLTANGENT3DVEXTPROC) (const GLdouble *v); typedef void (APIENTRY * PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz); typedef void (APIENTRY * PFNGLTANGENT3FVEXTPROC) (const GLfloat *v); typedef void (APIENTRY * PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz); typedef void (APIENTRY * PFNGLTANGENT3IVEXTPROC) (const GLint *v); typedef void (APIENTRY * PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz); typedef void (APIENTRY * PFNGLTANGENT3SVEXTPROC) (const GLshort *v); typedef void (APIENTRY * PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz); typedef void (APIENTRY * PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v); typedef void (APIENTRY * PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz); typedef void (APIENTRY * PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v); typedef void (APIENTRY * PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz); typedef void (APIENTRY * PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v); typedef void (APIENTRY * PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz); typedef void (APIENTRY * PFNGLBINORMAL3IVEXTPROC) (const GLint *v); typedef void (APIENTRY * PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz); typedef void (APIENTRY * PFNGLBINORMAL3SVEXTPROC) (const GLshort *v); typedef void (APIENTRY * PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); typedef void (APIENTRY * PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); // EXT_cull_vertex typedef void (APIENTRY * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble* params); typedef void (APIENTRY * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat* params); // EXT_draw_range_elements typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); // EXT_fog_coord typedef void (APIENTRY * PFNGLFOGCOORDFEXTPROC) (GLfloat x, GLfloat y, GLfloat z); typedef void (APIENTRY * PFNGLFOGCOORDDEXTPROC) (GLdouble x, GLdouble y, GLdouble z); typedef void (APIENTRY * PFNGLFOGCOORDFVEXTPROC) (GLfloat *v); typedef void (APIENTRY * PFNGLFOGCOORDDVEXTPROC) (GLdouble *v); typedef void (APIENTRY * PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, GLvoid *pointer); // EXT_histogram typedef void (APIENTRY * PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); typedef void (APIENTRY * PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); typedef void (APIENTRY * PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); typedef void (APIENTRY * PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink); typedef void (APIENTRY * PFNGLRESETHISTOGRAMEXTPROC) (GLenum target); typedef void (APIENTRY * PFNGLRESETMINMAXEXTPROC) (GLenum target); // EXT_index_func typedef void (APIENTRY * PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref); // EXT_index_material typedef void (APIENTRY * PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode); // EXT_light_texture typedef void (APIENTRY * PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode); typedef void (APIENTRY * PFNGLTEXTURELIGHTEXTPROC) (GLenum pname); typedef void (APIENTRY * PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode); // EXT_multi_draw_arrays typedef void (APIENTRY * PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); typedef void (APIENTRY * PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); // EXT_multisample typedef void (APIENTRY * PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert); typedef void (APIENTRY * PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern); // EXT_paletted_texture typedef void (APIENTRY * PFNGLCOLORTABLEEXTPROC) (GLenum target,GLenum internalFormat,GLsizei width,GLenum format,GLenum type,const GLvoid *data); typedef void (APIENTRY * PFNGLCOLORSUBTABLEEXTPROCCOLORSUBTABLEEXT) (GLenum target,GLsizei start,GLsizei count,GLenum format,GLenum type,const GLvoid *data); typedef void (APIENTRY * PFNGLGETCOLORTABLEEXTPROC) (GLenum target,GLenum format,GLenum type,GLvoid *data); typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target,GLenum pname,GLint *params); typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target,GLenum pname,GLfloat *params); // EXT_pixel_transform typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param); typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param); typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); // EXT_point_parameters typedef void (APIENTRY * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param); typedef void (APIENTRY * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params); typedef void (APIENTRY * PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param); typedef void (APIENTRY * PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); // EXT_polygon_offset typedef void (APIENTRY * PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias); // EXT_secondary_color typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue); // Normal formulation variants typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue); typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue); typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue); typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue); typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue); typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue); typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue); typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v); // vector variants typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v); typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v); typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v); typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v); typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v); typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v); typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v); typedef void (APIENTRY * PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer); // EXT_subtexture typedef void (APIENTRY * PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); typedef void (APIENTRY * PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); // EXT_texture3D typedef void (APIENTRY * PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); typedef void (APIENTRY * PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); // EXT_texture_object (obsolete in OpenGL 1.1+) typedef void (APIENTRY * PFNGLGENTEXTURESEXTPROC) (GLsizei n,GLuint* textures); typedef void (APIENTRY * PFNGLDELETETEXTURESEXTPROC) (GLsizei n,const GLuint* textures); typedef void (APIENTRY * PFNGLBINDTEXTUREEXTPROC) (GLenum target,GLuint texture); typedef void (APIENTRY * PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n,const GLuint* textures,const GLfloat* priorities); typedef void (APIENTRY * PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n,const GLuint* textures, GLboolean* residences); typedef void (APIENTRY * PFNGLISTEXTUREEXTPROC) (GLuint texture); // EXT_texture_perturb_normal typedef void (APIENTRY * PFNGLTEXTURENORMALEXTPROC) (GLenum mode); // EXT_vertex_array typedef void (APIENTRY * PFNGLARRAYELEMENTEXTPROC) (GLint i); typedef void (APIENTRY * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); typedef void (APIENTRY * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count); typedef void (APIENTRY * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer); typedef void (APIENTRY * PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params); typedef void (APIENTRY * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); typedef void (APIENTRY * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); typedef void (APIENTRY * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); typedef void (APIENTRY * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); // EXT_vertex_weighting typedef void (APIENTRY * PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight); typedef void (APIENTRY * PFNGLVERTEXWEIGHTFVEXTPROC) (GLfloat *weight); typedef void (APIENTRY * PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer); ///////////////////////////// KTX /////////////////////////////////// // KTX_buffer_region typedef GLuint (APIENTRY * PFNGLBUFFERREGIONENABLEDEXTPROC) ( void ); typedef GLuint (APIENTRY * PFNGLNEWBUFFERREGIONEXTPROC) ( GLenum region ); typedef void (APIENTRY * PFNGLDELETEBUFFERREGIONEXTPROC) ( GLenum region ); typedef void (APIENTRY * PFNGLREADBUFFERREGIONEXTPROC) ( GLuint region, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (APIENTRY * PFNGLDRAWBUFFERREGIONEXTPROC) ( GLuint region, GLint x, GLint y, GLsizei width, GLsizei height, GLint xDest, GLint yDest); ///////////////////////////// NV /////////////////////////////////// // NV_evaluators typedef void (APIENTRY * PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points); typedef void (APIENTRY * PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params); typedef void (APIENTRY * PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params); typedef void (APIENTRY * PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points); typedef void (APIENTRY * PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params); typedef void (APIENTRY * PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void (APIENTRY * PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); typedef void (APIENTRY * PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); typedef void (APIENTRY * PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode); // NV_fence typedef void (APIENTRY * PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); typedef void (APIENTRY * PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); typedef GLboolean (APIENTRY * PFNGLISFENCENVPROC) (GLuint fence); typedef GLboolean (APIENTRY * PFNGLTESTFENCENVPROC) (GLuint fence); typedef void (APIENTRY * PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); typedef void (APIENTRY * PFNGLFINISHFENCENVPROC) (GLuint fence); typedef void (APIENTRY * PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); // NV_register_combiners typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname,const GLfloat *params); typedef void (APIENTRY * PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname,const GLint *params); typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname,GLfloat param); typedef void (APIENTRY * PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname,GLint param); typedef void (APIENTRY * PFNGLCOMBINERINPUTNVPROC) (GLenum stage,GLenum portion,GLenum variable,GLenum input,GLenum mapping,GLenum componentUsage); typedef void (APIENTRY * PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage,GLenum portion,GLenum abOutput,GLenum cdOutput,GLenum sumOutput,GLenum scale,GLenum bias,GLboolean abDotProduct,GLboolean cdDotProduct,GLboolean muxSum); typedef void (APIENTRY * PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable,GLenum input,GLenum mapping,GLenum componentUsage); typedef void (APIENTRY * PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage,GLenum portion,GLenum variable,GLenum pname,const GLfloat *params); typedef void (APIENTRY * PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage,GLenum portion,GLenum variable,GLenum pname,const GLint *params); typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage,GLenum portion,GLenum pname,const GLfloat *params); typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage,GLenum portion,GLenum pname,GLint *params); typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable,GLenum pname,const GLfloat *params); typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable,GLenum pname,const GLfloat *params); // NV_register_combiners2 typedef void (APIENTRY * PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params); typedef void (APIENTRY * PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params); // NV_vertex_array_range typedef void (APIENTRY * PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, GLvoid *pointer); typedef void (APIENTRY * PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void); // NV_vertex_program typedef GLboolean (APIENTRY * PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences); typedef void (APIENTRY * PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id); typedef void (APIENTRY * PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); typedef void (APIENTRY * PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params); typedef void (APIENTRY * PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs); typedef void (APIENTRY * PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params); typedef void (APIENTRY * PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); typedef void (APIENTRY * PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params); typedef void (APIENTRY * PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program); typedef void (APIENTRY * PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params); typedef void (APIENTRY * PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params); typedef void (APIENTRY * PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params); typedef void (APIENTRY * PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params); typedef void (APIENTRY * PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid* *pointer); typedef GLboolean (APIENTRY * PFNGLISPROGRAMNVPROC) (GLuint id); typedef void (APIENTRY * PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program); typedef void (APIENTRY * PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (APIENTRY * PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v); typedef void (APIENTRY * PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (APIENTRY * PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v); typedef void (APIENTRY * PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v); typedef void (APIENTRY * PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v); typedef void (APIENTRY * PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); typedef void (APIENTRY * PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform); typedef void (APIENTRY * PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer); typedef void (APIENTRY * PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x); typedef void (APIENTRY * PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v); typedef void (APIENTRY * PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x); typedef void (APIENTRY * PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v); typedef void (APIENTRY * PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x); typedef void (APIENTRY * PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v); typedef void (APIENTRY * PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y); typedef void (APIENTRY * PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v); typedef void (APIENTRY * PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y); typedef void (APIENTRY * PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v); typedef void (APIENTRY * PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y); typedef void (APIENTRY * PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v); typedef void (APIENTRY * PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); typedef void (APIENTRY * PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v); typedef void (APIENTRY * PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); typedef void (APIENTRY * PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v); typedef void (APIENTRY * PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z); typedef void (APIENTRY * PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v); typedef void (APIENTRY * PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); typedef void (APIENTRY * PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v); typedef void (APIENTRY * PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); typedef void (APIENTRY * PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v); typedef void (APIENTRY * PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); typedef void (APIENTRY * PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v); typedef void (APIENTRY * PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v); typedef void (APIENTRY * PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); typedef void (APIENTRY * PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); typedef void (APIENTRY * PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); typedef void (APIENTRY * PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); typedef void (APIENTRY * PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); typedef void (APIENTRY * PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); typedef void (APIENTRY * PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); typedef void (APIENTRY * PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); typedef void (APIENTRY * PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); typedef void (APIENTRY * PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); typedef void (APIENTRY * PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); typedef void (APIENTRY * PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); typedef void (APIENTRY * PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v); ///////////////////////////// SGIS /////////////////////////////////// // SGIS_detail_texture typedef void (APIENTRY * PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); typedef void (APIENTRY * PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points); // SGI_color_table typedef void (APIENTRY * PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params); typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params); typedef void (APIENTRY * PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); typedef void (APIENTRY * PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params); // SGIS_fog_function typedef void (APIENTRY * PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points); typedef void (APIENTRY * PFNGLGETFOGFUNCSGISPROC) (const GLfloat *points); // SGIS_multisample typedef void (APIENTRY * PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert); typedef void (APIENTRY * PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern); // SGIS_multitexture typedef void (APIENTRY * PFNGLSELECTTEXTURESGISPROC) (GLenum texture); typedef void (APIENTRY * PFNGLSELECTTEXTURETRANSFORMSGISPROC) (GLenum texture); typedef void (APIENTRY * PFNGLSELECTTEXTURECOORDSETSGISPROC) (GLenum texture); typedef void (APIENTRY * PFNGLMULTITEXCOORD1DSGISPROC) (GLenum texture, GLdouble s); typedef void (APIENTRY * PFNGLMULTITEXCOORD1DVSGISPROC) (GLenum texture, const GLdouble *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD1FSGISPROC) (GLenum texture, GLfloat s); typedef void (APIENTRY * PFNGLMULTITEXCOORD1FVSGISPROC) (GLenum texture, const GLfloat *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD1ISGISPROC) (GLenum texture, GLint s); typedef void (APIENTRY * PFNGLMULTITEXCOORD1IVSGISPROC) (GLenum texture, const GLint *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD1SSGISPROC) (GLenum texture, GLshort s); typedef void (APIENTRY * PFNGLMULTITEXCOORD1SVSGISPROC) (GLenum texture, const GLshort *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD2DSGISPROC) (GLenum texture, GLdouble s, GLdouble t); typedef void (APIENTRY * PFNGLMULTITEXCOORD2DVSGISPROC) (GLenum texture, const GLdouble *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD2FSGISPROC) (GLenum texture, GLfloat s, GLfloat t); typedef void (APIENTRY * PFNGLMULTITEXCOORD2FVSGISPROC) (GLenum texture, const GLfloat *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD2ISGISPROC) (GLenum texture, GLint s, GLint t); typedef void (APIENTRY * PFNGLMULTITEXCOORD2IVSGISPROC) (GLenum texture, const GLint *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD2SSGISPROC) (GLenum texture, GLshort s, GLshort t); typedef void (APIENTRY * PFNGLMULTITEXCOORD2SVSGISPROC) (GLenum texture, const GLshort *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD3DSGISPROC) (GLenum texture, GLdouble s, GLdouble t, GLdouble r); typedef void (APIENTRY * PFNGLMULTITEXCOORD3DVSGISPROC) (GLenum texture, const GLdouble *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD3FSGISPROC) (GLenum texture, GLfloat s, GLfloat t, GLfloat r); typedef void (APIENTRY * PFNGLMULTITEXCOORD3FVSGISPROC) (GLenum texture, const GLfloat *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD3ISGISPROC) (GLenum texture, GLint s, GLint t, GLint r); typedef void (APIENTRY * PFNGLMULTITEXCOORD3IVSGISPROC) (GLenum texture, const GLint *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD3SSGISPROC) (GLenum texture, GLshort s, GLshort t, GLshort r); typedef void (APIENTRY * PFNGLMULTITEXCOORD3SVSGISPROC) (GLenum texture, const GLshort *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD4DSGISPROC) (GLenum texture, GLdouble s, GLdouble t, GLdouble r, GLdouble q); typedef void (APIENTRY * PFNGLMULTITEXCOORD4DVSGISPROC) (GLenum texture, const GLdouble *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD4FSGISPROC) (GLenum texture, GLfloat s, GLfloat t, GLfloat r, GLfloat q); typedef void (APIENTRY * PFNGLMULTITEXCOORD4FVSGISPROC) (GLenum texture, const GLfloat *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD4ISGISPROC) (GLenum texture, GLint s, GLint t, GLint r, GLint q); typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVSGISPROC) (GLenum texture, const GLint *v); typedef void (APIENTRY * PFNGLMULTITEXCOORD4SSGISPROC) (GLenum texture, GLshort s, GLshort t, GLshort r, GLshort q); typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVSGISPROC) (GLenum texture, const GLshort *v); // SGIS_pixel_texture typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param); typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params); typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param); typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); typedef void (APIENTRY * PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params); typedef void (APIENTRY * PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params); // SGIS_sharpen_texture typedef void (APIENTRY * PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); typedef void (APIENTRY * PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points); // SGIS_texture4D typedef void (APIENTRY * PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels); typedef void (APIENTRY * PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels); // SGIS_texture_color_mask typedef void (APIENTRY * PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); // SGIS_texture_filter4 typedef void (APIENTRY * PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights); typedef void (APIENTRY * PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights); ///////////////////////////// WIN/WGL /////////////////////////////////// // WGL_ARB_buffer_region typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType); typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion); typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height); typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc); // WGL_ARB_extensions_string typedef const char * (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hDC); // WGL_ARB_make_current_read typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hGLRC); typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (VOID); // WGL_ARB_pbuffer DECLARE_HANDLE(HPBUFFERARB); typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer); typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC); typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer); typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int *piValue); // WGL_ARB_pixel_format typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hDC, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues); typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hDC, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues); typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hDC, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); // WGL_EXT_extensions_string typedef const char * (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (VOID); // WGL_EXT_swap_constrol typedef void (APIENTRY * PFNGLWGLSWAPINTERVALEXTPROC) (GLint interval); typedef void (APIENTRY * PFNGLWGLGETSWAPINTERVALEXTPROC) (void); // WGL_NV_allocate_memory typedef void * (APIENTRY * PFNWGLALLOCATEMEMORYNVPROC) (int size, float readfreq, float writefreq, float priority); typedef void (APIENTRY * PFNWGLFREEMEMORYNVPROC) (void *pointer); // WIN_swap_hint typedef void (APIENTRY * PFNGLADDSWAPHINTRECTWINPROC) (GLint x, GLint y, GLsizei width, GLsizei height); ////////////////////////////////////////////////////////////////////////// #endif // DEMOGL_GLEXT_H
51.214496
255
0.757219
0a332f7be6ceb1d54417c6ada30062ff1cef7563
423
rs
Rust
tests/web.rs
chickenbreeder/cultures2-wasm
9a30693e3b644c441a2a8ab52541e04a5c797420
[ "Apache-2.0", "MIT" ]
2
2020-12-05T16:17:01.000Z
2021-03-17T22:29:07.000Z
tests/web.rs
chickenbreeder/cultures2-wasm
9a30693e3b644c441a2a8ab52541e04a5c797420
[ "Apache-2.0", "MIT" ]
null
null
null
tests/web.rs
chickenbreeder/cultures2-wasm
9a30693e3b644c441a2a8ab52541e04a5c797420
[ "Apache-2.0", "MIT" ]
1
2020-12-26T01:01:01.000Z
2020-12-26T01:01:01.000Z
//! Test suite for the Web and headless browsers. #![cfg(target_arch = "wasm32")] #[path = "../src/lib.rs"] mod lib; #[path = "../src/pcx.rs"] mod pcx; extern crate wasm_bindgen_test; use wasm_bindgen_test::*; use pcx::*; use std::fs::File; use std::io::BufReader; use std::io::Read; wasm_bindgen_test_configure!(run_in_browser); #[wasm_bindgen_test] fn test_tessellate() { lib::triangulate(2, 2, &[0, 0, 0, 0]); }
21.15
49
0.669031
4759dcdf91500f1f21d2ed7c66dea360f0609bb6
223
swift
Swift
CurrencyCalc/Extensions/UIView+Extension.swift
EreskinVA/CurrencyCalc
99a382f5db5c538a95c0c7d09cdff157ec241843
[ "MIT" ]
null
null
null
CurrencyCalc/Extensions/UIView+Extension.swift
EreskinVA/CurrencyCalc
99a382f5db5c538a95c0c7d09cdff157ec241843
[ "MIT" ]
null
null
null
CurrencyCalc/Extensions/UIView+Extension.swift
EreskinVA/CurrencyCalc
99a382f5db5c538a95c0c7d09cdff157ec241843
[ "MIT" ]
null
null
null
// // UIView+Extension.swift // CurrencyCalc // // Created by Admin on 11.11.2020. // import UIKit extension UIView { func addSubviews(_ views: UIView...) { views.forEach { view in self.addSubview(view) } } }
13.117647
39
0.650224
c66e0f6474ac556c5d5cc1570f4c18895dc50b9c
3,324
py
Python
utils.py
AndersonYong/URetinex-Net
050ed5da95a8346f303f471d024d83e073133bf1
[ "MIT" ]
null
null
null
utils.py
AndersonYong/URetinex-Net
050ed5da95a8346f303f471d024d83e073133bf1
[ "MIT" ]
null
null
null
utils.py
AndersonYong/URetinex-Net
050ed5da95a8346f303f471d024d83e073133bf1
[ "MIT" ]
null
null
null
import torchvision from torch.nn import init import numpy as np import os import time import torch from PIL import Image import glob def save_TensorImg(img_tensor, path, nrow=1): torchvision.utils.save_image(img_tensor, path, nrow=nrow) def np_save_TensorImg(img_tensor, path): img = np.squeeze(img_tensor.cpu().permute(0, 2, 3, 1).numpy()) im = Image.fromarray(np.clip(img*255, 0, 255.0).astype('uint8')) im.save(path, 'png') def define_modelR(opts): if opts.R_model == "HalfDnCNNSE": from network.restoration import HalfDnCNNSE model_R = HalfDnCNNSE(opts) return model_R def define_modelL(opts): if opts.L_model == "Illumination_Alone": from network.illumination_enhance import Illumination_Alone model_L = Illumination_Alone(opts) return model_L def define_modelA(opts): if opts.A_model == "naive": from network.illumination_adjustment import Adjust_naive model_A = Adjust_naive(opts) return model_A def load_initialize(model, decom_model_path): if os.path.exists(decom_model_path): checkpoint_Decom_low = torch.load(decom_model_path) model.load_state_dict(checkpoint_Decom_low['state_dict']['model_R']) # to freeze the params of Decomposition Model for param in model.parameters(): param.requires_grad = False return model else: print("pretrained Initialize Model does not exist, check ---> %s " % decom_model_path) exit() def load_unfolding(unfolding_model_path): if os.path.exists(unfolding_model_path): checkpoint = torch.load(unfolding_model_path) old_opts = checkpoint["opts"] model_R = define_modelR(old_opts) model_L = define_modelL(old_opts) model_R.load_state_dict(checkpoint['state_dict']['model_R']) model_L.load_state_dict(checkpoint['state_dict']['model_L']) for param_R in model_R.parameters(): param_R.requires_grad = False for param_L in model_L.parameters(): param_L.requires_grad = False return old_opts, model_R, model_L else: print("pretrained Unfolding Model does not exist, check ---> %s"%unfolding_model_path) exit() def load_adjustment(adjust_model_path): if os.path.exists(adjust_model_path): checkpoint_Adjust = torch.load(adjust_model_path) model_A = define_modelA(checkpoint_Adjust['opts']) model_A.load_state_dict(checkpoint_Adjust['state_dict']['model_A']) print(" ===========> loading pretrained Illumination Adjustment Model from: %s " % adjust_model_path) # to freeze the params of Decomposition Model for param in model_A.parameters(): param.requires_grad = False return model_A else: print("pretrained Adjustment Model does not exist, check ---> %s"%adjust_model_path) exit() def param_all(model, net_input): import torchsummary shape = net_input.shape torchsummary.summary(model, (shape[1], shape[2], shape[3])) def param_self_compute(model): parmas = 0 for p in model.parameters(): #print(p) parmas += p.numel() return parmas
33.575758
111
0.659747
79cfd1622279f81d5c15251083a3d392981c5c3c
4,402
php
PHP
prestashop/modules/bankwire/translations/ja.php
victorespnt/v-eshop
2d02f80778469e2a8c95964140fdb6dc76978234
[ "MIT" ]
null
null
null
prestashop/modules/bankwire/translations/ja.php
victorespnt/v-eshop
2d02f80778469e2a8c95964140fdb6dc76978234
[ "MIT" ]
null
null
null
prestashop/modules/bankwire/translations/ja.php
victorespnt/v-eshop
2d02f80778469e2a8c95964140fdb6dc76978234
[ "MIT" ]
null
null
null
<?php global $_MODULE; $_MODULE = array(); $_MODULE['<{bankwire}prestashop>bankwire_05adcee99142c1a60fb38bb1330bbbc1'] = '銀行振込'; $_MODULE['<{bankwire}prestashop>bankwire_cbe0a99684b145e77f3e14174ac212e3'] = '詳細を削除してよろしいですか?'; $_MODULE['<{bankwire}prestashop>bankwire_0ea0227283d959415eda0cfa31d9f718'] = '正確にこのモジュールを使用するためには、所有者と詳細を設定する必要がございます。'; $_MODULE['<{bankwire}prestashop>bankwire_a02758d758e8bec77a33d7f392eb3f8a'] = 'このモジュールの通貨の設定がありません'; $_MODULE['<{bankwire}prestashop>bankwire_bfa43217dfe8261ee7cb040339085677'] = 'アカウントの詳細が必要です。'; $_MODULE['<{bankwire}prestashop>bankwire_ccab155f173ac76f79eb192703f86b18'] = 'アカンウントの所有者が必要です。'; $_MODULE['<{bankwire}prestashop>bankwire_c888438d14855d7d96a2724ee9c306bd'] = '設定は更新されました'; $_MODULE['<{bankwire}prestashop>bankwire_5dd532f0a63d89c5af0243b74732f63c'] = 'お問合せ詳細'; $_MODULE['<{bankwire}prestashop>bankwire_857216dd1b374de9bf54068fcd78a8f3'] = '所有者アカウント'; $_MODULE['<{bankwire}prestashop>bankwire_3ec365dd533ddb7ef3d1c111186ce872'] = '詳細'; $_MODULE['<{bankwire}prestashop>bankwire_6b154cafbab54ba3a1e76a78c290c02a'] = '銀行支店として、IBAN番号、BICなど'; $_MODULE['<{bankwire}prestashop>bankwire_f9a1a1bb716cbae0503d351ea2af4b34'] = '銀行住所'; $_MODULE['<{bankwire}prestashop>bankwire_c9cc8cce247e49bae79f15173ce97354'] = '保存'; $_MODULE['<{bankwire}prestashop>validation_e2b7dec8fa4b498156dfee6e4c84b156'] = 'この支払方法は利用可能ではありません。'; $_MODULE['<{bankwire}prestashop>payment_execution_6ff063fbc860a79759a7369ac32cee22'] = '注文'; $_MODULE['<{bankwire}prestashop>payment_execution_f1d3b424cd68795ecaa552883759aceb'] = '注文の要約'; $_MODULE['<{bankwire}prestashop>payment_execution_879f6b8877752685a966564d072f498f'] = 'ショッピングカートは空です'; $_MODULE['<{bankwire}prestashop>payment_execution_05adcee99142c1a60fb38bb1330bbbc1'] = '銀行振込'; $_MODULE['<{bankwire}prestashop>payment_execution_afda466128ee0594745d9f8152699b74'] = '銀行振込での支払いを選択しました'; $_MODULE['<{bankwire}prestashop>payment_execution_c884ed19483d45970c5bf23a681e2dd2'] = 'ここは注文の要約です:'; $_MODULE['<{bankwire}prestashop>payment_execution_e2867a925cba382f1436d1834bb52a1c'] = '注文の合計金額です'; $_MODULE['<{bankwire}prestashop>payment_execution_1f87346a16cf80c372065de3c54c86d9'] = '(税込)'; $_MODULE['<{bankwire}prestashop>payment_execution_b28be4c423d93e02081f4e79fe2434e8'] = '私達は銀行振込での送金に複数の通貨を受け入れる。'; $_MODULE['<{bankwire}prestashop>payment_execution_a7a08622ee5c8019b57354b99b7693b2'] = '次のいづれかを選択:'; $_MODULE['<{bankwire}prestashop>payment_execution_a854d894458d66d92cabf0411c499ef4'] = '私達は銀行振込での送金に次の通貨を受け入れる:'; $_MODULE['<{bankwire}prestashop>payment_execution_3dd021316505c0204989f984246c6ff1'] = '銀行振込口座情報は次のページに表示されます。'; $_MODULE['<{bankwire}prestashop>payment_execution_46b9e3665f187c739c55983f757ccda0'] = '注文を確認する'; $_MODULE['<{bankwire}prestashop>payment_execution_569fd05bdafa1712c4f6be5b153b8418'] = 'その他の支払い方法'; $_MODULE['<{bankwire}prestashop>infos_c1be305030739396775edaca9813f77d'] = 'このモジュールでは、銀行振込による支払いを受け入れることができます。'; $_MODULE['<{bankwire}prestashop>infos_5fb4bbf993c23848433caf58e6b2816d'] = '電話を受け取った時は、できるだけ早く注文を手動で確認する必要があります。'; $_MODULE['<{bankwire}prestashop>payment_return_88526efe38fd18179a127024aba8c1d7'] = '%s 上の注文は完了'; $_MODULE['<{bankwire}prestashop>payment_return_1f8cdc30326f1f930b0c87b25fdac965'] = '銀行振込で送ってください:'; $_MODULE['<{bankwire}prestashop>payment_return_b2f40690858b404ed10e62bdf422c704'] = '額'; $_MODULE['<{bankwire}prestashop>payment_return_5ca0b1b910f393ed1f9f6fa99e414255'] = 'アカウントの所有者に'; $_MODULE['<{bankwire}prestashop>payment_return_d717aa33e18263b8405ba00e94353cdc'] = 'これらの詳細と'; $_MODULE['<{bankwire}prestashop>payment_return_984482eb9ff11e6310fef641d2268a2a'] = 'この銀行に'; $_MODULE['<{bankwire}prestashop>payment_return_1faa25b80a8d31e5ef25a78d3336606d'] = '銀行振込の件名に注文のリファレンス %s を挿入することを忘れないでください。'; $_MODULE['<{bankwire}prestashop>payment_return_19c419a8a4f1cd621853376a930a2e24'] = 'この情報についてメールで送信されました。'; $_MODULE['<{bankwire}prestashop>payment_return_b9a1cae09e5754424e33764777cfcaa0'] = '決済を受け取ってすぐに注文は送られます'; $_MODULE['<{bankwire}prestashop>payment_return_ca7e41a658753c87973936d7ce2429a8'] = '何か質問があれば、または、詳細についてはご連絡ください'; $_MODULE['<{bankwire}prestashop>payment_return_d15feee53d81ea16269e54d4784fa123'] = '注文の問題に気が付きました。これが誤りであると思われる場合は、ご連絡することができます。'; $_MODULE['<{bankwire}prestashop>payment_5e1695822fc5af98f6b749ea3cbc9b4c'] = '銀行振込での支払い'; $_MODULE['<{bankwire}prestashop>payment_return_decce112a9e64363c997b04aa71b7cb8'] = 'お客様サポート'; return $_MODULE;
84.653846
131
0.831213
13071782aa15b452ebe1fd1d76b2370e0295590a
1,819
kts
Kotlin
build.gradle.kts
ThanosFisherman/SuperheroSquadMaker
227fede5e40dc9decd1ec7da492958980a142083
[ "Apache-2.0" ]
15
2020-09-26T11:49:52.000Z
2021-08-30T17:58:07.000Z
build.gradle.kts
ThanosFisherman/DesquaredCalc
a363d762dc6c5a7c14c06aabb1ad434db6a9189f
[ "Apache-2.0" ]
null
null
null
build.gradle.kts
ThanosFisherman/DesquaredCalc
a363d762dc6c5a7c14c06aabb1ad434db6a9189f
[ "Apache-2.0" ]
1
2020-10-01T19:20:33.000Z
2020-10-01T19:20:33.000Z
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask plugins { id(GradlePluginId.DEPENDENCY_UPDATE) version GradlePluginVersion.GRADLE_VERSION_PLUGIN } buildscript { repositories { google() jcenter() //maven("https://maven.fabric.io/public") } dependencies { classpath(GradlePluginId.ANDROID_GRADLE_PLUGIN) classpath(GradlePluginId.KOTLIN_GRADLE_PLUGIN) classpath(GradlePluginId.SAFE_ARGS_GRADLE_PLUGIN) classpath(GradlePluginId.GOOGLE_PLAY_SERVICES_GRADLE_PLUGIN) } } allprojects { repositories { google() jcenter() maven("https://jitpack.io") } } tasks { val clean by registering(Delete::class) { delete(buildDir) } } tasks.withType<DependencyUpdatesTask> { // Reject all non stable versions rejectVersionIf { isNonStable(candidate.version) } // Disallow release candidates as upgradable versions from stable versions rejectVersionIf { isNonStable(candidate.version) && !isNonStable(currentVersion) } // Using the full syntax resolutionStrategy { componentSelection { all { if (isNonStable(candidate.version) && !isNonStable(currentVersion)) { reject("Release candidate") } } } } // optional parameters checkForGradleUpdate = true outputFormatter = "json" outputDir = "build/dependencyUpdates" reportfileName = "report" } fun isNonStable(version: String): Boolean { val stableKeyword = listOf("RELEASE", "FINAL", "GA").any { version.toUpperCase().contains(it) } val regex = "^[0-9,.v-]+(-r)?$".toRegex() val isStable = stableKeyword || regex.matches(version) return isStable.not() }
25.619718
99
0.649808
e70c61e57417f856c402eab94cd014d652579632
377
php
PHP
template-parts/contact.php
organizeOS/wordpress-theme
9fc5d5c7be7b117e86e48a43f1eecf99923a3c2e
[ "MIT" ]
null
null
null
template-parts/contact.php
organizeOS/wordpress-theme
9fc5d5c7be7b117e86e48a43f1eecf99923a3c2e
[ "MIT" ]
null
null
null
template-parts/contact.php
organizeOS/wordpress-theme
9fc5d5c7be7b117e86e48a43f1eecf99923a3c2e
[ "MIT" ]
null
null
null
<?php /** * Template part for displaying issues * * @link https://codex.wordpress.org/Template_Hierarchy * * @package WordPress * @subpackage organizeOS_WP * @since 1.0 * @version 1.0 */ ?> <?php $args['post_type'] = 'page'; $args['title'] = 'Contact'; $query = new WP_Query( $args ); while ($query->have_posts()) { $query->the_post(); echo the_content(); } ?>
13.962963
55
0.628647
ddaced32118e4cade23508d0af18753b1793d92e
249
java
Java
pluglib/src/main/java/com/xiaomi/smarthome/device/api/service/IXmPluginHostService.java
BigSeer/NewXmPluginSDK
534ffb2e6303fbbd64f3d329fe7f77c6c4b1e5a6
[ "Apache-2.0" ]
196
2016-02-15T09:48:50.000Z
2022-01-04T00:35:14.000Z
pluglib/src/main/java/com/xiaomi/smarthome/device/api/service/IXmPluginHostService.java
BigSeer/NewXmPluginSDK
534ffb2e6303fbbd64f3d329fe7f77c6c4b1e5a6
[ "Apache-2.0" ]
143
2016-10-18T03:42:50.000Z
2022-01-13T11:04:18.000Z
pluglib/src/main/java/com/xiaomi/smarthome/device/api/service/IXmPluginHostService.java
BigSeer/NewXmPluginSDK
534ffb2e6303fbbd64f3d329fe7f77c6c4b1e5a6
[ "Apache-2.0" ]
102
2016-03-01T03:12:53.000Z
2021-08-16T11:23:53.000Z
package com.xiaomi.smarthome.device.api.service; /** * ApiLevel:6 */ @Deprecated public interface IXmPluginHostService { public static final String EXTRA_PACKAGE = "extra_package"; public static final String EXTRA_CLASS = "extra_class"; }
24.9
63
0.759036
14aa93edf856f82aa8f361ab2841a450ed281af6
680
ts
TypeScript
test/demo/better-types/test.controller.ts
KnodesCommunity/nest-casl
0459693321b932a18c20c058aa8ffe0f6879e21b
[ "MIT" ]
null
null
null
test/demo/better-types/test.controller.ts
KnodesCommunity/nest-casl
0459693321b932a18c20c058aa8ffe0f6879e21b
[ "MIT" ]
null
null
null
test/demo/better-types/test.controller.ts
KnodesCommunity/nest-casl
0459693321b932a18c20c058aa8ffe0f6879e21b
[ "MIT" ]
null
null
null
import { Controller, Get } from '@nestjs/common'; import { Policy } from '@knodes/nest-casl'; import { MyAbility } from './ability'; @Controller() // @ts-expect-error -- `something` is not a valid subject @Policy<MyAbility>( { action: 'admin', subject: 'something' } ) // @ts-expect-error -- `rick-roll` is not a valid action @Policy<MyAbility>( { action: 'rick-roll', subject: 'ImportantData' } ) // @ts-expect-error -- `read` is not a valid action on `ImportantData` @Policy<MyAbility>( { action: 'read', subject: 'ImportantData' } ) @Policy<MyAbility>( { action: 'read', subject: 'PublicData' } ) // ... export class TestController { @Get() public method(){ // ... } }
30.909091
71
0.655882
1977ebdcf710a36ba1ecaf7a194afa0a49686370
1,230
sh
Shell
scripts/gathering-user-information.sh
jeslopalo/svn2git
658a8b338bc6501478fc3a845b09152274ff68df
[ "MIT" ]
2
2017-04-28T08:11:21.000Z
2018-07-25T16:29:37.000Z
scripts/gathering-user-information.sh
jeslopalo/svn2git
658a8b338bc6501478fc3a845b09152274ff68df
[ "MIT" ]
null
null
null
scripts/gathering-user-information.sh
jeslopalo/svn2git
658a8b338bc6501478fc3a845b09152274ff68df
[ "MIT" ]
null
null
null
#!/bin/sh set -e red='\033[0;31m' green='\033[0;32m' yellow='\033[0;33m' NC='\033[0m' # No Color echo -e "\n\nWe are going to extract commiters data from SVN repository!" confirmation="M" while [ "$confirmation" != "Y" ] && [ "$confirmation" != "y" ]; do echo -e "What is the SVN url?: " read -e svn_url echo -e "It is ${green}$svn_url${NC} url correct? [Yy]: " read -e confirmation done if [ "$svn_url" == "" ]; then echo -e "${red}GAME OVER!${NC} Sorry, an SVN url is mandatory!" exit fi echo -e "${yellow}Checking out from svn repository $svn_url in repo directory${NC}..." if [ -d "repo" ]; then echo -e "${red}GAME OVER!${NC} Sorry, a ${green}repo${NC} directory already exists, please delete it and start agein." exit fi svn co $svn_url repo echo -e "${yellow}Changing directory to `pwd`/repo ${NC}..." cd repo echo -e "${yellow}Extracting commit authors${NC}..." svn log -q | awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $", "", $2); print $2" = "$2" <"$2">"}' | sort -u > ../authors.txt echo -e "${yellow}Changing to initial directory...${NC}" cd - &>/dev/null echo -e "\nThere is a new file ${green}`pwd`/authors.txt${NC} with committers' data!"
27.333333
126
0.585366
a489b106d004565bb729401c5f00ca6b6541b4f7
426
php
PHP
app/Libraries/RequestApi/User.php
hashab1926/hcis
15b398baf6d1d7b7debb167d1ee3d42739cc2b88
[ "MIT" ]
null
null
null
app/Libraries/RequestApi/User.php
hashab1926/hcis
15b398baf6d1d7b7debb167d1ee3d42739cc2b88
[ "MIT" ]
null
null
null
app/Libraries/RequestApi/User.php
hashab1926/hcis
15b398baf6d1d7b7debb167d1ee3d42739cc2b88
[ "MIT" ]
null
null
null
<?php namespace App\Libraries\RequestApi; use App\Libraries\Api; class User { public function __construct() { $this->api = new Api(); } public function tambah($data) { $this->api->jwtToken = getToken(); $request = $this->api->post('user', $data); if ($request->status_code != 201) throw new \Exception($request->message); return $request; } }
16.384615
52
0.561033
97664099151e18da8b96d34a208eba413e04ce53
810
ts
TypeScript
src/phylopicv2/getExistingNodeUUIDs.ts
keesey/phylopic-publisher
37fc0ed7cca908110be398328487af54d1ed12d0
[ "MIT" ]
null
null
null
src/phylopicv2/getExistingNodeUUIDs.ts
keesey/phylopic-publisher
37fc0ed7cca908110be398328487af54d1ed12d0
[ "MIT" ]
null
null
null
src/phylopicv2/getExistingNodeUUIDs.ts
keesey/phylopic-publisher
37fc0ed7cca908110be398328487af54d1ed12d0
[ "MIT" ]
null
null
null
import { S3Client } from "@aws-sdk/client-s3" import { normalizeUUID } from "phylopic-models" import objectExists from "../s3utils/objectExists" const filterStrings = (x: unknown): x is string => typeof x === "string" const getExistingNodeUUIDs = async (client: S3Client, uuids: readonly string[]): Promise<readonly string[]> => { if (!uuids.length) { return uuids } return ( await Promise.all<string | null>( uuids.map(async uuid => { const exists = await objectExists(client, { Bucket: "source.phylopic.org", Key: `nodes/${normalizeUUID(uuid)}/meta.json`, }) return exists ? uuid : null }), ) ).filter(filterStrings) } export default getExistingNodeUUIDs
35.217391
112
0.587654
fdad423af52b8e38b149981ade511fcfb500bfb1
152
sql
SQL
src/Dfc.CourseDirectory.Database/Pttcd/Indexes/IX_TLevelLocations_TLevelVenue.sql
uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory
cb15ca366a9c3314dfa1272e55ed0493489c8b02
[ "MIT" ]
4
2018-12-06T10:13:42.000Z
2022-01-20T16:44:16.000Z
src/Dfc.CourseDirectory.Database/Pttcd/Indexes/IX_TLevelLocations_TLevelVenue.sql
uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory
cb15ca366a9c3314dfa1272e55ed0493489c8b02
[ "MIT" ]
89
2018-12-06T15:06:39.000Z
2022-03-29T10:22:29.000Z
src/Dfc.CourseDirectory.Database/Pttcd/Indexes/IX_TLevelLocations_TLevelVenue.sql
uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory
cb15ca366a9c3314dfa1272e55ed0493489c8b02
[ "MIT" ]
5
2019-01-18T16:33:20.000Z
2021-04-11T08:33:08.000Z
CREATE UNIQUE INDEX [IX_TLevelLocations_TLevelVenue] ON [Pttcd].[TLevelLocations] ([TLevelId], [VenueId]) WHERE [TLevelLocationStatus] = 1 -- Live
30.4
53
0.75
884783d7f230dd795a9e2c375d20741475fd7d87
4,996
cs
C#
Behemoth.LuaUtil/LuaState.cs
rsaarelm/behemoth
7499f0255fd77f59a0f687c16f8ec4e7cc6a55a1
[ "MIT" ]
1
2016-05-08T20:05:51.000Z
2016-05-08T20:05:51.000Z
Behemoth.LuaUtil/LuaState.cs
rsaarelm/behemoth
7499f0255fd77f59a0f687c16f8ec4e7cc6a55a1
[ "MIT" ]
null
null
null
Behemoth.LuaUtil/LuaState.cs
rsaarelm/behemoth
7499f0255fd77f59a0f687c16f8ec4e7cc6a55a1
[ "MIT" ]
null
null
null
using System; using System.Collections.Generic; using Tao.Lua; namespace Behemoth.LuaUtil { /// <summary> /// The common Lua types, excluding weirder stuff like threads and userdata. /// </summary> public enum LuaType { Nil = Lua.LUA_TNIL, Bool = Lua.LUA_TBOOLEAN, Number = Lua.LUA_TNUMBER, String = Lua.LUA_TSTRING, Table = Lua.LUA_TTABLE, Function = Lua.LUA_TFUNCTION, } public class LuaState { public LuaState() { luaState = Lua.luaL_newstate(); } ~LuaState() { Lua.lua_close(luaState); } /// <summary> /// Return the inner IntPtr state value that can be used with the Tao Lua /// API. /// </summary> public IntPtr Ptr { get { return luaState; } } /// <summary> /// Evaluate a string containing Lua code. /// </summary> public void DoString(string str) { int status; status = Lua.luaL_loadstring(luaState, str); Check(status); status = Lua.lua_pcall(luaState, 0, Lua.LUA_MULTRET, 0); Check(status); } /// <summary> /// Check for Lua error status. /// </summary> private void Check(int status) { if (status != 0) { // Read the error message from the stack. string errMsg = Lua.lua_tostring(luaState, -1); // Remove error message. Lua.lua_pop(luaState, -1); throw new LuaException(errMsg); } } /// <summary> /// Dump a primitive value or a table into a C# Object. Tables are dumped /// using DumpTable. /// </summary> public Object Dump(int stackPos) { switch ((LuaType)Lua.lua_type(luaState, stackPos)) { case LuaType.Nil: return null; case LuaType.Bool: return Lua.lua_toboolean(luaState, stackPos) != 0; case LuaType.Number: return Lua.lua_tonumber(luaState, stackPos); case LuaType.String: return Lua.lua_tostring(luaState, stackPos); case LuaType.Table: return DumpTable(stackPos); case LuaType.Function: throw new LuaException("Value is a function, not a primitive."); default: throw new LuaException("Can't get value of Lua type "+ Lua.lua_type(luaState, stackPos)); } } /// <summary> /// Makes a dictionary of a Lua table. /// </summary> /// <remarks> /// Tables or functions as keys are not supported and their pairs will be /// ignored. Functions as values are not supported and their pairs will be /// ignored. Loops are not checked for, tables that form a referential /// loop will cause an infinite recursion. /// </remarks> public IDictionary<Object, Object> DumpTable(int stackPos) { var result = new Dictionary<Object, Object>(); // Start iterating the stack. First push a nil starter key. Lua.lua_pushnil(luaState); while (Lua.lua_next(luaState, stackPos) != 0) { int keyPos = Lua.lua_gettop(luaState) - 1; int valPos = Lua.lua_gettop(luaState); if (IsValidDumpKey(keyPos) && IsValidDumpValue(valPos)) { var key = Dump(keyPos); var val = Dump(valPos); result[key] = val; } // Pop the value, keep the key so that iteration may continue. Lua.lua_pop(luaState, 1); } return result; } /// <summary> /// Dump the global values in the state into a dictionary using DumpTable. /// </summary> public IDictionary<Object, Object> DumpGlobals() { return DumpTable(Lua.LUA_GLOBALSINDEX); } /// <summary> /// Iterate through the array component of a dumped Lua table. Lua arrays /// items are table values indexed by keys in a series 1.0, 2.0, 3.0, ... /// The iteration will start from key 1.0 and yield keys as long as there /// are consecutive numeric keys in the table. /// </summary> public static IEnumerable<Object> ArrayPart(IDictionary<Object, Object> luaTable) { double key = 1.0; while (luaTable.ContainsKey(key)) { yield return luaTable[key]; key += 1.0; } } private bool IsValidDumpKey(int stackPos) { switch ((LuaType)Lua.lua_type(luaState, stackPos)) { case LuaType.Bool: return true; case LuaType.Number: return true; case LuaType.String: return true; default: return false; } } private bool IsValidDumpValue(int stackPos) { switch ((LuaType)Lua.lua_type(luaState, stackPos)) { case LuaType.Bool: return true; case LuaType.Number: return true; case LuaType.String: return true; case LuaType.Table: return true; default: return false; } } private IntPtr luaState; } public class LuaException : Exception { public LuaException(string msg) : base(msg) {} } }
24.98
85
0.597278
71e7243aa0bff80ea53a55cbc78c28ef9060ed1b
4,907
swift
Swift
app/BlindWays/Application/Appearance/Appearance.swift
perkinsvision/BlindWays-iOS
e0356132b4ba7f9e500274721dce92f5178d9a2e
[ "Apache-2.0" ]
9
2017-03-29T18:12:36.000Z
2021-03-26T19:06:12.000Z
app/BlindWays/Application/Appearance/Appearance.swift
perkinsvision/BlindWays-iOS
e0356132b4ba7f9e500274721dce92f5178d9a2e
[ "Apache-2.0" ]
2
2018-01-17T01:38:39.000Z
2018-01-17T01:39:34.000Z
app/BlindWays/Application/Appearance/Appearance.swift
perkinsvision/BlindWays-iOS
e0356132b4ba7f9e500274721dce92f5178d9a2e
[ "Apache-2.0" ]
4
2018-01-17T01:31:21.000Z
2018-11-09T21:52:01.000Z
// // Appearance.swift // BlindWays // // Created by Nicholas Bonatsakis on 3/9/16. // Copyright© 2016 Perkins School for the Blind // // All "Perkins Bus Stop App" Software is licensed under Apache Version 2.0. // 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 Anchorage class Appearance { static let shared = Appearance() static let defaultEmptyStateStyle = EmptyStateStyle( backgroundColor: .clear, imageTintColor: .white, messageTintColor: .white, messageFont: UIFont.preferredFont(forTextStyle: .headline), actionTintColor: Colors.Common.manilla, actionFont: UIFont.preferredFont(forTextStyle: .headline)) func configure() { let navProxy = UINavigationBar.appearance() Appearance.styleNavBar(navProxy, color: Colors.Common.marineBlue) UISegmentedControl.appearance().tintColor = UIColor.white UISegmentedControl.appearance().setTitleTextAttributes([ NSForegroundColorAttributeName: UIColor.white, ], for: .normal) UISegmentedControl.appearance().setTitleTextAttributes([ NSForegroundColorAttributeName: Colors.Common.marineBlue, ], for: .selected) } static func resetNavBarAppearance() { let navProxy = UINavigationBar.appearance() navProxy.barTintColor = nil navProxy.barStyle = .default navProxy.tintColor = Colors.Common.darkGrassGreen navProxy.setBackgroundImage(nil, for: .default) navProxy.shadowImage = nil } static func styleNavBar(_ navProxy: UINavigationBar, color: UIColor) { navProxy.barStyle = .black navProxy.tintColor = .white navProxy.isTranslucent = false navProxy.setBackgroundImage(UIImage.solid(color: color, size: CGSize(width: 1, height: 1)), for: .default) navProxy.shadowImage = UIImage() } static func modalButton(color: UIColor, textColor: UIColor = Colors.Common.white) -> SolidColorButton { let button = SolidColorButton(titleColor: textColor, backgroundColor: color) button.setContentHuggingPriority(UILayoutPriorityDefaultHigh, for: .vertical) button.setContentHuggingPriority(UILayoutPriorityDefaultHigh, for: .horizontal) button.widthAnchor == 220 button.heightAnchor >= 56 button.layer.cornerRadius = 4.0 button.layer.masksToBounds = true button.titleLabel?.font = UIFont.preferredFont(forTextStyle: .headline) return button } static func printDynamicTextStyleSizes() { // As of iOS 9.3.2: // Title1 = 28.0 pt .SFUIDisplay-Light // Title2 = 22.0 pt .SFUIDisplay-Regular // Title3 = 20.0 pt .SFUIDisplay-Regular // Headline = 17.0 pt .SFUIText-Semibold // Subhead = 15.0 pt .SFUIText-Regular // Body = 17.0 pt .SFUIText-Regular // Callout = 16.0 pt .SFUIText-Regular // Footnote = 13.0 pt .SFUIText-Regular // Caption1 = 12.0 pt .SFUIText-Regular // Caption2 = 11.0 pt .SFUIText-Regular let styles = [ UIFontTextStyle.title1, UIFontTextStyle.title2, UIFontTextStyle.title3, UIFontTextStyle.headline, UIFontTextStyle.subheadline, UIFontTextStyle.body, UIFontTextStyle.callout, UIFontTextStyle.footnote, UIFontTextStyle.caption1, UIFontTextStyle.caption2, ] print("------ Dynamic Text Style Sizes ------") for style in styles { let font = UIFont.preferredFont(forTextStyle: style) print("\(style) - \(font.pointSize) pt \(font.fontName)") } } } extension Appearance: AppLifecycleConfigurable { func onDidLaunch(_ application: UIApplication, launchOptions: [UIApplicationLaunchOptionsKey: Any]?) { configure() } } extension UIImage { class func solid(color: UIColor, size: CGSize) -> UIImage { let rect = CGRect(x: 0, y: 0, width: size.width, height: size.height) UIGraphicsBeginImageContext(rect.size) let context = UIGraphicsGetCurrentContext() context?.setFillColor(color.cgColor) context?.fill(rect) let image = UIGraphicsGetImageFromCurrentImageContext() UIGraphicsEndImageContext() return image! } }
34.801418
114
0.662523
d166204b90bd64bc632d485b618dbcfb135e0846
8,772
cs
C#
WebAPIODataV4Scaffolding/src/System.Web.OData.Design.Scaffolding/Scaffolders/ControllerScaffolderModel.cs
ozippy/lab
569a7aed06a9246829eabab0187c13bbeafea26b
[ "MIT" ]
52
2015-04-16T11:34:03.000Z
2020-12-29T01:59:22.000Z
WebAPIODataV4Scaffolding/src/System.Web.OData.Design.Scaffolding/Scaffolders/ControllerScaffolderModel.cs
ozippy/lab
569a7aed06a9246829eabab0187c13bbeafea26b
[ "MIT" ]
98
2015-06-02T04:34:44.000Z
2021-09-28T15:08:09.000Z
WebAPIODataV4Scaffolding/src/System.Web.OData.Design.Scaffolding/Scaffolders/ControllerScaffolderModel.cs
ozippy/lab
569a7aed06a9246829eabab0187c13bbeafea26b
[ "MIT" ]
68
2015-04-16T16:05:08.000Z
2022-02-25T04:02:33.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Reflection; using System.Web.OData.Design.Scaffolding.VisualStudio; using Microsoft.AspNet.Scaffolding; using Microsoft.AspNet.Scaffolding.EntityFramework; namespace System.Web.OData.Design.Scaffolding { public class ControllerScaffolderModel : MvcViewScaffolderModel { public ControllerScaffolderModel(CodeGenerationContext context) : base(context) { IsModelClassSupported = false; IsAsyncSupported = IsUsingEntityFrameworkWithAsyncSupport(); } public override string OutputFileFullPath { get { return ControllerFileFullPath; } } public string ControllerName { get; set; } public bool IsViewGenerationSupported { get; set; } public bool IsViewGenerationSelected { get; set; } /// <summary> /// Gets or sets a value indicating whether or not the Views/[Controller Name] folder should be created /// during scaffolding. /// </summary> public bool IsViewFolderRequired { get; set; } public bool IsAsyncSelected { get; set; } public bool IsAsyncSupported { get; set; } /// <summary> /// Gets the full path of the code file containing the generated Controller, or null if the ControllerName is null. /// </summary> public string ControllerFileFullPath { get { if (ControllerName == null) { return null; } else { return GetFileFullPath(ControllerName, CodeFileExtension); } } } /// <summary> /// If the user selects the root project and adds the controller for the first time when the Controllers folder is created /// then the namespace will be the appended with controller folder name, else Project namespace will be returned. If the user /// selects anywhere else Project Item's namespace will be returned. /// </summary> public string ControllerNamespace { get { if (ActiveProjectItem == null) { if (IsControllersFolderCreated()) { return ActiveProject.GetDefaultNamespace() + "." + CommonFolderNames.Controllers; } return ActiveProject.GetDefaultNamespace(); } else { return ActiveProjectItem.GetDefaultNamespace(); } } } public string ControllerRootName { get { return MvcProjectUtil.StripControllerName(ControllerName); } } /// <summary> /// Selection relative path can be only set when the project item is not selected and Controllers folders is /// created for the first time. /// </summary> public new string SelectionRelativePath { get { return base.SelectionRelativePath; } set { if (ActiveProjectItem == null && IsControllersFolderCreated()) { base.SelectionRelativePath = value; } } } [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Justification = "We want a consistent API for these validation methods.")] public string ValidateControllerName(string controllerName) { if (String.IsNullOrWhiteSpace(controllerName)) { return Resources.EmptyControllerName; } if (String.Equals(controllerName, MvcProjectUtil.ControllerSuffix, StringComparison.OrdinalIgnoreCase)) { return Resources.InvalidIdentifierReservedName; } return null; } public override void LoadSettings(VisualStudio.IProjectSettings settings) { // TODO - Right now this class inherits from the view scaffolder model, so we need to call into the // base class to read those settings as well. We want to remove this inheritance at some point // and this method will have to change when we do. base.LoadSettings(settings); bool value; if (IsViewGenerationSupported) { if (settings.TryGetBool(SavedSettingsKeys.IsViewGenerationSelectedKey, out value)) { IsViewGenerationSelected = value; } else { // default to true if views are supported and we have no saved state IsViewGenerationSelected = true; } } if (IsAsyncSupported) { if (settings.TryGetBool(SavedSettingsKeys.IsAsyncSelectedKey, out value)) { IsAsyncSelected = value; } } } public override void SaveSettings(VisualStudio.IProjectSettings settings) { // TODO - Right now this class inherits from the view scaffolder model, so we need to call into the // base class to save those settings as well. We want to remove this inheritance at some point // and this method will have to change when we do. base.SaveSettings(settings); // We only want to save this value if this scaffolder uses views. // // Ex: Using the 'empty controller' scaffolder and then going back to 'Controller + EF + Views' should // not uncheck the box for you. if (IsViewGenerationSupported) { settings.SetBool(SavedSettingsKeys.IsViewGenerationSelectedKey, IsViewGenerationSelected); } if (IsAsyncSupported) { settings.SetBool(SavedSettingsKeys.IsAsyncSelectedKey, IsAsyncSelected); } } /// <summary> /// Determines whether the Controller exists. /// </summary> /// <param name="controllerName">The controller name to check.</param> /// <returns><see langword="true" /> if the path contains the name of an existing file; /// otherwise, <see langword="false" />. This method also returns <see langword="false" /> /// if path is <see langword="null" />, an invalid path, or a zero-length string. /// </returns> public bool ControllerExists(string controllerName) { return File.Exists(GetFileFullPath(controllerName, CodeFileExtension)); } private bool IsUsingEntityFrameworkWithAsyncSupport() { foreach (string assemblyPath in ActiveProject.GetAssemblyReferences()) { AssemblyName assembly = AssemblyName.GetAssemblyName(assemblyPath); if (assembly.Name.Equals(AssemblyVersions.AsyncEntityFrameworkAssemblyName)) { return assembly.Version >= AssemblyVersions.AsyncEntityFrameworkMinVersion; } } // Since no reference to Entity Framework exists, the correct version will be added later by the system. return true; } public string GenerateControllerName(string modelClassName) { if (String.IsNullOrWhiteSpace(modelClassName)) { return null; } IEntityFrameworkService efService = Context.ServiceProvider.GetService<IEntityFrameworkService>(); string controllerRootName = efService.GetPluralizedWord(modelClassName, CultureInfo.GetCultureInfo(1033)); if (controllerRootName == null) { controllerRootName = modelClassName; } return GetGeneratedName(controllerRootName + "{0}" + MvcProjectUtil.ControllerSuffix, CodeFileExtension); } private bool IsControllersFolderCreated() { object isControllersFolderCreated; Context.Items.TryGetProperty(ContextKeys.IsControllersFolderCreated, out isControllersFolderCreated); return isControllersFolderCreated == null ? false : (bool)isControllersFolderCreated; } } }
36.702929
154
0.585157
4bb0f092b927cf250520635f39ceee491f1af354
548
go
Go
pkg/bitstring/helper_test.go
arl/evolve
d29777daa90f6bb01bad873ff2dc8fc6c7b899b5
[ "MIT" ]
4
2019-02-13T14:35:25.000Z
2022-02-04T16:45:52.000Z
pkg/bitstring/helper_test.go
arl/evolve
d29777daa90f6bb01bad873ff2dc8fc6c7b899b5
[ "MIT" ]
8
2018-06-09T16:33:43.000Z
2021-03-28T14:32:03.000Z
pkg/bitstring/helper_test.go
aurelien-rainone/evolve
d29777daa90f6bb01bad873ff2dc8fc6c7b899b5
[ "MIT" ]
null
null
null
package bitstring import "fmt" // returns a string representing the first n bits of the base-2 representation // of x (unsigned). func sprintubits(val uint, nbits uint) string { return fmt.Sprintf(fmt.Sprintf("%%0%db", nbits), val) } // returns a string representing the first n bits of the base-2 representation // of x (signed). func sprintsbits(val int, nbits uint) string { if val < 0 { // casting to uint will show us the 2's complement return sprintubits(uint(val), nbits) } return fmt.Sprintf(fmt.Sprintf("%%0%db", nbits), val) }
27.4
78
0.713504
187f852cbdb24055e362be1295f869016a26a0ac
5,747
ts
TypeScript
packages/core/src/securityGroup/filter/SecurityGroupFilterService.ts
kskewes-sf/deck
4e2ec409f093985f4c084f8140c650f29bb9009b
[ "Apache-2.0" ]
291
2015-11-16T17:55:07.000Z
2022-03-25T04:34:56.000Z
packages/core/src/securityGroup/filter/SecurityGroupFilterService.ts
kskewes-sf/deck
4e2ec409f093985f4c084f8140c650f29bb9009b
[ "Apache-2.0" ]
3,413
2015-11-18T23:32:02.000Z
2022-03-29T06:56:59.000Z
packages/core/src/securityGroup/filter/SecurityGroupFilterService.ts
kskewes-sf/deck
4e2ec409f093985f4c084f8140c650f29bb9009b
[ "Apache-2.0" ]
1,114
2015-11-16T19:34:42.000Z
2022-03-28T18:31:34.000Z
import { chain, find, forOwn, groupBy, map, sortBy } from 'lodash'; import { Subject } from 'rxjs'; import type { Application } from '../../application/application.model'; import type { ISecurityGroup, ISecurityGroupGroup } from '../../domain'; import { FilterModelService } from '../../filterModel'; import { SecurityGroupState } from '../../state'; export class SecurityGroupFilterService { public groupsUpdatedStream: Subject<ISecurityGroupGroup[]> = new Subject<ISecurityGroupGroup[]>(); private lastApplication: Application; private addSearchFields(securityGroup: ISecurityGroup): void { if (!securityGroup.searchField) { securityGroup.searchField = [ securityGroup.name, securityGroup.id, securityGroup.accountName, securityGroup.region, securityGroup.vpcName, securityGroup.vpcId, map(securityGroup.usages.serverGroups, 'name').join(' '), map(securityGroup.usages.loadBalancers, 'name').join(' '), ].join(' '); } } private checkSearchTextFilter(securityGroup: ISecurityGroup): boolean { const filter = SecurityGroupState.filterModel.asFilterModel.sortFilter.filter; if (!filter) { return true; } if (filter.includes('vpc:')) { const [, vpcName] = /vpc:([\w-]*)/.exec(filter); return securityGroup.vpcName.toLowerCase() === vpcName.toLowerCase(); } this.addSearchFields(securityGroup); return filter.split(' ').every((testWord: string) => { return securityGroup.searchField.includes(testWord); }); } public clearFilters(): void { SecurityGroupState.filterModel.asFilterModel.clearFilters(); SecurityGroupState.filterModel.asFilterModel.applyParamsToUrl(); } public filterSecurityGroupsForDisplay(securityGroups: ISecurityGroup[]): ISecurityGroup[] { const service = FilterModelService; const model = SecurityGroupState.filterModel.asFilterModel; return chain(securityGroups) .filter((sg) => this.checkSearchTextFilter(sg)) .filter((sg) => service.checkAccountFilters(model)(sg)) .filter((sg) => service.checkRegionFilters(model)(sg)) .filter((sg) => service.checkStackFilters(model)(sg)) .filter((sg) => service.checkDetailFilters(model)(sg)) .filter((sg) => service.checkProviderFilters(model)(sg)) .value(); } public sortGroupsByHeading(groups: ISecurityGroupGroup[]): void { const currentGroups: ISecurityGroupGroup[] = SecurityGroupState.filterModel.asFilterModel.groups; this.diffSubgroups(currentGroups, groups); // sort groups in place so Angular doesn't try to update the world currentGroups.sort((a: ISecurityGroupGroup, b: ISecurityGroupGroup) => { if (a.heading < b.heading) { return -1; } if (a.heading > b.heading) { return 1; } return 0; }); } private diffSubgroups(oldGroups: ISecurityGroupGroup[], newGroups: ISecurityGroupGroup[]): void { const groupsToRemove: number[] = []; oldGroups.forEach((oldGroup, idx) => { const newGroup = (newGroups || []).find((g) => g.heading === oldGroup.heading && g.vpcName === oldGroup.vpcName); if (!newGroup) { groupsToRemove.push(idx); } else { if (newGroup.securityGroup) { oldGroup.securityGroup = newGroup.securityGroup; } if (newGroup.subgroups) { this.diffSubgroups(oldGroup.subgroups, newGroup.subgroups); } if (oldGroup.hasOwnProperty('isManaged') || newGroup.hasOwnProperty('isManaged')) { oldGroup.isManaged = newGroup.isManaged; oldGroup.managedResourceSummary = newGroup.managedResourceSummary; } } }); groupsToRemove.reverse().forEach((idx) => { oldGroups.splice(idx, 1); }); newGroups.forEach((newGroup) => { const match = find(oldGroups, { heading: newGroup.heading }); if (!match) { oldGroups.push(newGroup); } }); } public updateSecurityGroups(application: Application): void { if (!application) { application = this.lastApplication; if (!this.lastApplication) { return null; } } const groups: ISecurityGroupGroup[] = []; const securityGroups = this.filterSecurityGroupsForDisplay(application.securityGroups.data); const grouped = groupBy(securityGroups, 'account'); forOwn(grouped, (group, key) => { const subGroupings = groupBy(group, 'name'); const subGroups: ISecurityGroupGroup[] = []; forOwn(subGroupings, (subGroup, subKey) => { const subSubGroups: ISecurityGroupGroup[] = []; subGroup.forEach((securityGroup) => { const heading = securityGroup.vpcName ? `${securityGroup.region} (${securityGroup.vpcName})` : securityGroup.region; subSubGroups.push({ heading, vpcName: securityGroup.vpcName, securityGroup, isManaged: !!securityGroup.isManaged, managedResourceSummary: securityGroup.managedResourceSummary, }); }); const allRegionsManaged = subSubGroups.every(({ isManaged }) => isManaged); subGroups.push({ heading: subKey, subgroups: sortBy(subSubGroups, ['heading', 'vpcName']), isManaged: allRegionsManaged, managedResourceSummary: allRegionsManaged ? subSubGroups[0].managedResourceSummary : undefined, }); }); groups.push({ heading: key, subgroups: sortBy(subGroups, 'heading') }); }); this.sortGroupsByHeading(groups); SecurityGroupState.filterModel.asFilterModel.addTags(); this.lastApplication = application; this.groupsUpdatedStream.next(groups); } }
35.695652
119
0.656168
f61056fead01cdf449db4c244aef281072338cff
2,642
cpp
C++
FaceSwapper/src/FaceSwapper.cpp
wbailer/FaceSwapping
7caa2f6dbf68db57b3e03ddf1abfc13f28226ce0
[ "MIT" ]
1
2021-09-08T05:58:30.000Z
2021-09-08T05:58:30.000Z
FaceSwapper/src/FaceSwapper.cpp
wbailer/FaceSwapping
7caa2f6dbf68db57b3e03ddf1abfc13f28226ce0
[ "MIT" ]
5
2020-09-25T22:43:01.000Z
2022-02-09T23:44:21.000Z
FaceSwapper/src/FaceSwapper.cpp
wbailer/FaceSwapping
7caa2f6dbf68db57b3e03ddf1abfc13f28226ce0
[ "MIT" ]
2
2020-07-20T16:19:34.000Z
2021-04-09T23:28:07.000Z
#include <stdio.h> #include <fstream> #ifdef _WINDOWS #define WIN32_LEAN_AND_MEAN #define WIN64_LEAN_AND_MEAN #include <windows.h> #else #include <unistd.h> #endif #include <signal.h> #include <stdlib.h> #include <stdio.h> #include <iostream> #include <opencv2\highgui\highgui.hpp> #include <opencv2\core\core.hpp> #include <opencv\cv.hpp> #include "FaceSwapper/FaceSwapping.h" #include "dlib/DlibFaceDetector.h" std::vector<DetectionRegion*>* copyRegionList(std::vector<DetectionRegion*>* src) { std::vector<DetectionRegion*>* dst = new std::vector<DetectionRegion*>(); for (int i = 0; i < src->size(); i++) { DetectionRegion* dr = new DetectionRegion(); dr->copyFromRegion(src->at(i), true); dst->push_back(dr); } return dst; } int main(int argc, char** argv) { if (argc < 4) { std::cerr << "Error: insufficient number of parameters" << std::endl; std::cerr << "Usage: FaceSwapper <inputImage> <faceImage> <outputImage>" << std::endl; } std::string inputImage = argv[1]; std::string faceImage = argv[2]; std::string outputImage = argv[3]; std::cout << "loading " << inputImage << std::endl; cv::Mat inputImg = cv::imread(inputImage, CV_LOAD_IMAGE_COLOR); cv::Mat targetImg = inputImg.clone(); std::cout << "loading " << faceImage << std::endl; cv::Mat faceImg = cv::imread(inputImage, CV_LOAD_IMAGE_COLOR); std::cout << "running face det on both images " << std::endl; FaceDetectorDlib faceDetector; faceDetector.doLazyInit("mmod_human_face_detector.dat"); std::vector<DetectionRegion*>* detectedInputRegions = faceDetector.calculate(inputImg, 0.9); printf("Input: number of detected regions:%d\n", (int)(detectedInputRegions->size())); std::vector<DetectionRegion*>* detectedFaceRegions = faceDetector.calculate(faceImg, 0.98); printf("Face templates: number of detected regions:%d\n", (int)(detectedFaceRegions->size())); Jrs::FaceSwapper::FaceSwapping fswap("./models/shape_predictor_68_face_landmarks.dat"); //Jrs::FaceSwapper::FaceSwapping fswap("./models/face_landmark_model.dat",true); std::cout << "replacing ... " << std::endl; srand((unsigned)time(0)); for (int i = 0; i < detectedInputRegions->size(); i++) { int faceId = rand() % detectedFaceRegions->size(); std::cout << "replacing face " << i << " with generated face " << faceId << std::endl; fswap.swapFaces(inputImg, targetImg, faceImg, detectedInputRegions->at(i), detectedFaceRegions->at(faceId)); std::cout << "done " << std::endl; } try { cv::imwrite(outputImage, targetImg); } catch (std::exception e) { std::cerr << "failed to write image " << std::endl; } return 0; }
24.924528
110
0.691143
b3181b33b117a8ade8ea2aca94d2bffe254da2c0
1,750
py
Python
src/vegas_test_results.py
arunmarria/DSCI522_Group413_WhatHappensInVegas
c7ab569cad8a453701d5218bbaf29cb5bc062cdd
[ "MIT" ]
1
2020-02-04T19:03:17.000Z
2020-02-04T19:03:17.000Z
src/vegas_test_results.py
arunmarria/DSCI522_Group413_WhatHappensInVegas
c7ab569cad8a453701d5218bbaf29cb5bc062cdd
[ "MIT" ]
17
2020-01-18T00:52:23.000Z
2020-02-06T04:37:25.000Z
src/vegas_test_results.py
arunmarria/DSCI522_Group413_WhatHappensInVegas
c7ab569cad8a453701d5218bbaf29cb5bc062cdd
[ "MIT" ]
4
2020-01-18T00:08:32.000Z
2020-01-29T23:00:01.000Z
# authors: Arun, Bronwyn, Manish # date: 2020-01-23 """Calculates MSE error for test set Usage: src/vegas_test_results.py --test=<test> --out_dir=<out_dir> Options: --test=<test> Path (including filename) to training data --out_dir=<out_dir> Path to directory where model results on test set need to be saved """ # importing required libraries from docopt import docopt import os import matplotlib.pyplot as plt from pandas.plotting import table import numpy as np import selenium import pickle import pandas as pd # regressors / models from sklearn.linear_model import LinearRegression, LogisticRegression, Lasso, Ridge from sklearn.svm import SVR from sklearn.ensemble import RandomForestRegressor # Feature selection from sklearn.feature_selection import RFE # other from sklearn.metrics import mean_squared_error from sklearn.model_selection import train_test_split, GridSearchCV, cross_val_score from sklearn.feature_extraction.text import CountVectorizer import warnings warnings.simplefilter(action='ignore', category=FutureWarning) import altair as alt opt = docopt(__doc__) def main(test, out_dir): test_data = pd.read_csv(test) X = test_data.drop('score', axis =1) y = test_data['score'] # loading required features based on training cols_to_consider = np.load("results/features_to_use.npy", allow_pickle = True) X = X[cols_to_consider] # fetching trained model and predicting results model = pickle.load(open("results/finalized_model.sav", 'rb')) y_pred = model.predict(X) print("Model evaluated successfully on test data, MSE error - " , round(mean_squared_error( y, y_pred),3)) # if __name__ == "__main__": main(opt["--test"], opt["--out_dir"])
26.515152
110
0.749143
7a9e73662efa439872a991ea3dadc3cc2ed7dc03
119
cs
C#
Special Course/Assets/Plugins/StansAssets/Modules/AndroidNative/Scripts/Billing/Enum/AN_InAppType.cs
KingOfFawns/Special_Course
ca06d1a39bb69fdba3b6e8b998bd81e74bfe7918
[ "MIT" ]
null
null
null
Special Course/Assets/Plugins/StansAssets/Modules/AndroidNative/Scripts/Billing/Enum/AN_InAppType.cs
KingOfFawns/Special_Course
ca06d1a39bb69fdba3b6e8b998bd81e74bfe7918
[ "MIT" ]
null
null
null
Special Course/Assets/Plugins/StansAssets/Modules/AndroidNative/Scripts/Billing/Enum/AN_InAppType.cs
KingOfFawns/Special_Course
ca06d1a39bb69fdba3b6e8b998bd81e74bfe7918
[ "MIT" ]
null
null
null
using UnityEngine; using System.Collections; public enum AN_InAppType { Consumable, NonConsumable, Subscription }
13.222222
26
0.798319
440d11e1d65a1ff02edb49a4f74d358f7ec5117e
347
py
Python
Lection 1. Graphs representation/_gens/testgen.py
gennadiychistyakov/graphs-theory-materials
191db41634d2bb9a0661963d489a34ba731506f1
[ "MIT" ]
null
null
null
Lection 1. Graphs representation/_gens/testgen.py
gennadiychistyakov/graphs-theory-materials
191db41634d2bb9a0661963d489a34ba731506f1
[ "MIT" ]
null
null
null
Lection 1. Graphs representation/_gens/testgen.py
gennadiychistyakov/graphs-theory-materials
191db41634d2bb9a0661963d489a34ba731506f1
[ "MIT" ]
null
null
null
import os import random count = 30 os.system("javac GraphsGenerator.java") for i in range(count): vertex, density = random.randint(400, 600), random.randint(400, 600) / 1000 os.system("java GraphGenerator simplegraph " + str(vertex) + " " + str(density) + " > " + ("0" + str(i + 1) + ".in")[-5:]) os.system("del GraphGenerator.class")
34.7
124
0.648415
d7b5a840a4a46850a2da7d3c67d32fec3bb380f3
9,745
asm
Assembly
cpmsim/srccpm2/bios.asm
qoelet/z80pack
c8845396636e7316d449b4107c5c7ab98fffbc1a
[ "MIT" ]
85
2018-02-26T02:45:55.000Z
2022-03-27T00:04:54.000Z
cpmsim/srccpm2/bios.asm
lawrencewoodman/z80pack
d57e3b50cd796e3f562c569a8270b4586999b12a
[ "MIT" ]
76
2018-03-02T12:38:11.000Z
2022-01-28T11:46:02.000Z
cpmsim/srccpm2/bios.asm
lawrencewoodman/z80pack
d57e3b50cd796e3f562c569a8270b4586999b12a
[ "MIT" ]
25
2018-02-24T15:50:23.000Z
2022-03-07T11:23:10.000Z
; Z80 CBIOS for Z80-Simulator ; ; Copyright (C) 1988-2007 by Udo Munk ; MSIZE EQU 64 ;cp/m version memory size in kilobytes ; ; "bias" is address offset from 3400H for memory systems ; than 16K (referred to as "b" throughout the text). ; BIAS EQU (MSIZE-20)*1024 CCP EQU 3400H+BIAS ;base of ccp BDOS EQU CCP+806H ;base of bdos BIOS EQU CCP+1600H ;base of bios NSECTS EQU (BIOS-CCP)/128 ;warm start sector count CDISK EQU 0004H ;current disk number 0=A,...,15=P IOBYTE EQU 0003H ;intel i/o byte ; ; I/O ports ; CONSTA EQU 0 ;console status port CONDAT EQU 1 ;console data port PRTSTA EQU 2 ;printer status port PRTDAT EQU 3 ;printer data port AUXDAT EQU 5 ;auxiliary data port FDCD EQU 10 ;fdc-port: # of drive FDCT EQU 11 ;fdc-port: # of track FDCS EQU 12 ;fdc-port: # of sector FDCOP EQU 13 ;fdc-port: command FDCST EQU 14 ;fdc-port: status DMAL EQU 15 ;dma-port: dma address low DMAH EQU 16 ;dma-port: dma address high ; ORG BIOS ;origin of this program ; ; jump vector for individual subroutines ; JP BOOT ;cold start WBOOTE: JP WBOOT ;warm start JP CONST ;console status JP CONIN ;console character in JP CONOUT ;console character out JP LIST ;list character out JP PUNCH ;punch character out JP READER ;reader character in JP HOME ;move head to home position JP SELDSK ;select disk JP SETTRK ;set track number JP SETSEC ;set sector number JP SETDMA ;set dma address JP READ ;read disk JP WRITE ;write disk JP LISTST ;return list status JP SECTRAN ;sector translate ; ; fixed data tables for four-drive standard ; IBM-compatible 8" SD disks ; ; disk parameter header for disk 00 DPBASE: DEFW TRANS,0000H DEFW 0000H,0000H DEFW DIRBF,DPBLK DEFW CHK00,ALL00 ; disk parameter header for disk 01 DEFW TRANS,0000H DEFW 0000H,0000H DEFW DIRBF,DPBLK DEFW CHK01,ALL01 ; disk parameter header for disk 02 DEFW TRANS,0000H DEFW 0000H,0000H DEFW DIRBF,DPBLK DEFW CHK02,ALL02 ; disk parameter header for disk 03 DEFW TRANS,0000H DEFW 0000H,0000H DEFW DIRBF,DPBLK DEFW CHK03,ALL03 ; ; sector translate vector for the IBM 8" SD disks ; TRANS: DEFB 1,7,13,19 ;sectors 1,2,3,4 DEFB 25,5,11,17 ;sectors 5,6,7,8 DEFB 23,3,9,15 ;sectors 9,10,11,12 DEFB 21,2,8,14 ;sectors 13,14,15,16 DEFB 20,26,6,12 ;sectors 17,18,19,20 DEFB 18,24,4,10 ;sectors 21,22,23,24 DEFB 16,22 ;sectors 25,26 ; ; disk parameter block, common to all IBM 8" SD disks ; DPBLK: DEFW 26 ;sectors per track DEFB 3 ;block shift factor DEFB 7 ;block mask DEFB 0 ;extent mask DEFW 242 ;disk size-1 DEFW 63 ;directory max DEFB 192 ;alloc 0 DEFB 0 ;alloc 1 DEFW 16 ;check size DEFW 2 ;track offset ; ; fixed data tables for 4MB harddisks ; ; disk parameter header HDB1: DEFW 0000H,0000H DEFW 0000H,0000H DEFW DIRBF,HDBLK DEFW CHKHD1,ALLHD1 HDB2: DEFW 0000H,0000H DEFW 0000H,0000H DEFW DIRBF,HDBLK DEFW CHKHD2,ALLHD2 ; ; disk parameter block for harddisk ; HDBLK: DEFW 128 ;sectors per track DEFB 4 ;block shift factor DEFB 15 ;block mask DEFB 0 ;extent mask DEFW 2039 ;disk size-1 DEFW 1023 ;directory max DEFB 255 ;alloc 0 DEFB 255 ;alloc 1 DEFW 0 ;check size DEFW 0 ;track offset ; ; messages ; SIGNON: DEFM '64K CP/M Vers. 2.2 (Z80 CBIOS V1.2 for Z80SIM, ' DEFM 'Copyright 1988-2007 by Udo Munk)' DEFB 13,10,0 ; LDERR: DEFM 'BIOS: error booting' DEFB 13,10,0 ; ; end of fixed tables ; ; utility functions ; ; print a 0 terminated string to console device ; pointer to string in HL ; PRTMSG: LD A,(HL) OR A RET Z LD C,A CALL CONOUT INC HL JP PRTMSG ; ; individual subroutines to perform each function ; simplest case is to just perform parameter initialization ; BOOT: LD SP,80H ;use space below buffer for stack LD HL,SIGNON ;print message CALL PRTMSG XOR A ;zero in the accum LD (IOBYTE),A ;clear the iobyte LD (CDISK),A ;select disk zero JP GOCPM ;initialize and go to cp/m ; ; simplest case is to read the disk until all sectors loaded ; WBOOT: LD SP,80H ;use space below buffer for stack LD C,0 ;select disk 0 CALL SELDSK CALL HOME ;go to track 00 ; LD B,NSECTS ;b counts # of sectors to load LD C,0 ;c has the current track number LD D,2 ;d has the next sector to read ; note that we begin by reading track 0, sector 2 since sector 1 ; contains the cold start loader, which is skipped in a warm start LD HL,CCP ;base of cp/m (initial load point) LOAD1: ;load one more sector PUSH BC ;save sector count, current track PUSH DE ;save next sector to read PUSH HL ;save dma address LD C,D ;get sector address to register c CALL SETSEC ;set sector address from register c POP BC ;recall dma address to b,c PUSH BC ;replace on stack for later recall CALL SETDMA ;set dma address from b,c ; drive set to 0, track set, sector set, dma address set CALL READ OR A ;any errors? JP Z,LOAD2 ;no, continue LD HL,LDERR ;error, print message CALL PRTMSG DI ;and halt the machine HALT ; no error, move to next sector LOAD2: POP HL ;recall dma address LD DE,128 ;dma=dma+128 ADD HL,DE ;new dma address is in h,l POP DE ;recall sector address POP BC ;recall number of sectors remaining, ;and current trk DEC B ;sectors=sectors-1 JP Z,GOCPM ;transfer to cp/m if all have been loaded ; more sectors remain to load, check for track change INC D LD A,D ;sector=27?, if so, change tracks CP 27 JP C,LOAD1 ;carry generated if sector<27 ; end of current track, go to next track LD D,1 ;begin with first sector of next track INC C ;track=track+1 ; save register state, and change tracks CALL SETTRK ;track address set from register c JP LOAD1 ;for another sector ; end of load operation, set parameters and go to cp/m GOCPM: LD A,0C3H ;c3 is a jmp instruction LD (0),A ;for jmp to wboot LD HL,WBOOTE ;wboot entry point LD (1),HL ;set address field for jmp at 0 ; LD (5),A ;for jmp to bdos LD HL,BDOS ;bdos entry point LD (6),HL ;address field of jump at 5 to bdos ; LD BC,80H ;default dma address is 80h CALL SETDMA ; LD A,(CDISK) ;get current disk number LD C,A ;send to the ccp JP CCP ;go to cp/m for further processing ; ; ; simple i/o handlers ; ; console status, return 0ffh if character ready, 00h if not ; CONST: IN A,(CONSTA) ;get console status RET ; ; console character into register a ; CONIN: IN A,(CONDAT) ;get character from console RET ; ; console character output from register c ; CONOUT: LD A,C ;get to accumulator OUT (CONDAT),A ;send character to console RET ; ; list character from register c ; LIST: LD A,C ;character to register a OUT (PRTDAT),A RET ; ; return list status (00h if not ready, 0ffh if ready) ; LISTST: IN A,(PRTSTA) RET ; ; punch character from register c ; PUNCH: LD A,C ;character to register a OUT (AUXDAT),A RET ; ; read character into register a from reader device ; READER: IN A,(AUXDAT) RET ; ; ; i/o drivers for the disk follow ; ; move to the track 00 position of current drive ; translate this call into a settrk call with parameter 00 ; HOME: LD C,0 ;select track 0 JP SETTRK ;we will move to 00 on first read/write ; ; select disk given by register C ; SELDSK: LD HL,0000H ;error return code LD A,C CP 4 ;FD drive 0-3? JP C,SELFD ;go CP 8 ;harddisk 1? JP Z,SELHD1 ;go CP 9 ;harddisk 2? JP Z,SELHD2 ;go RET ;no, error ; disk number is in the proper range ; compute proper disk parameter header address SELFD: OUT (FDCD),A ;selekt disk drive LD L,A ;L=disk number 0,1,2,3 ADD HL,HL ;*2 ADD HL,HL ;*4 ADD HL,HL ;*8 ADD HL,HL ;*16 (size of each header) LD DE,DPBASE ADD HL,DE ;HL=.dpbase(diskno*16) RET SELHD1: LD HL,HDB1 ;dph harddisk 1 JP SELHD SELHD2: LD HL,HDB2 ;dph harddisk 2 SELHD: OUT (FDCD),A ;select harddisk drive RET ; ; set track given by register c ; SETTRK: LD A,C OUT (FDCT),A RET ; ; set sector given by register c ; SETSEC: LD A,C OUT (FDCS),A RET ; ; translate the sector given by BC using the ; translate table given by DE ; SECTRAN: LD A,D ;do we have a translation table? OR E JP NZ,SECT1 ;yes, translate LD L,C ;no, return untranslated LD H,B ;in HL INC L ;sector no. start with 1 RET NZ INC H RET SECT1: EX DE,HL ;HL=.trans ADD HL,BC ;HL=.trans(sector) LD L,(HL) ;L = trans(sector) LD H,0 ;HL= trans(sector) RET ;with value in HL ; ; set dma address given by registers b and c ; SETDMA: LD A,C ;low order address OUT (DMAL),A LD A,B ;high order address OUT (DMAH),A ;in dma RET ; ; perform read operation ; READ: XOR A ;read command -> A JP WAITIO ;to perform the actual i/o ; ; perform a write operation ; WRITE: LD A,1 ;write command -> A ; ; enter here from read and write to perform the actual i/o ; operation. return a 00h in register a if the operation completes ; properly, and 01h if an error occurs during the read or write ; WAITIO: OUT (FDCOP),A ;start i/o operation IN A,(FDCST) ;status of i/o operation -> A RET ; ; the remainder of the CBIOS is reserved uninitialized ; data area, and does not need to be a part of the ; system memory image (the space must be available, ; however, between "begdat" and "enddat"). ; ; scratch ram area for BDOS use ; BEGDAT EQU $ ;beginning of data area DIRBF: DEFS 128 ;scratch directory area ALL00: DEFS 31 ;allocation vector 0 ALL01: DEFS 31 ;allocation vector 1 ALL02: DEFS 31 ;allocation vector 2 ALL03: DEFS 31 ;allocation vector 3 ALLHD1: DEFS 255 ;allocation vector harddisk 1 ALLHD2: DEFS 255 ;allocation vector harddisk 2 CHK00: DEFS 16 ;check vector 0 CHK01: DEFS 16 ;check vector 1 CHK02: DEFS 16 ;check vector 2 CHK03: DEFS 16 ;check vector 3 CHKHD1: DEFS 0 ;check vector harddisk 1 CHKHD2: DEFS 0 ;check vector harddisk 2 ; ENDDAT EQU $ ;end of data area DATSIZ EQU $-BEGDAT ;size of data area ; END ;of BIOS
24.923274
67
0.709595
43a84814e913cb3facb8d5c2709fd8a13e29725b
2,839
ts
TypeScript
demo/src/controller/IndexController.ts
Koatty/koatty
824168fe841a5c30c3906c3fc0466b00cf5d7138
[ "BSD-3-Clause" ]
41
2020-12-03T01:23:37.000Z
2022-03-23T06:56:04.000Z
demo/src/controller/IndexController.ts
Koatty/koatty
824168fe841a5c30c3906c3fc0466b00cf5d7138
[ "BSD-3-Clause" ]
2
2021-07-19T15:13:15.000Z
2021-11-30T10:37:21.000Z
demo/src/controller/IndexController.ts
Koatty/koatty
824168fe841a5c30c3906c3fc0466b00cf5d7138
[ "BSD-3-Clause" ]
3
2020-12-30T06:31:20.000Z
2022-03-05T06:55:41.000Z
/** * @ author: xxx * @ copyright: Copyright (c) * @ license: Apache License 2.0 * @ version: 2020-05-19 14:31:04 */ import { Controller, GetMapping, Autowired, RequestMethod, PostMapping, Before, After, RequestBody, Get, Helper, Post, RequestParam, IOCContainer, PathVariable, BeforeEach, Exception, prevent, Logger } from "../../../src/index"; import { Validated, Valid } from "koatty_validation"; import { App } from '../App'; import { AdminController } from "./AdminController"; import { TestService } from "../service/TestService"; import { TestDto } from '../model/TestDto'; import { TestModel } from '../model/TestModel'; import { TestAspect } from '../aspect/TestAspect'; import { Test2Aspect } from "../aspect/Test2Aspect"; @Controller("/") @BeforeEach(TestAspect) export class IndexController extends AdminController { app: App; pageInfo: { 'appName': string; 'appVersion': string; 'appKeywords': string; 'appDescription': string; }; @Autowired() private testService: TestService; cache: {}; init() { this.cache = {}; } @GetMapping("/") @Before(Test2Aspect) async default() { const info = await this.testService.test2().catch(() => null); // return { "aa": "band!!!!!!" }; // this.ctx.status = 403; // this.fail("sfsdfsdfdsf"); // this.ctx.body = { "aa": "band!!!!!!" }; console.log(Logger.getLevel()); Logger.Debug("do not logger"); // throw new Error("band"); throw new Exception("band", 1, 405); // ctx.body = "sss"; // this.ctx.throw("ssss"); // return prevent(); // return new Promise((resolve: Function) => setTimeout(() => resolve(), 200)); // return "Hello Koatty."; // return this.ok("Hello Koatty."); } @GetMapping("/path/:name") @Before(TestAspect) async path(@Get("test") test = '666', @PathVariable("name") name: string) { const info = await this.testService.test1(name); // throw Error("default"); return this.body(info); // this.type("text/plain"); // this.type("text/html"); console.log('PathVariable', name); console.log('Get', test); return this.fail({ code: 200, message: "dsfsfs" }); } @PostMapping("/test") @Validated() async test(@Post() aa: TestDto) { // console.log(Helper.isFunction(TestModel)); // const info = await this.testService.test(aa).catch((e: any) => { // return this.fail(e.message || e); // }); // return new Promise((resolve: Function) => setTimeout(() => resolve(1), 200)); // throw Error("test"); console.log(this.app.tracer.get('traceId'), '------------------------'); return this.ok("success", ""); } }
33.797619
228
0.573089
a42b638950d2434df0d1310e2086055205d992fa
419,682
php
PHP
resources/views/admin/profiles/user_profile.blade.php
microsoftjulius/eLiveCareCRM
d1cdea371d2eda483b29bb7bb9dd29a290cda005
[ "MIT" ]
null
null
null
resources/views/admin/profiles/user_profile.blade.php
microsoftjulius/eLiveCareCRM
d1cdea371d2eda483b29bb7bb9dd29a290cda005
[ "MIT" ]
34
2021-08-31T00:00:21.000Z
2021-10-03T12:09:24.000Z
resources/views/admin/profiles/user_profile.blade.php
microsoftjulius/eLiveCareCRM
d1cdea371d2eda483b29bb7bb9dd29a290cda005
[ "MIT" ]
null
null
null
<!DOCTYPE html> <html lang="en"> @include('admin-partials.styling') <body> @include('admin-partials.loader') <div id="pcoded" class="pcoded"> <div class="pcoded-overlay-box"></div> <div class="pcoded-container navbar-wrapper"> @include('admin-partials.navbar') <!-- Sidebar chat start --> @include('admin-partials.sidebar') <div class="pcoded-main-container"> <div class="pcoded-wrapper"> @if(auth()->user()->category == 'admin') @include('admin-partials.admin_nav') @elseif(auth()->user()->category == 'organisation') @include('admin-partials.organisations_nav') @else @include('admin-partials.users_nav_bar') @endif <div class="pcoded-content"> <div class="pcoded-inner-content"> <div class="main-body"> <div class="page-wrapper"> <!-- Page-header start --> <div class="page-header"> <div class="row align-items-end"> <div class="col-lg-8"> <div class="page-header-title"> <div class="d-inline"> <h4>User Profile</h4> </div> </div> </div> <div class="col-lg-4"> <div class="page-header-breadcrumb"> <ul class="breadcrumb-title"> <li class="breadcrumb-item" style="float: left;"> <a href="/user/dashboard"> <i class="feather icon-home"></i> </a> </li> <li class="breadcrumb-item" style="float: left;"><a href="#!">User Profile</a> </li> </ul> </div> </div> </div> </div> <!-- Page-header end --> <!-- Page-body start --> <div class="page-body"> <!--profile cover start--> <div class="row"> <div class="col-lg-12"> <div class="cover-profile"> <div class="profile-bg-img"> <img class="profile-bg-img img-fluid" src="{{ asset('design/files/assets/images/user-profile/bg-img1.jpg')}}" alt="bg-img"> <div class="card-block user-info"> <div class="col-md-12"> <div class="media-left"> <a href="#" class="profile-image"> <img class="user-img img-radius" src="{{ asset('design/files/assets/images/user-profile/user-img.jpg')}}" alt="user-img"> </a> </div> <div class="media-body row"> <div class="col-lg-12"> <div class="user-title"> <h2>{{auth()->user()->name}}</h2> <span class="text-white">{{auth()->user()->getLoggedInUserRole()}} , {{auth()->user()->getDepartmentName()}}</span> <p class="text-white">{{auth()->user()->getUserSection()}}</p> <p class="text-white"><span style='font-weight:bold'>Added by:</span> {{auth()->user()->getWhoAddedMemberToSection()}}, {{auth()->user()->dateOfAddingToSection()}}</p> </div> </div> <div> <div class="pull-right cover-btn"> <button type="button" class="btn btn-primary m-r-10 m-b-5"><i class="icofont icofont-plus"></i> Follow</button> <button type="button" class="btn btn-primary"><i class="icofont icofont-ui-messaging"></i> Message</button> </div> </div> </div> </div> </div> </div> </div> </div> </div> <!--profile cover end--> <div class="row"> <div class="col-lg-12"> <!-- tab header start --> <div class="tab-header card"> <ul class="nav nav-tabs md-tabs tab-timeline" role="tablist" id="mytab"> <li class="nav-item"> <a class="nav-link active" data-toggle="tab" href="#personal" role="tab">Personal Info</a> <div class="slide"></div> </li> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#binfo" role="tab">User's Services</a> <div class="slide"></div> </li> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#contacts" role="tab">User's Contacts</a> <div class="slide"></div> </li> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#review" role="tab">Reviews</a> <div class="slide"></div> </li> </ul> </div> <!-- tab header end --> <!-- tab content start --> <div class="tab-content"> <!-- tab panel personal start --> <div class="tab-pane active" id="personal" role="tabpanel"> <!-- personal card start --> <div class="card"> <div class="card-header"> <h5 class="card-header-text">About Me</h5> <button id="edit-btn" type="button" class="btn btn-sm btn-primary waves-effect waves-light f-right"> <i class="feather icon-edit"></i> </button> </div> <div class="card-block"> <div class="view-info"> <div class="row"> <div class="col-lg-12"> <div class="general-info"> <div class="row"> <div class="col-lg-12 col-xl-6"> <div class="table-responsive"> <table class="table m-0"> <tbody> <tr> <th scope="row"> Full Name </th> <td>Josephine Villa</td> </tr> <tr> <th scope="row"> Gender</th> <td>Female</td> </tr> <tr> <th scope="row"> Birth Date </th> <td>October 25th, 1990 </td> </tr> <tr> <th scope="row"> Marital Status</th> <td>Single</td> </tr> <tr> <th scope="row"> Location </th> <td>New York, USA</td> </tr> </tbody> </table> </div> </div> <!-- end of table col-lg-6 --> <div class="col-lg-12 col-xl-6"> <div class="table-responsive"> <table class="table"> <tbody> <tr> <th scope="row"> Email</th> <td><a href="#!">Demo@example.com</a> </td> </tr> <tr> <th scope="row"> Mobile Number</th> <td>(0123) - 4567891</td> </tr> <tr> <th scope="row"> Twitter</th> <td>@xyz</td> </tr> <tr> <th scope="row"> Skype</th> <td>demo.skype </td> </tr> <tr> <th scope="row"> Website</th> <td><a href="#!">www.demo.com</a> </td> </tr> </tbody> </table> </div> </div> <!-- end of table col-lg-6 --> </div> <!-- end of row --> </div> <!-- end of general info --> </div> <!-- end of col-lg-12 --> </div> <!-- end of row --> </div> <!-- end of view-info --> <div class="edit-info"> <div class="row"> <div class="col-lg-12"> <div class="general-info"> <div class="row"> <div class="col-lg-6"> <table class="table"> <tbody> <tr> <td> <div class="input-group"> <span class="input-group-addon"><i class="icofont icofont-user"></i></span> <input type="text" class="form-control" placeholder="Full Name"> </div> </td> </tr> <tr> <td> <div class="form-radio"> <div class="group-add-on"> <div class="radio radiofill radio-inline"> <label> <input type="radio" name="radio" checked><i class="helper"></i> Male </label> </div> <div class="radio radiofill radio-inline"> <label> <input type="radio" name="radio"><i class="helper"></i> Female </label> </div> </div> </div> </td> </tr> <tr> <td> <input id="dropper-default" class="form-control" type="text" placeholder="Select Your Birth Date" /> </td> </tr> <tr> <td> <select id="hello-single" class="form-control"> <option value=""> ---- Marital Status ---- </option> <option value="married"> Married </option> <option value="unmarried"> Unmarried </option> </select> </td> </tr> <tr> <td> <div class="input-group"> <span class="input-group-addon"><i class="icofont icofont-location-pin"></i></span> <input type="text" class="form-control" placeholder="Address"> </div> </td> </tr> </tbody> </table> </div> <!-- end of table col-lg-6 --> <div class="col-lg-6"> <table class="table"> <tbody> <tr> <td> <div class="input-group"> <span class="input-group-addon"><i class="icofont icofont-mobile-phone"></i></span> <input type="text" class="form-control" placeholder="Mobile Number"> </div> </td> </tr> <tr> <td> <div class="input-group"> <span class="input-group-addon"><i class="icofont icofont-social-twitter"></i></span> <input type="text" class="form-control" placeholder="Twitter Id"> </div> </td> </tr> <!-- <tr> <td> <div class="input-group"> <span class="input-group-addon" id="basic-addon1">@</span> <input type="text" class="form-control" placeholder="Twitter Id"> </div> </td> </tr> --> <tr> <td> <div class="input-group"> <span class="input-group-addon"><i class="icofont icofont-social-skype"></i></span> <input type="email" class="form-control" placeholder="Skype Id"> </div> </td> </tr> <tr> <td> <div class="input-group"> <span class="input-group-addon"><i class="icofont icofont-earth"></i></span> <input type="text" class="form-control" placeholder="website"> </div> </td> </tr> </tbody> </table> </div> <!-- end of table col-lg-6 --> </div> <!-- end of row --> <div class="text-center"> <a href="#!" class="btn btn-primary waves-effect waves-light m-r-20">Save</a> <a href="#!" id="edit-cancel" class="btn btn-default waves-effect">Cancel</a> </div> </div> <!-- end of edit info --> </div> <!-- end of col-lg-12 --> </div> <!-- end of row --> </div> <!-- end of edit-info --> </div> <!-- end of card-block --> </div> <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-header"> <h5 class="card-header-text">Description About Me</h5> <button id="edit-info-btn" type="button" class="btn btn-sm btn-primary waves-effect waves-light f-right"> <i class="feather icon-edit"></i> </button> </div> <div class="card-block user-desc"> <div class="view-desc"> <p>But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?" "On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able To Do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pain. </p> </div> <div class="edit-desc"> <div class="col-md-12"> <textarea id="description"> <p>But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?" "On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able To Do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pain.</p> </textarea> </div> <div class="text-center"> <a href="#!" class="btn btn-primary waves-effect waves-light m-r-20 m-t-20">Save</a> <a href="#!" id="edit-cancel-btn" class="btn btn-default waves-effect m-t-20">Cancel</a> </div> </div> </div> </div> </div> </div> <!-- personal card end--> </div> <!-- tab pane personal end --> <!-- tab pane info start --> <div class="tab-pane" id="binfo" role="tabpanel"> <!-- info card start --> <div class="card"> <div class="card-header"> <h5 class="card-header-text">User Services</h5> </div> <div class="card-block"> <div class="row"> <div class="col-md-6"> <div class="card b-l-success business-info services m-b-20"> <div class="card-header"> <div class="service-header"> <a href="#"> <h5 class="card-header-text"> Shivani Hero</h5> </a> </div> <span class="dropdown-toggle addon-btn text-muted f-right service-btn" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" role="tooltip"> </span> <div class="dropdown-menu dropdown-menu-right b-none services-list"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i> Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i> Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i> View</a> </div> </div> <div class="card-block"> <div class="row"> <div class="col-sm-12"> <p class="task-detail">Lorem ipsum dolor sit amet, consectet ur adipisicing elit, sed do eiusmod temp or incidi dunt ut labore et.Lorem ipsum dolor sit amet, consecte.</p> </div> <!-- end of col-sm-8 --> </div> <!-- end of row --> </div> <!-- end of card-block --> </div> </div> <div class="col-md-6"> <div class="card b-l-danger business-info services"> <div class="card-header"> <div class="service-header"> <a href="#"> <h5 class="card-header-text"> Dress and Sarees</h5> </a> </div> <span class="dropdown-toggle addon-btn text-muted f-right service-btn" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" role="tooltip"> </span> <div class="dropdown-menu dropdown-menu-right b-none services-list"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i> Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i> Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i> View</a> </div> </div> <div class="card-block"> <div class="row"> <div class="col-sm-12"> <p class="task-detail">Lorem ipsum dolor sit amet, consectet ur adipisicing elit, sed do eiusmod temp or incidi dunt ut labore et.Lorem ipsum dolor sit amet, consecte.</p> </div> <!-- end of col-sm-8 --> </div> <!-- end of row --> </div> <!-- end of card-block --> </div> </div> <div class="col-md-6"> <div class="card b-l-info business-info services"> <div class="card-header"> <div class="service-header"> <a href="#"> <h5 class="card-header-text"> Shivani Auto Port</h5> </a> </div> <span class="dropdown-toggle addon-btn text-muted f-right service-btn" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" role="tooltip"> </span> <div class="dropdown-menu dropdown-menu-right b-none services-list"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i> Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i> Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i> View</a> </div> </div> <div class="card-block"> <div class="row"> <div class="col-sm-12"> <p class="task-detail">Lorem ipsum dolor sit amet, consectet ur adipisicing elit, sed do eiusmod temp or incidi dunt ut labore et.Lorem ipsum dolor sit amet, consecte.</p> </div> <!-- end of col-sm-8 --> </div> <!-- end of row --> </div> <!-- end of card-block --> </div> </div> <div class="col-md-6"> <div class="card b-l-warning business-info services"> <div class="card-header"> <div class="service-header"> <a href="#"> <h5 class="card-header-text"> Hair stylist</h5> </a> </div> <span class="dropdown-toggle addon-btn text-muted f-right service-btn" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" role="tooltip"> </span> <div class="dropdown-menu dropdown-menu-right b-none services-list"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i> Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i> Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i> View</a> </div> </div> <div class="card-block"> <div class="row"> <div class="col-sm-12"> <p class="task-detail">Lorem ipsum dolor sit amet, consectet ur adipisicing elit, sed do eiusmod temp or incidi dunt ut labore et.Lorem ipsum dolor sit amet, consecte.</p> </div> <!-- end of col-sm-8 --> </div> <!-- end of row --> </div> <!-- end of card-block --> </div> </div> <div class="col-md-6"> <div class="card b-l-danger business-info services"> <div class="card-header"> <div class="service-header"> <a href="#"> <h5 class="card-header-text">BMW India</h5> </a> </div> <span class="dropdown-toggle addon-btn text-muted f-right service-btn" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" role="tooltip"> </span> <div class="dropdown-menu dropdown-menu-right b-none services-list"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i> Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i> Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i> View</a> </div> </div> <div class="card-block"> <div class="row"> <div class="col-sm-12"> <p class="task-detail">Lorem ipsum dolor sit amet, consectet ur adipisicing elit, sed do eiusmod temp or incidi dunt ut labore et.Lorem ipsum dolor sit amet, consecte.</p> </div> <!-- end of col-sm-8 --> </div> <!-- end of row --> </div> <!-- end of card-block --> </div> </div> <div class="col-md-6"> <div class="card b-l-success business-info services"> <div class="card-header"> <div class="service-header"> <a href="#"> <h5 class="card-header-text"> Shivani Hero</h5> </a> </div> <span class="dropdown-toggle addon-btn text-muted f-right service-btn" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" role="tooltip"> </span> <div class="dropdown-menu dropdown-menu-right b-none services-list"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i> Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i> Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i> View</a> </div> </div> <div class="card-block"> <div class="row"> <div class="col-sm-12"> <p class="task-detail">Lorem ipsum dolor sit amet, consectet ur adipisicing elit, sed do eiusmod temp or incidi dunt ut labore et.Lorem ipsum dolor sit amet, consecte.</p> </div> <!-- end of col-sm-8 --> </div> <!-- end of row --> </div> <!-- end of card-block --> </div> </div> </div> </div> </div> <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-header"> <h5 class="card-header-text">Profit</h5> </div> <div class="card-block"> <div id="main" style="height:300px;width: 100%;"></div> </div> </div> </div> </div> <!-- info card end --> </div> <!-- tab pane info end --> <!-- tab pane contact start --> <div class="tab-pane" id="contacts" role="tabpanel"> <div class="row"> <div class="col-xl-3"> <!-- user contact card left side start --> <div class="card"> <div class="card-header contact-user"> <img class="img-radius img-40" src="../files/assets/images/avatar-4.jpg" alt="contact-user"> <h5 class="m-l-10">John Doe</h5> </div> <div class="card-block"> <ul class="list-group list-contacts"> <li class="list-group-item active"><a href="#">All Contacts</a></li> <li class="list-group-item"><a href="#">Recent Contacts</a></li> <li class="list-group-item"><a href="#">Favourite Contacts</a></li> </ul> </div> <div class="card-block groups-contact"> <h4>Groups</h4> <ul class="list-group"> <li class="list-group-item justify-content-between"> Project <span class="badge badge-primary badge-pill">30</span> </li> <li class="list-group-item justify-content-between"> Notes <span class="badge badge-success badge-pill">20</span> </li> <li class="list-group-item justify-content-between"> Activity <span class="badge badge-info badge-pill">100</span> </li> <li class="list-group-item justify-content-between"> Schedule <span class="badge badge-danger badge-pill">50</span> </li> </ul> </div> </div> <div class="card"> <div class="card-header"> <h4 class="card-title">Contacts<span class="f-15"> (100)</span></h4> </div> <div class="card-block"> <div class="connection-list"> <a href="#"><img class="img-fluid img-radius" src="../files/assets/images/user-profile/follower/f-1.jpg" alt="f-1" data-toggle="tooltip" data-placement="top" data-original-title="Airi Satou"> </a> <a href="#"><img class="img-fluid img-radius" src="../files/assets/images/user-profile/follower/f-2.jpg" alt="f-2" data-toggle="tooltip" data-placement="top" data-original-title="Angelica Ramos"> </a> <a href="#"><img class="img-fluid img-radius" src="../files/assets/images/user-profile/follower/f-3.jpg" alt="f-3" data-toggle="tooltip" data-placement="top" data-original-title="Ashton Cox"> </a> <a href="#"><img class="img-fluid img-radius" src="../files/assets/images/user-profile/follower/f-4.jpg" alt="f-4" data-toggle="tooltip" data-placement="top" data-original-title="Cara Stevens"> </a> <a href="#"><img class="img-fluid img-radius" src="../files/assets/images/user-profile/follower/f-5.jpg" alt="f-5" data-toggle="tooltip" data-placement="top" data-original-title="Garrett Winters"> </a> <a href="#"><img class="img-fluid img-radius" src="../files/assets/images/user-profile/follower/f-1.jpg" alt="f-6" data-toggle="tooltip" data-placement="top" data-original-title="Cedric Kelly"> </a> <a href="#"><img class="img-fluid img-radius" src="../files/assets/images/user-profile/follower/f-3.jpg" alt="f-7" data-toggle="tooltip" data-placement="top" data-original-title="Brielle Williamson"> </a> <a href="#"><img class="img-fluid img-radius" src="../files/assets/images/user-profile/follower/f-5.jpg" alt="f-8" data-toggle="tooltip" data-placement="top" data-original-title="Jena Gaines"> </a> </div> </div> </div> <!-- user contact card left side end --> </div> <div class="col-xl-9"> <div class="row"> <div class="col-sm-12"> <!-- contact data table card start --> <div class="card"> <div class="card-header"> <h5 class="card-header-text">Contacts </h5> </div> <div class="card-block contact-details"> <div class="data_table_main table-responsive dt-responsive"> <table id="simpletable" class="table table-striped table-bordered nowrap"> <thead> <tr> <th>Name</th> <th>Email</th> <th>Mobileno.</th> <th>Favourite</th> <th>Action</th> </tr> </thead> <tbody> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star-o" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star-o" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star-o" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star-o" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star-o" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star-o" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star-o" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> <tr> <td>Garrett Winters</td> <td>abc123@gmail.com </td> <td>9989988988</td> <td><i class="fa fa-star" aria-hidden="true"></i> </td> <td class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-cog" aria-hidden="true"></i></button> <div class="dropdown-menu dropdown-menu-right b-none contact-menu"> <a class="dropdown-item" href="#!"><i class="icofont icofont-edit"></i>Edit</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-delete"></i>Delete</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye-alt"></i>View</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-tasks-alt"></i>Project</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-ui-note"></i>Notes</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-eye"></i>Activity</a> <a class="dropdown-item" href="#!"><i class="icofont icofont-badge"></i>Schedule</a> </div> </td> </tr> </tbody> <tfoot> <tr> <th>Name</th> <th>Email</th> <th>Mobileno.</th> <th>Favourite</th> <th>Action</th> </tr> </tfoot> </table> </div> </div> </div> <!-- contact data table card end --> </div> </div> </div> </div> </div> <!-- tab pane contact end --> <div class="tab-pane" id="review" role="tabpanel"> <div class="card"> <div class="card-header"> <h5 class="card-header-text">Review</h5> </div> <div class="card-block"> <ul class="media-list"> <li class="media"> <div class="media-left"> <a href="#"> <img class="media-object img-radius comment-img" src="{{ asset('design/files/assets/images/avatar-1.jpg')}}" alt="Generic placeholder image"> </a> </div> <div class="media-body"> <h6 class="media-heading">Sortino media<span class="f-12 text-muted m-l-5">Just now</span></h6> <div class="stars-example-css review-star"> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> </div> <p class="m-b-0">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.</p> <div class="m-b-25"> <span><a href="#!" class="m-r-10 f-12">Reply</a></span><span><a href="#!" class="f-12">Edit</a> </span> </div> <hr> <!-- Nested media object --> <div class="media mt-2"> <a class="media-left" href="#"> <img class="media-object img-radius comment-img" src="{{ asset('design/files/assets/images/avatar-2.jpg')}}" alt="Generic placeholder image"> </a> <div class="media-body"> <h6 class="media-heading">Larry heading <span class="f-12 text-muted m-l-5">Just now</span></h6> <div class="stars-example-css review-star"> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> </div> <p class="m-b-0"> Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.</p> <div class="m-b-25"> <span><a href="#!" class="m-r-10 f-12">Reply</a></span><span><a href="#!" class="f-12">Edit</a> </span> </div> <hr> <!-- Nested media object --> <div class="media mt-2"> <div class="media-left"> <a href="#"> <img class="media-object img-radius comment-img" src="{{ asset('design/files/assets/images/avatar-3.jpg')}}" alt="Generic placeholder image"> </a> </div> <div class="media-body"> <h6 class="media-heading"> Colleen Hurst <span class="f-12 text-muted m-l-5">Just now</span></h6> <div class="stars-example-css review-star"> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> </div> <p class="m-b-0">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.</p> <div class="m-b-25"> <span><a href="#!" class="m-r-10 f-12">Reply</a></span><span><a href="#!" class="f-12">Edit</a> </span> </div> </div> <hr> </div> </div> </div> <!-- Nested media object --> <div class="media mt-2"> <div class="media-left"> <a href="#"> <img class="media-object img-radius comment-img" src="{{ asset('design/files/assets/images/avatar-1.jpg')}}" alt="Generic placeholder image"> </a> </div> <div class="media-body"> <h6 class="media-heading">Cedric Kelly<span class="f-12 text-muted m-l-5">Just now</span></h6> <div class="stars-example-css review-star"> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> </div> <p class="m-b-0">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.</p> <div class="m-b-25"> <span><a href="#!" class="m-r-10 f-12">Reply</a></span><span><a href="#!" class="f-12">Edit</a> </span> </div> <hr> </div> </div> <div class="media mt-2"> <a class="media-left" href="#"> <img class="media-object img-radius comment-img" src="{{ asset('design/files/assets/images/avatar-4.jpg')}}" alt="Generic placeholder image"> </a> <div class="media-body"> <h6 class="media-heading">Larry heading <span class="f-12 text-muted m-l-5">Just now</span></h6> <div class="stars-example-css review-star"> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> </div> <p class="m-b-0"> Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.</p> <div class="m-b-25"> <span><a href="#!" class="m-r-10 f-12">Reply</a></span><span><a href="#!" class="f-12">Edit</a> </span> </div> <hr> <!-- Nested media object --> <div class="media mt-2"> <div class="media-left"> <a href="#"> <img class="media-object img-radius comment-img" src="{{ asset('design/files/assets/images/avatar-3.jpg')}}" alt="Generic placeholder image"> </a> </div> <div class="media-body"> <h6 class="media-heading"> Colleen Hurst <span class="f-12 text-muted m-l-5">Just now</span></h6> <div class="stars-example-css review-star"> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> </div> <p class="m-b-0">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.</p> <div class="m-b-25"> <span><a href="#!" class="m-r-10 f-12">Reply</a></span><span><a href="#!" class="f-12">Edit</a> </span> </div> </div> <hr> </div> </div> </div> <div class="media mt-2"> <div class="media-left"> <a href="#"> <img class="media-object img-radius comment-img" src="{{ asset('design/files/assets/images/avatar-2.jpg')}}" alt="Generic placeholder image"> </a> </div> <div class="media-body"> <h6 class="media-heading">Mark Doe<span class="f-12 text-muted m-l-5">Just now</span></h6> <div class="stars-example-css review-star"> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> <i class="icofont icofont-star"></i> </div> <p class="m-b-0">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.</p> <div class="m-b-25"> <span><a href="#!" class="m-r-10 f-12">Reply</a></span><span><a href="#!" class="f-12">Edit</a> </span> </div> <hr> </div> </div> </div> </li> </ul> <div class="input-group"> <input type="text" class="form-control" placeholder="Right addon"> <div class="input-group-append"> <span class="input-group-text"><i class="icofont icofont-send-mail"></i></span></div> </div> </div> </div> </div> </div> <!-- tab content end --> </div> </div> </div> <div id="styleSelector"> </div> <!-- Page-body end --> </div> </div> </div> </div> </div> </div> </div> </div> @include('admin-partials.profilejavascript') </body> <!-- Mirrored from demo.dashboardpack.com/adminty-html/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 27 Feb 2021 18:05:45 GMT --> </html>
118.487295
2,035
0.133196
afe40c913266e4cc1a0050ec40963b53cba16301
890
py
Python
model.py
splitline/Taiwan-Tech-GPA-Saviour
551efc68ec03873c423a7905bdec79b3cd0c46b6
[ "MIT" ]
18
2019-06-16T02:34:51.000Z
2021-11-08T10:57:45.000Z
model.py
splitline/Taiwan-Tech-GPA-Saviour
551efc68ec03873c423a7905bdec79b3cd0c46b6
[ "MIT" ]
null
null
null
model.py
splitline/Taiwan-Tech-GPA-Saviour
551efc68ec03873c423a7905bdec79b3cd0c46b6
[ "MIT" ]
null
null
null
from peewee import * db = SqliteDatabase('course.db', check_same_thread=True) class BaseModel(Model): class Meta: database = db class GradeData(BaseModel): semester = CharField(4) course_no = TextField() course_name = TextField() grades = TextField() total = IntegerField() type = BooleanField() GPA = DoubleField() class Meta: indexes = ( (('semester', 'course_no'), True), ) class CourseData(BaseModel): semester = CharField(4) course_no = TextField() course_name = TextField() credit = DoubleField() node = TextField(null=True) dimension = CharField(1, null=True) lecturer = TextField(null=True) grade_data = ForeignKeyField(GradeData, backref='course_data', null=True, default=None) class Meta: indexes = ( (('semester', 'course_no'), True), )
24.054054
91
0.623596
8a8fca338ab4d1b9baecb30b8478bbc9f15960dd
1,060
swift
Swift
SmartPhotoSorter/Views/TableSectionHeader.swift
mrommel/SmartPhotoSorter
cf40b72558bd4af648f4b974d090e06e78dac913
[ "MIT" ]
null
null
null
SmartPhotoSorter/Views/TableSectionHeader.swift
mrommel/SmartPhotoSorter
cf40b72558bd4af648f4b974d090e06e78dac913
[ "MIT" ]
null
null
null
SmartPhotoSorter/Views/TableSectionHeader.swift
mrommel/SmartPhotoSorter
cf40b72558bd4af648f4b974d090e06e78dac913
[ "MIT" ]
null
null
null
// // TableSectionHeader.swift // SmartPhotoSorter // // Created by Michael Rommel on 09.12.18. // Copyright © 2018 Michael Rommel. All rights reserved. // import UIKit class TableSectionHeader: ThemeAwareHeaderFooterView { static let reuseIdentifer = "TableSectionHeaderReuseIdentifier" let label = ThemeAwareLabel.init() override public init(reuseIdentifier: String?) { super.init(reuseIdentifier: reuseIdentifier) label.font = UIFont.preferredFont(forTextStyle: .largeTitle) label.translatesAutoresizingMaskIntoConstraints = false self.contentView.addSubview(label) let margins = contentView.layoutMarginsGuide label.leadingAnchor.constraint(equalTo: margins.leadingAnchor).isActive = true label.trailingAnchor.constraint(equalTo: margins.trailingAnchor).isActive = true label.topAnchor.constraint(equalTo: margins.topAnchor).isActive = true label.bottomAnchor.constraint(equalTo: margins.bottomAnchor).isActive = true } required init?(coder aDecoder: NSCoder) { fatalError("init(coder:) has not been implemented") } }
30.285714
82
0.787736
82ab28b5b3d8f50a88261c7ff257a5b55bdbc5ce
5,607
cc
C++
apps/output_cpp/gm_graph/src/gm_read_setup.cc
messinguelethomas/modified_green_marl
fc05b5e2bf7bf131015478f39d54c84e49d1239a
[ "DOC" ]
58
2015-02-06T00:50:43.000Z
2021-12-03T07:13:13.000Z
apps/output_cpp/gm_graph/src/gm_read_setup.cc
messinguelethomas/modified_green_marl
fc05b5e2bf7bf131015478f39d54c84e49d1239a
[ "DOC" ]
1
2022-01-19T19:04:09.000Z
2022-01-19T19:04:09.000Z
apps/output_cpp/gm_graph/src/gm_read_setup.cc
messinguelethomas/modified_green_marl
fc05b5e2bf7bf131015478f39d54c84e49d1239a
[ "DOC" ]
16
2015-02-18T01:30:57.000Z
2021-01-09T03:59:33.000Z
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <map> #include <string> #include <assert.h> static bool skip_whitespace(char*& c) { // return false if meet \n, \n is replaced with \0 while (true) { if (*c=='\0') return false; else if ((*c=='\n') || (*c == '\r')) {*c = '\0'; return false;} else if ((*c==' ') || (*c == '\t')) c++; else return true; } } static char find_end_of_key(char*& c) { while (true) { if (*c=='\0') return '\n'; else if ((*c=='\n') || (*c == '\r')) {*c = '\0'; return '\n';} else if ((*c==' ') || (*c == '\t')) {*c = '\0'; c++; return ' ';} else if ((*c==':')) {*c = '\0'; c++; return ':';} else if ((*c=='=')) {*c = '\0'; c++; return '=';} c++; } } static bool process_variable_expansion (std::map<std::string, std::string>& setup, const char*& var_begin, char*& buffer2, char to_find) { char buffer[16*1024]; char*p = buffer; while(*var_begin !='\0') { if (*var_begin != to_find) { *p++ = *var_begin++; continue; } if (*var_begin == to_find) { // end of variable *p = '\0'; var_begin++; const char* val=NULL; // find it in local map std::string key(buffer); if (setup.find(key) != setup.end()) { val = setup.find(key)->second.c_str(); } // find it environment variable? if (val == NULL) { val = getenv(buffer); } if (val!= NULL) { strcpy(buffer2, val); buffer2 += strlen(val) -1; } return true; // fail to expand ==> empty string } } return false; // error to fine '}' } static bool create_value_expand_variables(std::map<std::string, std::string>& setup, const char* val_begin, char* buffer2) { const char* p = val_begin; bool escape_on = false; while (*p!= '\0') { if (*p == '\\') { if (escape_on) escape_on = false; else escape_on = true; *buffer2++ = *p++; continue; } if (*p == '\n') {*buffer2++ = '\0'; return true;} if (*p == '$' && !escape_on) { escape_on = false; if (*(p+1)=='{' || *(p+1) == '(') { char to_find = *(p+1)=='{' ? '}' : ')'; p+=2; if (!process_variable_expansion(setup, p, buffer2, to_find)) return false; // error in variable expansion else continue; } } escape_on = false; *buffer2++ = *p++; } *buffer2 = '\0'; return true; } #define SETUP_FILE "setup.mk" bool gm_read_setup_file(std::map<std::string, std::string>& setup, bool export_env) { char buffer[1024*16]; char buffer2[1024*16]; const char* path; path = getenv("GM_TOP"); if (path == NULL) { path = DEFAULT_GM_TOP; } // try open-up setup file sprintf(buffer, "%s/%s",path, SETUP_FILE); FILE* setup_file_p = fopen(buffer, "r"); if (setup_file_p == NULL) { return false; // cannot read setup.mk } // read line-by-line while (fgets(buffer, 16*1024, setup_file_p) != NULL) { // find start char* key_begin = buffer; if (!skip_whitespace(key_begin)) { // all white line continue; } if ((*key_begin == '#') || (*key_begin == '!')) // comment line continue; if ((*key_begin == ':') || (*key_begin == '=')) continue; char* ptr = key_begin; char* val_begin; // returns last char of key // ptr points to the next charactor after '\0' of key char last_char = find_end_of_key(ptr); std::string Key(key_begin); // if env-val is set for this key, use env-val. char* env_val = getenv(key_begin); if (env_val != NULL) { std::string Val(env_val); setup[Key] = Val; continue; } if (last_char == '\n') { // end of line goto case_empty_value; } else if (last_char == ' ') { // white space if (skip_whitespace(ptr) == false) goto case_empty_value; last_char = *ptr; ptr++; } if (last_char == ':') { if (*ptr == '=') ptr++; last_char = '='; } if (last_char != '=') { continue; // error in key: e.g) A B = c } if (skip_whitespace(ptr) == false) { goto case_empty_value; } val_begin = ptr; // now parse value while expanding variables if (create_value_expand_variables(setup, val_begin, buffer2)) { std::string Val(buffer2); setup[Key] = Val; if (export_env) { setenv(key_begin, buffer2, 0); // donot override existing environmetal vairable } } continue; case_empty_value: std::string Val(""); setup[Key] = Val; if (export_env) { setenv(key_begin, "", 0); // donot override existing environmetal vairable } continue; } fclose(setup_file_p); return true; }
28.461929
95
0.452827
dbf5c883d23d642fa641afce58fc69f6f109fc2d
385
c
C
nitan/clone/horse/hanxue.c
cantona/NT6
073f4d491b3cfe6bfbe02fbad12db8983c1b9201
[ "MIT" ]
1
2019-03-27T07:25:16.000Z
2019-03-27T07:25:16.000Z
nitan/clone/horse/hanxue.c
cantona/NT6
073f4d491b3cfe6bfbe02fbad12db8983c1b9201
[ "MIT" ]
null
null
null
nitan/clone/horse/hanxue.c
cantona/NT6
073f4d491b3cfe6bfbe02fbad12db8983c1b9201
[ "MIT" ]
null
null
null
inherit "/clone/horse/horse.c"; #include <ansi.h> void create() { set_name(MAG "汗血寶駒" NOR, ({ "hanxue baoju", "hanxue", "baoju"})); set("long", HIR "西南大宛宛丘,有良馬,其大二丈,鬣至膝,尾委於地,蹄\n" "如汗,腕可握。日行千里,至日中而汗血\n" NOR); set("tili", 10000); set("max_tili", 10000); set("level", 5); set("can_go_any", 1); setup(); }
22.647059
73
0.498701
0d531641717f0340d290eda7b49f6fb606a330f6
258
h
C
libdfc/include/stdint.h
Kagami/dogfood
f0db74c4dcea39d41d9a137237b15d40ba3f8773
[ "CC0-1.0", "MIT" ]
3
2019-11-25T01:46:47.000Z
2020-01-02T12:10:39.000Z
libdfc/include/stdint.h
Kagami/dogfood
f0db74c4dcea39d41d9a137237b15d40ba3f8773
[ "CC0-1.0", "MIT" ]
1
2020-04-09T08:24:43.000Z
2020-04-09T08:24:43.000Z
libdfc/include/stdint.h
Kagami/dogfood
f0db74c4dcea39d41d9a137237b15d40ba3f8773
[ "CC0-1.0", "MIT" ]
null
null
null
typedef char int8_t; typedef short int16_t; typedef int int32_t; typedef long int64_t; typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef unsigned long uint64_t;
28.666667
32
0.689922
9e3d6ffe2a129ce7032e6d9ccfc8276d8f8e1ff8
988
dart
Dart
packages/archiver_ffi/lib/src/structs/common.dart
ganeshrvel/squash_archiver
f5a457e2d321dbdfb10daef61a9a2caf73613b41
[ "MIT" ]
null
null
null
packages/archiver_ffi/lib/src/structs/common.dart
ganeshrvel/squash_archiver
f5a457e2d321dbdfb10daef61a9a2caf73613b41
[ "MIT" ]
null
null
null
packages/archiver_ffi/lib/src/structs/common.dart
ganeshrvel/squash_archiver
f5a457e2d321dbdfb10daef61a9a2caf73613b41
[ "MIT" ]
null
null
null
import 'dart:ffi'; import 'package:ffi/ffi.dart'; class StringListStruct extends Struct { Pointer<Pointer<Utf8>> list; @Int64() int size; Pointer<StringListStruct> fromList( List<String> arr, List<Pointer<NativeType>> ptrList, ) { final pUtf = arr.map(Utf8.toUtf8).toList(); // ignore: omit_local_variable_types final Pointer<Pointer<Utf8>> ppList = allocate(count: arr.length); for (var i = 0; i < arr.length; i++) { ppList[i] = pUtf[i]; } ptrList.add(ppList); ptrList.addAll(pUtf); final pStrList = allocate<StringListStruct>().ref; pStrList.list = ppList; pStrList.size = arr.length; return pStrList.addressOf; } } class ResultErrorStruct extends Struct { Pointer<Utf8> errorType; Pointer<Utf8> error; factory ResultErrorStruct.allocate( Pointer<Utf8> error, Pointer<Utf8> errorType, ) => allocate<ResultErrorStruct>().ref ..errorType = errorType ..error = error; }
21.021277
70
0.657895
d89f287d41af32558e0c63e53161a8492c1c5742
449
rb
Ruby
app/models/category.rb
ainformatico/nofity
decc252c5847fa6b2e9fe2f7411a13653a52b06e
[ "MIT" ]
null
null
null
app/models/category.rb
ainformatico/nofity
decc252c5847fa6b2e9fe2f7411a13653a52b06e
[ "MIT" ]
null
null
null
app/models/category.rb
ainformatico/nofity
decc252c5847fa6b2e9fe2f7411a13653a52b06e
[ "MIT" ]
1
2019-03-21T08:43:30.000Z
2019-03-21T08:43:30.000Z
class Category < ActiveRecord::Base include UserItemizable include Idsec has_many :note_categories has_many :notes, through: :note_categories validates :name, presence: true validates :user, presence: true def self.for_user(user, idsec = false) result = [] result = if idsec user.categories.find_by(idsec: idsec) else user.categories.reverse end result end end
20.409091
52
0.643653
79b6547ddf38255e9976ee567b358491373a3eae
5,210
php
PHP
test.php
zozlak/easyRdfParserPerf
178b955969c2d6931e5708619782ae46b16af4ff
[ "BSD-3-Clause" ]
null
null
null
test.php
zozlak/easyRdfParserPerf
178b955969c2d6931e5708619782ae46b16af4ff
[ "BSD-3-Clause" ]
2
2020-12-30T09:51:03.000Z
2020-12-30T15:12:36.000Z
test.php
zozlak/easyRdfParserPerf
178b955969c2d6931e5708619782ae46b16af4ff
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/php <?php /* * BSD 3-Clause License * * Copyright (c) 2020, Mateusz Żółtak * 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. Neither the name of the copyright holder nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ $param = [ 'class' => null, 'data' => null, 'runs' => 1, 'output' => 'php://stdout', 'help' => false ]; for ($i = 1; $i < count($argv); $i++) { $v = $argv[$i]; $p = substr($v, 2); if (substr($v, 0, 2) !== '--' || !key_exists($p, $param)) { $param['help'] = true; break; } if (is_bool($param[$p])) { $param[$p] = !$param[$p]; } else { $i++; $param[$p] = $argv[$i]; } } $param = (object) $param; $param->runs = (int) $param->runs; if ($param->help) { exit("$argv[0] [--class class] [--data dataFileOrDir] [--runs N] [--output filePath] [--help] Performs EasyRdf backend tests. Outputs test results as a JSON array. - If --class is not specified, all classes implementing the `ParserPerfTestInterface` in the `src/EasyRdf/ParserPerfTest` directory are tested - If --dataFile is not specified, all datafiles from the `data` directory are used - If --runs is not specified, every test (being a combination of a class and a data file) is run once - If --output is not specified, the JSON output is printed on the stdout. "); } require_once __DIR__ . '/vendor/autoload.php'; $test = new EasyRdf\ParserPerfTest\Test(); if ($param->class !== null && is_file($param->data ?? '') && $param->runs === 1) { $result = $test->testClass($param->class, $param->data); file_put_contents($param->output, json_encode([$result], JSON_PRETTY_PRINT)); } else { $param->output = fopen($param->output, 'w'); fwrite($param->output, "[\n"); if ($param->class === null) { $param->class = $test->getClasses(__DIR__ . '/src/EasyRdf/ParserPerfTest', '\\EasyRdf\\ParserPerfTest'); } else { $param->class = [$param->class]; } $N = 0; foreach ($param->class as $class) { $obj = new $class(); $classE = escapeshellarg($class); if ($param->data === null || is_dir($param->data)) { $dataFiles = $test->getDataFiles($param->data ?? __DIR__ . '/data', $obj); } else { $dataFiles = [$param->data]; } foreach ($dataFiles as $dataFile) { for ($i = 0; $i < $param->runs; $i++) { $php = escapeshellarg(__FILE__); $dataFileE = escapeshellarg($dataFile); $outputFile = __DIR__ . '/tmp.json'; $outputFileE = escapeshellarg($outputFile); if (file_exists($outputFile)) { unlink($outputFile); } $cmd = "/usr/bin/time -v php -f $php -- --class $classE --data $dataFileE --runs 1 --output $outputFileE 2>&1"; $output = trim(shell_exec($cmd)); $memory = preg_replace('/^.*Maximum resident set size [(]kbytes[)]: ([0-9]+).*$/sm', '\\1', $output) / 1024; if (file_exists($outputFile)) { $result = json_decode(file_get_contents($outputFile))[0]; unlink($outputFile); } else { $result = new EasyRdf\ParserPerfTest\TestResult(get_class($obj), basename($dataFile)); $result->errorMsg = substr($output, 0, strpos($output, "\nCommand exited with")); } $result->memoryMb = $memory; fwrite($param->output, ($N > 0 ? ",\n" : '') . json_encode($result, JSON_PRETTY_PRINT | JSON_INVALID_UTF8_IGNORE)); $N++; } } } fwrite($param->output, "\n]\n"); fclose($param->output); }
40.703125
131
0.59904
af6bf9465fb49f0c2f6f759160eacd47661439ee
451
py
Python
instructors/migrations/0016_user_location.py
bastoune57/gokiting_back_end
f3edcbeede292713349b28f2390b5d57e1420f8e
[ "MIT" ]
null
null
null
instructors/migrations/0016_user_location.py
bastoune57/gokiting_back_end
f3edcbeede292713349b28f2390b5d57e1420f8e
[ "MIT" ]
null
null
null
instructors/migrations/0016_user_location.py
bastoune57/gokiting_back_end
f3edcbeede292713349b28f2390b5d57e1420f8e
[ "MIT" ]
null
null
null
# Generated by Django 4.0.2 on 2022-03-05 10:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('instructors', '0015_remove_user_avatar_user_avatar_url_and_more'), ] operations = [ migrations.AddField( model_name='user', name='location', field=models.CharField(blank=True, max_length=150, verbose_name='location'), ), ]
23.736842
88
0.638581
e2176d93d99a8fd6150a507eb69f56ef2509dc9f
143
rb
Ruby
test/comments_test.rb
rdinca/comments
055bcb06272ad1eb42894af8ac7f3943f75a0257
[ "MIT" ]
null
null
null
test/comments_test.rb
rdinca/comments
055bcb06272ad1eb42894af8ac7f3943f75a0257
[ "MIT" ]
null
null
null
test/comments_test.rb
rdinca/comments
055bcb06272ad1eb42894af8ac7f3943f75a0257
[ "MIT" ]
null
null
null
require "test_helper" class CommentsTest < ActiveSupport::TestCase test "it has a version number" do assert Comments::VERSION end end
17.875
44
0.755245
18519df8c0b7beb6516794bb3f99011d88b6289c
5,259
ts
TypeScript
src/index.ts
LucHermkens/react-native-google-places
a60162b579cce6a91ab1d891450914b2604c58e4
[ "MIT" ]
27
2018-10-21T18:05:02.000Z
2021-06-27T05:39:45.000Z
src/index.ts
LucHermkens/react-native-google-places
a60162b579cce6a91ab1d891450914b2604c58e4
[ "MIT" ]
null
null
null
src/index.ts
LucHermkens/react-native-google-places
a60162b579cce6a91ab1d891450914b2604c58e4
[ "MIT" ]
4
2018-10-22T08:11:36.000Z
2019-10-30T11:50:24.000Z
import { Platform } from 'react-native' import Geolocation from '@react-native-community/geolocation' import { GeolocationResponse } from '@react-native-community/geolocation/typings' import * as Qs from 'qs' import { ACQuery, PDQuery, Options, PDResult, ACResults } from './types' /** Class containing methods to get results from Google Places */ // TODO: add nearby search without input export default class GPlaces { /** API options */ options: Options /** * Create an instance of the GPlaces class. * @param {Options} [options=] * Options for creating the handler */ // TODO: give error if no key constructor (options: Options) { if (!options) { this.options = { key: '' } } else { this.options = options } } /** * Make a request expecting a JSON response * @param {string} [url=''] * Request URL for Google Maps * @private */ request = ( url: string = '' ) => new Promise<any>((resolve, reject) => { if (!url || typeof url !== 'string') { reject(new Error('Invalid request URL.')) } fetch(url) .then(r => r.json()) .then(resolve) .catch(reject) }) /** * Search for places using specified options * @param {string} [options=''] * Options string for the API call * @returns {Promise<ACResults>} * Returns an unaltered array of results from the Google Places API */ autocompleteRequest = ( options: string = '' ) => new Promise<ACResults>((resolve, reject) => { this.request(`https://maps.googleapis.com/maps/api/place/autocomplete/json?${options}`) .then(res => { if (!res || !res.predictions || !Array.isArray(res.predictions)) { return reject(new Error('Invalid response from server')) } resolve(res.predictions) }) .catch(reject) }) /** * Search for places matching input * @param {string} [input=''] * Input string for the search * @param {ACQuery} [query=] * Query object for the search * @returns {Promise<ACResults>} * Returns an unaltered array of results from the Google Places API */ search = ( input: string = '', query?: ACQuery ) => new Promise<ACResults>(async (resolve, reject) => { if (!input || typeof input !== 'string') { reject(new Error('Invalid input string given.')) } const options = Qs.stringify({ input, language: 'en', key: this.options.key, types: 'establishment', ...query }) this.autocompleteRequest(options) .then(resolve) .catch(reject) }) /** * Search for places matching input * @param {string} [input=''] * Input string for the search * @param {number} [radius=1000] * Radius in meters to look for places * @param {ACQuery} [query=] * Query object for the search * @returns {Promise<ACResults>} * Returns an unaltered array of results from the Google Places API */ searchNearby = ( input: string = '', radius: number = 1000, query?: ACQuery ) => new Promise<ACResults>(async (resolve, reject) => { Geolocation.getCurrentPosition(async (position: GeolocationResponse) => { const { latitude = 0, longitude = 0 } = (position || { coords: null, timestamp: null }).coords || {} if (!latitude || !longitude) { reject(new Error('No latitude/longtitude for current location found.')) } if (!input || typeof input !== 'string') { reject(new Error('Invalid input string given.')) } if (!radius || typeof radius !== 'number') { reject(new Error('Invalid radius given.')) } const options = Qs.stringify({ input, radius, language: 'en', key: this.options.key, types: 'establishment', strictbounds: true, location: `${latitude},${longitude}`, ...query }) this.autocompleteRequest(options) .then(resolve) .catch(reject) }, reject, { enableHighAccuracy: Platform.OS === 'android', timeout: 10000, maximumAge: 1000 }) }) /** * Search for places matching input * @param {string} [placeid=''] * Place ID string of the requested place * @param {PDQuery} [query=] * Place ID string of the requested place * @returns {Promise<PDResult>} * Returns an unaltered result object from the Google Places API */ getPlaceDetails = (placeid: string = '', query?: PDQuery) => new Promise<PDResult>(async (resolve, reject) => { if (!placeid || typeof placeid !== 'string') { reject(new Error('Invalid Place ID string given.')) } const options = Qs.stringify({ placeid, language: 'en', fields: 'geometry', key: this.options.key, ...query }) this.request(`https://maps.googleapis.com/maps/api/place/details/json?${options}`) .then(res => { if (!res || !res.result || (typeof res !== 'object')) { return reject(new Error('Invalid response from server')) } resolve(res.result) }) .catch(reject) }) }
28.427027
113
0.58205
33bfe1e2d66c9013cb11fbbb2b95678f195c0f4c
1,720
go
Go
urlshort/main.go
Manish061/gophercises
361378cf9e9e0d58a4dea38bbf728ce2bcfe4e34
[ "MIT" ]
null
null
null
urlshort/main.go
Manish061/gophercises
361378cf9e9e0d58a4dea38bbf728ce2bcfe4e34
[ "MIT" ]
null
null
null
urlshort/main.go
Manish061/gophercises
361378cf9e9e0d58a4dea38bbf728ce2bcfe4e34
[ "MIT" ]
null
null
null
package main import ( "flag" "fmt" urlShort "gophercises/urlshort/handler" "io/ioutil" "net/http" "os" ) func main() { yaml := flag.String("yaml", "maps.yaml", "a valid yaml file of the format\n- path: /some-path\n url: https://www.some-url.com/demo") json := flag.String("json", "maps.json", "a valid json file of the format- {\"path\":\"/some-path\",\"url\":\"https://www.some-url.com/demo\"}") flag.Parse() mux := defaultMux() // Build the MapHandler using the mux as the fallback pathsToUrls := map[string]string{ "/urlshort-godoc": "https://godoc.org/github.com/gophercises/urlshort", "/yaml-godoc": "https://godoc.org/gopkg.in/yaml.v2", } mapHandler := urlShort.MapHandler(pathsToUrls, mux) // Build the YAMLHandler using the mapHandler as the // fallback handler := mapHandler // if *yaml != "" { yamlFile, err := os.Open(*yaml) if err != nil { panic(err) } defer yamlFile.Close() yamlData, err := ioutil.ReadFile(*yaml) if err != nil { panic(err) } yamlHandler, err := urlShort.YAMLHandler(yamlData, mapHandler) handler = yamlHandler if err != nil { panic(err) } // } else if *json != "" { jsonFile, err := os.Open(*json) if err != nil { panic(err) } defer jsonFile.Close() jsonData, err := ioutil.ReadFile(*json) if err != nil { panic(err) } jsonHandler, err := urlShort.JSONHandler(jsonData, handler) handler = jsonHandler if err != nil { panic(err) } // } fmt.Println("Starting the server on :3000") http.ListenAndServe(":3000", handler) } func defaultMux() *http.ServeMux { mux := http.NewServeMux() mux.HandleFunc("/", hello) return mux } func hello(w http.ResponseWriter, r *http.Request) { fmt.Fprintln(w, "Hello, world!") }
22.337662
145
0.655233
cd2ae0b863996f8b618542e28d919c97d8d0d499
662
cs
C#
Rebus/Persistence/FileSystem/JsonFileSubscriptionStorageConfigurationExtensions.cs
zlepper/Rebus
efcfb286fd0e4057c513ad7261899d569ba5b23b
[ "MIT" ]
1,714
2015-01-01T15:44:30.000Z
2022-03-30T12:51:14.000Z
Rebus/Persistence/FileSystem/JsonFileSubscriptionStorageConfigurationExtensions.cs
BerkEmreCabuk/Rebus
2d46bc2f28ceadaedbd3e012737a190e944a4011
[ "MIT" ]
771
2015-01-03T09:33:01.000Z
2022-03-31T09:33:44.000Z
Rebus/Persistence/FileSystem/JsonFileSubscriptionStorageConfigurationExtensions.cs
BerkEmreCabuk/Rebus
2d46bc2f28ceadaedbd3e012737a190e944a4011
[ "MIT" ]
346
2015-01-02T15:08:18.000Z
2022-02-26T01:32:07.000Z
using Rebus.Config; using Rebus.Subscriptions; namespace Rebus.Persistence.FileSystem { /// <summary> /// Configurations extensions for configuring Rebus to use a JSON file as the subscription storage /// </summary> public static class JsonFileSubscriptionStorageConfigurationExtensions { /// <summary> /// Configures Rebus to use a JSON file as the subscription storage /// </summary> public static void UseJsonFile(this StandardConfigurer<ISubscriptionStorage> configurer, string jsonFilePath) { configurer.Register(c => new JsonFileSubscriptionStorage(jsonFilePath)); } } }
34.842105
117
0.696375
9f6c3a411911feb7e9a3ec025d725147a2e567c6
553
ps1
PowerShell
examples/web-rest-openapi-funcs.ps1
jajp777/Pode
a27a80f5ef889c9a773faa54cc61e942746ef548
[ "MIT" ]
494
2017-12-21T13:05:56.000Z
2022-03-31T04:08:19.000Z
examples/web-rest-openapi-funcs.ps1
Jaykul/Pode
3558e0068cf910db088be37335305c7bb4d93b37
[ "MIT" ]
500
2018-05-14T11:10:41.000Z
2022-03-31T21:50:27.000Z
examples/web-rest-openapi-funcs.ps1
Jaykul/Pode
3558e0068cf910db088be37335305c7bb4d93b37
[ "MIT" ]
86
2018-01-16T19:34:47.000Z
2022-01-27T12:04:07.000Z
$path = Split-Path -Parent -Path (Split-Path -Parent -Path $MyInvocation.MyCommand.Path) Import-Module "$($path)/src/Pode.psm1" -Force -ErrorAction Stop Start-PodeServer { Add-PodeEndpoint -Address localhost -Port 8080 -Protocol Http Enable-PodeOpenApi -Title 'OpenAPI Example' -RouteFilter '/api/*' -RestrictRoutes Enable-PodeOpenApiViewer -Type Swagger -DarkMode Enable-PodeOpenApiViewer -Type ReDoc #ConvertTo-PodeRoute -Path '/api' -Commands @('Get-ChildItem', 'New-Item') ConvertTo-PodeRoute -Path '/api' -Module Pester }
42.538462
88
0.735986
1f30e47b46589073fc2dbcfdd3aab839fb5853c1
482
cs
C#
samples/Samples-rss/Program.cs
csharpfritz/Fritz.ConfigurationBuilders
598b178e3d3ee04305a7d60ccb9c869d9e70c32c
[ "MIT" ]
7
2017-11-22T19:26:10.000Z
2018-03-10T19:20:17.000Z
samples/Samples-rss/Program.cs
csharpfritz/Fritz.ConfigurationBuilders
598b178e3d3ee04305a7d60ccb9c869d9e70c32c
[ "MIT" ]
6
2017-11-27T16:52:00.000Z
2019-01-04T15:20:43.000Z
samples/Samples-rss/Program.cs
csharpfritz/Fritz.ConfigurationBuilders
598b178e3d3ee04305a7d60ccb9c869d9e70c32c
[ "MIT" ]
8
2017-11-22T19:26:14.000Z
2022-02-03T01:19:12.000Z
using System; using System.Configuration; namespace Samples_rss { class Program { static void Main(string[] args) { var keys = ConfigurationManager.AppSettings.AllKeys; Console.WriteLine("Here are my current AppSettings:"); foreach (var item in keys) { Console.WriteLine($"{item}: {ConfigurationManager.AppSettings[item]}"); } Console.ReadLine(); } } }
20.956522
87
0.558091
031d7ab525c12a1e8418d3d0982691d87a880200
304
rb
Ruby
Chef/sankarnath]/index2.rb
devopsschool-training-notes/Broad-Hyd-Nov-Dec-2019
d8071c739628bbc2999602805a14e988cd4b19fe
[ "Apache-2.0" ]
1
2022-02-09T16:50:41.000Z
2022-02-09T16:50:41.000Z
Chef/sankarnath]/index2.rb
devopsschool-training-notes/Broad-Hyd-Nov-Dec-2019
d8071c739628bbc2999602805a14e988cd4b19fe
[ "Apache-2.0" ]
null
null
null
Chef/sankarnath]/index2.rb
devopsschool-training-notes/Broad-Hyd-Nov-Dec-2019
d8071c739628bbc2999602805a14e988cd4b19fe
[ "Apache-2.0" ]
1
2020-11-04T07:11:36.000Z
2020-11-04T07:11:36.000Z
directory 'src' file 'index.html' do content "<h1>Welcome to SankarNath Website, Happy new year 2020 <h1>" end package 'httpd' bash 'copy index' do code <<-EOH cp index.html /var/www/html EOH end service 'httpd' do action [ :enable, :start ] end
12.666667
90
0.585526
72e6a7153fb2c9d643d2743bd0c3df0ba6b00744
1,101
cs
C#
Proxy/Security/OpenSslException.cs
FoxCouncil/VintageHive
57564e94e11b520a25b11100ac7518ae911b73d7
[ "MIT" ]
null
null
null
Proxy/Security/OpenSslException.cs
FoxCouncil/VintageHive
57564e94e11b520a25b11100ac7518ae911b73d7
[ "MIT" ]
null
null
null
Proxy/Security/OpenSslException.cs
FoxCouncil/VintageHive
57564e94e11b520a25b11100ac7518ae911b73d7
[ "MIT" ]
null
null
null
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VintageHive.Proxy.Security; internal class OpenSslException : Exception { readonly List<uint> errors; readonly List<string> messages; readonly string message; public override string Message => message; public OpenSslException(string msg = null) { errors = new(); messages = new(); while (true) { var err = Native.ERR_get_error(); if (err == 0) { break; } var buffer = new byte[120]; Native.ERR_error_string_n(err, buffer, buffer.Length); var errStr = Encoding.ASCII.GetString(buffer).TrimEnd('\0'); messages.Add(errStr); errors.Add(err); } message = msg ?? messages.FirstOrDefault() ?? "Oops, something went wrong."; } public static string GetOpenSslLibraryErrorMessage(uint errorCode) { return Native.ERR_lib_error_string(errorCode); } }
21.173077
84
0.601272
2cbcc094d6d3489ff9636dc69edb9fcf8f692dd4
9,380
cpp
C++
test/src/generators.cpp
BeatWolf/etl
32e8153b38e0029176ca4fe2395b7fa6babe3189
[ "MIT" ]
1
2020-02-19T13:13:10.000Z
2020-02-19T13:13:10.000Z
test/src/generators.cpp
BeatWolf/etl
32e8153b38e0029176ca4fe2395b7fa6babe3189
[ "MIT" ]
null
null
null
test/src/generators.cpp
BeatWolf/etl
32e8153b38e0029176ca4fe2395b7fa6babe3189
[ "MIT" ]
null
null
null
//======================================================================= // Copyright (c) 2014-2018 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //======================================================================= #include "test_light.hpp" /// sequence_generator TEMPLATE_TEST_CASE_2("sequence/fast_vector_1", "generator", Z, float, double) { etl::fast_vector<Z, 3> b; b = etl::sequence_generator<Z>(); REQUIRE_EQUALS(b[0], 0.0); REQUIRE_EQUALS(b[1], 1.0); REQUIRE_EQUALS(b[2], 2.0); } TEMPLATE_TEST_CASE_2("sequence/fast_vector_2", "generator", Z, float, double) { etl::fast_vector<Z, 3> b; b = etl::sequence_generator<Z>(99); REQUIRE_EQUALS(b[0], 99.0); REQUIRE_EQUALS(b[1], 100.0); REQUIRE_EQUALS(b[2], 101.0); } TEMPLATE_TEST_CASE_2("sequence/fast_vector_3", "generator", Z, float, double) { etl::fast_vector<Z, 3> b; b = etl::sequence_generator<Z>(99); REQUIRE_EQUALS(b[0], 99.0); REQUIRE_EQUALS(b[1], 100.0); REQUIRE_EQUALS(b[2], 101.0); } TEMPLATE_TEST_CASE_2("sequence/fast_vector_4", "generator", Z, float, double) { etl::fast_vector<Z, 3> b; b = 0.5 * etl::sequence_generator<Z>(99.0); REQUIRE_EQUALS(b[0], 49.5); REQUIRE_EQUALS(b[1], 50.0); REQUIRE_EQUALS(b[2], 50.5); } TEMPLATE_TEST_CASE_2("sequence/fast_matrix_1", "generator", Z, float, double) { etl::fast_matrix<Z, 3, 2> b; b = etl::sequence_generator<Z>(); REQUIRE_EQUALS(b(0, 0), 0.0); REQUIRE_EQUALS(b(0, 1), 1.0); REQUIRE_EQUALS(b(1, 0), 2.0); REQUIRE_EQUALS(b(1, 1), 3.0); REQUIRE_EQUALS(b(2, 0), 4.0); REQUIRE_EQUALS(b(2, 1), 5.0); } TEMPLATE_TEST_CASE_2("sequence/fast_matrix_2", "generator", Z, float, double) { etl::fast_matrix<Z, 3, 2> b; b = 0.1 * etl::sequence_generator<Z>(); REQUIRE_DIRECT(etl::decay_traits<decltype(0.1 * etl::sequence_generator())>::is_generator); REQUIRE_EQUALS_APPROX(b(0, 0), 0.0); REQUIRE_EQUALS_APPROX(b(0, 1), 0.1); REQUIRE_EQUALS_APPROX(b(1, 0), 0.2); REQUIRE_EQUALS_APPROX(b(1, 1), 0.3); REQUIRE_EQUALS_APPROX(b(2, 0), 0.4); REQUIRE_EQUALS_APPROX(b(2, 1), 0.5); } TEMPLATE_TEST_CASE_2("sequence/fast_matrix_3", "generator", Z, float, double) { etl::fast_matrix<Z, 3, 2> b(1.0); b = 0.1 * etl::sequence_generator<Z>() + b; REQUIRE_EQUALS_APPROX(b(0, 0), 1.0); REQUIRE_EQUALS_APPROX(b(0, 1), 1.1); REQUIRE_EQUALS_APPROX(b(1, 0), 1.2); REQUIRE_EQUALS_APPROX(b(1, 1), 1.3); REQUIRE_EQUALS_APPROX(b(2, 0), 1.4); REQUIRE_EQUALS_APPROX(b(2, 1), 1.5); } TEMPLATE_TEST_CASE_2("sequence/dyn_vector_1", "generator", Z, float, double) { etl::dyn_vector<Z> b(3); b = etl::sequence_generator<Z>(); REQUIRE_EQUALS(b[0], 0.0); REQUIRE_EQUALS(b[1], 1.0); REQUIRE_EQUALS(b[2], 2.0); } TEMPLATE_TEST_CASE_2("sequence/dyn_vector_2", "generator", Z, float, double) { etl::dyn_vector<Z> b(3); b = etl::sequence_generator<Z>(); REQUIRE_EQUALS(b[0], 0.0); REQUIRE_EQUALS(b[1], 1.0); REQUIRE_EQUALS(b[2], 2.0); } TEMPLATE_TEST_CASE_2("sequence/dyn_matrix_1", "generator", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); b = etl::sequence_generator<Z>() >> 2.0; REQUIRE_EQUALS(b(0, 0), 0.0); REQUIRE_EQUALS(b(0, 1), 2.0); REQUIRE_EQUALS(b(1, 0), 4.0); REQUIRE_EQUALS(b(1, 1), 6.0); REQUIRE_EQUALS(b(2, 0), 8.0); REQUIRE_EQUALS(b(2, 1), 10.0); } /// normal_generator //Simply ensures that it compiles TEMPLATE_TEST_CASE_2("normal/fast_vector_1", "generator", Z, float, double) { etl::fast_vector<Z, 3> b; b = etl::normal_generator<Z>(); } TEMPLATE_TEST_CASE_2("normal/fast_matrix_1", "generator", Z, float, double) { etl::fast_matrix<Z, 3, 2> b; b = etl::normal_generator<Z>(); } TEMPLATE_TEST_CASE_2("normal/dyn_vector_1", "generator", Z, float, double) { etl::dyn_vector<Z> b(3); b = etl::normal_generator<Z>() >> etl::normal_generator<Z>(); } TEMPLATE_TEST_CASE_2("normal/dyn_matrix_1", "generator", Z, float, double) { etl::dyn_matrix<Z> b(3, 5); b = etl::normal_generator<Z>(); } /// truncated_normal_generator //Simply ensures that it compiles TEMPLATE_TEST_CASE_2("truncated_normal/fast_vector_1", "generator", Z, float, double) { etl::fast_vector<Z, 3> b; b = etl::truncated_normal_generator<Z>(); } TEMPLATE_TEST_CASE_2("truncated_normal/fast_matrix_1", "generator", Z, float, double) { etl::fast_matrix<Z, 3, 2> b; b = etl::truncated_normal_generator<Z>(); } TEMPLATE_TEST_CASE_2("truncated_normal/dyn_vector_1", "generator", Z, float, double) { etl::dyn_vector<Z> b(3); b = etl::truncated_normal_generator<Z>(); } TEMPLATE_TEST_CASE_2("truncated_normal/dyn_matrix_1", "generator", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); b = etl::truncated_normal_generator<Z>(); } /// uniform_generator TEMPLATE_TEST_CASE_2("generators/uniform/1", "uniform", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); b = etl::uniform_generator<Z>(-2.0, +2.0); for (auto value : b) { REQUIRE_DIRECT(value >= -2.0); REQUIRE_DIRECT(value <= +2.0); } } TEMPLATE_TEST_CASE_2("generators/uniform/2", "uniform", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); b = etl::uniform_generator<Z>(5.5, 8.0); for (auto value : b) { REQUIRE_DIRECT(value >= 5.5); REQUIRE_DIRECT(value <= 8.0); } } TEMPLATE_TEST_CASE_2("generators/uniform/3", "uniform", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); b = etl::uniform_generator<Z>(1.0, 2.0) >> 4.0; for (auto value : b) { REQUIRE_DIRECT(value >= 4.0); REQUIRE_DIRECT(value <= 8.0); } } /// dropout_mask TEMPLATE_TEST_CASE_2("generators/dropout_mask/1", "uniform", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); b = etl::dropout_mask<Z>(0.2); for (auto value : b) { REQUIRE_DIRECT(value == Z(0.0) || value == Z(1.0)); } } TEMPLATE_TEST_CASE_2("generators/dropout_mask/2", "uniform", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); b = etl::dropout_mask<Z>(0.5); for (auto value : b) { REQUIRE_DIRECT(value == Z(0.0) || value == Z(1.0)); } } /// state_dropout_mask TEMPLATE_TEST_CASE_2("generators/state_dropout_mask/1", "uniform", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); b = etl::state_dropout_mask<Z>(0.2); for (auto value : b) { REQUIRE_DIRECT(value == Z(0.0) || value == Z(1.0)); } } TEMPLATE_TEST_CASE_2("generators/state_dropout_mask/2", "uniform", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); b = etl::state_dropout_mask<Z>(0.5); for (auto value : b) { REQUIRE_DIRECT(value == Z(0.0) || value == Z(1.0)); } } TEMPLATE_TEST_CASE_2("generators/state_dropout_mask/3", "uniform", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); auto dropout = etl::state_dropout_mask<Z>(0.5); b = dropout; for (auto value : b) { REQUIRE_DIRECT(value == Z(0.0) || value == Z(1.0)); } b = dropout; for (auto value : b) { REQUIRE_DIRECT(value == Z(0.0) || value == Z(1.0)); } } TEMPLATE_TEST_CASE_2("generators/state_dropout_mask/4", "uniform", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); auto dropout = etl::state_dropout_mask<Z>(0.5); b = (dropout * 0.5f) + 1.0f; for (auto value : b) { REQUIRE_DIRECT(value == Z(1.0) || value == Z(1.5)); } } /// inverted_dropout_mask TEMPLATE_TEST_CASE_2("generators/inverted_dropout_mask/1", "uniform", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); b = etl::inverted_dropout_mask<Z>(0.2); for (auto value : b) { REQUIRE_DIRECT(value == Z(0.0) || value == Z(1.0 / 0.8)); } } TEMPLATE_TEST_CASE_2("generators/inverted_dropout_mask/2", "uniform", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); b = etl::inverted_dropout_mask<Z>(0.5); for (auto value : b) { REQUIRE_DIRECT(value == Z(0.0) || value == Z(1.0 / 0.5)); } } TEMPLATE_TEST_CASE_2("generators/inverted_dropout_mask/3", "uniform", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); b = etl::inverted_dropout_mask<Z>(0.5) >> 2.0; for (auto value : b) { REQUIRE_DIRECT(value == Z(0.0) || value == Z(2.0 / 0.5)); } } /// state_inverted_dropout_mask TEMPLATE_TEST_CASE_2("generators/state_inverted_dropout_mask/1", "uniform", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); b = etl::state_inverted_dropout_mask<Z>(0.2); for (auto value : b) { REQUIRE_DIRECT(value == Z(0.0) || value == Z(1.25)); } } TEMPLATE_TEST_CASE_2("generators/state_inverted_dropout_mask/2", "uniform", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); b = etl::state_inverted_dropout_mask<Z>(0.5); for (auto value : b) { REQUIRE_DIRECT(value == Z(0.0) || value == Z(2.0)); } } TEMPLATE_TEST_CASE_2("generators/state_inverted_dropout_mask/3", "uniform", Z, float, double) { etl::dyn_matrix<Z> b(3, 2); auto dropout = etl::state_inverted_dropout_mask<Z>(0.5); b = dropout; for (auto value : b) { REQUIRE_DIRECT(value == Z(0.0) || value == Z(2.0)); } b = dropout; for (auto value : b) { REQUIRE_DIRECT(value == Z(0.0) || value == Z(2.0)); } }
25.911602
95
0.6129
c6c288a0f3c018f0f024cc4c087e4d43ba0ae61f
960
py
Python
main.py
Cholly-Tse/cordcloud-action
0ce6028993c3caca67c5b314a7792fef8284388f
[ "MIT" ]
1
2021-12-15T01:50:08.000Z
2021-12-15T01:50:08.000Z
main.py
Cholly-Tse/cordcloud-action
0ce6028993c3caca67c5b314a7792fef8284388f
[ "MIT" ]
null
null
null
main.py
Cholly-Tse/cordcloud-action
0ce6028993c3caca67c5b314a7792fef8284388f
[ "MIT" ]
null
null
null
from actions_toolkit import core from app.action import Action # 获取输入 email = core.get_input('email', required=True) passwd = core.get_input('passwd', required=True) host = core.get_input('host') or 'cordcloud.us,cordcloud.one,cordcloud.biz,c-cloud.xyz' pushplus_key = core.get_input('pushplus_key', required=True) # host 预处理:切分、过滤空值 hosts = [h for h in host.split(',') if h] core.info('欢迎使用 CordCloud Action ❤\n\n' '📕 入门指南: https://github.com/marketplace/actions/cordcloud-action\n' '📣 由 Yang Libin 维护: https://github.com/yanglbme\n') success, err = False, None for i, h in enumerate(hosts): # 依次尝试每个 host try: action = Action(email, passwd, pushplus_key, host=h) action.run() success = True # 成功则终止 break except Exception as e: err = str(e) if i != len(hosts) - 1: core.warning(f'host:{h}, 错误信息:{str(e)}') if not success: core.set_failed(f'{err}')
28.235294
87
0.639583
f4a21fa948e1a8fc0817a9f01ad07b302239b790
1,247
tsx
TypeScript
src/components/AutoComplete/autoComplete.stories.tsx
Censwin/whale-design
b59a9ce7038f213e88439c81d272e41301fe948e
[ "MIT" ]
null
null
null
src/components/AutoComplete/autoComplete.stories.tsx
Censwin/whale-design
b59a9ce7038f213e88439c81d272e41301fe948e
[ "MIT" ]
null
null
null
src/components/AutoComplete/autoComplete.stories.tsx
Censwin/whale-design
b59a9ce7038f213e88439c81d272e41301fe948e
[ "MIT" ]
null
null
null
/* * @Author: Censwin * @Date: 2021-10-18 22:44:43 * @LastEditTime: 2021-10-25 23:30:35 * @Description: * @FilePath: /whale-design/src/components/AutoComplete/autoComplete.stories.tsx */ import React from "react"; import { ComponentStory } from "@storybook/react"; import AutoComplete, {DataSourceType} from './autoComplete' interface IdataList { value: string } export default { title: '表单/AutoComplete', component: AutoComplete, argTypes: { filterOption: {description: 'function(query):[]'}, onSelect: {description: 'function(value)'}, renderOption: {description: 'function(value):ReactNode'}, } } const Template: ComponentStory<typeof AutoComplete> = (args) => <AutoComplete {...args} /> export const Default = Template.bind({}); Default.args = { filterOption: (query: string) => { return fetch(`https://api.github.com/search/users?q=${query}`).then(res => res.json()).then(({items}) => { const list = items.slice(0, 10).map(item => ({value: item.login, ...item})) return list }) }, onSelect: (val) => { console.log(val) }, renderOption: (item: DataSourceType<IdataList>) => { return ( <span>{item.value}</span> ) } }
29
112
0.627907
01230f76bcd7071452062c2ca9ed2ec0a821cc4f
3,193
swift
Swift
Sources/JiraClient/Clients/BaseClient/BaseClient.swift
jczornik/JiraClient
a88f9b2b05717abd83c6bc7d1b429496370db67f
[ "MIT" ]
null
null
null
Sources/JiraClient/Clients/BaseClient/BaseClient.swift
jczornik/JiraClient
a88f9b2b05717abd83c6bc7d1b429496370db67f
[ "MIT" ]
1
2021-06-29T17:43:43.000Z
2021-07-18T09:20:19.000Z
Sources/JiraClient/Clients/BaseClient/BaseClient.swift
jczornik/JiraClient
a88f9b2b05717abd83c6bc7d1b429496370db67f
[ "MIT" ]
null
null
null
// // BaseClient.swift // // Created by Janusz Czornik on 30/04/2021. // import Foundation import Combine typealias Response = (HTTPURLResponse, Data?) /// HTTP Request type enum RequestType: String { /// POST request case post = "POST" /// GET request case get = "GET" } /// Protocol for building requests protocol RequestBuilding { /// Server URL var baseURL: URL { get } /// Request headers var headers: [RequestHeader] { get } /// Create request /// /// - Parameters: /// - for path: relative path (API path) /// - with type: request type /// /// - Returns: Request object func createRequest(for path: String, with type: RequestType) -> URLRequest } /// Default RequestBuilding implementation extension RequestBuilding { /// Create request /// /// - Parameters: /// - for path: relative path (API path) /// - with type: request type /// /// - Returns: Request object func createRequest(for path: String, with type: RequestType) -> URLRequest { let url = baseURL.appendingPathComponent(path, isDirectory: false) var request = URLRequest(url: url) for header in headers { request.setValue(header.content, forHTTPHeaderField: header.name) } request.httpMethod = type.rawValue return request } } /// Protocol for objects that can send requests to server protocol ServerRequesting: RequestBuilding { /// Sends request /// /// - Parameters: /// - request: request to send /// /// - Returns: Future object with request result func send(request: URLRequest) -> Future<Response, CommunicationError> } /// Base JIRA client struct BaseClient: ServerRequesting { /// Base URL let baseURL: URL /// Request headers let headers: [RequestHeader] /// Initializer /// /// - Parameters: /// - jiraURL: servers URL /// - authorizationHeader: header with credentials init(jiraURL: URL, authorizationHeader: AuthHeader) { baseURL = jiraURL.appendingPathComponent("/rest/api/2", isDirectory: false) headers = [RequestHeader](arrayLiteral: authorizationHeader, JsonHeader()) } /// Sends request to server /// /// - Parameters: /// - request: request to send /// /// - Returns: Future object with request result func send(request: URLRequest) -> Future<Response, CommunicationError> { Future<Response, CommunicationError> { promise in let session = URLSession .shared .dataTask(with: request) { data, response, error in guard error == nil else { return promise(.failure(.networkError(error!))) } guard let response = response as? HTTPURLResponse else { return promise(.failure(.unknownError)) } return promise(.success((response, data))) } session.resume() } } } enum CommunicationError: Error { case networkError(Error) case unknownError }
27.290598
83
0.59787
b3102766008e45b91eb98262d6cb0f987acbc1ca
257,959
py
Python
Cacti_Plugin/simulator/mibpy/HUAWEI-SERVER-IBMC-MIB.py
saintifly/Server_Manage_Plugin
ae272e7e3ca065236cc7bc86c296ff9eb83f1bb9
[ "Apache-2.0" ]
null
null
null
Cacti_Plugin/simulator/mibpy/HUAWEI-SERVER-IBMC-MIB.py
saintifly/Server_Manage_Plugin
ae272e7e3ca065236cc7bc86c296ff9eb83f1bb9
[ "Apache-2.0" ]
null
null
null
Cacti_Plugin/simulator/mibpy/HUAWEI-SERVER-IBMC-MIB.py
saintifly/Server_Manage_Plugin
ae272e7e3ca065236cc7bc86c296ff9eb83f1bb9
[ "Apache-2.0" ]
null
null
null
# # PySNMP MIB module HUAWEI-SERVER-IBMC-MIB (http://pysnmp.sf.net) # ASN.1 source file:///home/jhzhang/test/snmp/HUAWEI-SERVER-iBMC-MIB.txt # Produced by pysmi-0.0.7 at Mon Apr 3 12:24:09 2017 # On host localhost.localdomain platform Linux version 3.10.0-123.el7.x86_64 by user root # Using Python version 2.7.5 (default, Nov 6 2016, 00:28:07) #powerSupplyWorkMode ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsUnion, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( NotificationGroup, ModuleCompliance, ) = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") ( Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType, MibIdentifier, Opaque, Bits, TimeTicks, Counter64, Unsigned32, enterprises, ModuleIdentity, Gauge32, iso, ObjectIdentity, IpAddress, Counter32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType", "MibIdentifier", "Opaque", "Bits", "TimeTicks", "Counter64", "Unsigned32", "enterprises", "ModuleIdentity", "Gauge32", "iso", "ObjectIdentity", "IpAddress", "Counter32") ( StorageType, DisplayString, RowStatus, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "StorageType", "DisplayString", "RowStatus", "TextualConvention") huawei = MibIdentifier((1, 3, 6, 1, 4, 1, 2011)) products = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2)) hwServer = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235)) hwBMC = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1)) hwiBMC = ModuleIdentity((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1)) system = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1)) systemHealth = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4),))).setMaxAccess("readonly") systemBootsequence = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6, 7,)).clone(namedValues=NamedValues(("noOverride", 1), ("pxe", 2), ("hdd", 3), ("cdDvd", 4), ("floppyPrimaryRemovableMedia", 5), ("unspecified", 6), ("biossetup", 7),))).setMaxAccess("readwrite") systemTime = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 3), DisplayString()).setMaxAccess("readonly") systemTimeZone = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-720,780))).setMaxAccess("readwrite") safepowerofftime = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 5), Integer32()).setMaxAccess("readwrite") deviceName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 6), DisplayString()).setMaxAccess("readonly") deviceSerialNo = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 7), DisplayString()).setMaxAccess("readonly") powerOnPolicy = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("stayoff", 1), ("restorePreviousState", 2), ("turnon", 3),))).setMaxAccess("readwrite") hostName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 9), DisplayString()).setMaxAccess("readwrite") systemGuid = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 10), DisplayString()).setMaxAccess("readonly") identify = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 11), DisplayString()).setMaxAccess("readwrite") systemPowerState = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5,)).clone(namedValues=NamedValues(("normalPowerOff", 1), ("powerOn", 2), ("forcedSystemReset", 3), ("forcedPowerCycle", 4), ("forcedPowerOff", 5),))).setMaxAccess("readwrite") presentSystemPower = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 13), Integer32()).setMaxAccess("readonly") deviceOwnerID = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 14), DisplayString()).setMaxAccess("readonly") deviceslotID = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 15), DisplayString()).setMaxAccess("readonly") remoteOEMInfo = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 16), DisplayString()).setMaxAccess("readwrite") deviceLocationInfo = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 17), DisplayString()).setMaxAccess("readwrite") deviceRemoteManageID = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 18), DisplayString()).setMaxAccess("readwrite") bmcReboot = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 19), Integer32().subtype(subtypeSpec=SingleValueConstraint(1,)).clone(namedValues=NamedValues(("reboot", 1),))).setMaxAccess("readwrite") powerOnPermit = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 20), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("notPermit", 1), ("permit", 2),))).setMaxAccess("readwrite") autoDiscoveryEnable = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 21), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") productUniqueID = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 22), DisplayString()).setMaxAccess("readonly") systemCpuUsage = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 23), Integer32()).setMaxAccess("readonly") systemBootOnce = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 24), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("once", 1), ("permanent", 2),))).setMaxAccess("readwrite") systemHealthEventDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 50), ) systemHealthEventDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "eventIndex")) eventIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 50, 1, 1), Integer32()) eventSensorName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 50, 1, 2), DisplayString()).setMaxAccess("readonly") eventAlertTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 50, 1, 3), DisplayString()).setMaxAccess("readonly") eventAlertSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 50, 1, 4), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4),))).setMaxAccess("readonly") eventDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 1, 50, 1, 5), DisplayString()).setMaxAccess("readonly") domainNameSystem = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 2)) domainName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 2, 1), DisplayString()).setMaxAccess("readwrite") preferredDNSServer = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 2, 2), DisplayString()).setMaxAccess("readwrite") alternateDNSServer = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 2, 3), DisplayString()).setMaxAccess("readwrite") dnsSource = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 2, 4), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("manual", 1), ("auto", 2),))).setMaxAccess("readwrite") bindNetPort = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 2, 5), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("eth0", 1), ("eth1", 2),))).setMaxAccess("readwrite") bindIPProtocol = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 2, 6), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("ipv4", 1), ("ipv6", 2),))).setMaxAccess("readwrite") ldap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3)) ldapEnable = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") ldapDomainServer = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 2), DisplayString()).setMaxAccess("readwrite") ldapUserDomain = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 3), DisplayString()).setMaxAccess("readwrite") ldapPort = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 4), Integer32()).setMaxAccess("readwrite") ldapDomainServer2 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 5), DisplayString()).setMaxAccess("readwrite") ldapUserDomain2 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 6), DisplayString()).setMaxAccess("readwrite") ldapPort2 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 7), Integer32()).setMaxAccess("readwrite") ldapDomainServer3 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 8), DisplayString()).setMaxAccess("readwrite") ldapUserDomain3 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 9), DisplayString()).setMaxAccess("readwrite") ldapPort3 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 10), Integer32()).setMaxAccess("readwrite") ldapGroupInfoDescription1Table = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 50), ) ldapGroupInfoDescription1Entry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "groupIndex")) groupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 50, 1, 1), Integer32()) groupName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 50, 1, 2), DisplayString()).setMaxAccess("readwrite") groupDomain = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 50, 1, 3), DisplayString()).setMaxAccess("readwrite") groupPrivilege = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 50, 1, 4), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6, 7,)).clone(namedValues=NamedValues(("commonUser", 1), ("operator", 2), ("administrator", 3), ("customRole1", 4), ("customRole2", 5), ("customRole3", 6), ("customRole4", 7),))).setMaxAccess("readwrite") groupInterfaces = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 50, 1, 5), Integer32()).setMaxAccess("readwrite") ldapGroupInfoDescription2Table = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 51), ) ldapGroupInfoDescription2Entry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 51, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "groupIndex2")) groupIndex2 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 51, 1, 1), Integer32()) groupName2 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 51, 1, 2), DisplayString()).setMaxAccess("readwrite") groupPrivilege2 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 51, 1, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6, 7,)).clone(namedValues=NamedValues(("commonUser", 1), ("operator", 2), ("administrator", 3), ("customRole1", 4), ("customRole2", 5), ("customRole3", 6), ("customRole4", 7),))).setMaxAccess("readwrite") groupInterfaces2 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 51, 1, 4), Integer32()).setMaxAccess("readwrite") groupDomain2 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 51, 1, 5), DisplayString()).setMaxAccess("readwrite") ldapGroupInfoDescription3Table = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 52), ) ldapGroupInfoDescription3Entry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 52, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "groupIndex3")) groupIndex3 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 52, 1, 1), Integer32()) groupName3 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 52, 1, 2), DisplayString()).setMaxAccess("readwrite") groupPrivilege3 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 52, 1, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6, 7,)).clone(namedValues=NamedValues(("commonUser", 1), ("operator", 2), ("administrator", 3), ("customRole1", 4), ("customRole2", 5), ("customRole3", 6), ("customRole4", 7),))).setMaxAccess("readwrite") groupInterfaces3 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 52, 1, 4), Integer32()).setMaxAccess("readwrite") groupDomain3 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 3, 52, 1, 5), DisplayString()).setMaxAccess("readwrite") trap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4)) trapEnable = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") trapCommunity = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 2), DisplayString()).setMaxAccess("readwrite") trapLevel = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4),))).setMaxAccess("readwrite") trapMode = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 4), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("eventCodeMode", 1), ("trapOidMode", 2),))).setMaxAccess("readwrite") trapVersion = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 5), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("v1", 1), ("v2c", 2), ("v3", 3),))).setMaxAccess("readwrite") trapRearm = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 6), Integer32().subtype(subtypeSpec=SingleValueConstraint(1,)).clone(namedValues=NamedValues(("rearm", 1),))).setMaxAccess("readwrite") trapServerIdentity = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 7), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("boardSN", 1), ("productAssetTag", 2), ("hostName", 3),))).setMaxAccess("readwrite") trapSecurityUserName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 8), DisplayString()).setMaxAccess("readwrite") trapLevelDetail = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 9), DisplayString()).setMaxAccess("readwrite") trapInfoDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 50), ) trapInfoDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "trapReceiverIndex")) trapReceiverIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 50, 1, 1), Integer32()) trapReceiverEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 50, 1, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") trapReceiverAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 50, 1, 3), DisplayString()).setMaxAccess("readwrite") trapReceiverPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 50, 1, 4), Integer32()).setMaxAccess("readwrite") trapSendType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 50, 1, 5), Integer32().subtype(subtypeSpec=SingleValueConstraint(1,)).clone(namedValues=NamedValues(("snmpTrap", 1),))).setMaxAccess("readwrite") trapTest = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 4, 50, 1, 6), Integer32()).setMaxAccess("readwrite") smtp = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5)) smtpEnable = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") smtpSendSeverity = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4),))).setMaxAccess("readwrite") smtpServerIP = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 3), DisplayString()).setMaxAccess("readwrite") smtpLoginType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 4), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("anonymous", 1), ("account", 2),))).setMaxAccess("readwrite") smtpLoginAccount = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 5), DisplayString()).setMaxAccess("readwrite") smtpLoginPassword = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 6), DisplayString()).setMaxAccess("readwrite") smtpSendFrom = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 7), DisplayString()).setMaxAccess("readwrite") smtpTLSEnable = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 8), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") smtpSendSeverityDetail = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 9), DisplayString()).setMaxAccess("readwrite") smtpReceiverDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 50), ) smtpReceiverDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "smtpReceiverIndex")) smtpReceiverIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 50, 1, 1), Integer32()) smtpReceiverState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 50, 1, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") smtpReceiverAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 50, 1, 3), DisplayString()).setMaxAccess("readwrite") smtpReceiverDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 50, 1, 4), DisplayString()).setMaxAccess("readwrite") smtpReceiverTest = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 5, 50, 1, 5), Integer32()).setMaxAccess("readwrite") syslog = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34)) syslogEnable = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") syslogIdentity = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("boardSN", 1), ("productAssetTag", 2), ("hostName", 3),))).setMaxAccess("readwrite") syslogSeverity = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("none", 5),))).setMaxAccess("readwrite") syslogProtocolType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 4), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("udp", 1), ("tcp", 2), ("tls", 3),))).setMaxAccess("readwrite") syslogAuthType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 5), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("one-way", 1), ("mutual", 2),))).setMaxAccess("readwrite") syslogImportRootCertificate = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 6), DisplayString()).setMaxAccess("readwrite") syslogImportClientCertificate = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 7), DisplayString()).setMaxAccess("readwrite") syslogInfoDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 50), ) syslogInfoDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "syslogReceiverIndex")) syslogReceiverIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 50, 1, 1), Integer32()) syslogReceiverEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 50, 1, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") syslogReceiverAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 50, 1, 3), DisplayString()).setMaxAccess("readwrite") syslogReceiverPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 50, 1, 4), Integer32()).setMaxAccess("readwrite") syslogSendLogType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 50, 1, 5), DisplayString()).setMaxAccess("readwrite") syslogReceiverTest = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 50, 1, 6), Integer32()).setMaxAccess("readwrite") syslogCertInfoDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 51), ) syslogCertInfoDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 51, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "syslogCertType")) syslogCertType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 51, 1, 1), Integer32()) syslogCertIssuedTo = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 51, 1, 2), DisplayString()).setMaxAccess("readonly") syslogCertIssuedBy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 51, 1, 3), DisplayString()).setMaxAccess("readonly") syslogCertValidFrom = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 51, 1, 4), DisplayString()).setMaxAccess("readonly") syslogCertValidTo = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 51, 1, 5), DisplayString()).setMaxAccess("readonly") syslogCertSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 34, 51, 1, 6), DisplayString()).setMaxAccess("readonly") powerSupplyInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6)) powerSupplyEntireStatus = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("absence", 5), ("unknown", 6),))).setMaxAccess("readonly") settedPowerSupplyEntireMode = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("loadBalance", 1), ("activeStandby", 2), ("unsupport", 3),))).setMaxAccess("readwrite") actualPowerSupplyEntireMode = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("loadBalance", 1), ("activeStandby", 2), ("unknown", 3),))).setMaxAccess("readonly") settedActivePowerSupply = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 4), Integer32()).setMaxAccess("readwrite") powerSupplyDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50), ) powerSupplyDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "powerSupplyIndex")) powerSupplyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50, 1, 1), Integer32()) powerSupplymanufacture = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50, 1, 2), DisplayString()).setMaxAccess("readonly") powerSupplyInputMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50, 1, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("acInput", 1), ("dcInput", 2), ("acInputDcInput", 3),))).setMaxAccess("readonly") powerSupplyModel = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50, 1, 4), DisplayString()).setMaxAccess("readonly") powerSupplyVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50, 1, 5), DisplayString()).setMaxAccess("readonly") powerSupplyPowerRating = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50, 1, 6), Integer32()).setMaxAccess("readonly") powerSupplyStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50, 1, 7), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("absence", 5), ("unknown", 6),))).setMaxAccess("readonly") powerSupplyInputPower = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50, 1, 8), Integer32()).setMaxAccess("readonly") powerSupplyPresence = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50, 1, 9), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("absence", 1), ("presence", 2), ("unknown", 3),))).setMaxAccess("readonly") powerSupplyProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50, 1, 10), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("psmi", 1), ("pmbus", 2),))).setMaxAccess("readonly") powerSupplyLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50, 1, 11), DisplayString()).setMaxAccess("readonly") powerSupplyFunction = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50, 1, 12), DisplayString()).setMaxAccess("readonly") powerSupplyDevicename = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50, 1, 13), DisplayString()).setMaxAccess("readonly") powerSupplyWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 6, 50, 1, 14), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("active", 1), ("backup", 2), ("unknown", 3),))).setMaxAccess("readonly") fruPowerProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 7)) fruPowerDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 7, 50), ) fruPowerDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 7, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "fruNum")) fruNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 7, 50, 1, 1), Integer32()) fruPowerControl = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 7, 50, 1, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4,)).clone(namedValues=NamedValues(("normalPowerOff", 1), ("powerOn", 2), ("forcedSystemReset", 3), ("forcedPowerCycle", 4),))).setMaxAccess("readwrite") fanProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 8)) fanMode = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 8, 1), DisplayString()).setMaxAccess("readwrite") fanLevel = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 8, 2), Integer32()).setMaxAccess("readwrite") fanEntireStatus = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 8, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("absence", 5), ("unknown", 6),))).setMaxAccess("readonly") fanDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 8, 50), ) fanDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 8, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "fanIndex")) fanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 8, 50, 1, 1), Integer32()) fanSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 8, 50, 1, 2), Integer32()).setMaxAccess("readonly") fanPresence = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 8, 50, 1, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("absence", 1), ("presence", 2), ("unknown", 3),))).setMaxAccess("readonly") fanStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 8, 50, 1, 4), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("absence", 5), ("unknown", 6),))).setMaxAccess("readonly") fanLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 8, 50, 1, 5), DisplayString()).setMaxAccess("readonly") fanFunction = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 8, 50, 1, 6), DisplayString()).setMaxAccess("readonly") fanDevicename = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 8, 50, 1, 7), DisplayString()).setMaxAccess("readonly") fruLedProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 9)) fruLedDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 9, 50), ) fruLedDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 9, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "fruID"), (0, "HUAWEI-SERVER-IBMC-MIB", "ledName")) fruID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 9, 50, 1, 1), Integer32()) ledName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 9, 50, 1, 2), DisplayString()).setMaxAccess("readonly") ledColorCapbilities = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 9, 50, 1, 3), DisplayString()).setMaxAccess("readonly") ledColorInLocalControlState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 9, 50, 1, 4), DisplayString()).setMaxAccess("readonly") ledColorInOverrideState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 9, 50, 1, 5), DisplayString()).setMaxAccess("readonly") ledColor = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 9, 50, 1, 6), DisplayString()).setMaxAccess("readonly") ledMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 9, 50, 1, 7), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("localControl", 1), ("override", 2), ("test", 3),))).setMaxAccess("readonly") ledStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 9, 50, 1, 8), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("off", 1), ("on", 2), ("blinking", 3),))).setMaxAccess("readonly") ledLitOnLastTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 9, 50, 1, 9), Integer32()).setMaxAccess("readonly") ledLitOffLastTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 9, 50, 1, 10), Integer32()).setMaxAccess("readonly") componentProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 10)) componentDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 10, 50), ) componentDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 10, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "componentName")) componentName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 10, 50, 1, 1), DisplayString()).setMaxAccess("readonly") componentType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 10, 50, 1, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6, 9, 13, 14,)).clone(namedValues=NamedValues(("baseBoard", 1), ("mezzCard", 2), ("amcController", 3), ("mmcController", 4), ("hddBackPlane", 5), ("raidCard", 6), ("riserCard", 9), ("lomCard", 13), ("pcieCard", 14),))).setMaxAccess("readonly") componentPCBVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 10, 50, 1, 3), DisplayString()).setMaxAccess("readonly") componentBoardID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 10, 50, 1, 4), DisplayString()).setMaxAccess("readonly") componentStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 10, 50, 1, 5), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("absence", 5), ("unknown", 6),))).setMaxAccess("readonly") firmwareProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 11)) firmwareDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 11, 50), ) firmwareDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 11, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "firmwareName")) firmwareName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 11, 50, 1, 1), DisplayString()).setMaxAccess("readonly") firmwareType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 11, 50, 1, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("iBMC", 1), ("fpga", 2), ("cpld", 3), ("bios", 4), ("uboot", 5), ("lcd", 6),))).setMaxAccess("readonly") firmwareReleaseDate = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 11, 50, 1, 3), DisplayString()).setMaxAccess("readonly") firmwareVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 11, 50, 1, 4), DisplayString()).setMaxAccess("readonly") firmwareLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 11, 50, 1, 5), DisplayString()).setMaxAccess("readonly") fruNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 11, 50, 1, 6), Integer32()) firmwareBoard = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 11, 50, 1, 7), DisplayString()).setMaxAccess("readonly") networkProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12)) networkDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12, 50), ) networkDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "ethNum")) ethNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12, 50, 1, 1), Integer32()) ethIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12, 50, 1, 2), IpAddress()).setMaxAccess("readwrite") ethNetmask = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12, 50, 1, 3), IpAddress()).setMaxAccess("readwrite") ethDefaultGateway = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12, 50, 1, 4), IpAddress()).setMaxAccess("readwrite") ethIPSource = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12, 50, 1, 5), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("static", 1), ("dhcp", 2),))).setMaxAccess("readwrite") ethMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12, 50, 1, 6), DisplayString()).setMaxAccess("readonly") ethType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12, 50, 1, 7), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("mgmt", 1), ("share", 2),))).setMaxAccess("readonly") ethHostPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12, 50, 1, 8), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5,)).clone(namedValues=NamedValues(("none", 1), ("port1", 2), ("port2", 3), ("port3", 4), ("port4", 5),))).setMaxAccess("readwrite") ethEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12, 50, 1, 9), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") ethMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12, 50, 1, 10), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4,)).clone(namedValues=NamedValues(("dedicated", 1), ("lomShare", 2), ("adaptive", 3), ("pcieShare", 4),))).setMaxAccess("readwrite") vlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12, 50, 1, 11), DisplayString()).setMaxAccess("readwrite") ethInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12, 50, 1, 12), DisplayString()).setMaxAccess("readwrite") ethIPv4Enable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 12, 50, 1, 13), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") sensorProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13)) sensorDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50), ) sensorDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "sensorName")) sensorName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 1), DisplayString()).setMaxAccess("readonly") sensorReading = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 2), DisplayString()).setMaxAccess("readonly") sensorUpperNonRecoverable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 3), DisplayString()).setMaxAccess("readonly") sensorUpperCritical = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 4), DisplayString()).setMaxAccess("readonly") sensorUpperMinor = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 5), DisplayString()).setMaxAccess("readonly") sensorLowerNonRecoverable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 6), DisplayString()).setMaxAccess("readonly") sensorLowerCritical = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 7), DisplayString()).setMaxAccess("readonly") sensorLowerMinor = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 8), DisplayString()).setMaxAccess("readonly") sensorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 9), DisplayString()).setMaxAccess("readonly") sensorType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 10), Integer32()).setMaxAccess("readonly") sensorPositiveHysteresis = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 11), Integer32()).setMaxAccess("readonly") sensorNegativeHysteresis = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 12), Integer32()).setMaxAccess("readonly") sensorPositiveHysteresisString = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 13), DisplayString()).setMaxAccess("readonly") sensorNegativeHysteresisString = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 14), DisplayString()).setMaxAccess("readonly") sensorUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 15), Integer32().subtype(subtypeSpec=SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 18,)).clone(namedValues=NamedValues(("unspecified", 0), ("degrees-c", 1), ("degrees-f", 2), ("degrees-k", 3), ("volts", 4), ("amps", 5), ("watts", 6), ("rpm", 18),))).setMaxAccess("readonly") sensorEventReadingType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 13, 50, 1, 16), Integer32()).setMaxAccess("readonly") userProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 14)) userDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 14, 50), ) userDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 14, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "userID")) userID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 14, 50, 1, 1), Integer32()) userEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 14, 50, 1, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") userName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 14, 50, 1, 3), DisplayString()).setMaxAccess("readwrite") userPassword = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 14, 50, 1, 4), DisplayString()).setMaxAccess("readwrite") userGroupID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 14, 50, 1, 5), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8,)).clone(namedValues=NamedValues(("commonUser", 1), ("operator", 2), ("administrator", 3), ("noAccess", 4), ("customRole1", 5), ("customRole2", 6), ("customRole3", 7), ("customRole4", 8),))).setMaxAccess("readwrite") userDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 14, 50, 1, 6), Integer32().subtype(subtypeSpec=SingleValueConstraint(1,)).clone(namedValues=NamedValues(("delete", 1),))).setMaxAccess("readwrite") userInterfaces = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 14, 50, 1, 7), Integer32()).setMaxAccess("readwrite") userPublicKeyAdd = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 14, 50, 1, 8), DisplayString()).setMaxAccess("readwrite") userPublicKeyDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 14, 50, 1, 9), DisplayString()).setMaxAccess("readwrite") userPublicKeyHash = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 14, 50, 1, 10), DisplayString()).setMaxAccess("readonly") cpuProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15)) cpuEntireStatus = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("absence", 5), ("unknown", 6),))).setMaxAccess("readonly") cpuDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50), ) cpuDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "cpuIndex")) cpuIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 1), Integer32()) cpuManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 2), DisplayString()).setMaxAccess("readonly") cpuFamily = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 3), DisplayString()).setMaxAccess("readonly") cpuType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 4), DisplayString()).setMaxAccess("readonly") cpuClockRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 5), DisplayString()).setMaxAccess("readonly") cpuStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 6), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("absence", 5), ("unknown", 6),))).setMaxAccess("readonly") cpuAvailability = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 7), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4,)).clone(namedValues=NamedValues(("unknown", 1), ("disabled", 2), ("backup", 3), ("active", 4),))).setMaxAccess("readonly") cpuLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 8), DisplayString()).setMaxAccess("readonly") cpuFunction = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 9), DisplayString()).setMaxAccess("readonly") cpuDevicename = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 10), DisplayString()).setMaxAccess("readonly") cpuProcessorID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 11), DisplayString()).setMaxAccess("readonly") cpuCoreCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 12), Integer32()).setMaxAccess("readonly") cpuThreadCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 13), Integer32()).setMaxAccess("readonly") cpuMemoryTechnology = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 14), DisplayString()).setMaxAccess("readonly") cpuL1Cache_K = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 15), Integer32()).setLabel("cpuL1Cache-K").setMaxAccess("readonly") cpuL2Cache_K = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 16), Integer32()).setLabel("cpuL2Cache-K").setMaxAccess("readonly") cpuL3Cache_K = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 15, 50, 1, 17), Integer32()).setLabel("cpuL3Cache-K").setMaxAccess("readonly") memoryProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16)) memoryEntireStatus = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("absence", 5), ("unknown", 6),))).setMaxAccess("readonly") memoryDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50), ) memoryDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "memoryDimmIndex")) memoryDimmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 1), Integer32()) memoryLogic = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 2), DisplayString()).setMaxAccess("readonly") memoryManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 3), DisplayString()).setMaxAccess("readonly") memorySize = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 4), DisplayString()).setMaxAccess("readonly") memoryClockRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 5), DisplayString()).setMaxAccess("readonly") memoryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 6), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("absence", 5), ("unknown", 6),))).setMaxAccess("readonly") memoryAvailability = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 7), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4,)).clone(namedValues=NamedValues(("unknown", 1), ("disabled", 2), ("backup", 3), ("active", 4),))).setMaxAccess("readonly") memoryLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 8), DisplayString()).setMaxAccess("readonly") memoryFunction = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 9), DisplayString()).setMaxAccess("readonly") memoryDevicename = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 10), DisplayString()).setMaxAccess("readonly") memoryType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 11), DisplayString()).setMaxAccess("readonly") memorySN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 12), DisplayString()).setMaxAccess("readonly") memoryMinimumVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 13), Integer32()).setMaxAccess("readonly") memoryRank = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 14), Integer32()).setMaxAccess("readonly") memoryBitWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 15), Integer32()).setMaxAccess("readonly") memoryTechnology = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 16, 50, 1, 16), DisplayString()).setMaxAccess("readonly") lomProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 17)) lomDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 17, 50), ) lomDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 17, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "lomIndex")) lomIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 17, 50, 1, 1), Integer32()) lomMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 17, 50, 1, 2), DisplayString()).setMaxAccess("readonly") hardDiskProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18)) hardDiskEntireStatus = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("absence", 5), ("unknown", 6),))).setMaxAccess("readonly") hardDiskDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50), ) hardDiskDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "hardDiskIndex")) hardDiskIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 1), Integer32()) hardDiskPresence = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("absence", 1), ("presence", 2), ("unknown", 3),))).setMaxAccess("readonly") hardDiskStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("absence", 5), ("unknown", 6),))).setMaxAccess("readonly") hardDiskLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 4), DisplayString()).setMaxAccess("readonly") hardDiskFunction = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 5), DisplayString()).setMaxAccess("readonly") hardDiskDevicename = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 6), DisplayString()).setMaxAccess("readonly") hardDiskSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 7), DisplayString()).setMaxAccess("readonly") hardDiskModelNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 8), DisplayString()).setMaxAccess("readonly") hardDiskManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 9), DisplayString()).setMaxAccess("readonly") hardDiskFwState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 10), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 255,)).clone(namedValues=NamedValues(("unconfigured-good", 1), ("unconfigured-bad", 2), ("hot-spare", 3), ("offline", 4), ("failed", 5), ("rebuild", 6), ("online", 7), ("copyback", 8), ("jbod", 9), ("unconfigured-shielded", 10), ("hot-spare-shielded", 11), ("configured-shielded", 12), ("foreign", 13), ("unknown", 255),))).setMaxAccess("readwrite") hardDiskFwVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 11), DisplayString()).setMaxAccess("readonly") hardDiskCapacityInGB = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,4294967295)).clone(namedValues=NamedValues(("unknown", 4294967295),))).setMaxAccess("readonly") hardDiskMediaType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 13), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 255,)).clone(namedValues=NamedValues(("hdd", 1), ("ssd", 2), ("ssm", 3), ("unknown", 255),))).setMaxAccess("readonly") hardDiskInterfaceType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 14), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 255,)).clone(namedValues=NamedValues(("undefined", 1), ("parallel-scsi", 2), ("sas", 3), ("sata", 4), ("fiber-channel", 5), ("sata-sas", 6), ("pcie", 7), ("unknown", 255),))).setMaxAccess("readonly") hardDiskPowerState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 15), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 255,)).clone(namedValues=NamedValues(("spun-up", 1), ("spun-down", 2), ("transition", 3), ("unknown", 255),))).setMaxAccess("readonly") hardDiskRebuildProgress = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483648)).clone(namedValues=NamedValues(("unknown", 255),))).setMaxAccess("readonly") hardDiskPatrolReadStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 17), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 255,)).clone(namedValues=NamedValues(("stopped", 1), ("in-progress", 2), ("unknown", 255),))).setMaxAccess("readonly") hardDiskCapableSpeedInMbps = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,4294967295)).clone(namedValues=NamedValues(("unknown", 4294967295),))).setMaxAccess("readonly") hardDiskNegotiatedSpeedInMbps = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,4294967295)).clone(namedValues=NamedValues(("unknown", 4294967295),))).setMaxAccess("readonly") hardDiskTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483648)).clone(namedValues=NamedValues(("unknown", 255),))).setMaxAccess("readonly") hardDiskSASAddr1 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 21), DisplayString()).setMaxAccess("readonly") hardDiskSASAddr2 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 22), DisplayString()).setMaxAccess("readonly") hardDiskPrefailState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 23), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 255,)).clone(namedValues=NamedValues(("no", 1), ("yes", 2), ("unknown", 255),))).setMaxAccess("readonly") hardDiskHotSpareState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 24), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 255,)).clone(namedValues=NamedValues(("none", 1), ("global", 2), ("dedicated", 3), ("commissioned", 4), ("emergency", 5), ("unknown", 255),))).setMaxAccess("readwrite") hardDiskRemnantWearout = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483648)).clone(namedValues=NamedValues(("unknown", 255),))).setMaxAccess("readonly") hardDiskMediaErrCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,4294967295)).clone(namedValues=NamedValues(("unknown", 4294967295),))).setMaxAccess("readonly") hardDiskPrefailErrCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,4294967295)).clone(namedValues=NamedValues(("unknown", 4294967295),))).setMaxAccess("readonly") hardDiskOtherErrCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,4294967295)).clone(namedValues=NamedValues(("unknown", 4294967295),))).setMaxAccess("readonly") hardDiskLocationState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 29), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("unknown", 1), ("off", 2), ("on", 3),))).setMaxAccess("readwrite") hardDiskCapacityInMB = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 18, 50, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,4294967295)).clone(namedValues=NamedValues(("unknown", 4294967295),))).setMaxAccess("readonly") fruInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19)) fruDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50), ) fruDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "fruId")) fruId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50, 1, 1), Integer32()) fruBoardManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50, 1, 2), DisplayString()).setMaxAccess("readonly") fruBoardProductName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50, 1, 3), DisplayString()).setMaxAccess("readonly") fruBoardSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50, 1, 4), DisplayString()).setMaxAccess("readonly") fruBoardPartNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50, 1, 5), DisplayString()).setMaxAccess("readonly") fruBoardMfgDate = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50, 1, 6), DisplayString()).setMaxAccess("readonly") fruBoardFileID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50, 1, 7), DisplayString()).setMaxAccess("readonly") fruProductManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50, 1, 8), DisplayString()).setMaxAccess("readonly") fruProductName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50, 1, 9), DisplayString()).setMaxAccess("readonly") fruProductSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50, 1, 10), DisplayString()).setMaxAccess("readonly") fruProductPartNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50, 1, 11), DisplayString()).setMaxAccess("readonly") fruProductVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50, 1, 12), DisplayString()).setMaxAccess("readonly") fruProductAssetTag = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50, 1, 13), DisplayString()).setMaxAccess("readonly") fruProductFileID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 50, 1, 14), DisplayString()).setMaxAccess("readonly") fruExtendedELabelDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 60), ) fruExtendedELabelDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 60, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "fruid"), (0, "HUAWEI-SERVER-IBMC-MIB", "fruExtendedELabelIndex")) fruid = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 60, 1, 1), Integer32()) fruExtendedELabelIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 60, 1, 2), Integer32()).setMaxAccess("readonly") fruExtendedELabelInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 19, 60, 1, 3), DisplayString()).setMaxAccess("readonly") powerStatistic = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 20)) peakPower = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 20, 1), DisplayString()).setMaxAccess("readonly") peakPowerOccurTime = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 20, 2), DisplayString()).setMaxAccess("readonly") averagePower = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 20, 3), DisplayString()).setMaxAccess("readonly") powerConsumption = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 20, 4), DisplayString()).setMaxAccess("readonly") powerStatisticStartTime = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 20, 5), DisplayString()).setMaxAccess("readonly") clearPowerStatistic = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 20, 6), Integer32().subtype(subtypeSpec=SingleValueConstraint(1,)).clone(namedValues=NamedValues(("clearall", 1),))).setMaxAccess("readwrite") powerManagement = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 23)) powerCappingEnable = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 23, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") powerCappingValue = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 23, 2), Integer32()).setMaxAccess("readwrite") powerCappingFailureAction = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 23, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("eventlog", 1), ("eventlogAndPowerOff", 2),))).setMaxAccess("readwrite") pCIeDeviceProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 24)) pCIeDeviceEntireStatus = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 24, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("absence", 5), ("unknown", 6),))).setMaxAccess("readonly") pCIeDeviceDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 24, 50), ) pCIeDeviceDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 24, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "pCIeDeviceIndex")) pCIeDeviceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 24, 50, 1, 1), Integer32()) pCIeDevicePresence = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 24, 50, 1, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("absence", 1), ("presence", 2), ("unknown", 3),))).setMaxAccess("readonly") pCIeDeviceStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 24, 50, 1, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("absence", 5), ("unknown", 6),))).setMaxAccess("readonly") pCIeAvailability = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 24, 50, 1, 4), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4,)).clone(namedValues=NamedValues(("unknown", 1), ("disabled", 2), ("backup", 3), ("active", 4),))).setMaxAccess("readonly") pCIeDeviceLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 24, 50, 1, 5), DisplayString()).setMaxAccess("readonly") pCIeDeviceFunction = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 24, 50, 1, 6), DisplayString()).setMaxAccess("readonly") pCIeDeviceDevicename = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 24, 50, 1, 7), DisplayString()).setMaxAccess("readonly") pCIeDeviceVID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 24, 50, 1, 8), Integer32()).setMaxAccess("readonly") pCIeDeviceDID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 24, 50, 1, 9), Integer32()).setMaxAccess("readonly") pCIeDeviceManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 24, 50, 1, 10), DisplayString()).setMaxAccess("readonly") pCIeDeviceDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 24, 50, 1, 11), DisplayString()).setMaxAccess("readonly") mezzProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 25)) mezzDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 25, 50), ) mezzDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 25, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "mezzCardIndex")) mezzCardIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 25, 50, 1, 1), Integer32()) mezzCardLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 25, 50, 1, 2), DisplayString()).setMaxAccess("readonly") mezzCardFunction = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 25, 50, 1, 3), DisplayString()).setMaxAccess("readonly") mezzCardDevicename = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 25, 50, 1, 4), DisplayString()).setMaxAccess("readonly") temperatureProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 26)) temperatureDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 26, 50), ) temperatureDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 26, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "temperatureIndex")) temperatureIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 26, 50, 1, 1), Integer32()) temperatureObject = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 26, 50, 1, 2), DisplayString()).setMaxAccess("readonly") temperatureReading = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 26, 50, 1, 3), Integer32()).setMaxAccess("readonly") temperatureUpperNonRecoverable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 26, 50, 1, 4), Integer32()).setMaxAccess("readonly") temperatureUpperCritical = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 26, 50, 1, 5), Integer32()).setMaxAccess("readonly") temperatureUpperMinor = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 26, 50, 1, 6), Integer32()).setMaxAccess("readonly") temperatureLowerNonRecoverable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 26, 50, 1, 7), Integer32()).setMaxAccess("readonly") temperatureLowerCritical = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 26, 50, 1, 8), Integer32()).setMaxAccess("readonly") temperatureLowerMinor = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 26, 50, 1, 9), Integer32()).setMaxAccess("readonly") networkTimeProtocol = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 27)) ntpSupport = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 27, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("nosupport", 1), ("support", 2),))).setMaxAccess("readonly") ntpEnabled = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 27, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") preferredNTPServer = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 27, 3), DisplayString()).setMaxAccess("readwrite") alternateNTPServer = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 27, 4), DisplayString()).setMaxAccess("readwrite") ntpServersource = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 27, 5), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("manual", 1), ("auto", 2),))).setMaxAccess("readwrite") bindNTPIPProtocol = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 27, 6), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("ipv4", 1), ("ipv6", 2),))).setMaxAccess("readwrite") ntpAuthEnabled = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 27, 7), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") ntpImportGroupkey = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 27, 8), DisplayString()).setMaxAccess("readwrite") ntpGroupkeyState = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 27, 9), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("notimported", 1), ("imported", 2),))).setMaxAccess("readonly") snmpMIBConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 29)) snmpV3Algorithm = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 29, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4,)).clone(namedValues=NamedValues(("mD5andDES", 1), ("mD5andAES", 2), ("sHA1andDES", 3), ("sHA1andAES", 4),))).setMaxAccess("readwrite") firmwareUpgrade = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 30)) firmwareUpgradeStart = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 30, 1), DisplayString()).setMaxAccess("readwrite") firmwareUpgradeState = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 30, 2), Integer32()).setMaxAccess("readonly") firmwareUpgradeDetailedResults = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 30, 3), DisplayString()).setMaxAccess("readonly") certificate = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31)) currentCertInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 1)) ownerCountry = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 1, 1), DisplayString()).setMaxAccess("readonly") ownerState = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 1, 2), DisplayString()).setMaxAccess("readonly") ownerLocation = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 1, 3), DisplayString()).setMaxAccess("readonly") ownerOrganization = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 1, 4), DisplayString()).setMaxAccess("readonly") ownerOrganizationUnit = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 1, 5), DisplayString()).setMaxAccess("readonly") ownerCommonName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 1, 6), DisplayString()).setMaxAccess("readonly") issuerCountry = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 1, 7), DisplayString()).setMaxAccess("readonly") issuerState = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 1, 8), DisplayString()).setMaxAccess("readonly") issuerLocation = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 1, 9), DisplayString()).setMaxAccess("readonly") issuerOrganization = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 1, 10), DisplayString()).setMaxAccess("readonly") issuerOrganizationUnit = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 1, 11), DisplayString()).setMaxAccess("readonly") issuerCommonName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 1, 12), DisplayString()).setMaxAccess("readonly") certStartTime = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 1, 13), DisplayString()).setMaxAccess("readonly") certExpiration = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 1, 14), DisplayString()).setMaxAccess("readonly") csrRequestInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 2)) reqCountry = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 2, 1), DisplayString()).setMaxAccess("readwrite") reqState = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 2, 2), DisplayString()).setMaxAccess("readwrite") reqLocation = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 2, 3), DisplayString()).setMaxAccess("readwrite") reqOrganization = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 2, 4), DisplayString()).setMaxAccess("readwrite") reqOrganizationUnit = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 2, 5), DisplayString()).setMaxAccess("readwrite") reqCommonName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 2, 6), DisplayString()).setMaxAccess("readwrite") csrGenerate = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 2, 7), Integer32().subtype(subtypeSpec=SingleValueConstraint(1,)).clone(namedValues=NamedValues(("csrGenerate", 1),))).setMaxAccess("readwrite") csrExport = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 2, 8), DisplayString()).setMaxAccess("readonly") certificateImport = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 2, 9), DisplayString()).setMaxAccess("readwrite") csrStatus = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 2, 10), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("notStartedOrHasSuccessfullyCompleted", 1), ("beingGenerated", 2), ("failsGenerated", 3),))).setMaxAccess("readonly") customCertInsert = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 3)) customCertificateContent = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 3, 1), DisplayString()).setMaxAccess("readwrite") customCertificatePasswd = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 3, 2), DisplayString()).setMaxAccess("readwrite") customCertificateImport = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 3, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1,)).clone(namedValues=NamedValues(("customCertificateImport", 1),))).setMaxAccess("readwrite") caCertInfoTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4), ).setMaxAccess("readonly") caCertInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1), ).setMaxAccess("readonly").setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "caCertIndex")) caCertIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 1), Integer32()).setMaxAccess("readonly") caCertType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 2), DisplayString()).setMaxAccess("readonly") caCertOwnerCountry = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 3), DisplayString()).setMaxAccess("readonly") caCertOwnerState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 4), DisplayString()).setMaxAccess("readonly") caCertOwnerLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 5), DisplayString()).setMaxAccess("readonly") caCertOwnerOrganization = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 6), DisplayString()).setMaxAccess("readonly") caCertOwnerOrganizationUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 7), DisplayString()).setMaxAccess("readonly") caCertOwnerCommonName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 8), DisplayString()).setMaxAccess("readonly") caCertIssuerCountry = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 9), DisplayString()).setMaxAccess("readonly") caCertIssuerState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 10), DisplayString()).setMaxAccess("readonly") caCertIssuerLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 11), DisplayString()).setMaxAccess("readonly") caCertIssuerOrganization = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 12), DisplayString()).setMaxAccess("readonly") caCertIssuerOrganizationUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 13), DisplayString()).setMaxAccess("readonly") caCertIssuerCommonName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 14), DisplayString()).setMaxAccess("readonly") caCertStartTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 15), DisplayString()).setMaxAccess("readonly") caCertExpiration = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 16), DisplayString()).setMaxAccess("readonly") caCertSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 31, 4, 1, 17), DisplayString()).setMaxAccess("readonly") hwTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500)) hwTrapVar = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 1)) hwTrapSeq = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 1, 1), Integer32()).setMaxAccess("readonly") hwTrapSensorName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 1, 2), DisplayString()).setMaxAccess("readonly") hwTrapEvent = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 1, 3), DisplayString()).setMaxAccess("readonly") hwTrapSeverity = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 1, 4), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4),))).setMaxAccess("readonly") hwTrapEventCode = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 1, 5), DisplayString()).setMaxAccess("readonly") hwTrapEventData2 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 1, 6), Integer32()).setMaxAccess("readonly") hwTrapEventData3 = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 1, 7), Integer32()).setMaxAccess("readonly") hwTrapServerIdentity = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 1, 8), DisplayString()).setMaxAccess("readonly") hwTrapLocation = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 1, 9), DisplayString()).setMaxAccess("readonly") hwTrapTime = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 1, 10), DisplayString()).setMaxAccess("readonly") hwServerTRAPObject = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10)) hwOEM = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1)) hwOEMEvent = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPhysicalSecurity = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 5)) hwChassisIntrusion = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 5, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPU = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7)) hwCPUCATError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUCATErrorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 2)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUThermalTrip = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUThermalTripDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUSelfTestFail = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 33)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUSelfTestFailDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 34)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUCfgError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 81)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUCfgErrorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 82)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUPresence = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 113)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUPresenceDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 114)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUOffline = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 129)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUOfflineDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 130)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUMCE = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 177)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUMCEDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 178)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwVMSELinkFail = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 193)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwVMSELinkFailDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 7, 194)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPowerSupply = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 8)) hwPowerSupplyFault = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 8, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPowerSupplyFaultDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 8, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPowerSupplyPredictiveFailure = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 8, 33)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPowerSupplyPredictiveFailureDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 8, 34)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPowerSupplyInputLost = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 8, 49)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPowerSupplyInputLostDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 8, 50)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPowerSupplyACLost = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 8, 65)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPowerSupplyACLostDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 8, 66)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemory = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 12)) hwCorrectableECC = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 12, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCorrectableECCDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 12, 2)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwUncorrectableECC = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 12, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwUncorrectableECCDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 12, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryECCLimitation = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 12, 81)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryECCLimitationDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 12, 82)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryPresence = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 12, 97)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryPresenceDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 12, 98)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryCfgError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 12, 113)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryCfgErrorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 12, 114)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemorySpare = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 12, 129)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemorySpareDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 12, 130)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryOvertemp = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 12, 161)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryOvertempDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 12, 162)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwStorageDevice = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 13)) hwStorageDevicePresence = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 13, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwStorageDevicePresenceDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 13, 2)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwStorageDeviceFault = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 13, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwStorageDeviceFaultDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 13, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwStorageDevicePredictiveFailure = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 13, 33)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwStorageDevicePredictiveFailureDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 13, 34)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwRAIDArrayFail = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 13, 97)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwRAIDArrayFailDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 13, 98)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwRAIDRebuild = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 13, 113)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwRAIDRebuildDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 13, 114)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwRAIDRebuildAborted = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 13, 129)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwRAIDRebuildAbortedDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 13, 130)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSysFWProgress = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 15)) hwSystemFirmwareHang = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 15, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSystemFirmwareHangDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 15, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPS2USBFault = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 15, 1793)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPS2USBFaultDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 15, 1794)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwVideoControllerFault = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 15, 2305)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwVideoControllerFaultDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 15, 2306)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUVoltageMismatch = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 15, 3073)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUVoltageMismatchDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 15, 3074)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSystemNoMemory = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 15, 257)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSystemNoMemoryDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 15, 258)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSysEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 18)) hwSysEventInstance = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 18, 65)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSystemError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 18, 33)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSystemErrorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 18, 34)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPowerButton = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 20)) hwPowerButtonPressed = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 20, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCable = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 27)) hwCableStatus = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 27, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCableStatusDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 27, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSysRestart = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 29)) hwSysRestartUnknown = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 29, 113)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSysRestartChassisCtrl = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 29, 369)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSysRestartPowerButton = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 29, 881)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSysRestartWatchdogCtrl = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 29, 1137)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSysRestartAlwaysRestore = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 29, 1649)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSysRestartRestorePrevState = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 29, 1905)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwBootError = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 30)) hwNoBootableMedia = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 30, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwNoBootableMediaDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 30, 2)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwNoBootableDisk = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 30, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwNoBootableDiskDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 30, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPXENotFound = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 30, 33)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPXENotFoundDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 30, 34)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwInvalidBootSector = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 30, 49)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwInvalidBootSectorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 30, 50)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwDeviceFault = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33)) hwHardwareAddrFault = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwHardwareAddrFaultDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 2)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwLossBmaHeartBeat = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwLossBmaHeartBeatDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwDeviceInstall = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 33)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwDeviceInstallDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 34)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwEthLinkDown = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 129)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwEthLinkDownDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 130)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemBrdMigrate = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 145)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemBrdMigrateDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 146)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIEStatus = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 257)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIEStatusDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 258)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwFanFault = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 2049)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwFanFaultDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 2050)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeFault = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 2305)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeFaultDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 33, 2306)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData2"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventData3"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwACPIStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 34)) hwACPIStatusS0 = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 34, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwACPIStatusS4S5 = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 34, 97)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwWatchDog = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 35)) hwWatchDogOverflow = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 35, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwWatchDogOverflowDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 35, 2)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwWatchDogReset = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 35, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwWatchDogResetDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 35, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwWatchDogPowerDown = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 35, 33)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwWatchDogPowerDownDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 35, 34)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwWatchDogPowerCycle = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 35, 49)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwWatchDogPowerCycleDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 35, 50)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwLANHeartBeat = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 39)) hwLANHeartLost = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 39, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwLANHeartLostDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 39, 2)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMngmntHealth = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 40)) hwSensorAccessibleFail = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 40, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSensorAccessibleFailDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 40, 2)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwControllerAccessibleFail = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 40, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwControllerAccessibleFailDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 40, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwFruFail = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 40, 81)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwFruFailDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 40, 82)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwBattery = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 41)) hwRTCBatterylow = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 41, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwRTCBatterylowDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 41, 2)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwRAIDCardBBUFailed = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 41, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwRAIDCardBBUFailedDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 41, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwRAIDCardBBUPresence = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 41, 33)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwRAIDCardBBUPresenceDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 41, 34)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwVerChange = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 43)) hwHardwareChange = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 43, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwFirmwareChange = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 43, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwLCD = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1052)) hwLCDFault = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1052, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwLCDFaultDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1052, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwHotSwap = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 240)) hwHotSwaptoM0 = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 240, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwHotSwaptoM1 = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 240, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwHotSwaptoM2 = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 240, 33)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwHotSwaptoM3 = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 240, 49)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwHotSwaptoM4 = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 240, 65)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwHotSwaptoM5 = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 240, 81)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwHotSwaptoM6 = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 240, 97)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwHotSwaptoM7 = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 240, 113)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwIPMBLink = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 241)) hwIPMBLinkStateAll = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 241, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwIPMBLinkStateAllDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 241, 2)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwIPMBLinkStateB = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 241, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwIPMBLinkStateBDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 241, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwIPMBLinkStateA = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 241, 33)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwIPMBLinkStateADeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 241, 34)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwIPMBLinkStateNoFault = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 241, 49)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwTrapTest = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 256)) hwTrapTestInstance = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 256, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwOvertemperature = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 257)) hwOvertempMinor = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 257, 113)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwOvertempMinorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 257, 114)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwOvertempMajor = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 257, 145)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwOvertempMajorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 257, 146)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwOvertempCritical = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 257, 177)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwOvertempCriticalDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 257, 178)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwNoSDCard = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 781)) hwNoSDCardAssert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 781, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwNoSDCardDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 781, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwBoardMismatch = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 786)) hwBoardMismatchAssert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 786, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwBoardMismatchDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 786, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwAddInCard = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 791)) hwPCIeError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 791, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeErrorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 791, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwChipSet = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 793)) hwPCHError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 793, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCHErrorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 793, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwUIDButton = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 788)) hwUIDButtonPressed = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 788, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPowerCapping = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1042)) hwPowerCapFail = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1042, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPowerCapFailDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1042, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCardFault = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1047)) hwCardStatusFault = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1047, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCardStatusFaultDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1047, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUUsage = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1287)) hwCPUUsageHigh = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1287, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUUsageHighDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1287, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryUsage = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1292)) hwMemoryUsageHigh = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1292, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryUsageHighDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1292, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwDiskUsage = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1293)) hwDiskUsageHigh = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1293, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwDiskUsageHighDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1293, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSysNotice = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1810)) hwSystemWarmReset = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1810, 129)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSystemWarmResetDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1810, 130)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwModule = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1813)) hwModuleCritical = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1813, 33)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPSPresenceStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2057)) hwPSPresence = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2057, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPSPresenceDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2057, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwFanPresenceStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2058)) hwFanAbsent = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2058, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwFanAbsentDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2058, 2)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCardPresenceStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2071)) hwCardPresence = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2071, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCardPresenceDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2071, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwLCDPresenceStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2076)) hwLCDAbsent = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2076, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwLCDAbsentDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2076, 2)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryRiser = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2583)) hwMemoryRiserOnline = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2583, 49)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryRiserOnlineDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2583, 50)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryRiserOffline = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2583, 65)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryRiserOfflineDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2583, 66)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryRiserInstallError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2583, 129)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryRiserInstallErrorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2583, 130)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUCore = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2311)) hwCPUCoreIsolation = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2311, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUCoreIsolationDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2311, 2)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPSRedundancy = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2824)) hwPSRedundancyLost = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2824, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPSRedundancyLostDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2824, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSELStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 16)) hwSELClearedAssert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 16, 33)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSELAlmostFullAssert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 16, 81)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwSELAlmostFullDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 16, 82)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwBMCBootUp = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2326)) hwBMCBootUpAssert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 2326, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwLog = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1808)) hwLogFull = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1808, 129)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwLogFullDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 1808, 130)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwVoltage = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 258)) hwLowerVoltageMajor = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 258, 33)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwLowerVoltageMajorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 258, 34)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwOverVoltageMajor = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 258, 145)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwOverVoltageMajorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 258, 146)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwOverVoltageCritcal = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 258, 177)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwOverVoltageCritcalDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 258, 178)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUProchot = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 775)) hwCPUProchotState = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 775, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUProchotStateDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 10, 775, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwServerTRAPObjectV2 = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11)) hwPCIeCardEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9)) hwPCIeCardUncorrectableErr = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 1)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardUncorrectableErrDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 2)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardOverTemp = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 3)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardOverTempDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 4)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardAccessTempFailure = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 5)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardAccessTempFailureDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 6)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardAccessFRULableFailure = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 7)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardAccessFRULableFailureDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 8)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardDIMMOverTemp = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 9)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardDIMMOverTempDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 10)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardOverTempMajor = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 11)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardOverTempMajorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 12)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardCPUOverTempMinor = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 13)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardCPUOverTempMinorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 14)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardCPUOverTempMajor = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 15)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardCPUOverTempMajorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 16)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardBattLowerVoltMinor = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 17)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardBattLowerVoltMinorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 18)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardLowerVoltMajor = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 19)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardLowerVoltMajorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 20)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardOverVoltMajor = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 21)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardOverVoltMajorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 22)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardAccessVoltFailure = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 23)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardAccessVoltFailureDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 24)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardBootEvent = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 25)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardBootEventDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 26)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardHardwareFailure = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 27)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardHardwareFailureDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 28)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardBootDiskAbsent = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 29)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardBootDiskAbsentDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 30)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardDIMMFailure = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 31)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardDIMMFailureDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 32)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardFWInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 33)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardFWInitFailureDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 34)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardCPUInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 35)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardCPUInitFailureDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 36)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardWatchDogTimeout = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 37)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardWatchDogTimeoutDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 38)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardBBULowerVoltage = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 57)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardBBULowerVoltageDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 58)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardBBUFault = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 59)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardBBUFaultDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 60)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardBBUNotPresent = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 61)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwPCIeCardBBUPresent = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 9, 63)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 2)) hwMemoryConfigError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 2, 37)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryConfigErrorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 2, 38)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryInitializationError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 2, 39)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryInitializationErrorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 2, 40)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUMemoryEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 45)) hwNoAvailableMemoryError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 45, 79)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwNoAvailableMemoryErrorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 45, 80)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUMemoryConfigError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 45, 75)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUMemoryConfigErrorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 45, 76)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUMRCFatalError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 45, 77)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwCPUMRCFatalErrorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 45, 78)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryBoardEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 15)) hwMemoryBoardSMI2TainingError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 15, 5)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMemoryBoardSMI2TainingErrorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 15, 6)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMainboardEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 17)) hwMainboardSMI2TainingError = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 17, 155)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) hwMainboardSMI2TainingErrorDeassert = NotificationType((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 500, 11, 17, 156)).setObjects(*(("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeq"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSensorName"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEvent"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapSeverity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapEventCode"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapServerIdentity"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapLocation"), ("HUAWEI-SERVER-IBMC-MIB", "hwTrapTime"),)) remoteManagement = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 28)) powerOnControl = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 28, 1), DisplayString()).setMaxAccess("readwrite") sdCardProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 32)) sdCardControllerManufacturer = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 32, 1), DisplayString()).setMaxAccess("readonly") sdCardControllerVersion = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 32, 2), DisplayString()).setMaxAccess("readonly") sdCardEntireStatus = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 32, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("absence", 5), ("unknown", 6),))).setMaxAccess("readonly") sdCardDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 32, 50), ) sdCardDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 32, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "sdCardIndex")) sdCardIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 32, 50, 1, 1), Integer32()) sdCardPresence = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 32, 50, 1, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("absence", 1), ("presence", 2), ("unknown", 3),))).setMaxAccess("readonly") sdCardStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 32, 50, 1, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6,)).clone(namedValues=NamedValues(("ok", 1), ("minor", 2), ("major", 3), ("critical", 4), ("absence", 5), ("unknown", 6),))).setMaxAccess("readonly") sdCardCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 32, 50, 1, 4), Integer32()).setMaxAccess("readonly") sdCardManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 32, 50, 1, 5), DisplayString()).setMaxAccess("readonly") sdCardSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 32, 50, 1, 6), DisplayString()).setMaxAccess("readonly") securityModuleProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 33)) presence = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 33, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("absence", 1), ("presence", 2), ("unknown", 3),))).setMaxAccess("readonly") specificationType = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 33, 2), DisplayString()).setMaxAccess("readonly") specificationVersion = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 33, 3), DisplayString()).setMaxAccess("readonly") manufacturerName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 33, 4), DisplayString()).setMaxAccess("readonly") manufacturerVersion = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 33, 5), DisplayString()).setMaxAccess("readonly") fileTransfer = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 35)) fileTransferUrl = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 35, 1), DisplayString()).setMaxAccess("readwrite") fileTransferState = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 35, 2), Integer32()).setMaxAccess("readonly") raidControllerProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36)) raidControllerDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50), ) raidControllerDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "raidControllerIndex")) raidControllerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 1), Integer32()) raidControllerName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 2), DisplayString()).setMaxAccess("readonly") raidControllerType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 3), DisplayString()).setMaxAccess("readonly") raidControllerComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 4), DisplayString()).setMaxAccess("readonly") raidControllerSupportOOBManagement = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 5), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("no", 1), ("yes", 2),))).setMaxAccess("readonly") raidControllerMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 6), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 255,)).clone(namedValues=NamedValues(("none-raid", 1), ("raid", 2), ("unknown", 255),))).setMaxAccess("readonly") raidControllerHealthStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483648)).clone(namedValues=NamedValues(("unknown", 65535),))).setMaxAccess("readonly") raidControllerFwVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 8), DisplayString()).setMaxAccess("readonly") raidControllerNVDataVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 9), DisplayString()).setMaxAccess("readonly") raidControllerMemorySizeInMB = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483648)).clone(namedValues=NamedValues(("unknown", 65535),))).setMaxAccess("readonly") raidControllerDeviceInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 11), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5, 6, 255,)).clone(namedValues=NamedValues(("spi", 1), ("sas-3G", 2), ("sata-1-5G", 3), ("sata-3G", 4), ("sas-6G", 5), ("sas-12G", 6), ("unknown", 255),))).setMaxAccess("readonly") raidControllerSASAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 12), DisplayString()).setMaxAccess("readonly") raidControllerCachePinned = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 13), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 255,)).clone(namedValues=NamedValues(("no", 1), ("yes", 2), ("unknown", 255),))).setMaxAccess("readonly") raidControllerMaintainPDFailHistory = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 14), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 255,)).clone(namedValues=NamedValues(("no", 1), ("yes", 2), ("unknown", 255),))).setMaxAccess("readonly") raidControllerDDREccCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483648)).clone(namedValues=NamedValues(("unknown", 65535),))).setMaxAccess("readonly") raidControllerBBUPresence = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 16), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 255,)).clone(namedValues=NamedValues(("absent", 1), ("present", 2), ("unknown", 255),))).setMaxAccess("readonly") raidControllerBBUType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 17), DisplayString()).setMaxAccess("readonly") raidControllerBBUHealthStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 18), Integer32()).setMaxAccess("readonly") raidControllerMinStripSupportInBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483648)).clone(namedValues=NamedValues(("unknown", -1),))).setMaxAccess("readonly") raidControllerMaxStripSupportInBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483648)).clone(namedValues=NamedValues(("unknown", -1),))).setMaxAccess("readonly") raidControllerCopybackEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 21), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("unknown", 1), ("disabled", 2), ("enabled", 3),))).setMaxAccess("readwrite") raidControllerSMARTerCopybackEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 22), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("unknown", 1), ("disabled", 2), ("enabled", 3),))).setMaxAccess("readwrite") raidControllerJBODEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 23), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("unknown", 1), ("disabled", 2), ("enabled", 3),))).setMaxAccess("readwrite") raidControllerRestoreSettings = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 24), Integer32()).setMaxAccess("readwrite") raidControllerCreateLD = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 25), DisplayString()).setMaxAccess("readwrite") raidControllerAddLD = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 36, 50, 1, 26), DisplayString()).setMaxAccess("readwrite") logicalDriveProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37)) logicalDriveDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50), ) logicalDriveDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "logicalDriveRAIDControllerIndex"), (0, "HUAWEI-SERVER-IBMC-MIB", "logicalDriveIndex")) logicalDriveRAIDControllerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 1), Integer32()) logicalDriveIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 2), Integer32()) logicalDriveRAIDLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 3), DisplayString()).setMaxAccess("readonly") logicalDriveState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 4), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 255,)).clone(namedValues=NamedValues(("offline", 1), ("partial-degraded", 2), ("degraded", 3), ("optimal", 4), ("unknown", 255),))).setMaxAccess("readonly") logicalDriveDefaultReadPolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 5), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 255,)).clone(namedValues=NamedValues(("no-read-ahead", 1), ("read-ahead", 2), ("unknown", 255),))).setMaxAccess("readwrite") logicalDriveDefaultWritePolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 6), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 255,)).clone(namedValues=NamedValues(("write-through", 1), ("write-back-with-bbu", 2), ("write-back", 3), ("unknown", 255),))).setMaxAccess("readwrite") logicalDriveDefaultIOPolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 7), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 255,)).clone(namedValues=NamedValues(("cached-IO", 1), ("direct-IO", 2), ("unknown", 255),))).setMaxAccess("readwrite") logicalDriveCurrentReadPolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 8), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 255,)).clone(namedValues=NamedValues(("no-read-ahead", 1), ("read-ahead", 2), ("unknown", 255),))).setMaxAccess("readonly") logicalDriveCurrentWritePolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 9), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 255,)).clone(namedValues=NamedValues(("write-through", 1), ("write-back-with-bbu", 2), ("write-back", 3), ("unknown", 255),))).setMaxAccess("readonly") logicalDriveCurrentIOPolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 10), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 255,)).clone(namedValues=NamedValues(("cached-IO", 1), ("direct-IO", 2), ("unknown", 255),))).setMaxAccess("readonly") logicalDriveSpanDepth = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483648)).clone(namedValues=NamedValues(("unknown", 255),))).setMaxAccess("readonly") logicalDriveNumDrivePerSpan = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483648)).clone(namedValues=NamedValues(("unknown", 255),))).setMaxAccess("readonly") logicalDriveStripeSizeInBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,4294967295)).clone(namedValues=NamedValues(("unknown", 4294967295),))).setMaxAccess("readonly") logicalDriveStripeSizeInMB = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,4294967295)).clone(namedValues=NamedValues(("unknown", 4294967295),))).setMaxAccess("readonly") logicalDriveSizeInMB = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,4294967295)).clone(namedValues=NamedValues(("unknown", 4294967295),))).setMaxAccess("readonly") logicalDriveDiskCachePolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 16), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 255,)).clone(namedValues=NamedValues(("disk-default", 1), ("enabled", 2), ("disabled", 3), ("unknown", 255),))).setMaxAccess("readwrite") logicalDriveConsistencyCheckStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 17), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 255,)).clone(namedValues=NamedValues(("stopped", 1), ("in-progress", 2), ("unknown", 255),))).setMaxAccess("readonly") logicalDriveBootable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 18), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 255,)).clone(namedValues=NamedValues(("no", 1), ("yes", 2), ("unknown", 255),))).setMaxAccess("readwrite") logicalDriveName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 19), DisplayString()).setMaxAccess("readwrite") logicalDriveAccessPolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 20), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4, 5,)).clone(namedValues=NamedValues(("unknown", 1), ("read-write", 2), ("read-only", 3), ("blocked", 4), ("hidden", 5),))).setMaxAccess("readwrite") logicalDriveInitState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 21), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3, 4,)).clone(namedValues=NamedValues(("unknown", 1), ("no-init", 2), ("quick-init", 3), ("full-init", 4),))).setMaxAccess("readonly") logicalDriveBGIEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 22), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("unknown", 1), ("disabled", 2), ("enabled", 3),))).setMaxAccess("readwrite") logicalDriveIsSSCD = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 23), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("unknown", 1), ("no", 2), ("yes", 3),))).setMaxAccess("readonly") logicalDriveSSCDCachingEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 24), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2, 3,)).clone(namedValues=NamedValues(("unknown", 1), ("disabled", 2), ("enabled", 3),))).setMaxAccess("readwrite") logicalDriveAssociatedLDs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 25), DisplayString()).setMaxAccess("readonly") logicalDriveDedicatedSparePD = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 26), DisplayString()).setMaxAccess("readonly") logicalDriveDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 37, 50, 1, 27), Integer32()).setMaxAccess("readwrite") diskArrayProperty = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 39)) diskArrayDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 39, 50), ) diskArrayDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 39, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "diskArrayRAIDControllerIndex"), (0, "HUAWEI-SERVER-IBMC-MIB", "diskArrayIndex")) diskArrayRAIDControllerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 39, 50, 1, 1), Integer32()) diskArrayIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 39, 50, 1, 2), Integer32()) diskArrayUsedSpaceInMB = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 39, 50, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,4294967295)).clone(namedValues=NamedValues(("unknown", 4294967295),))).setMaxAccess("readonly") diskArrayFreeSpaceInMB = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 39, 50, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,4294967295)).clone(namedValues=NamedValues(("unknown", 4294967295),))).setMaxAccess("readonly") diskArrayLDCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 39, 50, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483648)).clone(namedValues=NamedValues(("unknown", 255),))).setMaxAccess("readonly") diskArrayLDId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 39, 50, 1, 6), DisplayString()).setMaxAccess("readonly") diskArrayPDCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 39, 50, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483648)).clone(namedValues=NamedValues(("unknown", 255),))).setMaxAccess("readonly") diskArrayPDId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 39, 50, 1, 8), DisplayString()).setMaxAccess("readonly") remoteControl = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 40)) localKVMState = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 40, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") twoFactorAuthentication = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41)) twoFactorAuthenticationEnable = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 1), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") twoFactorAuthenticationRevocationCheck = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 2), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("disable", 1), ("enable", 2),))).setMaxAccess("readwrite") rootCertificateDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 50), ) rootCertificateDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 50, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "rootCertificateIndex")) rootCertificateIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 50, 1, 1), Integer32()) rootCertificateIssuedTo = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 50, 1, 2), DisplayString()).setMaxAccess("readonly") rootCertificateIssuedBy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 50, 1, 3), DisplayString()).setMaxAccess("readonly") rootCertificateValidFrom = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 50, 1, 4), DisplayString()).setMaxAccess("readonly") rootCertificateValidTo = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 50, 1, 5), DisplayString()).setMaxAccess("readonly") rootCertificateSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 50, 1, 6), DisplayString()).setMaxAccess("readonly") rootCertificateImport = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 50, 1, 7), DisplayString()).setMaxAccess("readwrite") rootCertificateDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 50, 1, 8), Integer32()).setMaxAccess("readwrite") clientCertificateDescriptionTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 51), ) clientCertificateDescriptionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 51, 1), ).setIndexNames((0, "HUAWEI-SERVER-IBMC-MIB", "clientCertificateIndex")) clientCertificateIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 51, 1, 1), Integer32()) clientCertificateFingerPrint = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 51, 1, 2), DisplayString()).setMaxAccess("readonly") clientCertificateImport = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 51, 1, 3), DisplayString()).setMaxAccess("readwrite") clientCertificateDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 41, 51, 1, 4), Integer32()).setMaxAccess("readwrite") configuration = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 42)) exportconfig = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 42, 1), DisplayString()).setMaxAccess("readwrite") importconfig = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 42, 2), DisplayString()).setMaxAccess("readwrite") configprogress = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 42, 3), DisplayString()).setMaxAccess("readonly") configerrorinfo = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 235, 1, 1, 42, 4), DisplayString()).setMaxAccess("readonly") mibBuilder.exportSymbols("HUAWEI-SERVER-IBMC-MIB", hwCable=hwCable, hwCPU=hwCPU, hwOvertemperature=hwOvertemperature, hwStorageDeviceFault=hwStorageDeviceFault, rootCertificateValidTo=rootCertificateValidTo, powerSupplyDevicename=powerSupplyDevicename, hwPCIeCardLowerVoltMajor=hwPCIeCardLowerVoltMajor, caCertType=caCertType, configprogress=configprogress, reqCountry=reqCountry, hwMemoryPresenceDeassert=hwMemoryPresenceDeassert, powerStatisticStartTime=powerStatisticStartTime, hwOvertempMajor=hwOvertempMajor, trapReceiverEnable=trapReceiverEnable, caCertOwnerOrganizationUnit=caCertOwnerOrganizationUnit, fruExtendedELabelDescriptionEntry=fruExtendedELabelDescriptionEntry, powerStatistic=powerStatistic, firmwareType=firmwareType, hwPowerSupplyPredictiveFailure=hwPowerSupplyPredictiveFailure, cpuIndex=cpuIndex, fruProductName=fruProductName, smtp=smtp, powerOnPermit=powerOnPermit, hwLogFullDeassert=hwLogFullDeassert, raidControllerName=raidControllerName, ldapUserDomain=ldapUserDomain, groupInterfaces3=groupInterfaces3, hwSystemWarmResetDeassert=hwSystemWarmResetDeassert, hwStorageDevice=hwStorageDevice, raidControllerFwVersion=raidControllerFwVersion, componentName=componentName, clientCertificateFingerPrint=clientCertificateFingerPrint, firmwareDescriptionTable=firmwareDescriptionTable, cpuLocation=cpuLocation, ledLitOffLastTime=ledLitOffLastTime, hwPSRedundancy=hwPSRedundancy, hwHotSwaptoM4=hwHotSwaptoM4, pCIeDeviceVID=pCIeDeviceVID, caCertStartTime=caCertStartTime, vlanID=vlanID, caCertOwnerLocation=caCertOwnerLocation, hwNoSDCardAssert=hwNoSDCardAssert, hwLossBmaHeartBeatDeassert=hwLossBmaHeartBeatDeassert, ownerCommonName=ownerCommonName, hwChassisIntrusion=hwChassisIntrusion, remoteManagement=remoteManagement, hwTrapVar=hwTrapVar, hwRTCBatterylowDeassert=hwRTCBatterylowDeassert, logicalDriveBootable=logicalDriveBootable, diskArrayRAIDControllerIndex=diskArrayRAIDControllerIndex, issuerCountry=issuerCountry, sensorUnit=sensorUnit, userDescriptionTable=userDescriptionTable, hwWatchDogPowerDown=hwWatchDogPowerDown, localKVMState=localKVMState, userProperty=userProperty, caCertOwnerOrganization=caCertOwnerOrganization, hwIPMBLinkStateA=hwIPMBLinkStateA, hardDiskHotSpareState=hardDiskHotSpareState, sdCardControllerManufacturer=sdCardControllerManufacturer, hwPCIeCardBBULowerVoltage=hwPCIeCardBBULowerVoltage, hwPCIeCardBBUPresent=hwPCIeCardBBUPresent, cpuDescriptionTable=cpuDescriptionTable, networkDescriptionEntry=networkDescriptionEntry, ldapUserDomain3=ldapUserDomain3, hwLANHeartLostDeassert=hwLANHeartLostDeassert, memoryProperty=memoryProperty, manufacturerName=manufacturerName, userName=userName, hwACPIStatusS4S5=hwACPIStatusS4S5, sensorLowerNonRecoverable=sensorLowerNonRecoverable, raidControllerDescriptionEntry=raidControllerDescriptionEntry, deviceSerialNo=deviceSerialNo, raidControllerType=raidControllerType, certStartTime=certStartTime, systemBootsequence=systemBootsequence, pCIeDeviceEntireStatus=pCIeDeviceEntireStatus, hwBMCBootUpAssert=hwBMCBootUpAssert, ethHostPort=ethHostPort, fruLedDescriptionTable=fruLedDescriptionTable, hwHotSwaptoM2=hwHotSwaptoM2, settedActivePowerSupply=settedActivePowerSupply, temperatureUpperCritical=temperatureUpperCritical, products=products, hwMemoryInitializationErrorDeassert=hwMemoryInitializationErrorDeassert, groupIndex=groupIndex, hardDiskRemnantWearout=hardDiskRemnantWearout, hwCPUCore=hwCPUCore, hwWatchDogPowerCycle=hwWatchDogPowerCycle, powerSupplyLocation=powerSupplyLocation, hwVoltage=hwVoltage, raidControllerProperty=raidControllerProperty, hwMemoryRiserOnlineDeassert=hwMemoryRiserOnlineDeassert, certificateImport=certificateImport, hwLANHeartLost=hwLANHeartLost, raidControllerIndex=raidControllerIndex, caCertIssuerCountry=caCertIssuerCountry, sensorUpperNonRecoverable=sensorUpperNonRecoverable, powerSupplyDescriptionEntry=powerSupplyDescriptionEntry, hwPowerSupplyPredictiveFailureDeassert=hwPowerSupplyPredictiveFailureDeassert, caCertIssuerState=caCertIssuerState, hwTrapEventData3=hwTrapEventData3, firmwareUpgradeState=firmwareUpgradeState, hardDiskCapacityInMB=hardDiskCapacityInMB, fruId=fruId, raidControllerCopybackEnable=raidControllerCopybackEnable, issuerOrganization=issuerOrganization, powerSupplymanufacture=powerSupplymanufacture, hwFanPresenceStatus=hwFanPresenceStatus, syslogReceiverTest=syslogReceiverTest, raidControllerComponentName=raidControllerComponentName, hwPCIeCardCPUInitFailureDeassert=hwPCIeCardCPUInitFailureDeassert, hwHardwareAddrFault=hwHardwareAddrFault, hwCPUCfgErrorDeassert=hwCPUCfgErrorDeassert, caCertOwnerCountry=caCertOwnerCountry, hwCPUCATError=hwCPUCATError, smtpEnable=smtpEnable, ntpServersource=ntpServersource, hwMngmntHealth=hwMngmntHealth, firmwareName=firmwareName, sensorPositiveHysteresis=sensorPositiveHysteresis, pCIeDeviceDevicename=pCIeDeviceDevicename, ethIPv4Enable=ethIPv4Enable, ldapGroupInfoDescription2Entry=ldapGroupInfoDescription2Entry, hwUIDButtonPressed=hwUIDButtonPressed, hardDiskStatus=hardDiskStatus, raidControllerSMARTerCopybackEnable=raidControllerSMARTerCopybackEnable, hardDiskTemperature=hardDiskTemperature, temperatureDescriptionEntry=temperatureDescriptionEntry, hwCPUUsageHigh=hwCPUUsageHigh, raidControllerCreateLD=raidControllerCreateLD, raidControllerDDREccCount=raidControllerDDREccCount, cpuL1Cache_K=cpuL1Cache_K, powerSupplyDescriptionTable=powerSupplyDescriptionTable, logicalDriveName=logicalDriveName, raidControllerMaxStripSupportInBytes=raidControllerMaxStripSupportInBytes, hwUncorrectableECCDeassert=hwUncorrectableECCDeassert, dnsSource=dnsSource, huawei=huawei, networkProperty=networkProperty, presence=presence, hwDiskUsageHighDeassert=hwDiskUsageHighDeassert, snmpV3Algorithm=snmpV3Algorithm, ledColor=ledColor, deviceLocationInfo=deviceLocationInfo, hardDiskMediaType=hardDiskMediaType, memoryStatus=memoryStatus, autoDiscoveryEnable=autoDiscoveryEnable, diskArrayProperty=diskArrayProperty, powerSupplyPresence=powerSupplyPresence, syslogInfoDescriptionTable=syslogInfoDescriptionTable, hwPCIeCardDIMMFailureDeassert=hwPCIeCardDIMMFailureDeassert, hwNoBootableMedia=hwNoBootableMedia, hwRAIDArrayFailDeassert=hwRAIDArrayFailDeassert, fanIndex=fanIndex, hwTrap=hwTrap, memoryType=memoryType, eventSensorName=eventSensorName, trapVersion=trapVersion, ntpAuthEnabled=ntpAuthEnabled, raidControllerBBUPresence=raidControllerBBUPresence, hwFanAbsentDeassert=hwFanAbsentDeassert, ldapDomainServer=ldapDomainServer, ownerLocation=ownerLocation, userPassword=userPassword, logicalDriveAccessPolicy=logicalDriveAccessPolicy, hardDiskLocationState=hardDiskLocationState, clientCertificateImport=clientCertificateImport, componentDescriptionEntry=componentDescriptionEntry, hwCPUThermalTrip=hwCPUThermalTrip, diskArrayIndex=diskArrayIndex, hardDiskDescriptionTable=hardDiskDescriptionTable, hwSELStatus=hwSELStatus, temperatureDescriptionTable=temperatureDescriptionTable, hwMemoryCfgError=hwMemoryCfgError, ldap=ldap, hwPXENotFoundDeassert=hwPXENotFoundDeassert, syslogCertValidTo=syslogCertValidTo, groupName2=groupName2, powerSupplyStatus=powerSupplyStatus, hardDiskDevicename=hardDiskDevicename, settedPowerSupplyEntireMode=settedPowerSupplyEntireMode, hwCPUThermalTripDeassert=hwCPUThermalTripDeassert, syslogCertIssuedTo=syslogCertIssuedTo, customCertificateImport=customCertificateImport, temperatureLowerMinor=temperatureLowerMinor, syslogCertValidFrom=syslogCertValidFrom, hwSysRestart=hwSysRestart, hardDiskSASAddr1=hardDiskSASAddr1, logicalDriveIndex=logicalDriveIndex, hwSysRestartUnknown=hwSysRestartUnknown, hwVerChange=hwVerChange, trapReceiverPort=trapReceiverPort, ethMode=ethMode, deviceRemoteManageID=deviceRemoteManageID, alternateNTPServer=alternateNTPServer, syslogReceiverIndex=syslogReceiverIndex, trapServerIdentity=trapServerIdentity, temperatureReading=temperatureReading, componentProperty=componentProperty, fruPowerDescriptionEntry=fruPowerDescriptionEntry, preferredDNSServer=preferredDNSServer, firmwareReleaseDate=firmwareReleaseDate, hardDiskSerialNumber=hardDiskSerialNumber, cpuAvailability=cpuAvailability, sensorUpperMinor=sensorUpperMinor, ntpImportGroupkey=ntpImportGroupkey, memoryMinimumVoltage=memoryMinimumVoltage, hwDeviceInstall=hwDeviceInstall, fruProductPartNumber=fruProductPartNumber, hwRAIDCardBBUPresenceDeassert=hwRAIDCardBBUPresenceDeassert, eventDescription=eventDescription, fruBoardFileID=fruBoardFileID, hwBootError=hwBootError, hwPCIeCardAccessFRULableFailureDeassert=hwPCIeCardAccessFRULableFailureDeassert, lomIndex=lomIndex, raidControllerCachePinned=raidControllerCachePinned, fruLedProperty=fruLedProperty, hwVMSELinkFailDeassert=hwVMSELinkFailDeassert, ownerCountry=ownerCountry, fanSpeed=fanSpeed, hwNoBootableMediaDeassert=hwNoBootableMediaDeassert, hwTrapSeq=hwTrapSeq, hwPCIeError=hwPCIeError, trapMode=trapMode, hwCPUOffline=hwCPUOffline, pCIeDeviceStatus=pCIeDeviceStatus, networkDescriptionTable=networkDescriptionTable, hwEthLinkDown=hwEthLinkDown, sensorNegativeHysteresis=sensorNegativeHysteresis, temperatureProperty=temperatureProperty, rootCertificateIndex=rootCertificateIndex, hwCardPresence=hwCardPresence, powerSupplyIndex=powerSupplyIndex, specificationVersion=specificationVersion, memoryDimmIndex=memoryDimmIndex, hwPowerButton=hwPowerButton, fruBoardProductName=fruBoardProductName, raidControllerMode=raidControllerMode, firmwareProperty=firmwareProperty, hwPCIeCardBootDiskAbsentDeassert=hwPCIeCardBootDiskAbsentDeassert, fruid=fruid, hwPCHError=hwPCHError, ldapPort3=ldapPort3, hwMemoryCfgErrorDeassert=hwMemoryCfgErrorDeassert, ntpEnabled=ntpEnabled, powerSupplyInputPower=powerSupplyInputPower, reqOrganizationUnit=reqOrganizationUnit, raidControllerSASAddress=raidControllerSASAddress, trapReceiverIndex=trapReceiverIndex, logicalDriveInitState=logicalDriveInitState, trapReceiverAddress=trapReceiverAddress, sdCardDescriptionEntry=sdCardDescriptionEntry, hwPCIeCardCPUInitFailure=hwPCIeCardCPUInitFailure) mibBuilder.exportSymbols("HUAWEI-SERVER-IBMC-MIB", hwCPUOfflineDeassert=hwCPUOfflineDeassert, deviceOwnerID=deviceOwnerID, hwRTCBatterylow=hwRTCBatterylow, presentSystemPower=presentSystemPower, hwCardFault=hwCardFault, hwRAIDRebuildAbortedDeassert=hwRAIDRebuildAbortedDeassert, hwPCIeCardAccessVoltFailure=hwPCIeCardAccessVoltFailure, hwVMSELinkFail=hwVMSELinkFail, eventAlertSeverity=eventAlertSeverity, hardDiskOtherErrCount=hardDiskOtherErrCount, customCertificatePasswd=customCertificatePasswd, hwPCIeCardOverTempMajorDeassert=hwPCIeCardOverTempMajorDeassert, deviceName=deviceName, hardDiskFwVersion=hardDiskFwVersion, memoryTechnology=memoryTechnology, firmwareLocation=firmwareLocation, issuerCommonName=issuerCommonName, diskArrayFreeSpaceInMB=diskArrayFreeSpaceInMB, safepowerofftime=safepowerofftime, rootCertificateDelete=rootCertificateDelete, reqState=reqState, hwHotSwap=hwHotSwap, hwMemoryRiser=hwMemoryRiser, groupName3=groupName3, fruBoardManufacturer=fruBoardManufacturer, hwServerTRAPObject=hwServerTRAPObject, hwIPMBLinkStateADeassert=hwIPMBLinkStateADeassert, hwSysEvent=hwSysEvent, caCertIssuerOrganization=caCertIssuerOrganization, caCertExpiration=caCertExpiration, hwCPUSelfTestFailDeassert=hwCPUSelfTestFailDeassert, hwPCIeCardAccessTempFailure=hwPCIeCardAccessTempFailure, fruDescriptionTable=fruDescriptionTable, fanPresence=fanPresence, hwPowerSupplyInputLostDeassert=hwPowerSupplyInputLostDeassert, rootCertificateSerialNumber=rootCertificateSerialNumber, groupInterfaces2=groupInterfaces2, userDescriptionEntry=userDescriptionEntry, memorySN=memorySN, firmwareUpgrade=firmwareUpgrade, cpuMemoryTechnology=cpuMemoryTechnology, hwNoSDCard=hwNoSDCard, hwCPUMCEDeassert=hwCPUMCEDeassert, powerSupplyProtocol=powerSupplyProtocol, rootCertificateDescriptionTable=rootCertificateDescriptionTable, diskArrayDescriptionTable=diskArrayDescriptionTable, firmwareVersion=firmwareVersion, powerConsumption=powerConsumption, pCIeDevicePresence=pCIeDevicePresence, sensorLowerCritical=sensorLowerCritical, ldapDomainServer2=ldapDomainServer2, rootCertificateIssuedTo=rootCertificateIssuedTo, hwLCDAbsentDeassert=hwLCDAbsentDeassert, hwMemoryBoardSMI2TainingError=hwMemoryBoardSMI2TainingError, hwHotSwaptoM7=hwHotSwaptoM7, hwOverVoltageCritcalDeassert=hwOverVoltageCritcalDeassert, sdCardControllerVersion=sdCardControllerVersion, sensorReading=sensorReading, systemHealthEventDescriptionEntry=systemHealthEventDescriptionEntry, hwNoBootableDisk=hwNoBootableDisk, hwSystemWarmReset=hwSystemWarmReset, syslogReceiverPort=syslogReceiverPort, hwCPUCfgError=hwCPUCfgError, hwPowerButtonPressed=hwPowerButtonPressed, ledName=ledName, hwTrapServerIdentity=hwTrapServerIdentity, caCertIndex=caCertIndex, diskArrayPDId=diskArrayPDId, hwPCHErrorDeassert=hwPCHErrorDeassert, ldapPort2=ldapPort2, issuerState=issuerState, securityModuleProperty=securityModuleProperty, groupIndex2=groupIndex2, csrGenerate=csrGenerate, syslogReceiverEnable=syslogReceiverEnable, ldapGroupInfoDescription2Table=ldapGroupInfoDescription2Table, bindIPProtocol=bindIPProtocol, hwIPMBLinkStateBDeassert=hwIPMBLinkStateBDeassert, userPublicKeyHash=userPublicKeyHash, systemTime=systemTime, hwCableStatus=hwCableStatus, temperatureIndex=temperatureIndex, sensorLowerMinor=sensorLowerMinor, cpuThreadCount=cpuThreadCount, syslogImportClientCertificate=syslogImportClientCertificate, hwCPUMRCFatalError=hwCPUMRCFatalError, csrExport=csrExport, cpuClockRate=cpuClockRate, smtpReceiverState=smtpReceiverState, hwRAIDRebuildDeassert=hwRAIDRebuildDeassert, logicalDriveBGIEnable=logicalDriveBGIEnable, fanDescriptionTable=fanDescriptionTable, logicalDriveDescriptionEntry=logicalDriveDescriptionEntry, deviceslotID=deviceslotID, pCIeAvailability=pCIeAvailability, peakPowerOccurTime=peakPowerOccurTime, hardDiskIndex=hardDiskIndex, caCertIssuerLocation=caCertIssuerLocation, hwBattery=hwBattery, hwTrapLocation=hwTrapLocation, lomDescriptionEntry=lomDescriptionEntry, smtpReceiverAddress=smtpReceiverAddress, hwMainboardEvent=hwMainboardEvent, raidControllerHealthStatus=raidControllerHealthStatus, productUniqueID=productUniqueID, hwTrapTime=hwTrapTime, hwSysNotice=hwSysNotice, hardDiskPrefailState=hardDiskPrefailState, ownerState=ownerState, hwVideoControllerFaultDeassert=hwVideoControllerFaultDeassert, cpuFunction=cpuFunction, rootCertificateIssuedBy=rootCertificateIssuedBy, csrRequestInfo=csrRequestInfo, hwSysRestartAlwaysRestore=hwSysRestartAlwaysRestore, hwCableStatusDeassert=hwCableStatusDeassert, hwHotSwaptoM5=hwHotSwaptoM5, groupIndex3=groupIndex3, hwLossBmaHeartBeat=hwLossBmaHeartBeat, hwWatchDogReset=hwWatchDogReset, peakPower=peakPower, hwCPUMemoryConfigErrorDeassert=hwCPUMemoryConfigErrorDeassert, hwCPUUsageHighDeassert=hwCPUUsageHighDeassert, raidControllerMaintainPDFailHistory=raidControllerMaintainPDFailHistory, csrStatus=csrStatus, hardDiskCapacityInGB=hardDiskCapacityInGB, cpuStatus=cpuStatus, hwMemorySpareDeassert=hwMemorySpareDeassert, memoryDescriptionEntry=memoryDescriptionEntry, hwLCDFault=hwLCDFault, firmwareUpgradeStart=firmwareUpgradeStart, cpuDevicename=cpuDevicename, systemHealthEventDescriptionTable=systemHealthEventDescriptionTable, hwPCIeCardBBUFaultDeassert=hwPCIeCardBBUFaultDeassert, groupDomain=groupDomain, hwTrapEventCode=hwTrapEventCode, hwMemoryBoardEvent=hwMemoryBoardEvent, hwLogFull=hwLogFull, hwHardwareAddrFaultDeassert=hwHardwareAddrFaultDeassert, customCertificateContent=customCertificateContent, hwControllerAccessibleFailDeassert=hwControllerAccessibleFailDeassert, hwFanFault=hwFanFault, logicalDriveIsSSCD=logicalDriveIsSSCD, hwWatchDogResetDeassert=hwWatchDogResetDeassert, actualPowerSupplyEntireMode=actualPowerSupplyEntireMode, eventAlertTime=eventAlertTime, hwNoAvailableMemoryError=hwNoAvailableMemoryError, hwRAIDRebuildAborted=hwRAIDRebuildAborted, hwMemoryBoardSMI2TainingErrorDeassert=hwMemoryBoardSMI2TainingErrorDeassert, caCertInfoEntry=caCertInfoEntry, hwIPMBLink=hwIPMBLink, hwControllerAccessibleFail=hwControllerAccessibleFail, hwSystemFirmwareHangDeassert=hwSystemFirmwareHangDeassert, hwPCIeCardWatchDogTimeout=hwPCIeCardWatchDogTimeout, syslogCertType=syslogCertType, hwFruFailDeassert=hwFruFailDeassert, hwPhysicalSecurity=hwPhysicalSecurity, smtpTLSEnable=smtpTLSEnable, memoryAvailability=memoryAvailability, hwCPUProchot=hwCPUProchot, hwLCDFaultDeassert=hwLCDFaultDeassert, reqOrganization=reqOrganization, hwPCIeCardAccessTempFailureDeassert=hwPCIeCardAccessTempFailureDeassert, systemCpuUsage=systemCpuUsage, hardDiskNegotiatedSpeedInMbps=hardDiskNegotiatedSpeedInMbps, clientCertificateIndex=clientCertificateIndex, diskArrayLDId=diskArrayLDId, pCIeDeviceLocation=pCIeDeviceLocation, hwLANHeartBeat=hwLANHeartBeat, hwPCIeCardBBUFault=hwPCIeCardBBUFault, hwCPUVoltageMismatchDeassert=hwCPUVoltageMismatchDeassert, logicalDriveSpanDepth=logicalDriveSpanDepth, fileTransferUrl=fileTransferUrl, sdCardEntireStatus=sdCardEntireStatus, pCIeDeviceIndex=pCIeDeviceIndex, powerSupplyEntireStatus=powerSupplyEntireStatus, hwPSPresenceDeassert=hwPSPresenceDeassert, hwEthLinkDownDeassert=hwEthLinkDownDeassert, pCIeDeviceProperty=pCIeDeviceProperty, smtpLoginAccount=smtpLoginAccount, systemBootOnce=systemBootOnce, averagePower=averagePower, fruProductSerialNumber=fruProductSerialNumber, hwLog=hwLog, ledLitOnLastTime=ledLitOnLastTime, hwMemoryPresence=hwMemoryPresence, hwPSRedundancyLostDeassert=hwPSRedundancyLostDeassert, cpuEntireStatus=cpuEntireStatus, temperatureUpperMinor=temperatureUpperMinor, hwOvertempMinor=hwOvertempMinor, hwPowerCapFailDeassert=hwPowerCapFailDeassert, hwPCIeCardUncorrectableErrDeassert=hwPCIeCardUncorrectableErrDeassert, raidControllerDeviceInterface=raidControllerDeviceInterface, hwPCIeCardBBUNotPresent=hwPCIeCardBBUNotPresent, reqCommonName=reqCommonName, trapSecurityUserName=trapSecurityUserName, hwMemoryRiserOnline=hwMemoryRiserOnline, hardDiskDescriptionEntry=hardDiskDescriptionEntry, hwCPUMemoryEvent=hwCPUMemoryEvent, hwDeviceInstallDeassert=hwDeviceInstallDeassert, fanProperty=fanProperty, trapSendType=trapSendType, hwHotSwaptoM1=hwHotSwaptoM1, mezzDescriptionTable=mezzDescriptionTable, hwSysEventInstance=hwSysEventInstance, ownerOrganizationUnit=ownerOrganizationUnit, hwOvertempMinorDeassert=hwOvertempMinorDeassert, hwCPUPresenceDeassert=hwCPUPresenceDeassert, remoteControl=remoteControl, hwCorrectableECC=hwCorrectableECC, powerCappingEnable=powerCappingEnable, groupPrivilege3=groupPrivilege3, hwMemory=hwMemory, hardDiskPowerState=hardDiskPowerState, bindNetPort=bindNetPort, hwPCIeCardCPUOverTempMinorDeassert=hwPCIeCardCPUOverTempMinorDeassert, hwOvertempCriticalDeassert=hwOvertempCriticalDeassert, sdCardIndex=sdCardIndex, hwNoAvailableMemoryErrorDeassert=hwNoAvailableMemoryErrorDeassert, userEnable=userEnable, hwHotSwaptoM3=hwHotSwaptoM3, hwCardPresenceDeassert=hwCardPresenceDeassert, userInterfaces=userInterfaces, fanLocation=fanLocation, hwPCIeCardDIMMFailure=hwPCIeCardDIMMFailure, memoryLocation=memoryLocation, configuration=configuration, smtpReceiverDescriptionEntry=smtpReceiverDescriptionEntry, currentCertInfo=currentCertInfo, lomMACAddress=lomMACAddress, fileTransfer=fileTransfer, hwFruFail=hwFruFail, hwMemBrdMigrateDeassert=hwMemBrdMigrateDeassert, sensorName=sensorName, powerCappingFailureAction=powerCappingFailureAction, groupDomain2=groupDomain2, hwLowerVoltageMajorDeassert=hwLowerVoltageMajorDeassert, powerSupplyFunction=powerSupplyFunction, fruNum=fruNum, hwWatchDogPowerDownDeassert=hwWatchDogPowerDownDeassert, hwPowerCapFail=hwPowerCapFail, sdCardPresence=sdCardPresence, hwPCIeCardOverTemp=hwPCIeCardOverTemp, hwPCIeCardAccessFRULableFailure=hwPCIeCardAccessFRULableFailure, groupInterfaces=groupInterfaces, hwOverVoltageMajor=hwOverVoltageMajor, fruPowerControl=fruPowerControl, logicalDriveDefaultReadPolicy=logicalDriveDefaultReadPolicy, hwPS2USBFaultDeassert=hwPS2USBFaultDeassert, hardDiskManufacturer=hardDiskManufacturer, hwLowerVoltageMajor=hwLowerVoltageMajor, hwPowerSupplyACLostDeassert=hwPowerSupplyACLostDeassert, alternateDNSServer=alternateDNSServer, hwPCIeCardCPUOverTempMajor=hwPCIeCardCPUOverTempMajor, fileTransferState=fileTransferState) mibBuilder.exportSymbols("HUAWEI-SERVER-IBMC-MIB", fruExtendedELabelInfo=fruExtendedELabelInfo, twoFactorAuthenticationRevocationCheck=twoFactorAuthenticationRevocationCheck, groupPrivilege=groupPrivilege, hwPCIeFault=hwPCIeFault, powerOnControl=powerOnControl, hwPCIeCardCPUOverTempMinor=hwPCIeCardCPUOverTempMinor, cpuFamily=cpuFamily, hwMemoryECCLimitationDeassert=hwMemoryECCLimitationDeassert, hwTrapEvent=hwTrapEvent, raidControllerBBUHealthStatus=raidControllerBBUHealthStatus, smtpReceiverDescriptionTable=smtpReceiverDescriptionTable, smtpLoginPassword=smtpLoginPassword, hwNoBootableDiskDeassert=hwNoBootableDiskDeassert, temperatureUpperNonRecoverable=temperatureUpperNonRecoverable, domainNameSystem=domainNameSystem, userPublicKeyDelete=userPublicKeyDelete, configerrorinfo=configerrorinfo, componentBoardID=componentBoardID, ledStatus=ledStatus, customCertInsert=customCertInsert, hardDiskModelNumber=hardDiskModelNumber, hwPCIeCardWatchDogTimeoutDeassert=hwPCIeCardWatchDogTimeoutDeassert, lomProperty=lomProperty, groupPrivilege2=groupPrivilege2, networkTimeProtocol=networkTimeProtocol, componentStatus=componentStatus, sensorType=sensorType, system=system, cpuType=cpuType, hwPCIeErrorDeassert=hwPCIeErrorDeassert, fruProductFileID=fruProductFileID, memoryLogic=memoryLogic, hwCardPresenceStatus=hwCardPresenceStatus, pCIeDeviceManufacturer=pCIeDeviceManufacturer, hwNoSDCardDeassert=hwNoSDCardDeassert, hwiBMC=hwiBMC, cpuProcessorID=cpuProcessorID, fruProductAssetTag=fruProductAssetTag, hwServerTRAPObjectV2=hwServerTRAPObjectV2, hwPCIeCardHardwareFailure=hwPCIeCardHardwareFailure, eventIndex=eventIndex, hwBMC=hwBMC, caCertInfoTable=caCertInfoTable, hwPCIeCardDIMMOverTemp=hwPCIeCardDIMMOverTemp, hwPCIeCardBBULowerVoltageDeassert=hwPCIeCardBBULowerVoltageDeassert, temperatureObject=temperatureObject, hwCPUSelfTestFail=hwCPUSelfTestFail, hwMemoryRiserInstallError=hwMemoryRiserInstallError, hwPCIeCardOverTempMajor=hwPCIeCardOverTempMajor, syslogSeverity=syslogSeverity, hwPSRedundancyLost=hwPSRedundancyLost, hwACPIStatus=hwACPIStatus, manufacturerVersion=manufacturerVersion, logicalDriveRAIDLevel=logicalDriveRAIDLevel, reqLocation=reqLocation, powerSupplyModel=powerSupplyModel, diskArrayPDCount=diskArrayPDCount, clientCertificateDelete=clientCertificateDelete, hwCPUMCE=hwCPUMCE, memoryRank=memoryRank, hwPXENotFound=hwPXENotFound, hwIPMBLinkStateNoFault=hwIPMBLinkStateNoFault, smtpSendFrom=smtpSendFrom, ledColorInLocalControlState=ledColorInLocalControlState, hwCPUMemoryConfigError=hwCPUMemoryConfigError, caCertIssuerOrganizationUnit=caCertIssuerOrganizationUnit, hwWatchDogOverflow=hwWatchDogOverflow, hwMemoryEvent=hwMemoryEvent, mezzCardLocation=mezzCardLocation, caCertOwnerCommonName=caCertOwnerCommonName, issuerLocation=issuerLocation, ntpSupport=ntpSupport, hwSensorAccessibleFailDeassert=hwSensorAccessibleFailDeassert, snmpMIBConfig=snmpMIBConfig, fruBoardMfgDate=fruBoardMfgDate, hwFirmwareChange=hwFirmwareChange, hwCPUVoltageMismatch=hwCPUVoltageMismatch, hwAddInCard=hwAddInCard, certificate=certificate, fruBoardPartNumber=fruBoardPartNumber, hwLCDPresenceStatus=hwLCDPresenceStatus, userGroupID=userGroupID, hwDeviceFault=hwDeviceFault, hostName=hostName, userDelete=userDelete, firmwareBoard=firmwareBoard, raidControllerBBUType=raidControllerBBUType, ethIPSource=ethIPSource, hwInvalidBootSectorDeassert=hwInvalidBootSectorDeassert, hwCPUCoreIsolation=hwCPUCoreIsolation, hardDiskPatrolReadStatus=hardDiskPatrolReadStatus, hwSysRestartChassisCtrl=hwSysRestartChassisCtrl, hardDiskInterfaceType=hardDiskInterfaceType, logicalDriveDedicatedSparePD=logicalDriveDedicatedSparePD, trapLevelDetail=trapLevelDetail, mezzCardFunction=mezzCardFunction, mezzDescriptionEntry=mezzDescriptionEntry, logicalDriveDescriptionTable=logicalDriveDescriptionTable, hwCardStatusFault=hwCardStatusFault, logicalDriveSSCDCachingEnable=logicalDriveSSCDCachingEnable, ethNum=ethNum, powerSupplyInputMode=powerSupplyInputMode, hwRAIDRebuild=hwRAIDRebuild, logicalDriveNumDrivePerSpan=logicalDriveNumDrivePerSpan, ldapGroupInfoDescription3Table=ldapGroupInfoDescription3Table, logicalDriveCurrentIOPolicy=logicalDriveCurrentIOPolicy, memoryClockRate=memoryClockRate, userPublicKeyAdd=userPublicKeyAdd, memoryDescriptionTable=memoryDescriptionTable, logicalDriveStripeSizeInBytes=logicalDriveStripeSizeInBytes, syslogCertSerialNumber=syslogCertSerialNumber, ethInfo=ethInfo, hwLCDAbsent=hwLCDAbsent, syslogCertInfoDescriptionEntry=syslogCertInfoDescriptionEntry, smtpServerIP=smtpServerIP, hwSystemFirmwareHang=hwSystemFirmwareHang, trapCommunity=trapCommunity, hwCPUProchotState=hwCPUProchotState, hwMainboardSMI2TainingError=hwMainboardSMI2TainingError, rootCertificateDescriptionEntry=rootCertificateDescriptionEntry, mezzProperty=mezzProperty, userID=userID, hwMainboardSMI2TainingErrorDeassert=hwMainboardSMI2TainingErrorDeassert, lomDescriptionTable=lomDescriptionTable, hwPCIeCardFWInitFailure=hwPCIeCardFWInitFailure, rootCertificateImport=rootCertificateImport, hwMemoryUsage=hwMemoryUsage, fruProductVersion=fruProductVersion, hwPCIeCardLowerVoltMajorDeassert=hwPCIeCardLowerVoltMajorDeassert, trap=trap, hwMemoryUsageHigh=hwMemoryUsageHigh, hwSELClearedAssert=hwSELClearedAssert, hwPCIeCardBattLowerVoltMinor=hwPCIeCardBattLowerVoltMinor, syslogReceiverAddress=syslogReceiverAddress, ledMode=ledMode, diskArrayUsedSpaceInMB=diskArrayUsedSpaceInMB, raidControllerNVDataVersion=raidControllerNVDataVersion, hwCardStatusFaultDeassert=hwCardStatusFaultDeassert, hwOvertempCritical=hwOvertempCritical, memoryDevicename=memoryDevicename, hwRAIDCardBBUFailedDeassert=hwRAIDCardBBUFailedDeassert, hwMemoryOvertempDeassert=hwMemoryOvertempDeassert, fanLevel=fanLevel, clientCertificateDescriptionTable=clientCertificateDescriptionTable, cpuCoreCount=cpuCoreCount, hwIPMBLinkStateB=hwIPMBLinkStateB, hwBMCBootUp=hwBMCBootUp, hwMemoryRiserOffline=hwMemoryRiserOffline, syslogImportRootCertificate=syslogImportRootCertificate, mezzCardIndex=mezzCardIndex, powerOnPolicy=powerOnPolicy, smtpSendSeverity=smtpSendSeverity, smtpSendSeverityDetail=smtpSendSeverityDetail, logicalDriveRAIDControllerIndex=logicalDriveRAIDControllerIndex, hwVideoControllerFault=hwVideoControllerFault, hwTrapSensorName=hwTrapSensorName, hwPowerCapping=hwPowerCapping, memoryBitWidth=memoryBitWidth, sensorProperty=sensorProperty, memoryEntireStatus=memoryEntireStatus, logicalDriveState=logicalDriveState, fruInfo=fruInfo, sensorPositiveHysteresisString=sensorPositiveHysteresisString, temperatureLowerCritical=temperatureLowerCritical, hwSystemError=hwSystemError, hwPowerSupplyInputLost=hwPowerSupplyInputLost, hwPCIeCardBootEvent=hwPCIeCardBootEvent, hwPowerSupplyFaultDeassert=hwPowerSupplyFaultDeassert, ledColorCapbilities=ledColorCapbilities, hwPCIeCardAccessVoltFailureDeassert=hwPCIeCardAccessVoltFailureDeassert, ldapDomainServer3=ldapDomainServer3, hwSysRestartRestorePrevState=hwSysRestartRestorePrevState, fruBoardSerialNumber=fruBoardSerialNumber, preferredNTPServer=preferredNTPServer, hwCorrectableECCDeassert=hwCorrectableECCDeassert, hwCPUMRCFatalErrorDeassert=hwCPUMRCFatalErrorDeassert, hwPCIeCardBootDiskAbsent=hwPCIeCardBootDiskAbsent, systemTimeZone=systemTimeZone, ntpGroupkeyState=ntpGroupkeyState, firmwareUpgradeDetailedResults=firmwareUpgradeDetailedResults, syslogSendLogType=syslogSendLogType, hwCPUUsage=hwCPUUsage, syslogInfoDescriptionEntry=syslogInfoDescriptionEntry, pCIeDeviceDID=pCIeDeviceDID, ethEnable=ethEnable, systemPowerState=systemPowerState, hwPCIeCardOverVoltMajorDeassert=hwPCIeCardOverVoltMajorDeassert, temperatureLowerNonRecoverable=temperatureLowerNonRecoverable, componentType=componentType, mezzCardDevicename=mezzCardDevicename, trapInfoDescriptionEntry=trapInfoDescriptionEntry, raidControllerAddLD=raidControllerAddLD, hwStorageDevicePresence=hwStorageDevicePresence, caCertOwnerState=caCertOwnerState, fruProductManufacturer=fruProductManufacturer, fruLedDescriptionEntry=fruLedDescriptionEntry, sdCardProperty=sdCardProperty, clearPowerStatistic=clearPowerStatistic, hwBoardMismatchAssert=hwBoardMismatchAssert, hwLCD=hwLCD, importconfig=importconfig, hwHardwareChange=hwHardwareChange, hwSystemNoMemory=hwSystemNoMemory, syslogAuthType=syslogAuthType, PYSNMP_MODULE_ID=hwiBMC, domainName=domainName, syslogCertIssuedBy=syslogCertIssuedBy, ldapUserDomain2=ldapUserDomain2, hardDiskCapableSpeedInMbps=hardDiskCapableSpeedInMbps, raidControllerSupportOOBManagement=raidControllerSupportOOBManagement, cpuL3Cache_K=cpuL3Cache_K, issuerOrganizationUnit=issuerOrganizationUnit, systemGuid=systemGuid, fruID=fruID, syslog=syslog, ethDefaultGateway=ethDefaultGateway, hardDiskProperty=hardDiskProperty, hardDiskFunction=hardDiskFunction, groupDomain3=groupDomain3, cpuDescriptionEntry=cpuDescriptionEntry, hwMemBrdMigrate=hwMemBrdMigrate, hwPCIEStatus=hwPCIEStatus, hwACPIStatusS0=hwACPIStatusS0, powerSupplyPowerRating=powerSupplyPowerRating, powerCappingValue=powerCappingValue, ethMACAddress=ethMACAddress, logicalDriveAssociatedLDs=logicalDriveAssociatedLDs, systemHealth=systemHealth, hwDiskUsageHigh=hwDiskUsageHigh, logicalDriveConsistencyCheckStatus=logicalDriveConsistencyCheckStatus, hwUIDButton=hwUIDButton, hwWatchDog=hwWatchDog, syslogProtocolType=syslogProtocolType, sensorDescriptionEntry=sensorDescriptionEntry, identify=identify, hwCPUPresence=hwCPUPresence, certExpiration=certExpiration, diskArrayDescriptionEntry=diskArrayDescriptionEntry, hwCPUCATErrorDeassert=hwCPUCATErrorDeassert, hwServer=hwServer, hardDiskRebuildProgress=hardDiskRebuildProgress, sdCardManufacturer=sdCardManufacturer, hwMemoryConfigErrorDeassert=hwMemoryConfigErrorDeassert, logicalDriveProperty=logicalDriveProperty, memorySize=memorySize, hwHotSwaptoM0=hwHotSwaptoM0, ledColorInOverrideState=ledColorInOverrideState, pCIeDeviceDescriptionTable=pCIeDeviceDescriptionTable, hwDiskUsage=hwDiskUsage, hwWatchDogPowerCycleDeassert=hwWatchDogPowerCycleDeassert, pCIeDeviceDescriptionEntry=pCIeDeviceDescriptionEntry, logicalDriveDiskCachePolicy=logicalDriveDiskCachePolicy, smtpReceiverIndex=smtpReceiverIndex, hwMemoryRiserInstallErrorDeassert=hwMemoryRiserInstallErrorDeassert) mibBuilder.exportSymbols("HUAWEI-SERVER-IBMC-MIB", componentDescriptionTable=componentDescriptionTable, syslogCertInfoDescriptionTable=syslogCertInfoDescriptionTable, logicalDriveDefaultIOPolicy=logicalDriveDefaultIOPolicy, fruPowerDescriptionTable=fruPowerDescriptionTable, hwRAIDCardBBUFailed=hwRAIDCardBBUFailed, fruExtendedELabelDescriptionTable=fruExtendedELabelDescriptionTable, firmwareDescriptionEntry=firmwareDescriptionEntry, hardDiskMediaErrCount=hardDiskMediaErrCount, hwStorageDevicePredictiveFailure=hwStorageDevicePredictiveFailure, sensorNegativeHysteresisString=sensorNegativeHysteresisString, rootCertificateValidFrom=rootCertificateValidFrom, trapEnable=trapEnable, hwPCIeCardFWInitFailureDeassert=hwPCIeCardFWInitFailureDeassert, sensorUpperCritical=sensorUpperCritical, hwPowerSupplyACLost=hwPowerSupplyACLost, pCIeDeviceFunction=pCIeDeviceFunction, ownerOrganization=ownerOrganization, ethIPAddress=ethIPAddress, hardDiskPresence=hardDiskPresence, hwStorageDevicePresenceDeassert=hwStorageDevicePresenceDeassert, fruDescriptionEntry=fruDescriptionEntry, groupName=groupName, ldapPort=ldapPort, hwPSPresenceStatus=hwPSPresenceStatus, hwModule=hwModule, hwOEMEvent=hwOEMEvent, fruPowerProperty=fruPowerProperty, smtpReceiverDescription=smtpReceiverDescription, raidControllerRestoreSettings=raidControllerRestoreSettings, logicalDriveDefaultWritePolicy=logicalDriveDefaultWritePolicy, hwPCIeCardEvent=hwPCIeCardEvent, cpuProperty=cpuProperty, fruExtendedELabelIndex=fruExtendedELabelIndex, logicalDriveCurrentReadPolicy=logicalDriveCurrentReadPolicy, hwMemoryRiserOfflineDeassert=hwMemoryRiserOfflineDeassert, pCIeDeviceDescription=pCIeDeviceDescription, hwSystemNoMemoryDeassert=hwSystemNoMemoryDeassert, raidControllerDescriptionTable=raidControllerDescriptionTable, hwIPMBLinkStateAll=hwIPMBLinkStateAll, hwPCIeCardHardwareFailureDeassert=hwPCIeCardHardwareFailureDeassert, logicalDriveSizeInMB=logicalDriveSizeInMB, ethType=ethType, hwPCIeCardBattLowerVoltMinorDeassert=hwPCIeCardBattLowerVoltMinorDeassert, componentPCBVersion=componentPCBVersion, specificationType=specificationType, cpuManufacturer=cpuManufacturer, trapInfoDescriptionTable=trapInfoDescriptionTable, powerManagement=powerManagement, fanEntireStatus=fanEntireStatus, hwOverVoltageMajorDeassert=hwOverVoltageMajorDeassert, hardDiskPrefailErrCount=hardDiskPrefailErrCount, ldapGroupInfoDescription1Entry=ldapGroupInfoDescription1Entry, fanStatus=fanStatus, fanMode=fanMode, ldapGroupInfoDescription3Entry=ldapGroupInfoDescription3Entry, hwStorageDevicePredictiveFailureDeassert=hwStorageDevicePredictiveFailureDeassert, logicalDriveStripeSizeInMB=logicalDriveStripeSizeInMB, twoFactorAuthentication=twoFactorAuthentication, hwSysFWProgress=hwSysFWProgress, memoryManufacturer=memoryManufacturer, caCertIssuerCommonName=caCertIssuerCommonName, hwIPMBLinkStateAllDeassert=hwIPMBLinkStateAllDeassert, sensorEventReadingType=sensorEventReadingType, trapLevel=trapLevel, hwPCIEStatusDeassert=hwPCIEStatusDeassert, hwMemoryECCLimitation=hwMemoryECCLimitation, hwPCIeCardBootEventDeassert=hwPCIeCardBootEventDeassert, hwSensorAccessibleFail=hwSensorAccessibleFail, sensorStatus=sensorStatus, hwPS2USBFault=hwPS2USBFault, hwModuleCritical=hwModuleCritical, hwPSPresence=hwPSPresence, raidControllerMinStripSupportInBytes=raidControllerMinStripSupportInBytes, hwMemoryConfigError=hwMemoryConfigError, clientCertificateDescriptionEntry=clientCertificateDescriptionEntry, hwOverVoltageCritcal=hwOverVoltageCritcal, hwBoardMismatch=hwBoardMismatch, smtpReceiverTest=smtpReceiverTest, hwMemoryInitializationError=hwMemoryInitializationError, sdCardSN=sdCardSN, remoteOEMInfo=remoteOEMInfo, hwPCIeCardOverVoltMajor=hwPCIeCardOverVoltMajor, hwMemoryUsageHighDeassert=hwMemoryUsageHighDeassert, sdCardCapacity=sdCardCapacity, ldapGroupInfoDescription1Table=ldapGroupInfoDescription1Table, hwInvalidBootSector=hwInvalidBootSector, hwSysRestartPowerButton=hwSysRestartPowerButton, logicalDriveCurrentWritePolicy=logicalDriveCurrentWritePolicy, hwCPUCoreIsolationDeassert=hwCPUCoreIsolationDeassert, hwSELAlmostFullAssert=hwSELAlmostFullAssert, sdCardStatus=sdCardStatus, hwChipSet=hwChipSet, ethNetmask=ethNetmask, hwCPUProchotStateDeassert=hwCPUProchotStateDeassert, logicalDriveDelete=logicalDriveDelete, hardDiskEntireStatus=hardDiskEntireStatus, diskArrayLDCount=diskArrayLDCount, hwMemorySpare=hwMemorySpare, hwFanFaultDeassert=hwFanFaultDeassert, hwRAIDCardBBUPresence=hwRAIDCardBBUPresence, raidControllerJBODEnable=raidControllerJBODEnable, sensorDescriptionTable=sensorDescriptionTable, caCertSN=caCertSN, memoryFunction=memoryFunction, hardDiskFwState=hardDiskFwState, hwBoardMismatchDeassert=hwBoardMismatchDeassert, hwTrapSeverity=hwTrapSeverity, hwPCIeCardCPUOverTempMajorDeassert=hwPCIeCardCPUOverTempMajorDeassert, powerSupplyVersion=powerSupplyVersion, sdCardDescriptionTable=sdCardDescriptionTable, powerSupplyInfo=powerSupplyInfo, hwMemoryOvertemp=hwMemoryOvertemp, hwHotSwaptoM6=hwHotSwaptoM6, powerSupplyWorkMode=powerSupplyWorkMode, hardDiskLocation=hardDiskLocation, hardDiskSASAddr2=hardDiskSASAddr2, hwWatchDogOverflowDeassert=hwWatchDogOverflowDeassert, trapTest=trapTest, hwRAIDArrayFail=hwRAIDArrayFail, fanDevicename=fanDevicename, hwPCIeCardDIMMOverTempDeassert=hwPCIeCardDIMMOverTempDeassert, ldapEnable=ldapEnable, hwUncorrectableECC=hwUncorrectableECC, bindNTPIPProtocol=bindNTPIPProtocol, hwFanAbsent=hwFanAbsent, hwOvertempMajorDeassert=hwOvertempMajorDeassert, exportconfig=exportconfig, bmcReboot=bmcReboot, fanDescriptionEntry=fanDescriptionEntry, syslogEnable=syslogEnable, hwSELAlmostFullDeassert=hwSELAlmostFullDeassert, cpuL2Cache_K=cpuL2Cache_K, hwPCIeFaultDeassert=hwPCIeFaultDeassert, hwPowerSupplyFault=hwPowerSupplyFault, trapRearm=trapRearm, hwPCIeCardUncorrectableErr=hwPCIeCardUncorrectableErr, hwSystemErrorDeassert=hwSystemErrorDeassert, hwOEM=hwOEM, smtpLoginType=smtpLoginType, hwTrapTest=hwTrapTest, hwStorageDeviceFaultDeassert=hwStorageDeviceFaultDeassert, fruNumber=fruNumber, hwTrapEventData2=hwTrapEventData2, raidControllerMemorySizeInMB=raidControllerMemorySizeInMB, hwSysRestartWatchdogCtrl=hwSysRestartWatchdogCtrl, hwPowerSupply=hwPowerSupply, fanFunction=fanFunction, twoFactorAuthenticationEnable=twoFactorAuthenticationEnable, hwPCIeCardOverTempDeassert=hwPCIeCardOverTempDeassert, hwTrapTestInstance=hwTrapTestInstance, syslogIdentity=syslogIdentity)
277.077336
10,122
0.713734
06f2a69493635810d09ad62cf5e34e56c9e7e45f
1,392
py
Python
flask-wtforms-tutorial/flask_wtforms_tutorial/routes.py
tomtom28/njit-is-601-project-4
4daf900ddfe8dbfa8bdd486c276b837c7bdba1e6
[ "MIT" ]
null
null
null
flask-wtforms-tutorial/flask_wtforms_tutorial/routes.py
tomtom28/njit-is-601-project-4
4daf900ddfe8dbfa8bdd486c276b837c7bdba1e6
[ "MIT" ]
null
null
null
flask-wtforms-tutorial/flask_wtforms_tutorial/routes.py
tomtom28/njit-is-601-project-4
4daf900ddfe8dbfa8bdd486c276b837c7bdba1e6
[ "MIT" ]
2
2021-08-03T02:06:32.000Z
2021-08-03T18:18:51.000Z
from flask import ( Flask, url_for, render_template, redirect ) from forms import ContactForm, SignupForm app = Flask(__name__, instance_relative_config=False) app.config.from_object('config.Config') @app.route("/contact", methods=["GET", "POST"]) def contact(): """Standard `contact` form.""" form = ContactForm() if form.validate_on_submit(): return redirect(url_for("success")) return render_template( "contact.jinja2", form=form, template="form-template", title="Contact Form" ) @app.route("/signup", methods=["GET", "POST"]) def signup(): """User sign-up form for account creation.""" form = SignupForm() if form.validate_on_submit(): return redirect(url_for("success")) return render_template( "signup.jinja2", form=form, template="form-template", title="Signup Form" ) @app.route("/") def home(): """Landing page.""" return render_template( "index.jinja2", template="home-template", title="Flask-WTF tutorial" ) @app.route("/success", methods=["GET", "POST"]) def success(): """Generic success page upon form submission.""" return render_template( "success.jinja2", template="success-template" ) if __name__ == '__main__': app.run(host='0.0.0.0', port=5002, debug=True)
22.451613
53
0.615661
a9f81785566f05a579d5ccef16a2decf394daadf
1,297
php
PHP
tests/Builder/Event/BuilderEventTest.php
GlueApps/ComposedViews
1202d071e627d4b5fd7e7dc2446c9be79a364ccc
[ "MIT" ]
null
null
null
tests/Builder/Event/BuilderEventTest.php
GlueApps/ComposedViews
1202d071e627d4b5fd7e7dc2446c9be79a364ccc
[ "MIT" ]
null
null
null
tests/Builder/Event/BuilderEventTest.php
GlueApps/ComposedViews
1202d071e627d4b5fd7e7dc2446c9be79a364ccc
[ "MIT" ]
null
null
null
<?php namespace GlueApps\ComposedViews\Tests\Builder\Event; use PHPUnit\Framework\TestCase; use GlueApps\ComposedViews\Builder\BuilderInterface; use GlueApps\ComposedViews\Builder\Event\BuilderEvent; /** * @author Andy Daniel Navarro Taño <andaniel05@gmail.com> */ class BuilderEventTest extends TestCase { public function setUp() { $this->element = new \SimpleXMLElement('<xml></xml>'); $this->builder = $this->createMock(BuilderInterface::class); $this->event = new BuilderEvent($this->element, $this->builder); } public function testGetXMLElementReturnArgument() { $this->assertEquals($this->element, $this->event->getXMLElement()); } public function testGetEntityReturnNullByDefault() { $this->assertNull($this->event->getEntity()); } public function testSetEntity() { $entity = new \stdClass; $this->event->setEntity($entity); $this->assertEquals($entity, $this->event->getEntity()); } public function testGetNodeIsAliasToGetXMLElement() { $this->assertEquals($this->element, $this->event->getNode()); } public function testGetBuilderReturnBuilderArgument() { $this->assertEquals($this->builder, $this->event->getBuilder()); } }
26.469388
75
0.666924
d94b762a4475bf2ffb65ec0ab8049aecfec2390e
10,943
go
Go
api/admin/sysrole/v1/sys_role_grpc.pb.go
Caisin/hope
68a41a0385dd01e0f7a4f58a2f0961c82f21d6d1
[ "Apache-2.0" ]
1
2021-12-01T15:56:45.000Z
2021-12-01T15:56:45.000Z
api/admin/sysrole/v1/sys_role_grpc.pb.go
Caisin/hope
68a41a0385dd01e0f7a4f58a2f0961c82f21d6d1
[ "Apache-2.0" ]
null
null
null
api/admin/sysrole/v1/sys_role_grpc.pb.go
Caisin/hope
68a41a0385dd01e0f7a4f58a2f0961c82f21d6d1
[ "Apache-2.0" ]
null
null
null
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.2.0 // - protoc v3.19.3 // source: api/admin/sysrole/v1/sys_role.proto package v1 import ( context "context" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" ) // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 // SysRoleClient is the client API for SysRole service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type SysRoleClient interface { // 分页查询SysRole GetSysRolePage(ctx context.Context, in *SysRolePageReq, opts ...grpc.CallOption) (*SysRolePageReply, error) // 获取SysRole GetSysRole(ctx context.Context, in *SysRoleReq, opts ...grpc.CallOption) (*SysRoleReply, error) // 更新SysRole UpdateSysRole(ctx context.Context, in *SysRoleUpdateReq, opts ...grpc.CallOption) (*SysRoleUpdateReply, error) // 创建SysRole CreateSysRole(ctx context.Context, in *SysRoleCreateReq, opts ...grpc.CallOption) (*SysRoleCreateReply, error) // 删除SysRole DeleteSysRole(ctx context.Context, in *SysRoleDeleteReq, opts ...grpc.CallOption) (*SysRoleDeleteReply, error) // 批量删除SysRole BatchDeleteSysRole(ctx context.Context, in *SysRoleBatchDeleteReq, opts ...grpc.CallOption) (*SysRoleDeleteReply, error) } type sysRoleClient struct { cc grpc.ClientConnInterface } func NewSysRoleClient(cc grpc.ClientConnInterface) SysRoleClient { return &sysRoleClient{cc} } func (c *sysRoleClient) GetSysRolePage(ctx context.Context, in *SysRolePageReq, opts ...grpc.CallOption) (*SysRolePageReply, error) { out := new(SysRolePageReply) err := c.cc.Invoke(ctx, "/sysrole.v1.SysRole/GetSysRolePage", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *sysRoleClient) GetSysRole(ctx context.Context, in *SysRoleReq, opts ...grpc.CallOption) (*SysRoleReply, error) { out := new(SysRoleReply) err := c.cc.Invoke(ctx, "/sysrole.v1.SysRole/GetSysRole", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *sysRoleClient) UpdateSysRole(ctx context.Context, in *SysRoleUpdateReq, opts ...grpc.CallOption) (*SysRoleUpdateReply, error) { out := new(SysRoleUpdateReply) err := c.cc.Invoke(ctx, "/sysrole.v1.SysRole/UpdateSysRole", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *sysRoleClient) CreateSysRole(ctx context.Context, in *SysRoleCreateReq, opts ...grpc.CallOption) (*SysRoleCreateReply, error) { out := new(SysRoleCreateReply) err := c.cc.Invoke(ctx, "/sysrole.v1.SysRole/CreateSysRole", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *sysRoleClient) DeleteSysRole(ctx context.Context, in *SysRoleDeleteReq, opts ...grpc.CallOption) (*SysRoleDeleteReply, error) { out := new(SysRoleDeleteReply) err := c.cc.Invoke(ctx, "/sysrole.v1.SysRole/DeleteSysRole", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *sysRoleClient) BatchDeleteSysRole(ctx context.Context, in *SysRoleBatchDeleteReq, opts ...grpc.CallOption) (*SysRoleDeleteReply, error) { out := new(SysRoleDeleteReply) err := c.cc.Invoke(ctx, "/sysrole.v1.SysRole/BatchDeleteSysRole", in, out, opts...) if err != nil { return nil, err } return out, nil } // SysRoleServer is the server API for SysRole service. // All implementations must embed UnimplementedSysRoleServer // for forward compatibility type SysRoleServer interface { // 分页查询SysRole GetSysRolePage(context.Context, *SysRolePageReq) (*SysRolePageReply, error) // 获取SysRole GetSysRole(context.Context, *SysRoleReq) (*SysRoleReply, error) // 更新SysRole UpdateSysRole(context.Context, *SysRoleUpdateReq) (*SysRoleUpdateReply, error) // 创建SysRole CreateSysRole(context.Context, *SysRoleCreateReq) (*SysRoleCreateReply, error) // 删除SysRole DeleteSysRole(context.Context, *SysRoleDeleteReq) (*SysRoleDeleteReply, error) // 批量删除SysRole BatchDeleteSysRole(context.Context, *SysRoleBatchDeleteReq) (*SysRoleDeleteReply, error) mustEmbedUnimplementedSysRoleServer() } // UnimplementedSysRoleServer must be embedded to have forward compatible implementations. type UnimplementedSysRoleServer struct { } func (UnimplementedSysRoleServer) GetSysRolePage(context.Context, *SysRolePageReq) (*SysRolePageReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSysRolePage not implemented") } func (UnimplementedSysRoleServer) GetSysRole(context.Context, *SysRoleReq) (*SysRoleReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSysRole not implemented") } func (UnimplementedSysRoleServer) UpdateSysRole(context.Context, *SysRoleUpdateReq) (*SysRoleUpdateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSysRole not implemented") } func (UnimplementedSysRoleServer) CreateSysRole(context.Context, *SysRoleCreateReq) (*SysRoleCreateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateSysRole not implemented") } func (UnimplementedSysRoleServer) DeleteSysRole(context.Context, *SysRoleDeleteReq) (*SysRoleDeleteReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteSysRole not implemented") } func (UnimplementedSysRoleServer) BatchDeleteSysRole(context.Context, *SysRoleBatchDeleteReq) (*SysRoleDeleteReply, error) { return nil, status.Errorf(codes.Unimplemented, "method BatchDeleteSysRole not implemented") } func (UnimplementedSysRoleServer) mustEmbedUnimplementedSysRoleServer() {} // UnsafeSysRoleServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to SysRoleServer will // result in compilation errors. type UnsafeSysRoleServer interface { mustEmbedUnimplementedSysRoleServer() } func RegisterSysRoleServer(s grpc.ServiceRegistrar, srv SysRoleServer) { s.RegisterService(&SysRole_ServiceDesc, srv) } func _SysRole_GetSysRolePage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SysRolePageReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SysRoleServer).GetSysRolePage(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/sysrole.v1.SysRole/GetSysRolePage", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SysRoleServer).GetSysRolePage(ctx, req.(*SysRolePageReq)) } return interceptor(ctx, in, info, handler) } func _SysRole_GetSysRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SysRoleReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SysRoleServer).GetSysRole(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/sysrole.v1.SysRole/GetSysRole", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SysRoleServer).GetSysRole(ctx, req.(*SysRoleReq)) } return interceptor(ctx, in, info, handler) } func _SysRole_UpdateSysRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SysRoleUpdateReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SysRoleServer).UpdateSysRole(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/sysrole.v1.SysRole/UpdateSysRole", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SysRoleServer).UpdateSysRole(ctx, req.(*SysRoleUpdateReq)) } return interceptor(ctx, in, info, handler) } func _SysRole_CreateSysRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SysRoleCreateReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SysRoleServer).CreateSysRole(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/sysrole.v1.SysRole/CreateSysRole", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SysRoleServer).CreateSysRole(ctx, req.(*SysRoleCreateReq)) } return interceptor(ctx, in, info, handler) } func _SysRole_DeleteSysRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SysRoleDeleteReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SysRoleServer).DeleteSysRole(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/sysrole.v1.SysRole/DeleteSysRole", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SysRoleServer).DeleteSysRole(ctx, req.(*SysRoleDeleteReq)) } return interceptor(ctx, in, info, handler) } func _SysRole_BatchDeleteSysRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SysRoleBatchDeleteReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SysRoleServer).BatchDeleteSysRole(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/sysrole.v1.SysRole/BatchDeleteSysRole", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SysRoleServer).BatchDeleteSysRole(ctx, req.(*SysRoleBatchDeleteReq)) } return interceptor(ctx, in, info, handler) } // SysRole_ServiceDesc is the grpc.ServiceDesc for SysRole service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var SysRole_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sysrole.v1.SysRole", HandlerType: (*SysRoleServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSysRolePage", Handler: _SysRole_GetSysRolePage_Handler, }, { MethodName: "GetSysRole", Handler: _SysRole_GetSysRole_Handler, }, { MethodName: "UpdateSysRole", Handler: _SysRole_UpdateSysRole_Handler, }, { MethodName: "CreateSysRole", Handler: _SysRole_CreateSysRole_Handler, }, { MethodName: "DeleteSysRole", Handler: _SysRole_DeleteSysRole_Handler, }, { MethodName: "BatchDeleteSysRole", Handler: _SysRole_BatchDeleteSysRole_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/admin/sysrole/v1/sys_role.proto", }
36.721477
171
0.744586
d665d81d35d3973df1d3a4b99bec54494f92a652
2,873
cs
C#
Quartz.IDE/ObjectModel/Template.cs
TheHeadmaster/Quartz
4fc7ba82ece13b21d6b5ac156a49728bee34213b
[ "MIT" ]
4
2020-09-11T02:24:23.000Z
2021-02-22T14:22:18.000Z
Quartz.IDE/ObjectModel/Template.cs
TheHeadmaster/Quartz
4fc7ba82ece13b21d6b5ac156a49728bee34213b
[ "MIT" ]
14
2020-09-10T01:02:51.000Z
2020-09-30T02:24:52.000Z
Quartz.IDE/ObjectModel/Template.cs
TheHeadmaster/Quartz
4fc7ba82ece13b21d6b5ac156a49728bee34213b
[ "MIT" ]
null
null
null
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using Librarium.Json; using Quartz.Core.ObjectModel; using Quartz.IDE.Json; using Quartz.IDE.ViewModels; using PersistentEntity; using System.Threading.Tasks; namespace Quartz.IDE.ObjectModel { /// <summary> /// Represents a Quartz template. /// </summary> public abstract class Template : SaveableObject, IModelToFile { private static List<Type>? subclasses; /// <summary> /// Gets a list of all classes that derive from <see cref="Template"/>. /// </summary> public static List<Type> Subclasses { get { if (subclasses is null || subclasses.Count == 0) { List<Type> newSubClasses = new List<Type>(); foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies()) { newSubClasses.AddRange(asm.GetTypes().Where(x => x.IsSubclassOf(typeof(Template)))); } subclasses = newSubClasses; } return subclasses; } } /// <summary> /// The template author's name or alias. /// </summary> public string? Author { get; set; } /// <summary> /// The description of the template. /// </summary> public string? Description { get; set; } /// <summary> /// The name of the <see cref="JFile"/> on disk. /// </summary> public string FileName { get; set; } = ""; /// <summary> /// The path to the <see cref="JFile"/> on disk. /// </summary> public string FilePath { get; set; } = ""; /// <summary> /// The name of the template. /// </summary> public string? Name { get; set; } /// <summary> /// The version of Quartz that the template was made with. /// </summary> public Version? Version { get; set; } public void Load() { Directory.CreateDirectory(Path.Combine(this.FilePath, "Images")); this.IsSaved = true; } /// <summary> /// Saves the <see cref="JFile"/> to disk. /// </summary> public void Save() { TemplateFile file = new TemplateFile(); file.PopulateFile(this); file.Save(); } /// <summary> /// Creates a new json data model, populates it with this project's data, and saves it to disk. /// </summary> public override Task SaveAsync(Connection? connection = null) { this.Save(); this.IsSaved = true; return Task.CompletedTask; } } }
29.020202
108
0.523495
4922d76f003e7fd8fb1f9be5331cc1381a1febb3
912
py
Python
sublime/Packages/Anaconda/test/test_find_usages.py
mklewitz-kisura/dotfiles
ab090ddb7a6d892a957fb23923d4a6aedf3d2d8a
[ "MIT" ]
null
null
null
sublime/Packages/Anaconda/test/test_find_usages.py
mklewitz-kisura/dotfiles
ab090ddb7a6d892a957fb23923d4a6aedf3d2d8a
[ "MIT" ]
3
2021-05-10T18:59:14.000Z
2021-09-02T01:50:15.000Z
sublime/Packages/Anaconda/test/test_find_usages.py
mklewitz-kisura/dotfiles
ab090ddb7a6d892a957fb23923d4a6aedf3d2d8a
[ "MIT" ]
3
2020-02-03T13:24:54.000Z
2020-02-03T13:45:37.000Z
# Copyright (C) 2012-2016 - Oscar Campos <oscar.campos@member.fsf.org> # This program is Free Software see LICENSE file for details import jedi from commands.find_usages import FindUsages from handlers.jedi_handler import JediHandler _code = 'from _usages_helper import usages_helper' class TestFindUsages(object): """FindUsages tests suite """ def test_find_usages_command(self): FindUsages(self._check_find_usages, 0, jedi.Script(_code)) def test_find_usages_handler(self): data = {'source': _code, 'line': 1, 'offset': 40, 'filename': None} handler = JediHandler('usages', data, 0, 0, self._check_find_usages) handler.run() def _check_find_usages(self, result): assert result['success'] is True assert len(result['result']) == 1 assert result['result'][0] == ('usages_helper', None, 1, 27) assert result['uid'] == 0
30.4
76
0.683114
31e2ddcc857c2d89b1f0afd87d90148f524ae1b6
5,587
rb
Ruby
compensated-ruby/spec/gumroad/event_parser_spec.rb
zinc-technology/compensated
a961881fb167f066eb82a790561f85a29d3aa9e1
[ "RSA-MD" ]
13
2020-03-13T20:09:14.000Z
2020-12-01T04:04:12.000Z
compensated-ruby/spec/gumroad/event_parser_spec.rb
zinc-technology/compensated
a961881fb167f066eb82a790561f85a29d3aa9e1
[ "RSA-MD" ]
44
2019-12-19T01:48:07.000Z
2022-02-26T06:04:18.000Z
compensated-ruby/spec/gumroad/event_parser_spec.rb
zinc-technology/compensated
a961881fb167f066eb82a790561f85a29d3aa9e1
[ "RSA-MD" ]
2
2020-03-22T14:05:16.000Z
2020-06-08T19:07:46.000Z
require 'compensated/gumroad' require 'rack' module Compensated module Gumroad RSpec.describe EventParser do def fake_request(fixture) content = fixture_content(fixture) data = fixture_data(fixture) PaymentProcessorEventRequest.new(double(form_data?: true, params: data, body: content)) end def fixture_content(fixture) fixture.nil? ? nil : File.read(File.join(__dir__, 'fixtures', fixture)) end def fixture_io(fixture) fixture.nil? ? nil : File.open(File.join(__dir__, 'fixtures', fixture)) end def fixture_data(fixture) Rack::Utils.default_query_parser.parse_query(fixture_content(fixture)) end it 'Adds itself to the list of event parses available to compensated' do expect(Compensated.event_parsers.find { |ep| ep.instance_of?(Gumroad::EventParser) }).not_to be_nil end subject(:event_parser) { EventParser.new } describe '#transform(body_or_data)' do subject(:data) { event_parser.transform(body_or_data) } context "when it's a string of body data" do let(:body_or_data) { fixture_content('sample-ping.as.multipart') } it { is_expected.to include raw_body: body_or_data } it { is_expected.to include raw_event_type: :sale } it { is_expected.not_to have_key(:raw_event_id) } it { is_expected.to include payment_processor: :gumroad } it { is_expected.to include({ amount: { paid: 20_00, currency: 'USD' } }) } it { is_expected.to include({ customer: { id: '5312883333252', email: 'customer@example.com', name: 'Foo Bar' } }) } it { is_expected.to include(timestamp: DateTime.parse('2019-07-11T21:05:15Z')) } end context "when it's a hash of that data" do let(:body_or_data) { fixture_data('sample-ping.as.multipart') } it { is_expected.not_to have_key(:raw_body) } it { is_expected.to include raw_event_type: :sale } it { is_expected.not_to have_key(:raw_event_id) } it { is_expected.to include payment_processor: :gumroad } it { is_expected.to include({ amount: { paid: 20_00, currency: 'USD' } }) } it { is_expected.to include({ customer: { id: '5312883333252', email: 'customer@example.com', name: 'Foo Bar' } }) } it { is_expected.to include(timestamp: DateTime.parse('2019-07-11T21:05:15Z')) } end context "when it's a IO object" do let(:body_or_data) { fixture_io('sample-ping.as.multipart') } it { is_expected.to include raw_body: body_or_data.read } it { is_expected.to include raw_event_type: :sale } it { is_expected.not_to have_key(:raw_event_id) } it { is_expected.to include payment_processor: :gumroad } it { is_expected.to include payment_processor: :gumroad } it { is_expected.to include({ amount: { paid: 20_00, currency: 'USD' } }) } it { is_expected.to include({ customer: { id: '5312883333252', email: 'customer@example.com', name: 'Foo Bar' } }) } it { is_expected.to include(timestamp: DateTime.parse('2019-07-11T21:05:15Z')) } end end describe '#extract(body_or_data)' do subject(:data) { event_parser.extract(body_or_data) } let(:gumroad_event_keys) { %i[seller_id product_id product_name permalink product_permalink email price currency quantity order_number sale_id sale_timestamp purchaser_id subscription_id is_recurring_charge recurrence is_gift_receiver_purchase refunded resource_name full_name disputed dispute_won retry_count] } context "when it's a string of body data" do let(:body_or_data) { fixture_content('sample-ping.as.multipart') } it { is_expected.to include(*gumroad_event_keys) } end context "when it's a hash of that data" do let(:body_or_data) { fixture_data('sample-ping.as.multipart') } it { is_expected.to include(*gumroad_event_keys) } end context "when it's a IO object" do let(:body_or_data) { fixture_io('sample-ping.as.multipart') } it { is_expected.to include(*gumroad_event_keys) } end end describe '#parses?(request)' do subject(:parses?) { event_parser.parses?(request) } context 'when the request data is nil' do let(:request) { fake_request(nil) } it { is_expected.to eql false } end context 'when the input is form data that contains data from gumroad' do let(:request) { fake_request('sample-ping.as.multipart') } it { is_expected.to eql true } end end describe '#parse(request)' do subject(:event) { event_parser.parse(request) } context 'when the input event is JSON parsed from a Stripe charge.succeeded event from Stripe API v2014-11-05' do let(:request) { fake_request('sample-ping.as.multipart') } it { is_expected.to include raw_body: request.body } it { is_expected.to include raw_event_type: :sale } it { is_expected.not_to have_key(:raw_event_id) } it { is_expected.to include payment_processor: :gumroad } it { is_expected.to include({ amount: { paid: 20_00, currency: 'USD' } }) } it { is_expected.to include({ customer: { id: '5312883333252', email: 'customer@example.com', name: 'Foo Bar' } }) } it { is_expected.to include(timestamp: DateTime.parse('2019-07-11T21:05:15Z')) } end end end end end
48.582609
320
0.648649
a458fffe9aef87bd61dde2a8c4d429efced66275
1,492
php
PHP
flextype/twig/YamlTwigExtension.php
p810/flextype
8302515181b1cf4f5aa052a73332d96f905fa4cb
[ "MIT" ]
1
2020-02-02T13:39:09.000Z
2020-02-02T13:39:09.000Z
flextype/twig/YamlTwigExtension.php
slexx1234/multiverse-flextype-demo
2b2e0616024747ad0bbd1c62be09fcf1329c9780
[ "MIT" ]
null
null
null
flextype/twig/YamlTwigExtension.php
slexx1234/multiverse-flextype-demo
2b2e0616024747ad0bbd1c62be09fcf1329c9780
[ "MIT" ]
null
null
null
<?php declare(strict_types=1); /** * Flextype (http://flextype.org) * Founded by Sergey Romanenko and maintained by Flextype Community. */ namespace Flextype; use Twig_Extension; use Twig_SimpleFunction; use Twig_SimpleFilter; class YamlTwigExtension extends Twig_Extension { /** * Flextype Dependency Container */ private $flextype; /** * Constructor */ public function __construct($flextype) { $this->flextype = $flextype; } /** * Returns a list of functions to add to the existing list. * * @return array */ public function getFunctions() : array { return [ new Twig_SimpleFunction('yaml_decode', [$this, 'decode']), new Twig_SimpleFunction('yaml_encode', [$this, 'encode']), ]; } /** * Returns a list of filters to add to the existing list. * * @return array */ public function getFilters() : array { return [ new Twig_SimpleFilter('yaml_decode', [$this, 'decode']), new Twig_SimpleFilter('yaml_encode', [$this, 'encode']), ]; } /** * Encode YAML */ public function encode($input) : string { return $this->flextype['parser']->encode($input, 'yaml'); } /** * Decode YAML */ public function decode(string $input, bool $cache = true) { return $this->flextype['parser']->decode($input, 'yaml', $cache); } }
20.438356
73
0.573056
fbca8d9a85c91d5b543dbdbf513fa63ce717f4cb
1,490
swift
Swift
Sources/Collection+Extensions.swift
rchatham/Animate
943f9062538156c0e115409b0d7cb01b18bc9415
[ "MIT" ]
201
2016-10-19T22:12:03.000Z
2022-01-12T03:40:16.000Z
Sources/Collection+Extensions.swift
rchatham/Animate
943f9062538156c0e115409b0d7cb01b18bc9415
[ "MIT" ]
9
2016-12-27T05:19:00.000Z
2018-12-31T02:07:32.000Z
Sources/Collection+Extensions.swift
rchatham/Animate
943f9062538156c0e115409b0d7cb01b18bc9415
[ "MIT" ]
19
2016-10-19T22:12:04.000Z
2019-07-03T14:17:31.000Z
// // Array+Extensions.swift // SwiftyAnimate // // Created by Reid Chatham on 1/12/17. // Copyright © 2017 Reid Chatham. All rights reserved. // import Foundation //extension Collection where Iterator.Element == AnimateOperation { // // var timeInterval: TimeInterval? { // var total: TimeInterval = 0.0 // // for operation in self { // // switch operation { // case .animation(let animation): // if animation.timeInterval > total { total = animation.timeInterval } // // case .wait(timeout: let timeout, _): // guard let timeout = timeout else { return nil } // if timeout > total { total = timeout } // // case .do: break // } // } // // return total // } //} extension Collection where Iterator.Element: Animation, SubSequence.Iterator.Element == Iterator.Element { var timeInterval: TimeInterval { var total = 0.0 for animation in self { let animationTotal = animation.duration + animation.delay if animationTotal > total { total = animationTotal } } return total } var delay: TimeInterval { var delay = first?.delay ?? 0.0 for animation in self.dropFirst() { if animation.delay < delay { delay = animation.delay } } return delay } }
26.140351
106
0.538926
da11a5ad3af013a4ea9c30028792db4e909e2da7
795
php
PHP
expose/api/src/Consumer/Handler/DeleteAssetHandler.php
alchemy-fr/phraseanet-services
01c1d5117e0f8edc0cb3d2a841d66594b2ced10d
[ "MIT" ]
5
2020-01-12T19:58:42.000Z
2020-09-08T11:35:33.000Z
expose/api/src/Consumer/Handler/DeleteAssetHandler.php
alchemy-fr/phraseanet-services
01c1d5117e0f8edc0cb3d2a841d66594b2ced10d
[ "MIT" ]
29
2020-01-07T10:32:36.000Z
2021-12-10T11:04:44.000Z
expose/api/src/Consumer/Handler/DeleteAssetHandler.php
alchemy-fr/phrasea
89d548b02d36b6ff5c3eb413876a1ca9818704b3
[ "MIT" ]
1
2020-04-20T09:46:21.000Z
2020-04-20T09:46:21.000Z
<?php declare(strict_types=1); namespace App\Consumer\Handler; use Alchemy\StorageBundle\Storage\FileStorageManager; use Arthem\Bundle\RabbitBundle\Consumer\Event\AbstractEntityManagerHandler; use Arthem\Bundle\RabbitBundle\Consumer\Event\EventMessage; class DeleteAssetHandler extends AbstractEntityManagerHandler { const EVENT = 'delete_asset'; private FileStorageManager $storageManager; public function __construct(FileStorageManager $storageManager) { $this->storageManager = $storageManager; } public function handle(EventMessage $message): void { $path = $message->getPayload()['path']; $this->storageManager->delete($path); } public static function getHandledEvents(): array { return [self::EVENT]; } }
24.090909
75
0.727044
32f3eaa1e8a3efdf72fe46887f690a62764b5225
230
lua
Lua
sample_files/lua_before.lua
jessesna/difftastic
2c6545fae403f360c8b4d0e64fb3ece2baa8deea
[ "MIT" ]
1
2022-03-30T15:24:10.000Z
2022-03-30T15:24:10.000Z
sample_files/lua_before.lua
jessesna/difftastic
2c6545fae403f360c8b4d0e64fb3ece2baa8deea
[ "MIT" ]
null
null
null
sample_files/lua_before.lua
jessesna/difftastic
2c6545fae403f360c8b4d0e64fb3ece2baa8deea
[ "MIT" ]
null
null
null
function test() print("testing") return 10 end if test() == 20 then print("30") end local list = { "A", "B", "D" } local table = { a = "A", b = "B", d = "D" } for k, v in pairs(table) do print("k: "..k.." v: "..v) end
13.529412
43
0.504348
07b845a8344fc36011dde6281f40d893268fea11
203
cpp
C++
core/Frame.cpp
CasperTheCat/D3D11Wrapper
c374c7ff6d0b92bb939cfadedf749716d05b4173
[ "Apache-2.0" ]
11
2020-08-13T15:23:56.000Z
2022-01-07T06:16:26.000Z
core/Frame.cpp
CasperTheCat/D3D11Wrapper
c374c7ff6d0b92bb939cfadedf749716d05b4173
[ "Apache-2.0" ]
1
2019-10-19T21:05:54.000Z
2019-11-02T18:58:02.000Z
core/Frame.cpp
CasperTheCat/D3D11Wrapper
c374c7ff6d0b92bb939cfadedf749716d05b4173
[ "Apache-2.0" ]
4
2020-05-12T15:05:24.000Z
2022-01-06T08:50:42.000Z
#include "Frame.h" CCall* CFrame::GetCurrentCall() { return &(m_calls[m_calls.size() - 1]); } CFrame::CFrame() { m_calls.emplace_back(static_cast<uint32_t>(m_calls.size())); } CFrame::~CFrame() { }
12.6875
61
0.669951
b88dfa27d0b384c7e4f06b3222fbb1438908f003
2,262
h
C
src/jpath.h
Jamesbarford/jsonchart
d4415f2b20ad65b07c001bb706e130699552b4a4
[ "BSD-2-Clause" ]
1
2022-01-03T17:42:37.000Z
2022-01-03T17:42:37.000Z
src/jpath.h
Jamesbarford/jsonchart
d4415f2b20ad65b07c001bb706e130699552b4a4
[ "BSD-2-Clause" ]
null
null
null
src/jpath.h
Jamesbarford/jsonchart
d4415f2b20ad65b07c001bb706e130699552b4a4
[ "BSD-2-Clause" ]
null
null
null
/** * jsonchart - A commandline SVG Plotting Tool * * Version 1.0 Janurary 2022 * * Copyright (c) 2022, James Barford-Evans * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ #ifndef __JPATH_H__ #define __JPATH_H__ #include "cJSON.h" #define J_LONG 0 #define J_STRING 1 #define J_FLOAT 2 #define JPATH_OK 1 #define JPATH_ERR -1 cJSON *jpathGet(cJSON *json, char *path); cJSON *jpathParse(char *rawjson); void jpathPrintValue(cJSON *json); void jpathPrintType(int type); void jpathPrintJson(cJSON *json); int jpathGetValue(cJSON *json, int valuetype, void *result); int jpathGetValueFromPath(cJSON *json, char *path, int type, void *retval); #define jpathGetString(json, path, retval) \ jpathGetValueFromPath((json), (path), J_STRING, (retval)) #define jpathGetFloat(json, path, retval) \ jpathGetValueFromPath((json), (path), J_FLOAT, (retval)) #define jpathGetLong(json, path, retval) \ jpathGetValueFromPath((json), (path), J_LONG, (retval)) #endif
37.7
78
0.753758
264ab2af60b29276e20b499dc5b7bbf381abaecf
4,162
dart
Dart
lib/src/app/widgets/impl/app.dart
bwnyasse/flutter-breaking-news
ebb231e66d5404c5ece351af37280c40ea8f03a1
[ "MIT" ]
15
2020-04-22T15:57:15.000Z
2021-09-02T02:54:46.000Z
lib/src/app/widgets/impl/app.dart
bwnyasse/flutter-breaking-news
ebb231e66d5404c5ece351af37280c40ea8f03a1
[ "MIT" ]
null
null
null
lib/src/app/widgets/impl/app.dart
bwnyasse/flutter-breaking-news
ebb231e66d5404c5ece351af37280c40ea8f03a1
[ "MIT" ]
7
2020-07-08T12:17:22.000Z
2021-09-02T02:54:55.000Z
/* MIT License Copyright (c) 2020 Boris-Wilfried Nyasse [ https://gitlab.com/bwnyasse | https://github.com/bwnyasse ] 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 'dart:io'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_breaking_news/src/app/blocs/blocs.dart'; import 'package:flutter_breaking_news/src/app/models/models.dart'; import 'package:flutter_breaking_news/src/app/services/services.dart'; import 'package:flutter_breaking_news/src/app/widgets/widgets.dart'; import 'package:flutter_breaking_news/src/utils/utils.dart'; import 'package:provider/provider.dart'; /// /// TODO: Splash Screen /// class SplashScreen extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( body: Center(child: Text('Splash Screen')), ); } } /// /// The App Entry Point /// class MyApp extends StatelessWidget { final initStateToUse; final AuthBloc authBloc; final DataBloc dataBloc; final AuthService authService; final ApiService apiService; MyApp({ this.initStateToUse, this.authBloc, this.dataBloc, this.authService, this.apiService, }); @override Widget build(BuildContext context) { // Overall style SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle( statusBarColor: Colors.transparent, statusBarIconBrightness: Brightness.dark, statusBarBrightness: Brightness.light, // Platform.isAndroid ? Brightness.dark : Brightness.light, systemNavigationBarColor: Colors.white, systemNavigationBarDividerColor: Colors.grey, systemNavigationBarIconBrightness: Brightness.dark, )); return BlocProvider( create: (context) => authBloc ?? AuthBloc( //auth service service: authService??Provider.of<AuthService>( context, listen: false, ), initStateToUse: initStateToUse) ..add(AuthInitEvent()), child: _buildMaterialApp(), ); } Widget _buildMaterialApp() => MaterialApp( title: 'Breaking News', debugShowCheckedModeBanner: false, theme: ThemeData( textTheme: AppTheme.textTheme, //platform: TargetPlatform.android, ), home: _buildContent(), ); Widget _buildContent() => BlocBuilder<AuthBloc, AuthState>( builder: (context, state) { if (state is AuthFailedState) { return AuthScreen(); } if (state is AuthSuccessState) { return BlocProvider( create: (context) => dataBloc??DataBloc( service: apiService??Provider.of<ApiService>( context, listen: false, ), ), child: Provider<CurrentUser>( create: (_) => state.user, child: HomeScreen()), ); } return SplashScreen(); }, ); }
32.515625
82
0.668188
a14f5ce55a9b877c7261b1672090da0375d96715
304
ts
TypeScript
src/app/app-routing.module.ts
omatheusribeiro/ninjaflex-front
ba590acc7a80790897658c2e9a32bf72b46b0181
[ "BSD-3-Clause" ]
null
null
null
src/app/app-routing.module.ts
omatheusribeiro/ninjaflex-front
ba590acc7a80790897658c2e9a32bf72b46b0181
[ "BSD-3-Clause" ]
null
null
null
src/app/app-routing.module.ts
omatheusribeiro/ninjaflex-front
ba590acc7a80790897658c2e9a32bf72b46b0181
[ "BSD-3-Clause" ]
null
null
null
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import {HomeRoutingModule} from "./modules/home/home-routing.module" const routes: Routes = []; @NgModule({ imports: [HomeRoutingModule], exports: [RouterModule] }) export class AppRoutingModule { }
23.384615
68
0.723684
01b0cc4f24c377a148f97f11961d6d4250891a9d
1,530
html
HTML
projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage/sample-po-decimal-hourly-wage.component.html
tolentinos/po-angular
714096bfce1790acde27f7e852852db5cca387d9
[ "MIT" ]
329
2020-03-26T11:39:20.000Z
2022-03-31T19:56:06.000Z
projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage/sample-po-decimal-hourly-wage.component.html
tolentinos/po-angular
714096bfce1790acde27f7e852852db5cca387d9
[ "MIT" ]
353
2020-03-18T15:36:01.000Z
2022-03-31T21:06:34.000Z
projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage/sample-po-decimal-hourly-wage.component.html
tolentinos/po-angular
714096bfce1790acde27f7e852852db5cca387d9
[ "MIT" ]
160
2020-03-18T15:44:54.000Z
2022-03-30T18:02:44.000Z
<form #f="ngForm"> <div class="po-font-title">Calculate hourly wage</div> <hr /> <div class="po-row"> <po-number class="po-md-6" name="weekHours" [(ngModel)]="weekHours" p-label="Week Hours" p-required> </po-number> <po-number class="po-md-6" name="workingDaysPerWeek" [(ngModel)]="workingDaysPerWeek" p-label="Working days per week" p-required > </po-number> </div> <div class="po-row"> <po-number class="po-md-6" name="quantityDaysPerMonth" [(ngModel)]="quantityDaysPerMonth" p-label="Quantity days per month" p-required > </po-number> <po-decimal class="po-md-6" name="salary" [(ngModel)]="salary" p-decimals-length="2" p-icon="po-icon-finance" p-label="Salary" p-required p-thousand-maxlength="13" (p-change)="calculate()" > </po-decimal> </div> <div class="po-row"> <po-decimal class="po-md-6" name="hourlyWage" [(ngModel)]="hourlyWage" p-decimals-length="2" p-disabled p-icon="po-icon-finance-secure" p-label="Hourly Wage" p-required p-thousand-maxlength="13" > </po-decimal> </div> <div class="po-row"> <po-button class="po-md-3" p-label="Clean" (p-click)="f.reset()"> </po-button> <po-button class="po-md-3" p-label="Recalculate" p-type="primary" [p-disabled]="!hourlyWage" (p-click)="calculate()" > </po-button> </div> </form>
21.549296
117
0.556863
7ef04a6fb414affce23c9481c43bbc517dace917
362
rb
Ruby
app/controllers/api_keys_controller.rb
damwhit/harvest_helper
9b67e23a226d5a81dd143e3852348f9ea5cf6eb0
[ "MIT" ]
71
2016-05-03T13:22:11.000Z
2022-03-18T09:09:44.000Z
app/controllers/api_keys_controller.rb
damwhit/harvest_helper
9b67e23a226d5a81dd143e3852348f9ea5cf6eb0
[ "MIT" ]
28
2016-05-22T04:01:58.000Z
2022-02-26T01:36:19.000Z
app/controllers/api_keys_controller.rb
damwhit/harvest_helper
9b67e23a226d5a81dd143e3852348f9ea5cf6eb0
[ "MIT" ]
20
2017-01-18T07:23:23.000Z
2022-02-27T18:10:32.000Z
class ApiKeysController < ApplicationController before_action :authenticate_user! def show end def create api_key = ApiKey.create if current_user.api_keys.empty? current_user.api_keys << api_key render :show else flash.now[:alert] = "Sorry #{current_user.name}, only one key per dev." render :show end end end
20.111111
77
0.685083
25db09def018f8cc7a9b162c4f7bdd687baef986
1,617
cs
C#
Flatliner.Phone/Controls/Effects/Particle.cs
FlatlinerDOA/FlatBeats
c1a93bfbc05cb79b0e74529e460c0587162f5eff
[ "MIT" ]
1
2022-03-27T14:55:08.000Z
2022-03-27T14:55:08.000Z
Flatliner.Phone/Controls/Effects/Particle.cs
FlatlinerDOA/FlatBeats
c1a93bfbc05cb79b0e74529e460c0587162f5eff
[ "MIT" ]
null
null
null
Flatliner.Phone/Controls/Effects/Particle.cs
FlatlinerDOA/FlatBeats
c1a93bfbc05cb79b0e74529e460c0587162f5eff
[ "MIT" ]
null
null
null
namespace Flatliner.Phone.Controls.Effects { using System; using System.Windows; using System.Windows.Controls; public class Particle : Canvas { public const int TerminalVelocity = 800; /// <summary> /// Initializes a new instance of the Particle class. /// </summary> public Particle() { this.IsAlive = true; } public virtual void Move(double currentFps) { if (this.YVelocity < TerminalVelocity) { this.YVelocity += this.Gravity / currentFps; } this.Y += this.YVelocity / currentFps; this.X += this.XVelocity / currentFps; } public double YVelocity { get; set; } public double XVelocity { get; set; } public double X { get { return (double)(GetValue(Canvas.LeftProperty)); } set { SetValue(Canvas.LeftProperty, value); } } public double Y { get { return (double)(GetValue(Canvas.TopProperty)); } set { SetValue(Canvas.TopProperty, value); } } /// <summary> /// Gets the number of pixels per second squared that a particle accelerates. /// </summary> public double Gravity { get; set; } public bool IsAlive { get; set; } } }
23.1
86
0.460111
7af4afe628b9623802c85a19b16f23a6834b2528
31
cshtml
C#
PowerBankAdmin/Pages/Admin/Index.cshtml
yanchillosthegreat/PowerNowAdmin
fd1385b721e746f68287dd35485a8d525b15ef4d
[ "MIT" ]
null
null
null
PowerBankAdmin/Pages/Admin/Index.cshtml
yanchillosthegreat/PowerNowAdmin
fd1385b721e746f68287dd35485a8d525b15ef4d
[ "MIT" ]
2
2019-11-20T21:21:14.000Z
2020-08-31T23:00:36.000Z
PowerBankAdmin/Pages/Admin/Index.cshtml
yanchillosthegreat/PowerNowAdmin
fd1385b721e746f68287dd35485a8d525b15ef4d
[ "MIT" ]
null
null
null
@page @model Admin.IndexModel
10.333333
23
0.774194
8e5dacdf0a7f5997b40a76b595d8a029b06ea92f
933
h
C
ZIKRouter.framework/Headers/ZIKServiceRoutable.h
pokk/ZIKViper
bdfd181f549941aeddcd242ecf0f3170e7a31671
[ "MIT" ]
null
null
null
ZIKRouter.framework/Headers/ZIKServiceRoutable.h
pokk/ZIKViper
bdfd181f549941aeddcd242ecf0f3170e7a31671
[ "MIT" ]
null
null
null
ZIKRouter.framework/Headers/ZIKServiceRoutable.h
pokk/ZIKViper
bdfd181f549941aeddcd242ecf0f3170e7a31671
[ "MIT" ]
null
null
null
// // ZIKServiceRoutable.h // ZIKRouter // // Created by zuik on 2017/8/21. // Copyright © 2017 zuik. All rights reserved. // // This source code is licensed under the MIT-style license found in the // LICENSE file in the root directory of this source tree. // #import <Foundation/Foundation.h> /** Protocols inheriting from ZIKServiceRoutable can be used to fetch service router with ZIKServiceRouterToService(). @discussion ZIKServiceRoutable is for: 1. Let module declare routable protocol in header as the module's provided interface 1. Checking whether declared protocol is correctly supported in it's service router It's safe to use objc protocols inheriting from ZIKServiceRoutable with ZIKServiceRouterToService() and won't get nil. ZIKServiceRouter will validate all ZIKServiceRoutable protocols and registered protocols when app launchs and ZIKROUTER_CHECK is enbled. */ @protocol ZIKServiceRoutable @end
35.884615
256
0.785638
f43f6d710172b340fdd9f6cab4b29d2f170ad0d9
1,323
ts
TypeScript
src/network/packet/inbound/EntryListPacket.ts
samjmckenzie/acc-ts-broadcaster
8a1d4d1a8d3f6e2e18a9ea1a492e22917c94c0f7
[ "MIT" ]
null
null
null
src/network/packet/inbound/EntryListPacket.ts
samjmckenzie/acc-ts-broadcaster
8a1d4d1a8d3f6e2e18a9ea1a492e22917c94c0f7
[ "MIT" ]
null
null
null
src/network/packet/inbound/EntryListPacket.ts
samjmckenzie/acc-ts-broadcaster
8a1d4d1a8d3f6e2e18a9ea1a492e22917c94c0f7
[ "MIT" ]
null
null
null
import { IInboundPacketData, InboundPacket } from './InboundPacket'; import { InboundMessageType } from '../../InboundMessageType'; import { BufferReader } from '../../../util/buffer'; export interface IEntryListPacketData extends IInboundPacketData { messageType: InboundMessageType.EntryList; connectionId: number; carEntryCount: number; carEntryIndexes: number[]; driverEntryCount: number; driverIndexes; } export class EntryListPacket extends InboundPacket<IEntryListPacketData> { getData(bufferReader: BufferReader) { const messageType = bufferReader.readUInt8(); const connectionId = bufferReader.readInt32LE(); const carEntryCount = bufferReader.readUInt16LE(); const carEntryIndexes: number[] = []; for(let i = 0; i < carEntryCount; i++) { carEntryIndexes.push(bufferReader.readUInt16LE()); } const driverEntryCount = bufferReader.readUInt16LE(); const driverIndexes: number[] = []; for(let i = 0; i < driverEntryCount; i++) { driverIndexes.push(bufferReader.readUInt16LE()); } return { messageType, connectionId, carEntryCount, carEntryIndexes, driverEntryCount, driverIndexes, }; } }
32.268293
74
0.644747
45c9650f409105649c86cee60083b7e2119451b2
18,460
py
Python
OpenPNM/Algorithms/__OrdinaryPercolation__.py
Eng-RSMY/OpenPNM
a0a057d0f6346c515792459b1da97f05bab383c1
[ "MIT" ]
1
2021-03-30T21:38:26.000Z
2021-03-30T21:38:26.000Z
OpenPNM/Algorithms/__OrdinaryPercolation__.py
Eng-RSMY/OpenPNM
a0a057d0f6346c515792459b1da97f05bab383c1
[ "MIT" ]
null
null
null
OpenPNM/Algorithms/__OrdinaryPercolation__.py
Eng-RSMY/OpenPNM
a0a057d0f6346c515792459b1da97f05bab383c1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ =============================================================================== module __OrdinaryPercolation__: Ordinary Percolation Algorithm =============================================================================== """ import scipy as sp import numpy as np import matplotlib.pyplot as plt from OpenPNM.Algorithms import GenericAlgorithm from OpenPNM.Base import logging logger = logging.getLogger(__name__) class OrdinaryPercolation(GenericAlgorithm): r""" Simulates a capillary drainage experiment by applying a list of increasing capillary pressures. Parameters ---------- network : OpenPNM Network Object The network upon which the simulation will be run name : string, optional The name to assign to the Algorithm Object """ def __init__(self, network, name=None, **kwargs): super().__init__(network=network, name=name) if len(kwargs.keys()) > 0: self.setup(**kwargs) def setup(self, invading_phase, defending_phase=None, t_entry='throat.capillary_pressure', **kwargs): r""" invading_phase : OpenPNM Phase Object The invading phase to be injected into the Network p_inlets : array_like The injection points from which the invading phase accesses the Network. If no inlets are specified then the algorithm assumes no access limitations apply to the invading phase, which is equivalent to performaing a standard bond ordinary percolation. Notes ----- The 'inlet' pores are initially filled with invading fluid to start the simulation. To avoid the capillary pressure curve showing a non-zero starting saturation at low pressures, it is necessary to apply boundary pores that have zero-volume, and set these as the inlets. """ self['throat.entry_pressure'] = invading_phase[t_entry] self['pore.inv_Pc'] = sp.inf self['throat.inv_Pc'] = sp.inf self['pore.inv_sat'] = sp.inf self['throat.inv_sat'] = sp.inf self._inv_phase = invading_phase self._def_phase = defending_phase self._trapping = False def set_inlets(self, pores): r""" Specify inlet locations Parameters ---------- pores : array_like The injection points from which the invading phase accesses the Network. If no inlets are specified then the algorithm assumes no access limitations apply to the invading phase, which is equivalent to performaing a standard bond ordinary percolation. Notes ----- The 'inlet' pores are initially filled with invading fluid to start the simulation. To avoid the capillary pressure curve showing a non-zero starting saturation at low pressures, it is necessary to apply boundary pores that have zero-volume, and set these as the inlets. """ Ps = sp.array(pores) if sp.size(Ps) > 0: if Ps.dtype == bool: Ps = self._net.Ps[Ps] self['pore.inlets'] = False self['pore.inlets'][Ps] = True def set_outlets(self, pores, defending_phase=None): r""" Specify outlet locations Parameters ---------- pores : array_like The pores through which the defending phase exits the Network. defending_phase : OpenPNM Phase Object The Phase object defining the defending phase. The defending Phase may be specified during the ``setup`` step, or through this method. """ if defending_phase is not None: self._def_phase = defending_phase self._trapping = True Ps = sp.array(pores) if sp.size(Ps) > 0: if Ps.dtype == bool: Ps = self._net.Ps[Ps] self['pore.outlets'] = False self['pore.outlets'][Ps] = True def run(self, npts=25, inv_points=None, access_limited=True, **kwargs): r""" Parameters ---------- npts : int (default = 25) The number of pressure points to apply. The list of pressures is logarithmically spaced between the lowest and highest throat entry pressures in the network. inv_points : array_like, optional A list of specific pressure point(s) to apply. """ if 'inlets' in kwargs.keys(): print('Inlets recieved, passing to set_inlets') self.set_inlets(pores=kwargs['inlets']) if 'outlets' in kwargs.keys(): print('Outlets recieved, passing to set_outlets') self.set_outlets(pores=kwargs['outlets']) self._AL = access_limited if inv_points is None: logger.info('Generating list of invasion pressures') min_p = sp.amin(self['throat.entry_pressure']) * 0.98 # nudge down max_p = sp.amax(self['throat.entry_pressure']) * 1.02 # bump up inv_points = sp.logspace(sp.log10(min_p), sp.log10(max_p), npts) self._npts = sp.size(inv_points) # Execute calculation self._do_outer_iteration_stage(inv_points) def _do_outer_iteration_stage(self, inv_points): # Generate curve from points for inv_val in inv_points: # Apply one applied pressure and determine invaded pores logger.info('Applying capillary pressure: ' + str(inv_val)) self._do_one_inner_iteration(inv_val) # Find invasion sequence values (to correspond with IP algorithm) self['pore.inv_seq'] = sp.searchsorted(sp.unique(self['pore.inv_Pc']), self['pore.inv_Pc']) self['throat.inv_seq'] = sp.searchsorted(sp.unique(self['throat.inv_Pc']), self['throat.inv_Pc']) if self._trapping: self.evaluate_trapping(self['pore.outlets']) def _do_one_inner_iteration(self, inv_val): r""" Determine which throats are invaded at a given applied capillary pressure. """ # Generate a tlist containing boolean values for throat state Tinvaded = self['throat.entry_pressure'] <= inv_val # Find all pores that can be invaded at specified pressure [pclusters, tclusters] = self._net.find_clusters2(mask=Tinvaded, t_labels=True) if self._AL: # Identify clusters connected to invasion sites inv_clusters = sp.unique(pclusters[self['pore.inlets']]) inv_clusters = inv_clusters[inv_clusters >= 0] else: # All clusters are invasion sites inv_clusters = pclusters # Find pores on the invading clusters pmask = np.in1d(pclusters, inv_clusters) # Store current applied pressure in newly invaded pores pinds = (self['pore.inv_Pc'] == sp.inf) * (pmask) self['pore.inv_Pc'][pinds] = inv_val # Find throats on the invading clusters tmask = np.in1d(tclusters, inv_clusters) # Store current applied pressure in newly invaded throats tinds = (self['throat.inv_Pc'] == sp.inf) * (tmask) self['throat.inv_Pc'][tinds] = inv_val # Store total network saturation tsat = sp.sum(self._net['throat.volume'][self['throat.inv_Pc'] <= inv_val]) psat = sp.sum(self._net['pore.volume'][self['pore.inv_Pc'] <= inv_val]) total = sp.sum(self._net['throat.volume']) + sp.sum(self._net['pore.volume']) self['pore.inv_sat'][pinds] = (tsat + psat)/total self['throat.inv_sat'][tinds] = (tsat + psat)/total def evaluate_trapping(self, p_outlets): r""" Finds trapped pores and throats after a full ordinary percolation simulation has been run. Parameters ---------- p_outlets : array_like A list of pores that define the wetting phase outlets. Disconnection from these outlets results in trapping. Returns ------- It creates arrays called ``pore.trapped`` and ``throat.trapped``, but also adjusts the ``pore.inv_Pc`` and ``throat.inv_Pc`` arrays to set trapped locations to have infinite invasion pressure. """ self['pore.trapped'] = sp.zeros([self.Np, ], dtype=float) self['throat.trapped'] = sp.zeros([self.Nt, ], dtype=float) try: # Get points used in OP inv_points = sp.unique(self['pore.inv_Pc']) except: raise Exception('Orindary percolation has not been run!') tind = self._net.throats() conns = self._net.find_connected_pores(tind) for inv_val in inv_points[0:-1]: # Find clusters of defender pores Pinvaded = self['pore.inv_Pc'] <= inv_val Cstate = sp.sum(Pinvaded[conns], axis=1) Tinvaded = self['throat.inv_Pc'] <= inv_val # 0 = all open, 1=1 pore filled, # 2=2 pores filled 3=2 pores + 1 throat filled Cstate = Cstate + Tinvaded clusters = self._net.find_clusters(Cstate == 0) # Clean up clusters (invaded = -1, defended >=0) clusters = clusters * (~Pinvaded) - (Pinvaded) # Identify clusters connected to outlet sites out_clusters = sp.unique(clusters[p_outlets]) trapped_pores = ~sp.in1d(clusters, out_clusters) trapped_pores[Pinvaded] = False if sum(trapped_pores) > 0: inds = (self['pore.trapped'] == 0) * trapped_pores self['pore.trapped'][inds] = inv_val trapped_throats = self._net.find_neighbor_throats(trapped_pores) trapped_throat_array = np.asarray([False] * len(Cstate)) trapped_throat_array[trapped_throats] = True inds = (self['throat.trapped'] == 0) * trapped_throat_array self['throat.trapped'][inds] = inv_val inds = (self['throat.trapped'] == 0) * (Cstate == 2) self['throat.trapped'][inds] = inv_val self['pore.trapped'][self['pore.trapped'] > 0] = sp.inf self['throat.trapped'][self['throat.trapped'] > 0] = sp.inf self['pore.inv_Pc'][self['pore.trapped'] > 0] = sp.inf self['throat.inv_Pc'][self['throat.trapped'] > 0] = sp.inf def evaluate_late_pore_filling(self, Pc, Swp_init=0.75, eta=3.0, wetting_phase=False): r""" Compute the volume fraction of the phase in each pore given an initial wetting phase fraction (Swp_init) and a growth exponent (eta) returns the fraction of the pore volume occupied by wetting or non-wetting phase. Assumes Non-wetting phase displaces wetting phase """ Swp = Swp_init*(self['pore.inv_Pc']/Pc)**eta Swp[self['pore.inv_Pc'] > Pc] = 1.0 Snwp = 1-Swp if wetting_phase: return Swp else: return Snwp def return_results(self, Pc=0, seq=None, sat=None, occupancy='occupancy'): r""" Updates the occupancy status of invading and defending phases as determined by the OP algorithm """ p_inv = self['pore.inv_Pc'] self._inv_phase['pore.inv_Pc'] = p_inv t_inv = self['throat.inv_Pc'] self._inv_phase['throat.inv_Pc'] = t_inv # Apply invasion sequence values (to correspond with IP algorithm) p_seq = self['pore.inv_seq'] self._inv_phase['pore.inv_seq'] = p_seq t_seq = self['throat.inv_seq'] self._inv_phase['throat.inv_seq'] = t_seq # Apply saturation to pores and throats self._inv_phase['pore.inv_sat'] = self['pore.inv_sat'] self._inv_phase['throat.inv_sat'] = self['throat.inv_sat'] if sat is not None: p_inv = self['pore.inv_sat'] <= sat t_inv = self['throat.inv_sat'] <= sat # Apply occupancy to invading phase temp = sp.array(p_inv, dtype=sp.float_, ndmin=1) self._inv_phase['pore.' + occupancy] = temp temp = sp.array(t_inv, dtype=sp.float_, ndmin=1) self._inv_phase['throat.' + occupancy] = temp # Apply occupancy to defending phase if self._def_phase is not None: temp = sp.array(~p_inv, dtype=sp.float_, ndmin=1) self._def_phase['pore.' + occupancy] = temp temp = sp.array(~t_inv, dtype=sp.float_, ndmin=1) self._def_phase['throat.' + occupancy] = temp elif seq is not None: p_seq = self['pore.inv_seq'] <= seq t_seq = self['throat.inv_seq'] <= seq # Apply occupancy to invading phase temp = sp.array(p_seq, dtype=sp.float_, ndmin=1) self._inv_phase['pore.' + occupancy] = temp temp = sp.array(t_seq, dtype=sp.float_, ndmin=1) self._inv_phase['throat.' + occupancy] = temp # Apply occupancy to defending phase if self._def_phase is not None: temp = sp.array(~p_seq, dtype=sp.float_, ndmin=1) self._def_phase['pore.' + occupancy] = temp temp = sp.array(~t_seq, dtype=sp.float_, ndmin=1) self._def_phase['throat.' + occupancy] = temp else: p_inv = self['pore.inv_Pc'] <= Pc t_inv = self['throat.inv_Pc'] <= Pc # Apply occupancy to invading phase temp = sp.array(p_inv, dtype=sp.float_, ndmin=1) self._inv_phase['pore.' + occupancy] = temp temp = sp.array(t_inv, dtype=sp.float_, ndmin=1) self._inv_phase['throat.' + occupancy] = temp # Apply occupancy to defending phase if self._def_phase is not None: temp = sp.array(~p_inv, dtype=sp.float_, ndmin=1) self._def_phase['pore.' + occupancy] = temp temp = sp.array(~t_inv, dtype=sp.float_, ndmin=1) self._def_phase['throat.' + occupancy] = temp def plot_drainage_curve(self, pore_volume='volume', throat_volume='volume', pore_label='all', throat_label='all'): r""" Plot drainage capillary pressure curve """ try: PcPoints = sp.unique(self['pore.inv_Pc']) except: raise Exception('Cannot print drainage curve: ordinary percolation \ simulation has not been run') pores = self._net.pores(labels=pore_label) throats = self._net.throats(labels=throat_label) Snwp_t = sp.zeros_like(PcPoints) Snwp_p = sp.zeros_like(PcPoints) Snwp_all = sp.zeros_like(PcPoints) Pvol = self._net['pore.' + pore_volume] Tvol = self._net['throat.' + throat_volume] Pvol_tot = sp.sum(Pvol) Tvol_tot = sp.sum(Tvol) vol_tot = Pvol_tot + Tvol_tot for i in range(0, sp.size(PcPoints)): Pc = PcPoints[i] Snwp_p[i] = sp.sum(Pvol[self['pore.inv_Pc'][pores] <= Pc]) / vol_tot Snwp_t[i] = sp.sum(Tvol[self['throat.inv_Pc'][throats] <= Pc]) / vol_tot Snwp_all[i] = (sp.sum(Tvol[self['throat.inv_Pc'][throats] <= Pc]) + sp.sum(Pvol[self['pore.inv_Pc'][pores] <= Pc])) / vol_tot if sp.mean(self._inv_phase['pore.contact_angle']) < 90: Snwp_p = 1 - Snwp_p Snwp_t = 1 - Snwp_t Snwp_all = 1 - Snwp_all PcPoints *= -1 fig = plt.figure() plt.plot(PcPoints, Snwp_all, 'g.-') plt.plot(PcPoints, Snwp_p, 'r.-') plt.plot(PcPoints, Snwp_t, 'b.-') r""" TODO: Add legend to distinguish the pore and throat curves """ return fig def plot_primary_drainage_curve(self, pore_volume='volume', throat_volume='volume', pore_label='all', throat_label='all'): r""" Plot the primary drainage curve as the capillary pressure on ordinate and total saturation of the wetting phase on the abscissa. This is the preffered style in the petroleum engineering """ try: PcPoints = sp.unique(self['pore.inv_Pc']) except: raise Exception('Cannot print drainage curve: ordinary percolation \ simulation has not been run') pores = self._net.pores(labels=pore_label) throats = self._net.throats(labels=throat_label) p_inv = self['pore.inv_Pc'] t_inv = self['throat.inv_Pc'] Snwp_t = sp.zeros_like(PcPoints) Snwp_p = sp.zeros_like(PcPoints) Snwp_all = sp.zeros_like(PcPoints) Swp_all = sp.zeros_like(PcPoints) Pvol = self._net['pore.' + pore_volume] Tvol = self._net['throat.' + throat_volume] Pvol_tot = sp.sum(Pvol) Tvol_tot = sp.sum(Tvol) for i in range(0, sp.size(PcPoints)): Pc = PcPoints[i] Snwp_p[i] = sp.sum(Pvol[p_inv[pores] <= Pc]) / Pvol_tot Snwp_t[i] = sp.sum(Tvol[t_inv[throats] <= Pc]) / Tvol_tot Snwp_all[i] = (sp.sum(Tvol[t_inv[throats] <= Pc]) + sp.sum(Pvol[p_inv[pores] <= Pc])) / \ (Tvol_tot + Pvol_tot) Swp_all[i] = 1 - Snwp_all[i] fig = plt.figure() plt.plot(Swp_all, PcPoints, 'k.-') plt.xlim(xmin=0) plt.xlabel('Saturation of wetting phase') plt.ylabel('Capillary Pressure [Pa]') plt.title('Primay Drainage Curve') plt.grid(True) return fig
43.847981
86
0.563434
e719e98bf1bd7084fe27425195c3b79826be80fe
581
php
PHP
wordpress/wp-content/plugins/one-page-express-companion/one-page-express-companion.php
BenjaminParp/test-wp
7e1b5f3af3923afb2e2545d877a8540f7a2cf53a
[ "MIT" ]
null
null
null
wordpress/wp-content/plugins/one-page-express-companion/one-page-express-companion.php
BenjaminParp/test-wp
7e1b5f3af3923afb2e2545d877a8540f7a2cf53a
[ "MIT" ]
null
null
null
wordpress/wp-content/plugins/one-page-express-companion/one-page-express-companion.php
BenjaminParp/test-wp
7e1b5f3af3923afb2e2545d877a8540f7a2cf53a
[ "MIT" ]
null
null
null
<?php /* * Plugin Name: One Page Express Companion * Author: Horea Radu * Description: The One Page Express Companion plugin adds drag and drop page builder functionality to the One Page Express theme. * * License: GPLv3 or later * License URI: https://www.gnu.org/licenses/gpl-3.0.en.html * Version: 1.6.13 */ // Makse sure that the companion is not already active from another theme if (!defined("OPE_COMPANION_AUTOLOAD")) { require_once __DIR__ . "/vendor/autoload.php"; define("OPE_COMPANION_AUTOLOAD", true); } OnePageExpress\Companion::load(__FILE__);
30.578947
132
0.728055
a430febbfdefb3637327e19a276ddc77d4449f22
3,639
php
PHP
app/Console/Kernel.php
ninety99nine/stanbic-cipa-app
f965f210666631849f08bec656633be935bfed72
[ "MIT" ]
null
null
null
app/Console/Kernel.php
ninety99nine/stanbic-cipa-app
f965f210666631849f08bec656633be935bfed72
[ "MIT" ]
null
null
null
app/Console/Kernel.php
ninety99nine/stanbic-cipa-app
f965f210666631849f08bec656633be935bfed72
[ "MIT" ]
null
null
null
<?php namespace App\Console; use Illuminate\Support\Facades\Log; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ // ]; /** * Define the application's command schedule. * * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void */ protected function schedule(Schedule $schedule) { // $schedule->command('inspire')->hourly(); try { $schedule->call(function () { /** Get the companies from the oldest to newest updated * * The oldest() method will allow us to order by the following rules: * * 1) Start with the companies that have the "cipa_updated_at" set to NULL * 2) Continue to the companies that have the "cipa_updated_at" from old to new * * This order ensures that we update in the following manner: * * 1) Update the companies that have not been imported yet (cipa_updated_at should be NULL) * 2) Update the companies that were last updated a while ago * 3) Finish by updating companies that were updated recently * * We don't need too much info about the companies, we just want the Eloquent Model instance * and the company UIN. Therefore to avoid "Running Out Of Memory" because of pulling too * much data we will only request the "uin" field since this is the only field required * to search the matching record on CIPA side ($this->uin). The Eloquest instance can * then be used to update the company e.g $this->update([ ... ]); */ $companies_to_update = \App\Models\Company::without('addresses')->whereNotNull('uin')->oldest('cipa_updated_at')->limit(1000); /** * We need the id, uin and name to later search for any duplicates so * that we can sync any company records that should match. */ $companies_to_sync = \App\Models\Company::without('addresses')->select(['id', 'uin', 'name', 'multiple_uins', 'company_status', 'incorporation_date', 're_registration_date'])->get(); // Only query 100 companies at a time $companies_to_update->chunk(100, function ($companies) use ($companies_to_sync){ // Foreach company we retrieved from the query foreach ($companies as $company) { // Log::info('Company UIN: '.$company->uin); // Set the companies to sync $company->companies_to_sync = $companies_to_sync; // Update the company $company->requestCipaUpdate(); } }); })->name('update_company_record')->everyMinute()->between('7:00', '17:00')->withoutOverlapping(); } catch (\Exception $e) { // Log::error('ERROR Updating company: '.$e->getMessage()); } } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }
36.757576
198
0.555922
8ecea09f6c1a0f562fdc43220f758edb676992ea
1,755
js
JavaScript
src/js/features/basket/service.js
dsandmark/angular_using_browserify
b688c9579fccba21fe307d7b2eb23ed3cf6f9d83
[ "MIT" ]
null
null
null
src/js/features/basket/service.js
dsandmark/angular_using_browserify
b688c9579fccba21fe307d7b2eb23ed3cf6f9d83
[ "MIT" ]
null
null
null
src/js/features/basket/service.js
dsandmark/angular_using_browserify
b688c9579fccba21fe307d7b2eb23ed3cf6f9d83
[ "MIT" ]
null
null
null
'use strict'; var _ = require('lodash'), servicesModule = require('../service_index.js'); servicesModule .service('basketService', BasketService); /* * Stores products user has added to basket. */ function BasketService() { var products, service; service = { addProduct: addProduct, getProducts: getProducts, getTotalPrice: getTotalPrice }; initialise(); return service; /** * Adds a product to basket. * @param {Object} newProduct Product to add * @example Adds a product to basket * addProduct({ * id: 1, * imgName: 'cufflinks.jpg', * name: 'Personalised cufflinks', * price: 45 * }); * @returns {void} */ function addProduct(newProduct) { var basketAlreadyContainsProduct, existingProduct; existingProduct = _.find(products, function(product) { return product.id === newProduct.id; }); basketAlreadyContainsProduct = existingProduct; if (basketAlreadyContainsProduct) { existingProduct.quantity += 1; } else { newProduct.quantity = 1; products.push(newProduct); } } /** * Returns all products in basket. * @returns {Array} List of products in basket */ function getProducts() { return products; } /** * Returns price of all products in basket. Returns 0 if basket is empty. * @returns {Number} Total price of all products in basket */ function getTotalPrice() { if (_.isEmpty(products)) { return 0; } return _.sum(products, function(product) { return product.price * product.quantity; }); } /** * Called on creation of service. Sets initial values. * @returns {void} */ function initialise() { products = []; } }
20.172414
75
0.62963
3f0b44c754ad9efaa43297802974064375b3d533
115
rb
Ruby
lib/config_bitset.rb
mnishiguchi/config_bitset
59ff45a17c2503919eba3a99eca80d9361531f60
[ "MIT" ]
2
2018-02-23T04:11:40.000Z
2018-11-09T11:41:06.000Z
lib/config_bitset.rb
mnishiguchi/config_bitset
59ff45a17c2503919eba3a99eca80d9361531f60
[ "MIT" ]
null
null
null
lib/config_bitset.rb
mnishiguchi/config_bitset
59ff45a17c2503919eba3a99eca80d9361531f60
[ "MIT" ]
null
null
null
require "active_support/all" require "config_bitset/version" require "config_bitset/base" module ConfigBitset end
16.428571
31
0.834783
a3a26b0b0c6520fbd8c0fbd5e3506b9e82bbf98f
576
ts
TypeScript
src/sport_cards_reestr/sport_cards_reestr.controller.ts
dekol123/sergey_back
1a172c304257d472600e3d3042d05687b6f9b5ea
[ "MIT" ]
null
null
null
src/sport_cards_reestr/sport_cards_reestr.controller.ts
dekol123/sergey_back
1a172c304257d472600e3d3042d05687b6f9b5ea
[ "MIT" ]
null
null
null
src/sport_cards_reestr/sport_cards_reestr.controller.ts
dekol123/sergey_back
1a172c304257d472600e3d3042d05687b6f9b5ea
[ "MIT" ]
null
null
null
import { Controller, Get, Post, Body, Patch, Param, Delete } from '@nestjs/common'; import { ApiTags } from '@nestjs/swagger'; import { Crud, CrudController } from '@nestjsx/crud'; import { RegisterOfCards } from './entities/register-of-cards.entity'; import { RegisterOfCardsService } from './sport_cards_reestr.service'; @Crud({ model: { type: RegisterOfCards } }) @ApiTags('Reestr-of sportmens') @Controller('sport_cards_reestr') export class SportCardsReestr implements CrudController<RegisterOfCards>{ constructor(public service: RegisterOfCardsService) {} }
32
83
0.748264
794e95e1db745c79fb39456547a8af8e0eef16d2
1,510
php
PHP
application/models/sucursales_model.php
medixdelnorte/saludex
4080c55be5af5c703a31639c714698071e31c7a8
[ "MIT" ]
null
null
null
application/models/sucursales_model.php
medixdelnorte/saludex
4080c55be5af5c703a31639c714698071e31c7a8
[ "MIT" ]
null
null
null
application/models/sucursales_model.php
medixdelnorte/saludex
4080c55be5af5c703a31639c714698071e31c7a8
[ "MIT" ]
null
null
null
<?php defined('BASEPATH') OR exit('No se puede acceder al archivo directamente.'); class Sucursales_model extends CI_Model { function __construct() { parent::__construct(); } function getInfoSucursal($sucursalID) { $this->db->select("suc.sucursal_id,suc.sucursal_nombre,emp.empresa_razon,suc.sucursal_direccion,suc.sucursal_num_externo, suc.sucursal_num_interno,suc.sucursal_cp,suc.sucursal_colonia,suc.sucursal_ciudad,suc.sucursal_estado,suc.empresa_id"); $this->db->join("t_empresa emp", "emp.empresa_id = suc.empresa_id"); $paramWhere = array( "suc.sucursal_id" => $sucursalID ); $sucursales = $this->db->get_where("t_sucursal suc",$paramWhere); if ($sucursales->num_rows() > 0) { return $sucursales->row(); }else{ return false; } } function getSucursales() { $this->db->select("suc.sucursal_id,suc.sucursal_nombre,emp.empresa_razon"); $this->db->join("t_empresa emp", "emp.empresa_id = suc.empresa_id"); $sucursales = $this->db->get("t_sucursal suc"); if ($sucursales->num_rows() > 0) { return $sucursales->result(); }else{ return false; } } function getListSucursales() { $this->db->select("sucursal_id,sucursal_nombre"); $sucursales = $this->db->get("t_sucursal"); if ($sucursales->num_rows() > 0) { return $sucursales->result(); }else{ return false; } } function insertaSucursal($campos) { $this->db->set("sucursal_fecha_alta","NOW()",FALSE); $this->db->insert("t_sucursal",$campos); } } ?>
19.61039
243
0.680132
2c96e3f3a055a55e58a78f95ca0188badfdaa77e
496
py
Python
commands/upgrader/commands/tell.py
Red-Teapot/mc-commandblock-1.13-update
64106e1ecb5adca2aff1eeb3a1fcc11486940000
[ "MIT" ]
1
2020-07-27T16:53:26.000Z
2020-07-27T16:53:26.000Z
commands/upgrader/commands/tell.py
Red-Teapot/mc-commandblock-1.13-update
64106e1ecb5adca2aff1eeb3a1fcc11486940000
[ "MIT" ]
5
2019-01-02T14:21:32.000Z
2019-07-07T05:39:39.000Z
commands/upgrader/commands/tell.py
Red-Teapot/mc-commandblock-1.13-update
64106e1ecb5adca2aff1eeb3a1fcc11486940000
[ "MIT" ]
null
null
null
from commands.pre_1_13.cmdex import CMDEx from commands.upgrader.utils import command_upgrader_base from ..utils import selector CMDEXS = [ CMDEx('tell {selector:player} {*:message}'), ] def __upgrade(order, props): result = 'tell ' + selector.upgrade(props['player']) + ' ' result += props['message'] if result[-1] == ' ': result = result[:-1] return result def upgrade(command: str) -> str: return command_upgrader_base.upgrade(CMDEXS, command, __upgrade)
23.619048
68
0.677419
c65e145a4bd963a8db3378c801e03521770e23ae
859
py
Python
simple_stream +key.py
ChangSeonKim/drone_python
e7a0afe7abb97fa6f6bd773d566b2f44d1025cf8
[ "Apache-2.0" ]
null
null
null
simple_stream +key.py
ChangSeonKim/drone_python
e7a0afe7abb97fa6f6bd773d566b2f44d1025cf8
[ "Apache-2.0" ]
null
null
null
simple_stream +key.py
ChangSeonKim/drone_python
e7a0afe7abb97fa6f6bd773d566b2f44d1025cf8
[ "Apache-2.0" ]
null
null
null
def fun(): from djitellopy import Tello import cv2 # tello 생성자 생성 tello = Tello() # tello 연결 tello.connect() # tello video 연결 tello.streamon() # 비디오 연결 while True: fr_read = tello.get_frame_read() cv2.imshow('tello stream', fr_read.frame) key = cv2.waitKey(1) if key == ord('u'): tello.move_up(50) elif key == ord('t'): tello.takeoff() elif key == ord('f'): tello.move_forward(60) elif key == ord('c'): tello.rotate_clockwise(90) elif key == ord('b'): tello.move_back(60) elif key == ord('l'): tello.land() elif key == ord('q'): break #simply_stream.py + move contorl with key fun화q return if __name__ == "__main__": fun()
21.475
49
0.498254