Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for baseOffset (0.12 sec)

  1. src/archive/zip/reader.go

    	// baseOffset is 0, then just use a baseOffset of 0.
    	// We've seen files in which the directory end data gives us
    	// an incorrect baseOffset.
    	if baseOffset > 0 {
    		off := int64(d.directoryOffset)
    		rs := io.NewSectionReader(r, off, size-off)
    		if readDirectoryHeader(&File{}, rs) == nil {
    			baseOffset = 0
    		}
    	}
    
    	return d, baseOffset, nil
    }
    
    // findDirectory64End tries to read the zip64 locator just before the
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/Striped64.java

          }
        }
      }
    
      // Unsafe mechanics
      private static final Unsafe UNSAFE;
      private static final long baseOffset;
      private static final long busyOffset;
    
      static {
        try {
          UNSAFE = getUnsafe();
          Class<?> sk = Striped64.class;
          baseOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("base"));
          busyOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("busy"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/Striped64.java

          }
        }
      }
    
      // Unsafe mechanics
      private static final Unsafe UNSAFE;
      private static final long baseOffset;
      private static final long busyOffset;
    
      static {
        try {
          UNSAFE = getUnsafe();
          Class<?> sk = Striped64.class;
          baseOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("base"));
          busyOffset = UNSAFE.objectFieldOffset(sk.getDeclaredField("busy"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top