Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 985 for calc (0.13 sec)

  1. cmd/object-api-utils.go

    func NewGetObjectReaderFromReader(r io.Reader, oi ObjectInfo, opts ObjectOptions, cleanupFns ...func()) (*GetObjectReader, error) {
    	if opts.CheckPrecondFn != nil && opts.CheckPrecondFn(oi) {
    		// Call the cleanup funcs
    		for i := len(cleanupFns) - 1; i >= 0; i-- {
    			cleanupFns[i]()
    		}
    		return nil, PreConditionFailed{}
    	}
    	return &GetObjectReader{
    		ObjInfo:    oi,
    		Reader:     r,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

              }
            };
        assertFailure(tester);
      }
    
      /**
       * This Iterator wraps another iterator and gives it a bug found in JDK6.
       *
       * <p>This bug is this: if you create an iterator from a TreeSet and call next() on that iterator
       * when hasNext() is false, so that next() throws a NoSuchElementException, then subsequent calls
       * to remove() will incorrectly throw an IllegalStateException, instead of removing the last
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            byte[] type2Token = type2Message.toByteArray();
    
            context.initSecContext(type2Token, 0, type2Token.length); // state -> 3 (established)
    
            // Try to call again
            SmbException e = assertThrows(SmbException.class, () -> {
                context.initSecContext(new byte[0], 0, 0);
            });
            assertEquals("Invalid state", e.getMessage());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/ASN1UtilTest.java

            DLSequence sequence = new DLSequence(vector);
            assertThrows(StackOverflowError.class, () -> {
                ASN1Util.as(ASN1Integer.class, sequence, 0);
            }, "Should throw StackOverflowError due to recursive call");
        }
    
        // --- readUnparsedTagged ---
    
        @Test
        void testReadUnparsedTagged_Success() throws IOException {
            // Tag [1] IMPLICIT, content is 0x01 0x02 0x03
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                // Then
                assertNotNull(newResponse);
                // Verify the response was created successfully with the configuration
                // The constructor doesn't actually call any methods on the config during construction
            }
        }
    
        @Nested
        @DisplayName("Edge case tests")
        class EdgeCaseTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

        return result;
      }
    
      /*
       * For discussion of the safety of the following methods for operating on predecessors and
       * successors, see the comments near the end of CompactHashMap, noting that the methods here call
       * requirePredecessors() and requireSuccessors(), which are defined at the end of this file.
       */
    
      private int getPredecessor(int entry) {
        return requirePredecessors()[entry] - 1;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CloserTest.java

        @Override
        public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
          suppressions.add(new Suppression(closeable, thrown, suppressed));
        }
      }
    
      /** Record of a call to suppress. */
      private static class Suppression {
        private final Closeable closeable;
        private final Throwable thrown;
        private final Throwable suppressed;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

        }
    
        @Override
        public void destroy() {
        }
    
        /**
         * This method simply calls {@code negotiate( req, resp, false )}
         * and then {@code chain.doFilter}. You can override and call
         * negotiate manually to achive a variety of different behavior.
         */
        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/transport/Transport.java

                    } catch (final IOException ioe) {
                        ioe.printStackTrace(log);
                    }
                }
            }
        }
    
        /* Build a connection. Only one thread will ever call this method at
         * any one time. If this method throws an exception or the connect timeout
         * expires an encapsulating TransportException will be thrown from connect
         * and the transport will be in error.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    		}(idx, pool)
    	}
    	wg.Wait()
    
    	// the poolIndices array is pre-sorted in order of latest ModTime, we care only about pool with latest object though
    	// the delete call tries to clean up other pools during DeleteObject call.
    	objInfo = dobjects[0]
    	objInfo.Name = decodeDirObject(object)
    	err = derrs[0]
    	return objInfo, err
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
Back to top