Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for IsReadOnly (0.12 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/DefaultAnalysisSchema.kt

            @Serializable
            data object DefaultWriteOnly : PropertyMode.WriteOnly {
                private
                fun readResolve(): Any = DefaultWriteOnly
            }
        }
    }
    
    
    val DataProperty.isReadOnly: Boolean
        get() = mode is PropertyMode.ReadOnly
    
    
    val DataProperty.isWriteOnly: Boolean
        get() = mode is PropertyMode.WriteOnly
    
    
    @Serializable
    @SerialName("dataBuilderFunction")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/ClassInspectorTest.groovy

        class BooleanProps {
            boolean prop
    
            boolean isSomeProp() {
                return prop
            }
    
            void setSomeProp(boolean value) {
            }
    
            boolean isReadOnly() {
                return prop
            }
        }
    
        class Overloads {
            String getProp() {
                return null
            }
    
            boolean isProp() {
                return false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:06 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. pkg/volume/local/local_test.go

    	if err != nil {
    		t.Errorf("Failed to make a new Mounter: %v", err)
    	}
    	if mounter == nil {
    		t.Fatalf("Got a nil Mounter")
    	}
    	if !mounter.GetAttributes().ReadOnly {
    		t.Errorf("Expected true for mounter.IsReadOnly")
    	}
    
    	// Read only == false
    	mounter, err = plug.NewMounter(getTestVolume(false, tmpDir, false, nil), pod, volume.VolumeOptions{})
    	if err != nil {
    		t.Errorf("Failed to make a new Mounter: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 10:53:39 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  4. pkg/volume/iscsi/iscsi_test.go

    	mounter, _ := plug.NewMounter(spec, pod, volume.VolumeOptions{})
    	if mounter == nil {
    		t.Fatalf("Got a nil Mounter")
    	}
    
    	if !mounter.GetAttributes().ReadOnly {
    		t.Errorf("Expected true for mounter.IsReadOnly")
    	}
    }
    
    func TestPortalMounter(t *testing.T) {
    	if portal := portalMounter("127.0.0.1"); portal != "127.0.0.1:3260" {
    		t.Errorf("wrong portal: %s", portal)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 16.4K bytes
    - Viewed (0)
  5. pkg/volume/fc/fc_test.go

    	mounter, _ := plug.NewMounter(spec, pod, volume.VolumeOptions{})
    	if mounter == nil {
    		t.Fatalf("Got a nil Mounter")
    	}
    
    	if !mounter.GetAttributes().ReadOnly {
    		t.Errorf("Expected true for mounter.IsReadOnly")
    	}
    }
    
    func Test_getWwnsLun(t *testing.T) {
    	num := int32(0)
    	fc := &v1.FCVolumeSource{
    		TargetWWNs: []string{"500a0981891b8dc5"},
    		FSType:     "ext4",
    		Lun:        &num,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

      bool IsRead() const { return effects_.test(kRead); }
      bool IsWrite() const { return effects_.test(kWrite); }
      bool IsAllocOnly() const { return IsAlloc() && effects_.count() == 1; }
      bool IsReadOnly() const { return IsRead() && effects_.count() == 1; }
      ResourceId GetResourceId() const { return resource_id_; }
    
      void SetAlloc() { effects_.set(kAlloc); }
      void SetFree() { effects_.set(kFree); }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  7. pkg/volume/hostpath/host_path_test.go

    	mounter, _ := plug.NewMounter(spec, pod, volume.VolumeOptions{})
    	if mounter == nil {
    		t.Fatalf("Got a nil Mounter")
    	}
    
    	if !mounter.GetAttributes().ReadOnly {
    		t.Errorf("Expected true for mounter.IsReadOnly")
    	}
    }
    
    func setUp() error {
    	err := os.MkdirAll("/tmp/ExistingFolder", os.FileMode(0755))
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

            void setPrimitive(long l)
        }
    
        @Managed
        static interface SomeTypeWithReadOnlyProperty {
            SomeType getValue()
            SomeUnmanagedStruct getOtherValue()
            boolean isReadOnly()
        }
    
        @UnmanagedStruct
        static interface SomeUnmanagedStruct {
            void setValue(String value)
        }
    
        @Managed
        static abstract class SomeTypeWithReadOnly {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
Back to top