Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 591 - 600 of 709 for flags (0.07 seconds)

  1. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

            }
            sb.append(comp);
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Similar to the above, but keeps a boolean flag rather than checking for the string accumulated
       * so far being empty. As a result, it does not have the above-mentioned bug.
       */
      @Benchmark
      int booleanIfFirst(int reps) {
        int dummy = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 5K bytes
    - Click Count (0)
  2. tests/lru_test.go

    	if value != nil || !exists {
    		t.Fatalf("unexpected value or existence flag for key1: value=%v, exists=%v", value, exists)
    	}
    
    	// Adding an entry with the same key but different value
    	newVal := "val1"
    	lc.Add("key1", &newVal)
    
    	value, exists = lc.Get("key1")
    	if value != &newVal || !exists {
    		t.Fatalf("unexpected value or existence flag for key1: value=%v, exists=%v", value, exists)
    	}
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

                nameServiceClient.getNodeStatus(mockNetbiosAddress);
            }, "Should throw UnknownHostException when node status cannot be retrieved");
        }
    
        @Test
        @DisplayName("Should handle getByName with boolean flag")
        void testGetByNameWithFlag() throws UnknownHostException {
            // When
            Address address = nameServiceClient.getByName("localhost", false);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            // For A: service with DFS, path should be modified (share name is uppercased)
            assertEquals("\\testHost\\TESTSHARE\\testPath", request.path);
            assertEquals(ServerMessageBlock.FLAGS2_RESOLVE_PATHS_IN_DFS, request.flags2 & ServerMessageBlock.FLAGS2_RESOLVE_PATHS_IN_DFS);
        }
    
        @Test
        void testSendWithDfsIpcService() throws SmbException {
            SmbTree tree = new SmbTree(session, "testShare", "IPC");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  5. cmd/bucket-handlers_test.go

    		// Delete valid objects with quiet flag off.
    		1: {
    			bucket:             bucketName,
    			objects:            successRequest0,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedContent:    encodedSuccessResponse0,
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 2.
    		// Delete deleted objects with quiet flag off.
    		2: {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 39.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            }).when(transport).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class));
    
            session.send(req, resp);
            // Response state should be reset
            assertFalse(resp.received, "Response flag should be reset");
            // transport.send should be called at least once (for sessionSetup and the actual request)
            verify(transport, atLeastOnce()).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

        /** The transliterator for Hiragana-Katakana conversion. */
        protected final Transliterator transliterator = Transliterator.getInstance("Hiragana-Katakana");
    
        /** Flag indicating if the converter is initialized. */
        protected volatile boolean initialized = false;
    
        /** Tokenizer factory. */
        protected TokenizerFactory tokenizerFactory = null;
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

        /** Total number of records found */
        public String allRecordCount;
    
        /** Total number of pages for pagination */
        public String allPageCount;
    
        /** Flag indicating if there is a next page */
        public boolean existNextPage;
    
        /** Flag indicating if there is a previous page */
        public boolean existPrevPage;
    
        /** Starting record number for current page */
        public String currentStartRecordNumber;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 25.5K bytes
    - Click Count (1)
  9. src/test/java/jcifs/DialectVersionTest.java

            // Test valueOf with null
            assertThrows(NullPointerException.class, () -> {
                DialectVersion.valueOf(null);
            });
        }
    
        @Test
        @DisplayName("Should maintain SMB2 flag consistency")
        void testSMB2FlagConsistency() {
            // SMB1 should not be SMB2
            assertFalse(DialectVersion.SMB1.isSMB2());
    
            // All other versions should be SMB2
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. cmd/object-api-multipart_test.go

    		bucketName      string
    		objName         string
    		uploadID        string
    		PartID          int
    		inputReaderData string
    		inputMd5        string
    		inputSHA256     string
    		inputDataSize   int64
    		// flag indicating whether the test should pass.
    		shouldPass bool
    		// expected error output.
    		expectedMd5   string
    		expectedError error
    	}{
    		// Test case  1-4.
    		// Cases with invalid bucket name.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
Back to Top