code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
package com.lindenvalley.de.content;
import java.util.ArrayList;
import java.util.List;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;
@Root(strict=false)
public class Question {
@Attribute(name="q... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/content/Question.java | Java | asf20 | 3,288 |
/**
*
* Copyright 1991-2010 TEAM International. All rights reserved
*
*/
package com.lindenvalley.de.content.user;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;
/**
* @author RuslanI
*
*/
@Root(name="response", strict=false)
public class User {
public static ... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/content/user/User.java | Java | asf20 | 4,000 |
package com.lindenvalley.de.content;
import java.util.List;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;
@Root(strict=false)
public class Section {
@Attribute
private int id;
@Attribute
private String name;
@ElementList(inline=... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/content/Section.java | Java | asf20 | 812 |
package com.lindenvalley.de.content;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;
@Root(strict=false)
public class Answer {
@Attribute(name="answer_id")
private int id;
@Element(required=false, data=false)
private String description;
... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/content/Answer.java | Java | asf20 | 1,021 |
/**
*
* Copyright 1991-2010 TEAM International. All rights reserved
*
*/
package com.lindenvalley.de.content.response;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;
/**
* @author RuslanI
*
*/
@Root(strict=false, name="q")
public class ResponseQuestion {
@At... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/content/response/ResponseQuestion.java | Java | asf20 | 1,146 |
/**
*
* Copyright 1991-2010 TEAM International. All rights reserved
*
*/
package com.lindenvalley.de.content.response;
import java.util.ArrayList;
import java.util.List;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;
/**
... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/content/response/ResponseRound.java | Java | asf20 | 1,231 |
/**
*
* Copyright 1991-2010 TEAM International. All rights reserved
*
*/
package com.lindenvalley.de.content.response;
import java.util.ArrayList;
import java.util.List;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;
/**
* @author RuslanI
*
*/
@Root(strict=f... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/content/response/Response.java | Java | asf20 | 888 |
/**
*
* Copyright 1991-2010 TEAM International. All rights reserved
*
*/
package com.lindenvalley.de.content.response;
import java.util.ArrayList;
import java.util.List;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;
/**
... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/content/response/ResponseSection.java | Java | asf20 | 1,179 |
package com.lindenvalley.de.database;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class DbSectionsHelper extends SQLiteOpenHelper {
private static final int DB_VERSION = 3;
private static final String DB_NAME = "s... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/database/DbSectionsHelper.java | Java | asf20 | 1,749 |
/**
*
* Copyright 1991-2010 TEAM International. All rights reserved
*
*/
package com.lindenvalley.de;
/**
* @author RuslanI
*
*/
import java.util.ArrayList;
import com.lindenvalley.de.chart.LineChartAttributes;
import com.lindenvalley.de.chart.LineChartView;
import com.lindenvalley.de.chart.Pat... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/GraphsActivity.java | Java | asf20 | 4,849 |
package com.lindenvalley.de.network;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePa... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/network/WorkServer.java | Java | asf20 | 6,363 |
/**
* Copyright (C) 2009, 2010 SC 4ViewSoft SRL
*
* 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... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/achartengine/XYChartBuilder.java | Java | asf20 | 11,286 |
/**
* Copyright (C) 2009, 2010 SC 4ViewSoft SRL
*
* 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... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/achartengine/AbstractDemoChart.java | Java | asf20 | 8,504 |
/**
* Copyright (C) 2009, 2010 SC 4ViewSoft SRL
*
* 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... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/achartengine/AverageTemperatureChart.java | Java | asf20 | 3,493 |
/**
* Copyright (C) 2009, 2010 SC 4ViewSoft SRL
*
* 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... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/achartengine/IDemoChart.java | Java | asf20 | 1,371 |
package com.lindenvalley.de;
import java.io.InputStream;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.util.AttributeSet;
import android.view.InflateException;
import android.view.LayoutInflater;
import a... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/MainActivity.java | Java | asf20 | 4,303 |
package com.lindenvalley.de;
public class TODO {
/*
* Начать пидалить экзамен
*
* for doing chart urls:
* ()1. http://www.achartengine.org/content/demo.html
* ()2. http://stackoverflow.com/questions/2271248/how-to-draw-charts-in-android
* 3. После екзамена выводить результаты екзамена
* ()4. В статис... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/TODO.java | Java | asf20 | 819 |
package com.lindenvalley.de.adapter;
import java.util.List;
import android.content.Context;
import android.database.Cursor;
import android.database.CursorIndexOutOfBoundsException;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
import android.view.LayoutInflater;
import android.view... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/adapter/ThemeArrayAdapter.java | Java | asf20 | 5,328 |
package com.lindenvalley.de.adapter;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/adapter/ReportArrayAdapter.java | Java | asf20 | 4,573 |
/**
*
* Copyright 1991-2010 TEAM International. All rights reserved
*
*/
package com.lindenvalley.de.chart;
/**
* @author RuslanI
*
*/
public class PointOnChart {
public float x;
public float y;
public PointOnChart(float x, float y) {
this.x = x;
this.y = y;
... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/chart/PointOnChart.java | Java | asf20 | 331 |
/**
*
* Copyright 1991-2010 TEAM International. All rights reserved
*
*/
package com.lindenvalley.de.chart;
/**
* @author RuslanI
*
*/
import java.util.ArrayList;
import android.app.Activity;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import ... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/chart/LineChartView.java | Java | asf20 | 8,121 |
/**
*
* Copyright 1991-2010 TEAM International. All rights reserved
*
*/
package com.lindenvalley.de.chart;
/**
* @author RuslanI
*
*/
import android.graphics.Bitmap;
public class LineChartAttributes {
boolean gridVisible = true;
float X_unit_value = 1;
float Y_unit_value = 1;
... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/chart/LineChartAttributes.java | Java | asf20 | 2,366 |
/**
*
* Copyright 1991-2010 TEAM International. All rights reserved
*
*/
package com.lindenvalley.de.chart;
import android.app.Activity;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.util.DisplayMetrics;
import android.view.View;
public abstract class ChartView extends ... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/chart/ChartView.java | Java | asf20 | 2,378 |
/**
*
* Copyright 1991-2010 TEAM International. All rights reserved
*
*/
package com.lindenvalley.de.chart;
/**
* @author RuslanI
*
*/
import java.util.ArrayList;
public class PathOnChart {
PathAttributes attributes;
ArrayList<PointOnChart> points;
public PathOnChart(ArrayLis... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/chart/PathOnChart.java | Java | asf20 | 464 |
/**
*
* Copyright 1991-2010 TEAM International. All rights reserved
*
*/
package com.lindenvalley.de.chart;
/**
* @author RuslanI
*
*/
public class PathAttributes {
String pathColor = "#0000FF";
String pointColor = "#FF0000";
float strokeWidthOfPath = 2;
float radiusOfPoints... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/chart/PathAttributes.java | Java | asf20 | 1,268 |
/**
*
*/
package com.lindenvalley.de;
import java.io.InputStream;
import android.app.Activity;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import com.lindenvalley.de.content.Sections;
import com.lindenvalley.de.network.WorkServer;
import com.lindenvalley.de.parsers.Simple... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/SplashScreenActivity.java | Java | asf20 | 1,504 |
package com.lindenvalley.de.parsers;
import java.io.InputStream;
import org.simpleframework.xml.Serializer;
import org.simpleframework.xml.core.Persister;
public class SimpleXmlParser<T> {
private Class<T> ob;
private Serializer serializer;
private T result;
public SimpleXmlParser(Class<T> ob) {
super(); ... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/parsers/SimpleXmlParser.java | Java | asf20 | 834 |
package com.lindenvalley.de.parsers;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import org.xmlpull.v1.XmlPullParserFactory;
import com.lindenvalley.de.content.Section;
public abstract class ... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/parsers/AbstractXmlParser.java | Java | asf20 | 1,327 |
package com.lindenvalley.de.parsers;
import java.io.StringReader;
import java.util.HashMap;
import java.util.Map;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import com.lindenvalley.de.content.Section;
public class DataXmlParser extends AbstractXmlParser {
private final Stri... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/parsers/DataXmlParser.java | Java | asf20 | 1,105 |
package com.lindenvalley.de;
import java.io.StringWriter;
import org.simpleframework.xml.Serializer;
import org.simpleframework.xml.core.Persister;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.ContentValues;
import android.content.DialogInterface;
import android.content.In... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/SignActivity.java | Java | asf20 | 11,818 |
package com.lindenvalley.de;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import com.lindenvalley.de.LearnActivity.EndOfExamTask;
import com.lindenvalley.de.LearnActivity.MyTouchListener;
import com.lindenvalley.de.content.Question;
import com.lindenvalley.de.content.Section;
import co... | zwischenprufung-de | trunk/Zwischenprufung.de/src/com/lindenvalley/de/AbstractExamActivity.java | Java | asf20 | 2,414 |
#!/usr/bin/env python
#coding: utf-8
#
# scdd.py daemon process
#
# author: observer
# email: jingchaohu@gmail.com
# blog: http://obmem.com
# last edit @ 2009.12.19
import os,sys,time
import re
from daemon import Daemon
import sqlite3
import fetchvc
from download import httpfetch
from Queue import Queue
from threading ... | zxrrxz-simplecd | scdd.py | Python | lgpl | 3,679 |
#!/usr/bin/env python
import sys, os, time, atexit
from signal import SIGTERM
class Daemon:
"""
A generic daemon class.
Usage: subclass the Daemon class and override the run() method
"""
def __init__(self, pidfile, stdin='/dev/null', stdout='/dev/null', stderr='/dev/n... | zxrrxz-simplecd | daemon.py | Python | lgpl | 4,729 |
$def with (vcp)
$code
vc=vcp[0]
pages=vcp[1]
arg=vcp[2]
if vcp[3] == None:
q=''
else:
q=vcp[3]
num=vcp[4]
<HTML>
<HEAD>
<title>SimpleCD|精简版的VeryCD</title>
<META NAME="keywords" CONTENT="VeryCD,精简版,emule,电骡,下载">
<META NAME="description" content="SimpleCD专注于为VeryCD做简单的备份,同时... | zxrrxz-simplecd | templates/index.html | HTML | lgpl | 2,646 |
$def with (err)
$err 出错啦
| zxrrxz-simplecd | templates/error.html | HTML | lgpl | 32 |
$def with (r)
$code:
rec = r[0]
fl = r[1]
id = r[2]
def format(content):
return content.replace('\n','<br>')
def emlink(ed2k):
links = ed2k.split('`')
rtn = '<table border=1><tr><td><b>Emule Links</b> <a href="?id='+id+'&download=all">download all</a></td><td><b>Subtitles</... | zxrrxz-simplecd | templates/id.html | HTML | lgpl | 2,862 |
<h2 style="color:red">每日热门资源</h2>
<a target="_parent" href="/?id=2783741">《海豚湾》</a>
<a target="_parent" href="/?id=2786764">《萨莉娜》</a>
<a target="_parent" href="/?id=2786367">《复仇》</a>
<a target="_parent" href="/?id=2784836">《2012》</a>
<a target="_parent" href="/?id=2... | zxrrxz-simplecd | static/hot.html | HTML | lgpl | 1,726 |
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>关于SimpleCD</title>
</HEAD>
<BODY>
<h1>关于<em>SimpleCD</em></h1>
<h3>由于最近某国内耗剧烈,殃及了池鱼,<a href="http://it.sohu.com/s2009/bt/">大量BT站点被关</a>,消息人士认为<a href="http://www.kenengba.com/post/2085.html">这一切是因为我们知道的太多了</a>,最后连VeryC... | zxrrxz-simplecd | static/about.html | HTML | lgpl | 1,735 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# fetchvc.py fetch resources from verycd
#
# author: observer
# email: jingchaohu@gmail.com
# blog: http://obmem.com
# last edit @ 2009.12.16
import urllib
import re
import sqlite3
import time
import os,sys
from threading import Thread
from Queue import Queue
from downl... | zxrrxz-simplecd | fetchvc.py | Python | lgpl | 8,187 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# download.py: download with report
#
# author: observer
# email: jingchaohu@gmail.com
# blog: http://obmem.com
# last edit @ 2009.12.16
import os,sys
import urllib2
from time import time,sleep
path = os.path.dirname(os.path.realpath(sys.argv[0]))
#proxies = {'http':'ht... | zxrrxz-simplecd | download.py | Python | lgpl | 2,439 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# code.py: based on web.py
#
# author: observer
# email: jingchaohu@gmail.com
# blog: http://obmem.com
# last edit @ 2009.12.16
import web
import sqlite3
web.config.debug = False
db = web.database(dbn='sqlite', db='verycd.sqlite3.db')
urls = (
'/', 'index',
)
rende... | zxrrxz-simplecd | code.py | Python | lgpl | 2,015 |
spawn-fcgi -u www-data -g www-data -d /var/www/simplecd/ -f /var/www/simplecd/code.py -a 127.0.0.1 -p 9001 -F 2
| zxrrxz-simplecd | nginx/spawn-fcgi.sh | Shell | lgpl | 113 |
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
... | zxw-gm-code | trunk/work2/GMCode/WebRoot/index.jsp | Java Server Pages | gpl3 | 834 |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2011-12-04.11; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
# 2011 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms o... | zxyuer-cscope | depcomp | Shell | mit | 20,334 |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2011-01-19.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | zxyuer-cscope | install-sh | Shell | mit | 13,998 |
#!/bin/sh
# $Id: ocs,v 1.4 2004/06/21 18:13:21 broeker Exp $
# This utility maintains the database for cscope on a recursive dir set
# Author: donwo Tue Jun 25 15:36:39 PDT 1996
# Modified: hops Jan 2000 chg defaults to not update if files exist and force
#
# These comments ARE the manual. What more do you really n... | zxyuer-cscope | contrib/ocs | Shell | mit | 7,281 |
#!/usr/bin/perl
# $Id: cscope,v 1.2 2007/01/07 12:34:01 broeker Exp $
#
# WebCscope: A web interface to the cscope application
# Copyright (C) 2001, Ragho Mahalingam <ragho@mahalingam.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# L... | zxyuer-cscope | contrib/webcscope/cscope | Perl | mit | 12,298 |
/*
CopyRight (C) 1999, Dmitry Obukhov, dso@usa.net
mailto: dso@usa.net
http://www.EmbeddedStuff.com
----------------------------------------------
Last modified 6 Apr 97
----------------------------------------------
Converts C (C++) source to HTML code fragment
with syntax highlighting.
Since program written... | zxyuer-cscope | contrib/webcscope/hilite.c | C | mit | 8,434 |
# Perl Routines to Manipulate CGI input
# cgi-lib@pobox.com
# $Id: cgi-lib.pl,v 1.1 2001/06/29 14:20:16 petr Exp $
#
# Copyright (c) 1993-1999 Steven E. Brenner
# Unpublished work.
# Permission granted to use and modify this library so long as the
# copyright above is maintained, modifications are documented, and
# c... | zxyuer-cscope | contrib/webcscope/cgi-lib.pl | Perl | mit | 15,096 |
" C Call-Tree Explorer (CCTree) <CCTree.vim>
"
"
" Script Info and Documentation
"=============================================================================
" Copyright: Copyright (C) August 2008 - 2011, Hari Rangarajan
" Permission is hereby granted to use and distribute this code,
" ... | zxyuer-cscope | contrib/cctree.vim | Vim Script | mit | 109,573 |
#! /bin/sh
###############################################################################
#
# File: cscope-indexer
# RCS: $Header: /cvsroot/cscope/cscope/contrib/xcscope/cscope-indexer,v 1.2 2001/06/28 04:39:47 darrylo Exp $
# Description: Script to index files for cscope
#
# This script generates a... | zxyuer-cscope | contrib/xcscope/cscope-indexer | Shell | mit | 3,858 |
## Process this file with automake to produce Makefile.in
bin_SCRIPTS = ocs
EXTRA_DIST = README ocs cctree.txt cctree.vim xcscope webcscope
| zxyuer-cscope | contrib/Makefile.am | Makefile | mit | 143 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/vpopen.c | C | mit | 2,362 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/vpaccess.c | C | mit | 2,306 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/command.c | C | mit | 22,442 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/edit.c | C | mit | 4,364 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/mygetenv.c | C | mit | 2,038 |
#include "w32utils.h"
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#define VC_EXTRALEAN
/* for GetLongPathName */
#define _WIN32_WINDOWS 0x0410
#include <windows.h>
#include "alloc.h"
static char *get_longpath_internal(char *path, int len);
char *get_shortpath(char *path)
{
if (strchr(path, ' ') == NULL) /* get ... | zxyuer-cscope | src/w32utils.c | C | mit | 1,534 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/library.h | C | mit | 2,267 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/vpfopen.c | C | mit | 2,456 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/invlib.h | C | mit | 4,582 |
/*===========================================================================
Copyright (c) 2001, The Santa Cruz Operation
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 sour... | zxyuer-cscope | src/lookup.h | C | mit | 2,050 |
; ===========================================================================
; Copyright (c) 1998-2000, The Santa Cruz Operation
; All rights reserved.
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; *Redistr... | zxyuer-cscope | src/gmacs.ml | OCaml | mit | 2,445 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/basename.c | C | mit | 2,173 |
%{
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/fscanner.l | Lex | mit | 28,544 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/display.c | C | mit | 19,452 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/vp.h | C | mit | 2,695 |
/ ========================================================================= /
/ Copyright (c) 1998-2000, The Santa Cruz Operation /
/ All rights reserved./
/ /
/ Redistribution and use in source and binary forms, with or without/
/ modification, are permitted provided that the following conditions are met:/
//
/ *Redis... | zxyuer-cscope | src/emacs.e | E | mit | 3,881 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/history.c | C | mit | 2,843 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/dir.c | C | mit | 20,116 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/mouse.c | C | mit | 10,390 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/vpinit.c | C | mit | 5,556 |
%{
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/scanner.l | Lex | mit | 19,852 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/mypopen.c | C | mit | 5,795 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/alloc.c | C | mit | 2,917 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/exec.c | C | mit | 5,845 |
%{
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/egrep.y | Yacc | mit | 13,755 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/find.c | C | mit | 31,377 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/main.c | C | mit | 29,744 |
## Process this file with automake to produce Makefile.in
if HAS_GNOME
if USING_GNOME2
GNOMECFLAGS = `pkg-config --cflags libgnomeui-2.0 libpanelapplet-2.0 libglade-2.0`
GNOMELINKAGE = `pkg-config --libs libgnomeui-2.0 libpanelapplet-2.0 libglade-2.0|sed -e 's/-lz //'`
else
GNOMECFLAGS = `gnome-config --cflags gnomeui... | zxyuer-cscope | src/Makefile.am | Makefile | mit | 1,678 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/alloc.h | C | mit | 2,020 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/constants.h | C | mit | 5,113 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/version.h | C | mit | 2,106 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/global.h | C | mit | 14,128 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/logdir.c | C | mit | 3,204 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/invlib.c | C | mit | 32,984 |
/*===========================================================================
Copyright (c) 2001, The Santa Cruz Operation
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 sour... | zxyuer-cscope | src/scanner.h | C | mit | 3,422 |
/* $Id: snprintf.c,v 1.1 2009/04/10 13:39:23 broeker Exp $ */
/*
* Copyright (c) 1995 Patrick Powell.
*
* This code is based on code written by Patrick Powell <papowell@astart.com>.
* It may be used for any purpose as long as this notice remains intact on all
* source code distributions.
*/
/*
* Copyright (c) ... | zxyuer-cscope | src/snprintf.c | C | mit | 52,675 |
/* Placeholder file --- replace by real gscope.c if you have it */ | zxyuer-cscope | src/gscope.c | C | mit | 66 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/input.c | C | mit | 9,125 |
/*===========================================================================
Copyright (c) 2001, The Santa Cruz Operation
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 sour... | zxyuer-cscope | src/build.h | C | mit | 3,012 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/lookup.c | C | mit | 4,709 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/help.c | C | mit | 6,320 |
#ifndef CSCOPE_W32UTILS_H
# define CSCOPE_W32UTILS_H
char *get_shortpath(char *path);
char *get_longpath(char *path);
/*in-place conversion */
void to_longpath(char *path, int len);
# ifdef WIN32
void sleep(int sec);
# endif
#endif /* CSCOPE_W32UTILS_H */
| zxyuer-cscope | src/w32utils.h | C | mit | 272 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/build.c | C | mit | 21,309 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/crossref.c | C | mit | 13,049 |
/* A Bison parser, made by GNU Bison 2.4.2. */
/* Skeleton implementation for Bison's Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2006, 2009-2010 Free Software
Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Gene... | zxyuer-cscope | src/egrep.c | C | mit | 58,489 |
/*===========================================================================
Copyright (c) 1998-2000, The Santa Cruz Operation
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... | zxyuer-cscope | src/compath.c | C | mit | 6,760 |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2012-01-06.13; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This pro... | zxyuer-cscope | missing | Shell | mit | 10,346 |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
scriptversion=2009-04-28.21; # UTC
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain.
#
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@g... | zxyuer-cscope | mkinstalldirs | Shell | mit | 3,538 |