Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for odd (0.01 sec)

  1. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

                            throw new RuntimeException("Even call error");
                        }
                        // Odd calls succeed
                    }
                }
            };
            ComponentUtil.register(mockSearchLogHelper, "searchLogHelper");
    
            // First call (odd) should succeed
            String result1 = aggregateLogJob.execute();
            assertEquals("", result1);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            }
    
            @Test
            @DisplayName("Should handle odd pathConsumed values")
            void testOddPathConsumedValue() {
                byte[] testBuffer = new byte[8];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
                bb.putShort((short) 15); // Odd number
                bb.putShort((short) 0);
                bb.putShort((short) 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
          int halfEven = BigIntegerMath.log2(x, HALF_EVEN);
          // Now figure out what rounding mode we should behave like (it depends if FLOOR was
          // odd/even).
          boolean floorWasEven = (BigIntegerMath.log2(x, FLOOR) & 1) == 0;
          assertEquals(BigIntegerMath.log2(x, floorWasEven ? HALF_DOWN : HALF_UP), halfEven);
        }
      }
    
      @GwtIncompatible // TODO
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

            params.put("test", "value");
    
            assertNull(queryRescorer.evaluate(params)); // First call - odd
            assertNotNull(queryRescorer.evaluate(params)); // Second call - even
            assertNull(queryRescorer.evaluate(params)); // Third call - odd
            assertNotNull(queryRescorer.evaluate(params)); // Fourth call - even
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
    
            @Test
            @DisplayName("Test write string with odd Unicode alignment")
            void testWriteStringUnicodeAlignment() {
                testBlock.setUseUnicode(true);
                byte[] buffer = new byte[100];
                String testString = "Test";
    
                // Test odd Unicode alignment - headerStart affects alignment
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/ReferralTest.java

            }
        }
    
        // String Reading Tests
    
        @Test
        public void testOddBufferIndexAlignment() {
            // Create buffer with odd starting position
            ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
            // Start at position 1 (odd)
            bb.position(1);
            bb.putShort((short) 3); // version
            bb.putShort((short) 34); // size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/arch/loong64.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file encapsulates some of the odd characteristics of the
    // Loong64 (LoongArch64) instruction set, to minimize its interaction
    // with the core of the assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/loong64"
    	"errors"
    	"fmt"
    )
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 17:31:25 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        int range = max - min;
        int s1 = min + (1 * range) / 4;
        int s2 = min + (2 * range) / 4;
        int s3 = min + (3 * range) / 4;
        char[] dst = new char[12];
    
        // Put surrogate pairs at odd indices so they can be split easily
        dst[0] = 'x';
        Character.toChars(min, dst, 1);
        Character.toChars(s1, dst, 3);
        Character.toChars(s2, dst, 5);
        Character.toChars(s3, dst, 7);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        int range = max - min;
        int s1 = min + (1 * range) / 4;
        int s2 = min + (2 * range) / 4;
        int s3 = min + (3 * range) / 4;
        char[] dst = new char[12];
    
        // Put surrogate pairs at odd indices so they can be split easily
        dst[0] = 'x';
        Character.toChars(min, dst, 1);
        Character.toChars(s1, dst, 3);
        Character.toChars(s2, dst, 5);
        Character.toChars(s3, dst, 7);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        }
    
        @Test
        void testStringReadWriteUnicodeWithOddAlignment() throws UnsupportedEncodingException {
            smb.useUnicode = true;
            smb.headerStart = 1; // Make the start odd
            String testString = "Aligned Unicode";
            byte[] buffer = new byte[testString.length() * 2 + 2 + 1]; // +1 for alignment
            int len = smb.writeString(testString, buffer, 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top