Examples of b()


Examples of org.gephi.graph.api.Renderable.b()

                    renderer.setColor(renderable.r(), renderable.g(), renderable.b(), lightColorFactor);
                } else {
                    renderer.setColor(renderable.r(), renderable.g(), renderable.b(), 1);
                }
            } else {
                renderer.setColor(renderable.r(), renderable.g(), renderable.b(), renderable.alpha());
            }
        }
    }

    public String getName() {
View Full Code Here

Examples of org.gephi.graph.api.Renderable.b()

        this.b = b;
    }

    public static void layerColor(ModelImpl model, float r, float g, float b) {
        Renderable obj = model.getObj();
        ColorLayer cl = new ColorLayer(obj.r(), obj.g(), obj.b());
        model.setColorLayer(cl);
        obj.setR(r);
        obj.setG(g);
        obj.setB(b);
    }
View Full Code Here

Examples of org.jacorb.test.RecursiveParamServerPackage.blubT.b()

        try
        {
            blubT union = blubTHelper.extract( a );
            if( union.discriminator() )
            {
                blubT[] blubs = union.b();
            }
        }
        catch (Exception e )
        {
            e.printStackTrace();
View Full Code Here

Examples of org.jacorb.test.orb.RecursiveUnionStructPackage.RecursiveUnionStructUnion.b()

        RecursiveUnionStructUnion s = new RecursiveUnionStructUnion();
        s.s("foo");
        RecursiveUnionStruct r = new RecursiveUnionStruct(s);

        RecursiveUnionStructUnion b = new RecursiveUnionStructUnion();
        b.b(new RecursiveUnionStruct[]{r, r});
        RecursiveUnionStruct testValue = new RecursiveUnionStruct(b);

        Any outAny = setup.getClientOrb().create_any();
        RecursiveUnionStructHelper.insert(outAny, testValue);
View Full Code Here

Examples of org.jacorb.test.orb.RecursiveUnionStructPackage.RecursiveUnionStructUnion.b()

        RecursiveUnionStructUnion s = new RecursiveUnionStructUnion();
        s.s("foo");
        RecursiveUnionStruct r = new RecursiveUnionStruct(s);

        RecursiveUnionStructUnion b = new RecursiveUnionStructUnion();
        b.b(new RecursiveUnionStruct[]{r, r});
        RecursiveUnionStruct testValue = new RecursiveUnionStruct(b);

        Any outAny = setup.getClientOrb().create_any();
        outAny.insert_Streamable(new RecursiveUnionStructHolder(testValue));
View Full Code Here

Examples of org.voltcore.utils.DBBPool.BBContainer.b()

                next = DBBPool.allocateDirect(newCapacity);
            } else {
                next = DBBPool.wrapBB(ByteBuffer.allocate(newCapacity));
            }
            buffer.b().flip();
            next.b().put(buffer.b());
            assert next.b().remaining() == newRemaining;
            buffer.discard();
            buffer = next;
            if (callback != null) callback.onBufferGrow(this);
            assert(buffer.b().order() == ByteOrder.BIG_ENDIAN);
View Full Code Here

Examples of org.voltcore.utils.DBBPool.BBContainer.b()

            } else {
                next = DBBPool.wrapBB(ByteBuffer.allocate(newCapacity));
            }
            buffer.b().flip();
            next.b().put(buffer.b());
            assert next.b().remaining() == newRemaining;
            buffer.discard();
            buffer = next;
            if (callback != null) callback.onBufferGrow(this);
            assert(buffer.b().order() == ByteOrder.BIG_ENDIAN);
        }
View Full Code Here

Examples of org.voltcore.utils.DBBPool.BBContainer.b()

        }

        for (long ii = 0; ii < 96; ii++) {
            BBContainer cont = m_pbd.poll(PersistentBinaryDeque.UNSAFE_CONTAINER_FACTORY);
            assertNotNull(cont);
            assertEquals(cont.b().remaining(), 1024 * 1024 * 2);
            while (cont.b().remaining() > 15) {
                assertEquals(cont.b().getLong(), ii);
                cont.b().getLong();
            }
            cont.discard();
View Full Code Here

Examples of org.voltcore.utils.DBBPool.BBContainer.b()

        for (long ii = 0; ii < 96; ii++) {
            BBContainer cont = m_pbd.poll(PersistentBinaryDeque.UNSAFE_CONTAINER_FACTORY);
            assertNotNull(cont);
            assertEquals(cont.b().remaining(), 1024 * 1024 * 2);
            while (cont.b().remaining() > 15) {
                assertEquals(cont.b().getLong(), ii);
                cont.b().getLong();
            }
            cont.discard();
        }
View Full Code Here

Examples of org.voltcore.utils.DBBPool.MBBContainer.b()

                File segmentFile = segment.m_file;
                RandomAccessFile ras = new RandomAccessFile(segmentFile, "rw");
                FileChannel fc = ras.getChannel();
                MBBContainer readBufferC = DBBPool.wrapMBB(fc.map(MapMode.READ_WRITE, 0, fc.size()));
                final ByteBuffer readBuffer = readBufferC.b();
                final long buffAddr = readBufferC.address();
                try {
                    //Get the number of objects and then iterator over them
                    int numObjects = readBuffer.getInt();
                    int size = readBuffer.getInt();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.