Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,033 for STREAM (0.19 sec)

  1. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        }
    
        public boolean hasRole(final String role) {
            return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role)));
        }
    
        public boolean hasRoles(final String[] acceptedRoles) {
            return stream(user.getRoleNames())
                    .get(stream -> stream.anyMatch(s1 -> stream(acceptedRoles).get(s3 -> s3.anyMatch(s2 -> s2.equals(s1)))));
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/ByteOutputTest.groovy

            when:
            def stream = output.start(0)
            stream.writeInt(123)
            stream.writeByte(12)
            output.done()
    
            then:
            file.length() == 5
            file.seek(0)
            file.readInt() == 123
            file.readByte() == 12
    
            when:
            stream = output.start(5)
            stream.writeInt(321)
            output.done()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/process-services/src/main/java/org/gradle/process/BaseExecSpec.java

         * completes. Defaults to an empty stream.
         *
         * @return The standard input stream.
         */
        InputStream getStandardInput();
    
        /**
         * Sets the output stream to consume standard output from the process executing the command. The stream is closed
         * after the process completes.
         *
         * @param outputStream The standard output stream for the process. Must not be null.
         * @return this
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

     */
    package org.codelibs.fess.app.web.admin.dataconfig;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import javax.annotation.Resource;
    
    import org.apache.logging.log4j.LogManager;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_device_context.h

      }
    
      // Returns a device-to-device stream, in round-robin fashion.
      se::Stream* GetDeviceToDeviceStream();
    
      Status ThenExecute(Device* device, stream_executor::Stream* stream,
                         std::function<void()> func) override;
    
     private:
      bool UseMultipleStreams() const { return stream_ != host_to_device_stream_; }
    
      // The main compute stream of the device, used to synchronize the transfer
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.fileconfig;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import javax.annotation.Resource;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.webconfig;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import javax.annotation.Resource;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/problems/DefaultProblemDiagnosticsFactoryTest.groovy

            given:
            def stream = factory.newStream()
            stream.forCurrentCaller()
            stream.forCurrentCaller()
    
            expect:
            stream.forCurrentCaller().stack.empty
    
            def failure1 = new Exception("broken")
            def diagnostics1 = stream.forCurrentCaller(failure1)
            diagnostics1.exception == failure1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/source/PrintStreamLoggingSystemTest.groovy

                stream = printStream
            }
        }
    
        private final CurrentBuildOperationRef currentBuildOperationRef = CurrentBuildOperationRef.instance()
    
        def onReplacesOriginalStreamAndRemovesWhenRestored() {
            when:
            def snapshot = loggingSystem.startCapture()
    
            then:
            stream != originalStream
    
            when:
            loggingSystem.restore(snapshot)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  10. src/io/example_test.go

    	// Output:
    	// some io.Reader stream to be read
    	// some io.Reader stream to be read
    }
    
    func ExamplePipe() {
    	r, w := io.Pipe()
    
    	go func() {
    		fmt.Fprint(w, "some io.Reader stream to be read\n")
    		w.Close()
    	}()
    
    	if _, err := io.Copy(os.Stdout, r); err != nil {
    		log.Fatal(err)
    	}
    
    	// Output:
    	// some io.Reader stream to be read
    }
    
    func ExampleReadAll() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:49:32 UTC 2022
    - 5.5K bytes
    - Viewed (0)
Back to top