Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 7041 - 7050 of 7,303 for recur2 (0.06 seconds)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            long startTime = System.nanoTime();
            for (int i = 0; i < iterations; i++) {
                auth1.equals(auth2);
            }
            long endTime = System.nanoTime();
    
            return (endTime - startTime) / iterations;
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/pac/PacDataInputStreamTest.java

    import jcifs.smb.SID;
    
    public class PacDataInputStreamTest {
    
        // Helper to create PacDataInputStream from a byte array
        private PacDataInputStream createInputStream(byte[] data) throws IOException {
            return new PacDataInputStream(new ByteArrayInputStream(data));
        }
    
        @Test
        public void testAlign() throws IOException {
            // Test alignment from position 1 to 4
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/GraphTest.java

            graph.addEdge(vx1, vx2);
        }
    
        static boolean hasEdge(Graph graph, String v1, String v2) {
            Vertex vx1 = graph.getVertex(v1);
            Vertex vx2 = graph.getVertex(v2);
            return vx1 != null && vx2 != null && vx1.children.contains(vx2);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java

            }
        }
    
        /**
         * Test that TarExtractor handles invalid archive gracefully.
         * Invalid archives may either throw an exception or return empty content.
         */
        public void test_TarExtractor_invalidArchive_handlesGracefully() {
            final InputStream invalidStream = new ByteArrayInputStream("not a valid tar file".getBytes());
    
            try {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                assertEquals(0x7F, allCaps, "All capabilities combined should equal 0x7F");
            }
    
            private boolean isPowerOfTwo(int n) {
                return n > 0 && (n & (n - 1)) == 0;
            }
        }
    
        @Nested
        @DisplayName("Info Level Constants")
        class InfoLevelConstants {
    
            @Test
            @DisplayName("File info level should be 1")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbSessionImplTest.java

        @Mock
        private Credentials credentials;
        @Mock
        private CredentialsInternal credentialsInternal;
        @Mock
        private SmbTransportImpl transport;
    
        private SmbSessionImpl newSession() {
            return new SmbSessionImpl(cifsContext, "server.example", "EXAMPLE", transport);
        }
    
        @BeforeEach
        void setup() {
            // Base context configuration - always needed
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  7. docs/es/docs/advanced/events.md

    ///
    
    ### `startup` y `shutdown` juntos { #startup-and-shutdown-together }
    
    Hay una gran posibilidad de que la lógica para tu *startup* y *shutdown* esté conectada, podrías querer iniciar algo y luego finalizarlo, adquirir un recurso y luego liberarlo, etc.
    
    Hacer eso en funciones separadas que no comparten lógica o variables juntas es más difícil ya que necesitarías almacenar valores en variables globales o trucos similares.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

            expected.add(range.intersection(subRange));
          }
        }
        return expected;
      }
    
      private RangeSet<Integer> expectedComplement(RangeSet<Integer> rangeSet) {
        RangeSet<Integer> expected = TreeRangeSet.create();
        expected.add(Range.<Integer>all());
        expected.removeAll(rangeSet);
        return expected;
      }
    
    
      public void testSubRangeSet() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  9. internal/s3select/jstream/decoder_test.go

    package jstream
    
    import (
    	"bytes"
    	"testing"
    )
    
    func mkReader(s string) *bytes.Reader { return bytes.NewReader([]byte(s)) }
    
    func TestDecoderSimple(t *testing.T) {
    	var (
    		counter int
    		mv      *MetaValue
    		body    = `[{"bio":"bada bing bada boom","id":1,"name":"Charles","falseVal":false}]`
    	)
    
    	decoder := NewDecoder(mkReader(body), 1)
    
    	for mv = range decoder.Stream() {
    		counter++
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  10. cmd/erasure-decode_test.go

    	"math/rand"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    )
    
    func (a badDisk) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) {
    	return 0, errFaultyDisk
    }
    
    var erasureDecodeTests = []struct {
    	dataBlocks                   int
    	onDisks, offDisks            int
    	blocksize, data              int64
    	offset                       int64
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21K bytes
    - Click Count (0)
Back to Top