CONVERTED: new file pblib_encoded_varint_size.sci

Affected by uint64 function absence

function [len] = pblib_encoded_varint_size(value)
//TODO Find uint64 compatible/equivalent function
//pblib_encoded_varint_size
//   function [len] = pblib_encoded_varint_size(value)
//
//   This function will give you the length required to encode value as a
//   varint.

//   protobuf-matlab - FarSounder's Protocol Buffer support for Matlab
//   Copyright (c) 2008, FarSounder Inc.  All rights reserved.
//   http://code.google.com/p/protobuf-matlab/
//
//   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.
//
//       * Neither the name of the FarSounder Inc. 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.

//   Author: fedor.labounko@gmail.com (Fedor Labounko)
//   Support function used by Protobuf compiler generated .m files.

  if (value < uint64(268435456)) // 2^28
    if (value < uint64(16384)) // 2^14
      if (value < uint64(128)) // 2^7
        len = 1;
      else
        len = 2;
      end
    else
      if (value < uint64(2097152)) // 2^21
        len = 3;
      else
        len = 4;
      end
    end
  else
    if (value < uint64(4398046511104)) // 2^42
      if (value < uint64(34359738368)) // 2^35
        len = 5;
      else
        len = 6;
      end
    else
      if (value < uint64(72057594037927936)) // 2^56
        if (value < uint64(562949953421312)) // 2^49
          len = 7;
        else
          len = 8;
        end
      else
        if (value < uint64(9223372036854775808)) // 2^63
          len = 9;
        else
          len = 10;
        end
      end
    end
  end
endfunction

error: pathspec 'protobuflib/pblib_encoded_varint_size.sci' did not match any file(s) known to git


User disk access macro

User disk access macro

function mdaq_userdisk()
    [ip_address, result] = mdaq_get_ip();
    if result < 0 then
        message("ERROR: Unable to get device IP address!");
        return;
    end
    if getos() == 'Windows' then
        unix_s("start http://" + ip_address + "/user-disk/dsp/data/");
    else
        unix_s("xdg-open http://" + ip_address + "/user-disk/dsp/data/");
    end
endfunction

error: pathspec 'microdaq/macros/mdaq_userdisk.sci' did not match any file(s) known to git


INTEGRATION: CWS qadev15 (1.1.2); FILE ADDED 2003/12/18 13:14:53 sw 1.1.2.1: #114449#

-o svx.SvxShapeControl
-o svx.SvxGraphicObject
-o svx.AccessibleEditableTextPara
-o svx.AccessibleGraphicShape
-o svx.AccessibleOLEShape
-o svx.AccessiblePageShape
-o svx.AccessiblePresentationGraphicShape
-o svx.AccessiblePresentationOLEShape
-o svx.AccessibleShape
-o svx.GraphicExporter
-o svx.SvxDrawPage
-o svx.SvxShape
-o svx.SvxShapeCircle
-o svx.SvxShapeCollection
-o svx.SvxShapeConnector
-o svx.SvxShapeDimensioning
-o svx.SvxShapeGroup
-o svx.SvxShapePolyPolygon
-o svx.SvxShapePolyPolygonBezier
-o svx.SvxUnoNumberingRules
-o svx.SvxUnoText
-o svx.SvxUnoTextContent
-o svx.SvxUnoTextContentEnum
-o svx.SvxUnoTextCursor
-o svx.SvxUnoTextField
-o svx.SvxUnoTextRange
-o svx.SvxUnoTextRangeEnumeration
-o svx.AccessibleControlShape
-o svx.SvxGraphCtrlAccessibleContext
-o svx.AccessiblePresentationShape

error: pathspec 'svx/qa/unoapi/svx.sce' did not match any file(s) known to git


Add function to delete user blocks

Add function to delete user blocks

function mdaq_block_delete(block_name)
    //Convert name
    name_converted = convstr(block_name,'l');
    name_converted = strsubst(name_converted, ' ', '_');
    name_converted = 'mdaq_' + name_converted;

    // Delete from macros
    macrosPath = pathconvert(mdaq_toolbox_path()+'macros/user_blocks/');
    mdelete(macrosPath+name_converted+'.sci');
    mdelete(macrosPath+name_converted+'_sim.sci');
    mdelete(macrosPath+name_converted+'.bin');
    mdelete(macrosPath+name_converted+'_sim.bin');

    // Delete images
    imagesPath = pathconvert(mdaq_toolbox_path()+'images/');
    mdelete(imagesPath+'gif'+filesep()+name_converted+'.gif');
    mdelete(imagesPath+'h5'+filesep()+name_converted+'.sod');
    mdelete(imagesPath+'svg'+filesep()+name_converted+'.svg');

    // Delete code
    srcPath = pathconvert(mdaq_toolbox_path()+'src/c/userlib/');
    mdelete(srcPath+name_converted+'.c');
    mdelete(srcPath+name_converted+'.o');
endfunction

error: pathspec 'microdaq/macros/mdaq_block_delete.sci' did not match any file(s) known to git


CONVERTED: new file pblib_read_varint64.sci

function [num, num_read] = pblib_read_varint64(buffer, offset)
//pblib_read_varint64
//   function [num, num_read] = pblib_read_varint64(buffer, offset)

//   protobuf-matlab - FarSounder's Protocol Buffer support for Matlab
//   Copyright (c) 2008, FarSounder Inc.  All rights reserved.
//   http://code.google.com/p/protobuf-matlab/
//
//   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.
//
//       * Neither the name of the FarSounder Inc. 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.

//   Author: fedor.labounko@gmail.com (Fedor Labounko)
//   Support function used by Protobuf compiler generated .m files.

  current_byte = uint64(buffer(offset));
  num = bitset(current_byte, 8, 0);
  index = 1;
  while (current_byte > 127)
    current_byte = uint64(buffer(offset + index));
    num = bitor(bitset(current_byte, 8, 0) * (2 ** 7*index), num);
    index = index + 1;
  end
  num_read = index;

endfunction

error: pathspec 'protobuflib/pblib_read_varint64.sci' did not match any file(s) known to git


mota/motp scilab file added

mota/motp scilab file added

error: pathspec 'scilab/mota_motp_results.sce' did not match any file(s) known to git


Create triaginf.sci

Create triaginf.sci

function x=triaginf(L,b)
    n = size(L,1);
    x = zeros(n,1);
    x(1)=b(1)/L(1,1);
    for i=1:n
        x(i)=(b(i) - L(i,1:i-1)*x(1:i-1))/L(i,i);
    end
endfunction

error: pathspec 'src/ufrn_bti_linear/triaginf.sci' did not match any file(s) known to git


crossover cont.

crossover cont.

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/augustomatheuss/gal.git/'


Init meeting scilab

Init meeting scilab

error: pathspec 'src/ufrn_bti_linear/meeting_scilab.sci' did not match any file(s) known to git


INTEGRATION: CWS complextest1 (1.1.2); FILE ADDED 2007/06/22 14:20:01 sg 1.1.2.1: #i78662# distributed complex tests for framework

error: pathspec 'framework/qa/complex/api_internal/tests.sce' did not match any file(s) known to git


INTEGRATION: CWS xformsdocmodify (1.1.2); FILE ADDED 2008/06/07 11:51:19 fs 1.1.2.1: moved herein from ./integration/forms

-o integration.forms.RadioButtons
-o integration.forms.FormControlTest
-o integration.forms.FormPropertyBags
-o integration.forms.CellBinding
-o integration.forms.ListSelection
-o integration.forms.MasterDetailForms
-o integration.forms.XMLFormSettings

error: pathspec 'forms/qa/forms_all.sce' did not match any file(s) known to git


add an example of a  scilab script

add an example of a  scilab script

git-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@3627 28e8926c-6b08-0410-baaa-805c5e19b8d6

for i=1:n,
  for j=1:n,
    if i==j then
      x(i,j)=2;
    else x(i,j)=4;
    end;
  end;
end;

y=tril(x);

error: pathspec 'descriptors/examples/test_scilab.sce' did not match any file(s) known to git


forgotten file (fix for SCHEDULING-1319)

git-svn-id: 27916816d6cfa57849e9a885196bf7392b80e1ac@20372 28e8926c-6b08-0410-baaa-805c5e19b8d6

function [ok, msg]=TestMultipleSubmit(timeout)
if ~exists('timeout')
    if (getos() == "Windows")
        timeout = 500000;
    else
        timeout = 200000;
    end
end

disp('...... Testing PAsolve with multiple submits');

disp('..........................submit 1');
resl1 = PAsolve('factorial',1,2,3,4,5);
disp('..........................submit 2');
resl2 = PAsolve('factorial',1,2,3,4,5);
disp('..........................submit 3');
resl3 = PAsolve('factorial',1,2,3,4,5);
disp('..........................submit 4');
resl4 = PAsolve('factorial',1,2,3,4,5);
disp('..........................submit 5');
resl5 = PAsolve('factorial',1,2,3,4,5);

val1=PAwaitFor(resl1,timeout)
val2=PAwaitFor(resl2,timeout)
val3=PAwaitFor(resl3,timeout)
val4=PAwaitFor(resl4,timeout)
val5=PAwaitFor(resl5,timeout)

[ok,msg]=checkValuesFact(val1);
if ~ok error(msg),return; end
[ok,msg]=checkValuesFact(val2);
if ~ok error(msg),return; end
[ok,msg]=checkValuesFact(val3);
if ~ok error(msg),return; end
[ok,msg]=checkValuesFact(val4);
if ~ok error(msg),return; end
[ok,msg]=checkValuesFact(val5);
if ~ok error(msg),return; end
endfunction

function [ok,msg]=checkValuesFact(val)
[ok,msg]=checkValues(val,list(1,2,6,24,120),'factorial');
endfunction

function [ok,msg]=checkValues(val,right,name)
if length(right) ~= length(val)
    ok = %f;
    msg = 'Wrong number of outputs';
else
    for i=1:length(right)
        if typeof(val) == 'list'
            if val(i) ~= right(i)
                ok = %f;
                msg = 'TestBasic::Wrong value of '+ name+ '(' + string(i) +'), received '+ string(val(i))+ ', expected ' + string(right(i));
            else
                ok = %t;
                msg = [];
            end
        else
            if val(i) ~= right(i)
                ok = %f;
                msg = 'TestBasic::Wrong value of '+ name +'(' + string(i)+ '), received '+ string(val(i))+ ', expected ' + string(right(i));

            else
                ok = %t;
                msg = [];
            end
        end
    end
    if ~ok then
        disp('Received:');
        disp(val)
    end

end
endfunction

error: pathspec 'extensions/scilab/PAscheduler/unit_tests/TestMultipleSubmit.sci' did not match any file(s) known to git


INTEGRATION: CWS dba203a (1.1.2); FILE ADDED 2006/03/17 13:03:45 fs 1.1.2.1: scenario file

error: pathspec 'extensions/qa/complex/extensions/extensions_all.sce' did not match any file(s) known to git