Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 773 for zeros (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle zero-length file ID")
            void testZeroLengthFileId() {
                request.setFileId(new byte[0]);
                request.setData(new byte[10], 0, 10);
    
                byte[] buffer = new byte[256];
    
                // Should handle zero-length file ID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacUnicodeString.java

            return this.pointer;
        }
    
        /**
         * Validates the provided string against this structure's metadata.
         * Checks that the string length matches the expected length and that
         * null strings have a zero pointer.
         *
         * @param string the string to validate
         * @return the validated string
         * @throws PACDecodingException if validation fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

        @Test
        @DisplayName("Test readDataWireFormat with error code returns 4")
        void testReadDataWireFormatWithErrorCode() throws Exception {
            byte[] buffer = new byte[100];
    
            // Set error code to non-zero
            setErrorCode(response, 1);
    
            int result = response.readDataWireFormat(buffer, 0, buffer.length);
    
            assertEquals(4, result);
            assertNull(response.getSecurityDescriptor());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. cmd/metrics-v3-types.go

    	}
    
    	if len(labels)/2 != len(validLabels) {
    		panic("not all labels were given values")
    	}
    
    	v, ok := m.values[name]
    	if !ok {
    		v = make([]metricValue, 0, 1)
    	}
    	// If valid non zero value set the metrics
    	if value > 0 {
    		m.values[name] = append(v, metricValue{
    			Labels: labelMap,
    			Value:  value,
    		})
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Feb 28 19:33:08 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

          long remainingNanos = unit.toNanos(timeout);
          long end = System.nanoTime() + remainingNanos;
    
          while (true) {
            try {
              // TimeUnit.timedJoin() treats negative timeouts just like zero.
              NANOSECONDS.timedJoin(thread, remainingNanos);
              return;
            } catch (InterruptedException e) {
              interrupted = true;
              remainingNanos = end - System.nanoTime();
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

            dstIndex += 16;
    
            // LeaseState (4 bytes)
            SMBUtil.writeInt4(leaseState, dst, dstIndex);
            dstIndex += 4;
    
            // LeaseDuration (8 bytes) - must be zero for acknowledgment
            SMBUtil.writeInt8(0, dst, dstIndex);
            dstIndex += 8;
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeConnection.java

                        }
                    }
                }
            } else if (usage < 0) {
                log.error("Usage count dropped below zero " + this);
                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
        /**
         * Close the tree connection (implements AutoCloseable)
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  8. cmd/api-datatypes.go

    }
    
    // DeleteMarkerMTime is an embedded type containing time.Time for XML marshal
    type DeleteMarkerMTime struct {
    	time.Time
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    func (t DeleteMarkerMTime) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if t.IsZero() {
    		return nil
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/BigDecimalMath.java

       *
       * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
       * default rounding mode: if the two nearest representable values are equally near, the one with
       * the least significant bit zero is chosen. (In such cases, both of the nearest representable
       * values are even integers; this method returns the one that is a multiple of a greater power of
       * two.)
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. cmd/api-errors_test.go

    		}
    		if errCode.Code == "" {
    			t.Fatal(errAPI, "error code has an empty XML code")
    		}
    		if errCode.HTTPStatusCode == 0 {
    			t.Fatal(errAPI, "error code has a zero HTTP status code")
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top