Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for isEmpty (0.04 sec)

  1. cmd/bucket-lifecycle.go

    	S3 S3Location `xml:"S3,omitempty"`
    }
    
    // IsEmpty returns true if output location not specified.
    func (o *OutputLocation) IsEmpty() bool {
    	return o.S3.BucketName == ""
    }
    
    // SelectParameters specifies sql select parameters
    type SelectParameters struct {
    	s3select.S3Select
    }
    
    // IsEmpty returns true if no select parameters set
    func (sp *SelectParameters) IsEmpty() bool {
    	return sp == nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/PathValidator.java

                if (path != null && !path.isEmpty()) {
                    validatePath(path);
                }
    
                // Reconstruct normalized URL
                StringBuilder normalized = new StringBuilder("smb://");
    
                // Add credentials if present
                String userInfo = url.getUserInfo();
                if (userInfo != null && !userInfo.isEmpty()) {
                    // Don't log credentials
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            assertEquals(boost, elevateWord.getBoost(), 0.001f);
            assertTrue(elevateWord.getReadings().isEmpty());
            assertTrue(elevateWord.getFields().isEmpty());
            assertTrue(elevateWord.getTags().isEmpty());
            assertTrue(elevateWord.getRoles().isEmpty());
        }
    
        @Test
        public void testConstructorWithNullWord() {
            // Test constructor with null word
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

            assertEquals("TestResource", notification.getResourceName());
            assertTrue(notification.getTimestamp() <= System.currentTimeMillis());
            assertTrue(notification.getNewIPAddresses().isEmpty());
            assertTrue(notification.getOldIPAddresses().isEmpty());
            assertEquals(WitnessNotification.WITNESS_RESOURCE_STATE_UNKNOWN, notification.getFlags());
        }
    
        @Test
        void testAddIPAddresses() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            assertTrue(tokens.isEmpty());
        }
    
        @Test
        public void testAnalyzeWithNullText() {
            // Test analyze with null text
            String text = null;
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang);
    
            assertNotNull(tokens);
            assertTrue(tokens.isEmpty());
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete within timeout");
            executor.shutdown();
    
            // Then - Verify no exceptions occurred
            if (!exceptions.isEmpty()) {
                fail("Concurrent operations caused exceptions: " + exceptions.get(0));
            }
    
            assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.sse.internal
    
    import assertk.assertThat
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import java.util.concurrent.LinkedBlockingDeque
    import java.util.concurrent.TimeUnit
    import okhttp3.Response
    import okhttp3.internal.platform.Platform
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:32:52 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            String text = "";
            String field = "content";
    
            List<String> readings = converter.convert(text, field, "en");
    
            assertNotNull(readings);
            assertTrue(readings.isEmpty());
        }
    
        @Test
        public void testConvertWithNullText() throws IOException {
            // Test convert with null text
            converter.init();
            String text = null;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

       * this will start another thread to handle that work.
       */
      fun awaitTaskToRun(): Task? {
        assertLockHeld()
    
        while (true) {
          if (readyQueues.isEmpty()) {
            return null // Nothing to do.
          }
    
          val now = backend.nanoTime()
          var minDelayNanos = Long.MAX_VALUE
          var readyTask: Task? = null
          var multipleReadyTasks = false
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            String text = "";
            String field = "content";
    
            List<String> results = converter.convert(text, field, "en");
    
            assertNotNull(results);
            assertTrue(results.isEmpty() || (results.size() == 1 && results.get(0).isEmpty()));
        }
    
        @Test
        public void testConvertWithNullText() throws IOException {
            // Test convert with null text - this might throw exception
            String text = null;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top