Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 317 for wraps (0.02 sec)

  1. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                byte[] buffer = new byte[16];
                buffer[0] = 0x0F; // Invalid size (15 instead of 16)
                buffer[1] = 0x00;
    
                // When & Then - InvocationTargetException wraps the actual exception when using reflection
                Exception exception = assertThrows(Exception.class,
                        () -> invokeMethod(response, "readBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    				compressedOffset += compOff
    				partSkip -= uCompOff
    			}
    		}
    	}
    
    	return compressedOffset, partSkip, firstPartIdx, decryptSkip, seqNum
    }
    
    // GetObjectReader is a type that wraps a reader with a lock to
    // provide a ReadCloser interface that unlocks on Close()
    type GetObjectReader struct {
    	io.Reader
    	ObjInfo    ObjectInfo
    	cleanUpFns []func()
    	once       sync.Once
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     *       thread, an RPC, etc. The {@code Future} is also "completed" if it fails "early" -- for
     *       example, if the deadline expires on a {@code Future} returned from {@link
     *       Futures#withTimeout} while the {@code Future} it wraps continues its underlying work. So
     *       beware: <i>Your {@code AsyncCallable} should not complete its {@code Future} until it is
     *       safe for the next task to start.</i>
     * </ul>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

              exception.addSuppressed(new FailedService(service));
            }
            throw exception;
          }
        }
      }
    
      /**
       * A {@link Service} that wraps another service and times how long it takes for it to start and
       * also calls the {@link ServiceManagerState#transitionService(Service, State, State)}, to record
       * the state transitions.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  5. src/cmd/asm/internal/arch/arch.go

    	"cmd/internal/obj/x86"
    	"fmt"
    	"strings"
    )
    
    // Pseudo-registers whose names are the constant name without the leading R.
    const (
    	RFP = -(iota + 1)
    	RSB
    	RSP
    	RPC
    )
    
    // Arch wraps the link architecture object with more architecture-specific information.
    type Arch struct {
    	*obj.LinkArch
    	// Map of instruction names to enumeration.
    	Instructions map[string]obj.As
    	// Map of register names to enumeration.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 07 02:20:14 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FluentIterable.java

        this.iterableDelegate = Optional.of(iterable);
      }
    
      private Iterable<E> getDelegate() {
        return iterableDelegate.or(this);
      }
    
      /**
       * Returns a fluent iterable that wraps {@code iterable}, or {@code iterable} itself if it is
       * already a {@code FluentIterable}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code iterable.stream()} if {@code iterable} is a {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FluentIterable.java

        this.iterableDelegate = Optional.of(iterable);
      }
    
      private Iterable<E> getDelegate() {
        return iterableDelegate.or(this);
      }
    
      /**
       * Returns a fluent iterable that wraps {@code iterable}, or {@code iterable} itself if it is
       * already a {@code FluentIterable}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Collection#stream} if {@code iterable} is a {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/ByteStreams.java

       *
       * @since 14.0 (since 1.0 as com.google.common.io.NullOutputStream)
       */
      public static OutputStream nullOutputStream() {
        return NULL_OUTPUT_STREAM;
      }
    
      /**
       * Wraps a {@link InputStream}, limiting the number of bytes which can be read.
       *
       * @param in the input stream to be wrapped
       * @param limit the maximum number of bytes to be read
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    		w := NewWriter(io.Discard)
    		if err := w.WriteHeader(test.h); err != ErrFieldTooLong {
    			t.Errorf("%v: w.WriteHeader() = %v, want ErrFieldTooLong", test.name, err)
    		}
    	}
    }
    
    // testNonEmptyWriter wraps an io.Writer and ensures that
    // Write is never called with an empty buffer.
    type testNonEmptyWriter struct{ io.Writer }
    
    func (w testNonEmptyWriter) Write(b []byte) (int, error) {
    	if len(b) == 0 {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

          // Invariant: all elements at indices in [knownRunStart, knownRunEnd) are nonnull.
          // If knownRunStart == knownRunEnd, this is vacuously true.
          // When knownRunEnd exceeds hashTable.length, it "wraps", detecting runs around the end
          // of the table.
          int knownRunStart = 0;
          int knownRunEnd = 0;
    
          outerLoop:
          while (knownRunStart < hashTable.length) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
Back to top