Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 8,426 for clase (0.1 sec)

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

    import java.io.IOException;
    import java.io.Writer;
    
    /**
     * Unit test for {@link AppendableWriter}.
     *
     * @author Alan Green
     */
    public class AppendableWriterTest extends IoTestCase {
    
      /** Helper class for testing behavior with Flushable and Closeable targets. */
      private static class SpyAppendable implements Appendable, Flushable, Closeable {
        boolean flushed;
        boolean closed;
        StringBuilder result = new StringBuilder();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

        public void testCloseNull() throws Exception {
            CloseableUtil.close((OutputStream) null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testClose_noThrowIOException() throws Exception {
            final OutputStream out = new IOExceptionOccurOutputStream();
            CloseableUtil.close(out);
        }
    
        private static class NotifyOutputStream extends OutputStream {
            private String notify_;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteSource.java

          // skip may not be supported... at any rate, try reading
        } finally {
          closer.close();
        }
    
        closer = Closer.create();
        try {
          InputStream in = closer.register(openStream());
          return ByteStreams.exhaust(in);
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ResponseBodyTest.kt

              val source = Buffer().writeUtf8("hello")
              return object : ForwardingSource(source) {
                override fun close() {
                  closed = true
                  super.close()
                }
              }.buffer()
            }
          }
        body.source().close()
        assertThat(closed).isTrue()
      }
    
      @Test
      fun throwingUnderlyingSourceClosesQuietly() {
        val body: ResponseBody =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileOutputStream.java

    import jcifs.internal.smb2.io.Smb2WriteResponse;
    
    
    /**
     * This <code>OutputStream</code> can write bytes to a file on an SMB file server.
     */
    
    public class SmbFileOutputStream extends OutputStream {
    
        private static final Logger log = LoggerFactory.getLogger(SmbFileOutputStream.class);
    
        private SmbFile file;
        private boolean append, useNTSmbs;
        private int openFlags, access, writeSize, writeSizeFile;
        private long fp;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

         * superclass or implemented interface of the class.
         *
         * @param clazz      the class whose method is sought
         * @param name       the name of the method
         * @param paramTypes the classes of method parameters
         */
        private static Method getPublicMethod(Class<?> clazz, String name, Class<?>... paramTypes) {
            // if this class is public, then try to get it
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

      // This exclusion doesn't exclude the TOMBSTONE objects we set. So 'done' NEW futures will look
      // larger than they are.
      @SuppressWarnings("FutureReturnValueIgnored")
      @Footprint(exclude = {Runnable.class, Executor.class, Thread.class, Exception.class})
      public Object measureSize() {
        for (Thread thread : blockedThreads) {
          thread.interrupt();
        }
        blockedThreads.clear();
        final Facade<Object> f = impl.newFacade();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. cmd/erasure-object_test.go

    		Standard: storageclass.StorageClass{
    			Parity: 6,
    		},
    	}
    
    	// Object for test case 5 - RRS StorageClass defined as Parity 2, MetaData in PutObject requesting RRS Class
    	// Reset global storage class flags
    	object5 := "object5"
    	metadata5 := make(map[string]string)
    	metadata5["x-amz-storage-class"] = storageclass.RRS
    	globalStorageClass.Update(storageclass.Config{
    		RRS: storageclass.StorageClass{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/plugin/admin_plugin.jsp

                </div>
            </div>
            <section class="content">
                <div class="row">
                    <div class="col-md-12">
                        <div class="card card-outline card-primary">
                            <div class="card-header">
                                <h3 class="card-title">
                                    <la:message key="labels.crud_title_list"/>
                                </h3>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 10.5K bytes
    - Viewed (0)
  10. internal/lock/lock_test.go

    		if blerr != nil {
    			t.Error(blerr)
    			return
    		}
    		locked <- struct{}{}
    		if blerr = bl.Close(); blerr != nil {
    			t.Error(blerr)
    			return
    		}
    	}()
    
    	select {
    	case <-locked:
    		t.Error("unexpected unblocking")
    	case <-time.After(100 * time.Millisecond):
    	}
    
    	// unlock
    	if err = dupl.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// the previously blocked routine should be unblocked
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top