Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 490 for Cases (0.02 sec)

  1. src/cmd/asm/internal/lex/input.go

    	}
    	var args []string
    	// The C preprocessor treats
    	//	#define A(x)
    	// and
    	//	#define A (x)
    	// distinctly: the first is a macro with arguments, the second without.
    	// Distinguish these cases using the column number, since we don't
    	// see the space itself. Note that text/scanner reports the position at the
    	// end of the token. It's where you are now, and you just read this token.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/QueuesTest.java

            new LinkedBlockingDeque<Object>(10),
            new PriorityBlockingQueue<Object>(10, Ordering.arbitrary()));
      }
    
      /*
       * We need to perform operations in a thread pool, even for simple cases, because the queue might
       * be a SynchronousQueue.
       */
      private ExecutorService threadPool;
    
      @Override
      public void setUp() {
        threadPool = newCachedThreadPool();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals('9', Hexdump.HEX_DIGITS[9]);
            assertEquals('A', Hexdump.HEX_DIGITS[10]);
            assertEquals('F', Hexdump.HEX_DIGITS[15]);
        }
    
        @Test
        @DisplayName("Should handle edge cases in toHexChars")
        void testToHexCharsEdgeCases() {
            // Test with zero
            char[] dst1 = new char[4];
            java.util.Arrays.fill(dst1, 'X');
            Hexdump.toHexChars(0, dst1, 0, 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. cmd/bucket-replication_test.go

    		info         ObjectInfo
    		name         string
    		rcfg         replicationConfig
    		dsc          ReplicateDecision
    		tgtStatuses  map[string]replication.StatusType
    		expectedSync bool
    	}{
    		{ // Cases 1-4: existing object replication enabled, versioning enabled, no reset - replication status varies
    			// 1: Pending replication
    			name: "existing object replication on object in Pending replication status",
    			info: ObjectInfo{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     *
     *   public void onFailure(Call call, IOException e) {
     *   ... // Handle the failure.
     *   }
     * });
     * ```
     *
     * These examples will not work if you're consuming the response body on another thread. In such
     * cases the consuming thread must call [close] when it has finished reading the response
     * body.
     *
     * ### The response body can be consumed only once.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link PairedStatsAccumulator}. This tests the stats methods for instances built with
     * {@link PairedStatsAccumulator#add}, and various error cases of that method. For tests of the
     * {@link PairedStatsAccumulator#snapshot} method which returns {@link PairedStats} instances, see
     * {@link PairedStatsTest}.
     *
     * @author Pete Gillin
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/ACETest.java

            assertTrue(ace.isInherited());
    
            ace.flags = ACE.FLAGS_INHERITED | ACE.FLAGS_INHERIT_ONLY;
            assertTrue(ace.isInherited());
        }
    
        @Test
        @DisplayName("Test edge cases in getApplyToText")
        void testGetApplyToTextEdgeCases() {
            // Test with only FLAGS_INHERIT_ONLY (should return Invalid)
            ace.flags = ACE.FLAGS_INHERIT_ONLY;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/mips64.s

    //
    // RET
    //
    //	LRETRN	comma // asm doesn't support the trailing comma.
    //	{
    //		outcode(int($1), &nullgen, 0, &nullgen);
    //	}
    	SYSCALL
    	BEQ	R1, 2(PC)
    	RET
    
    
    // More JMP/JAL cases, and canonical names JMP, CALL.
    
    	JAL	foo(SB) // CALL foo(SB)
    	BEQ	R1, 2(PC)
    	JMP	foo(SB)
    	CALL	foo(SB)
    	RET	foo(SB)
    
    	// unary operation
    	NEGW	R1, R2 // 00011023
    	NEGV	R1, R2 // 0001102f
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            // Test writing a comment line
            updater.write("# This is a comment");
    
            updater.close();
        }
    
        // Test edge cases
        public void test_emptyFile() {
            String content = "";
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
            stopwordsFile.reload(null, is);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertEquals(0xFF, mockRequest.getContextType());
                verify(mockRequest).getContextType();
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Error Conditions")
        class EdgeCasesTests {
    
            @Test
            @DisplayName("Should handle maximum size arrays")
            void testMaximumSizeArrays() {
                // Test with reasonably large arrays
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top