Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1581 - 1590 of 4,435 for TRUE (0.07 seconds)

  1. guava-tests/test/com/google/common/io/TestByteSink.java

      public OutputStream openStream() throws IOException {
        outputStreamOpened = true;
        bytes.reset(); // truncate
        return new Out();
      }
    
      private final class Out extends TestOutputStream {
    
        Out() throws IOException {
          super(bytes, options);
        }
    
        @Override
        public void close() throws IOException {
          outputStreamClosed = true;
          super.close();
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

    public class ListAddTester<E> extends AbstractListTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedPresent() {
        assertTrue("add(present) should return true", getList().add(e0()));
        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

         *
         * @param cookieSecure true if the cookie should be secure (HTTPS only), false otherwise, or null for auto-detection
         */
        public void setCookieSecure(final Boolean cookieSecure) {
            this.cookieSecure = cookieSecure;
        }
    
        /**
         * Sets whether the user identification cookie should be HTTP-only.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/job/JsonIndexExportFormatter.java

        @Override
        public String format(final Map<String, Object> source, final Set<String> excludeFields) {
            final StringBuilder json = new StringBuilder();
            json.append("{\n");
    
            boolean first = true;
            for (final Map.Entry<String, Object> entry : source.entrySet()) {
                final String field = entry.getKey();
                if (excludeFields.contains(field)) {
                    continue;
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 07 10:31:36 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         * executions.
         *
         * @return {@code true} if plugins should be processed, {@code false} otherwise.
         */
        boolean isProcessPlugins();
    
        /**
         * Controls the processing of plugin executions and configurations.
         *
         * @param processPlugins {@code true} to enable plugin processing, {@code false} otherwise.
         * @return This request, never {@code null}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            PropertyConfiguration config = new PropertyConfiguration(props);
            assertFalse(config.isUseMultiChannel());
    
            props.setProperty("jcifs.smb.client.useMultiChannel", "true");
            config = new PropertyConfiguration(props);
            assertTrue(config.isUseMultiChannel());
        }
    
        @Test
        void testMaxChannelsProperty() throws CIFSException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            DirectoryLeaseContext context = new DirectoryLeaseContext(key, leaseState, scope);
            context.setMaxCacheAge(45000L);
            context.setNotificationEnabled(true);
            context.setNotificationFilter(0x1F);
    
            byte[] buffer = new byte[context.size()];
            int bytesWritten = context.encode(buffer, 0);
    
            assertEquals(context.size(), bytesWritten);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Streams.java

                  public boolean tryAdvance(Consumer<? super R> action) {
                    if (itrA.hasNext() && itrB.hasNext()) {
                      action.accept(function.apply(itrA.next(), itrB.next()));
                      return true;
                    }
                    return false;
                  }
                },
                isParallel)
            .onClose(streamA::close)
            .onClose(streamB::close);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  9. cmd/object_api_suite_test.go

    			enableEncryption(t)
    		}, MakeBucketOptions{
    			VersioningEnabled: true,
    		})
    	})
    
    	t.Run("compressed+encrypted", func(t *testing.T) {
    		fn(t, func() {
    			resetCompressEncryption()
    			enableCompression(t, true, []string{"*"}, []string{"*"})
    		}, MakeBucketOptions{})
    	})
    	t.Run("compressed+encrypted+versioned", func(t *testing.T) {
    		fn(t, func() {
    			resetCompressEncryption()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  10. internal/ringbuffer/ring_buffer_benchmark_test.go

    		}
    	}()
    
    	for b.Loop() {
    		rb.Write(data)
    	}
    }
    
    func BenchmarkRingBuffer_AsyncReadBlocking(b *testing.B) {
    	const sz = 512
    	const buffers = 10
    	rb := New(sz * buffers)
    	rb.SetBlocking(true)
    	data := []byte(strings.Repeat("a", sz))
    	buf := make([]byte, sz)
    
    	go func() {
    		for {
    			rb.Read(buf)
    		}
    	}()
    
    	for b.Loop() {
    		rb.Write(data)
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top